:root {
  --bg: #020b1d;
  --surface: rgba(7, 20, 48, 0.76);
  --text: #f7fbff;
  --muted: #aebed5;
  --line: rgba(116, 211, 255, 0.18);
  --accent: #34e7ff;
  --blue: #1769ff;
  --purple: #a745ff;
  --max: 1160px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 133, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 42%, rgba(137, 45, 255, 0.12), transparent 34rem),
    var(--bg);
  color: var(--text);
  font: 16px/1.65 Inter, 'Segoe UI', Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { color: #b9f6ff; }
h1, h2, h3 { margin: 0 0 0.6em; line-height: 1.08; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.7rem, 7vw, 5.7rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3.1rem); }
h3 { font-size: 1.55rem; }
p, li { color: var(--muted); }
p { margin: 0 0 1.25rem; }

.skip {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: #fff;
  color: #07111f;
}
.skip:focus { top: 1rem; }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 76px;
  padding: 0.75rem max(1rem, calc((100% - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(2, 10, 28, 0.82);
  backdrop-filter: blur(20px);
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.72rem;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(94, 225, 255, 0.28);
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 0 22px rgba(20, 136, 255, 0.28);
}

nav {
  display: flex;
  min-width: 0;
  justify-content: flex-end;
  gap: clamp(0.8rem, 3vw, 2rem);
}
nav a { color: var(--muted); font-size: 0.95rem; text-decoration: none; }
nav a:hover, nav a[aria-current='page'] { color: #fff; }

.hero {
  position: relative;
  display: flex;
  width: min(calc(100% - 2rem), 1360px);
  min-height: clamp(580px, 56vw, 780px);
  margin: 1rem auto 0;
  overflow: hidden;
  border: 1px solid rgba(77, 211, 255, 0.25);
  border-radius: clamp(1.4rem, 3vw, 2.2rem);
  background-image:
    linear-gradient(90deg, rgba(2, 9, 25, 0.95) 0%, rgba(2, 9, 25, 0.72) 30%, rgba(2, 9, 25, 0.08) 62%),
    url('assets/kjawo-hero-desktop-clean.png');
  background-position: center;
  background-size: cover;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42), 0 0 70px rgba(20, 105, 255, 0.12);
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(2, 10, 28, 0.68), transparent);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-width: 0;
  max-width: 570px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  background: linear-gradient(120deg, #fff 20%, #bcefff 58%, #b9a4ff);
  background-clip: text;
  color: transparent;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero p {
  width: 100%;
  max-width: 540px;
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  color: #cfdaeb;
  overflow-wrap: anywhere;
}

.label {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.9rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform 0.16s, box-shadow 0.16s;
}
.button:hover { transform: translateY(-2px); }
.primary {
  background: linear-gradient(135deg, #3ff3ff, #3282ff 58%, #a34cff);
  color: #02101f;
  box-shadow: 0 12px 34px rgba(34, 139, 255, 0.24);
}
.primary:hover { color: #02101f; box-shadow: 0 15px 42px rgba(34, 139, 255, 0.34); }
.secondary {
  border-color: rgba(121, 216, 255, 0.25);
  background: rgba(4, 19, 49, 0.68);
  color: #fff;
  backdrop-filter: blur(12px);
}

.section, .trust {
  width: min(calc(100% - 2rem), var(--max));
  margin: auto;
  padding: 5.5rem 0;
  border-top: 1px solid var(--line);
}
.hero + .section { border-top: 0; }
.section > h2 { max-width: 760px; margin-bottom: 2rem; }
.grid { display: grid; grid-template-columns: minmax(0, 620px); gap: 1rem; }

.card {
  --glow: var(--accent);
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(1.4rem, 4vw, 2.1rem);
  border: 1px solid rgba(84, 209, 255, 0.22);
  border-radius: 1.6rem;
  background:
    linear-gradient(135deg, rgba(13, 50, 111, 0.66), rgba(10, 15, 47, 0.82)),
    url('assets/kjawo-hero-desktop-clean.png') center / cover;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
}

.card::after {
  content: '';
  position: absolute;
  width: 15rem;
  height: 15rem;
  right: -7rem;
  top: -7rem;
  border-radius: 50%;
  background: var(--glow);
  opacity: 0.13;
  filter: blur(14px);
}

.card i {
  font-size: 3rem;
  font-style: normal;
  color: var(--glow);
  text-shadow: 0 0 28px rgba(64, 224, 255, 0.52);
}

.card > div {
  position: relative;
  z-index: 1;
  max-width: 430px;
  padding: 1rem;
  border: 1px solid rgba(137, 219, 255, 0.15);
  border-radius: 1rem;
  background: rgba(1, 9, 27, 0.72);
  backdrop-filter: blur(10px);
}

.card small {
  display: block;
  margin-bottom: 0.8rem;
  color: #73f0bb;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.card p { margin: 0; }

.trust {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 8vw, 7rem);
  align-items: center;
}

.links { border-top: 1px solid var(--line); }
.links a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  color: #fff;
  text-decoration: none;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  width: min(calc(100% - 2rem), var(--max));
  margin: 3rem auto 0;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand img { width: 38px; height: 38px; border-radius: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.copy { grid-column: 1 / -1; font-size: 0.8rem; }

.legal {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: clamp(2rem, 7vw, 6rem);
  width: min(calc(100% - 2rem), var(--max));
  margin: auto;
  padding: 5rem 0;
}

.toc {
  position: sticky;
  top: 7rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  backdrop-filter: blur(16px);
}
.toc a { color: var(--muted); font-size: 0.9rem; text-decoration: none; }
.content h1, .narrow h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); }
.content section { padding-top: 2.5rem; scroll-margin-top: 5rem; }
.content h2, .narrow h2 { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.02em; }
.lead { max-width: 760px; font-size: 1.18rem; color: #c8d5e6; }
.updated { font-size: 0.85rem; }

.notice, .data-box {
  margin: 2rem 0;
  padding: 1.25rem;
  border: 1px solid rgba(83, 225, 255, 0.3);
  border-radius: 1rem;
  background: rgba(15, 52, 96, 0.35);
  color: #c9eaf2;
}

.narrow {
  width: min(calc(100% - 2rem), 820px);
  margin: auto;
  padding: clamp(4rem, 10vw, 7rem) 0;
}
.narrow > .button { margin: 0.8rem 0 3rem; }

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  margin: 1rem 0;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
}
.step .button { margin-top: 0.4rem; }
.number {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #123d79, #31216c);
  color: var(--accent);
  font-weight: 800;
}

.faq { margin: 4rem 0 2rem; }
details { border-bottom: 1px solid var(--line); }
summary { padding: 1.1rem 0; cursor: pointer; font-weight: 700; }
details p { padding-right: 2rem; }

@media (max-width: 760px) {
  header { min-height: 68px; }
  .brand span { display: none; }
  .brand img { width: 40px; height: 40px; }
  nav { gap: 0.75rem; }
  nav a:first-child { display: none; }

  .hero {
    min-height: 700px;
    background-image:
      linear-gradient(180deg, rgba(2, 9, 25, 0.08) 0%, rgba(2, 9, 25, 0.18) 42%, rgba(2, 9, 25, 0.98) 68%),
      url('assets/kjawo-hero-desktop-clean.png');
    background-position: center;
  }

  .hero-copy {
    justify-content: flex-end;
    max-width: none;
    padding: 2rem 1.4rem 2.2rem;
  }

  .hero h1 { font-size: clamp(2.35rem, 11.5vw, 3.5rem); }
  .hero p { font-size: 1rem; }
  .buttons { margin-top: 0.6rem; }
  .grid, .trust, .legal { grid-template-columns: 1fr; }
  .card { min-height: 300px; }
  .toc { display: none; }
  footer { grid-template-columns: 1fr; }
  .copy { grid-column: auto; }
}

@media (max-width: 420px) {
  header { padding-inline: 0.75rem; }
  nav { gap: 0.55rem; }
  nav a { font-size: 0.82rem; }
  .hero { width: calc(100% - 1rem); margin-top: 0.5rem; border-radius: 1.2rem; }
  .hero-copy { padding-inline: 1.15rem; }
  .hero h1 { font-size: clamp(2.2rem, 11vw, 2.8rem); }
  .button { width: 100%; }
}

@media (max-width: 340px) {
  header { padding-inline: 0.55rem; }
  .brand img { width: 36px; height: 36px; }
  nav { gap: 0.42rem; }
  nav a { font-size: 0.75rem; }
  .hero-copy { padding-inline: 0.95rem; }
  .hero h1 { font-size: clamp(1.95rem, 10.5vw, 2.3rem); }
  .label { font-size: 0.67rem; letter-spacing: 0.11em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
