:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: #aebdca;
  --line: rgba(255, 255, 255, 0.13);
  --panel: rgba(15, 29, 43, 0.72);
  --accent: #68d5c5;
  --accent-2: #8cbcff;
  --deep: #07121d;
  --deep-2: #0b1f2f;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 2%, rgba(104, 213, 197, 0.15), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(140, 188, 255, 0.14), transparent 28rem),
    linear-gradient(150deg, var(--deep), var(--deep-2) 55%, #07131f);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: #a9d8ff; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: #d7edff; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10; }
.skip-link:focus { left: 16px; padding: 10px 14px; border-radius: 10px; background: white; color: #07121d; }

.shell { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 18, 29, 0.78);
  backdrop-filter: blur(22px) saturate(145%);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: white; text-decoration: none; font-weight: 750; letter-spacing: -0.02em; }
.brand img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(0,0,0,.3)); }
.nav-links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.94rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: white; }

.hero { padding: clamp(76px, 12vw, 150px) 0 74px; }
.eyebrow { margin: 0 0 15px; color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.035em; }
h1 { max-width: 850px; margin: 0; font-size: clamp(2.8rem, 8vw, 6.7rem); }
h2 { margin: 0 0 16px; font-size: clamp(1.6rem, 4vw, 2.45rem); }
h3 { margin: 34px 0 10px; font-size: 1.2rem; }
.lede { max-width: 710px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.05rem, 2.5vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 19px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: white; text-decoration: none; font-weight: 700; }
.button.primary { border-color: transparent; background: linear-gradient(120deg, var(--accent), #63aef2); color: #04121a; }
.button:hover { transform: translateY(-1px); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 96px; }
.card, .document {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0,0,0,.2);
  backdrop-filter: blur(18px) saturate(130%);
}
.card { padding: 28px; }
.card p { margin-bottom: 0; color: var(--muted); }
.card .number { display: block; margin-bottom: 24px; color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: .12em; }

.page-heading { padding: 76px 0 34px; }
.page-heading h1 { max-width: 900px; font-size: clamp(2.5rem, 7vw, 5.4rem); }
.page-heading .lede { margin-top: 20px; }
.document { max-width: 900px; margin-bottom: 90px; padding: clamp(24px, 5vw, 58px); }
.document h2 { margin-top: 52px; }
.document h2:first-child { margin-top: 0; }
.document p, .document li { color: #c3cfda; }
.document strong { color: white; }
.document ul { padding-left: 1.3rem; }
.document li + li { margin-top: 8px; }
.document table { width: 100%; margin: 18px 0; border-collapse: collapse; font-size: 0.94rem; }
.document th, .document td { padding: 13px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.document th { color: white; background: rgba(255,255,255,.05); }
.notice { padding: 18px 20px; border-left: 3px solid var(--accent); border-radius: 10px; background: rgba(104,213,197,.08); }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-row { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-row p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 760px) {
  .nav { align-items: flex-start; padding: 14px 0; }
  .nav-links { justify-content: flex-end; gap: 10px 14px; }
  .grid { grid-template-columns: 1fr; }
  .footer-row { align-items: flex-start; flex-direction: column; padding: 30px 0; }
  .document { border-radius: 18px; }
  .document table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .button { transition: transform 160ms ease, color 160ms ease; }
}
