:root {
  color-scheme: dark;
  --bg: #070a0f;
  --surface: #0d121a;
  --surface-2: #111925;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f7f9fc;
  --muted: #a8b1bf;
  --ice: #71d7ff;
  --blue: #3487ff;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% 5%, rgba(52, 135, 255, 0.17), transparent 31rem),
    radial-gradient(circle at 8% 25%, rgba(113, 215, 255, 0.08), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.topbar {
  position: relative;
  z-index: 2;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.topbar .shell,
.footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.brand-mark { color: var(--ice); }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav a { text-decoration: none; }
.nav a:hover, .nav a:focus-visible { color: var(--text); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 92px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -150px;
  top: 30px;
  border: 1px solid rgba(113, 215, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(113, 215, 255, 0.025), 0 0 0 140px rgba(52, 135, 255, 0.02);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--ice);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.13; }

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.2rem, 9vw, 7rem);
  letter-spacing: -0.065em;
}

.lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: #c2cad5;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(115deg, var(--ice), var(--blue));
  color: #04101a;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(52, 135, 255, 0.25);
}

.button:hover, .button:focus-visible { filter: brightness(1.08); }

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  box-shadow: none;
}

.section { padding: 28px 0 96px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  min-height: 180px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
}

.card span {
  display: block;
  margin-bottom: 22px;
  color: var(--ice);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.card h2 { margin: 0 0 12px; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); }

.document { padding: 72px 0 104px; }

.document article { max-width: 820px; }

.document h1 {
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  letter-spacing: -0.045em;
}

.document h2 { margin: 42px 0 12px; font-size: 1.35rem; }
.document p, .document li { color: #c3cad4; }
.document ul { padding-left: 1.25rem; }
.document .meta { margin: 16px 0 42px; color: var(--muted); }
.document a { color: var(--ice); text-underline-offset: 3px; }

.notice {
  margin: 38px 0;
  padding: 22px 24px;
  border-left: 3px solid var(--ice);
  background: var(--surface-2);
  color: #d8dee7;
}

.footer {
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.footer p { margin: 0; }

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .topbar { padding: 18px 0; }
  .topbar .shell, .footer .shell { align-items: flex-start; flex-direction: column; }
  .nav { gap: 14px; }
  .hero { padding: 78px 0 64px; }
  .hero::after { opacity: 0.55; }
  .grid { grid-template-columns: 1fr; }
  .section { padding-bottom: 72px; }
  .document { padding: 56px 0 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
