:root{
  --bg: #0b1220;
  --panel: rgba(255,255,255,.06);
  --panel-2: rgba(255,255,255,.08);
  --stroke: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --muted2: rgba(255,255,255,.58);

  --a1: #7dd3fc; /* sky */
  --a2: #22d3ee; /* cyan */
  --a3: #a78bfa; /* violet */

  --radius: 18px;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html{ scroll-padding-top: 120px; }

body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 20% -10%, rgba(125,211,252,.16), transparent 55%),
    radial-gradient(900px 520px at 80% 0%, rgba(34,211,238,.14), transparent 52%),
    radial-gradient(900px 520px at 60% 110%, rgba(167,139,250,.10), transparent 55%),
    var(--bg);
  line-height: 1.55;
}

a{ color:inherit; text-decoration:none; }
a:hover{ opacity:.92; }
strong{ color: rgba(255,255,255,.96); }

.container{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(11,18,32,.62);
  border-bottom: 1px solid var(--stroke);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand{ display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:.2px; }
.brand-mark{
  display:grid; place-items:center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(125,211,252,.22), rgba(34,211,238,.18));
  border: 1px solid rgba(125,211,252,.22);
}
.brand-name{ font-size: 15px; }

.nav{ display:flex; gap:16px; }
.nav a{
  font-size: 13px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
}
.nav a:hover{ background: rgba(255,255,255,.05); color: rgba(255,255,255,.86); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  min-height: 44px;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(135deg, rgba(125,211,252,.22), rgba(34,211,238,.18));
  border-color: rgba(125,211,252,.22);
}
.btn-ghost{ background: rgba(255,255,255,.04); }

.hero{
  padding: 64px 0 34px;
}
.hero-card{
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 440px at 20% 0%, rgba(125,211,252,.14), transparent 55%),
    radial-gradient(700px 420px at 80% 10%, rgba(34,211,238,.10), transparent 55%),
    rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  padding: 34px;
}

.kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
h1{
  margin: 0 0 12px;
  font-size: clamp(30px, 3.4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.06;
}
.lead{
  margin: 0 0 10px;
  font-size: clamp(16px, 1.45vw, 20px);
  color: rgba(255,255,255,.88);
}
.sublead{
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--muted);
  max-width: 70ch;
}

.cta-row{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}
.trust-row{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.trust-pill{
  font-size: 12px;
  color: rgba(255,255,255,.78);
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}

.section{
  padding: 52px 0;
}
.section.alt{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.section-head{
  margin-bottom: 18px;
}
h2{
  margin: 0 0 8px;
  font-size: clamp(22px, 2.2vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.12;
}
h3{
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.muted{ color: var(--muted); }
.fineprint{ color: var(--muted2); font-size: 12px; }

.grid-2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

/* --- Section separators for card grids (aesthetic spacing) --- */
.grid-2,
.grid-3{
  position: relative;
  margin-top: 28px;
  padding-top: 28px;
}
.grid-2::before,
.grid-3::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height: 1px;
  background: rgba(255,255,255,.08);
}

.card{
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 18px;
}
.card.highlight{
  background:
    radial-gradient(700px 260px at 20% 0%, rgba(125,211,252,.16), transparent 55%),
    rgba(255,255,255,.05);
  border-color: rgba(125,211,252,.18);
}
.big-quote{
  font-size: 18px;
  line-height: 1.32;
  margin: 0 0 10px;
}
.prose{
  max-width: 78ch;
}
.prose p{ margin: 0 0 12px; }
.prose p:last-child{ margin-bottom: 0; }
.emphasis{ color: rgba(255,255,255,.90); }

.bullets, .checklist{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,.86);
}
.checklist li, .bullets li{
  margin: 0 0 8px;
}
.checklist li:last-child, .bullets li:last-child{ margin-bottom: 0; }

.note{
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px dashed rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.86);
}

.cta-footer{
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(600px 260px at 70% 0%, rgba(34,211,238,.10), transparent 55%),
    rgba(255,255,255,.035);
}
.cta-footer h3{ margin-top: 0; }

.site-footer{
  padding: 28px 0 44px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 18px;
}
.brand.small .brand-mark{ width: 28px; height: 28px; border-radius: 9px; }
.brand.small .brand-name{ font-size: 13px; }
.foot-left{ max-width: 60ch; }

@media (max-width: 960px){
  .nav{ display:none; }
  .grid-3{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px){
  .container{ width: min(1100px, calc(100% - 28px)); }
  .hero{ padding: 52px 0 26px; }
  .hero-card{ padding: 22px; }
  .grid-2{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .cta-row .btn{ flex: 1 1 100%; }
  .footer-inner{ flex-direction: column; }
}

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



/* Tighten header on narrower screens (nav scrolls instead of wrapping/hiding) */
@media (max-width: 960px){
  .nav{ font-size: 12px; gap: 10px; }
  .nav a{ padding: 8px 8px; }
}

/* Anchor offsets (match sticky header height reliably) */
html{ scroll-padding-top: 90px !important; }
section[id]{ scroll-margin-top: 90px !important; }


/* Anchor offset for any id */
[id]{ scroll-margin-top: 90px; }


/* NAV FINAL OVERRIDE (correct selectors) */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header .header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 12px 0;
}
.site-header .nav{
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 14px;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  overflow: visible;
}
.site-header .nav a{
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 10px;
  line-height: 1;
  white-space: nowrap;
}
@media (max-width: 960px){
  .site-header .nav{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .site-header .nav::-webkit-scrollbar{ display:none; }
}



/* ANCHOR FIX: ensure in-page links land below sticky header */
html{ scroll-padding-top: 110px; }
[id]{ scroll-margin-top: 110px; }

/* SCROLL OFFSET JS IS SOURCE OF TRUTH */
html{ scroll-padding-top: 0 !important; }
[id]{ scroll-margin-top: 0 !important; }

/* --- Section separators for card grids (aesthetic spacing) --- */
.grid-2,
.grid-3{
  position: relative;
  margin-top: 28px;
  padding-top: 28px;
}
.grid-2::before,
.grid-3::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height: 1px;
  background: rgba(255,255,255,.08);
}

/* --- Separator before standalone card blocks following grids --- */
.grid-2 + .card,
.grid-3 + .card{
  margin-top: 28px;
  padding-top: 28px;
  position: relative;
}

.grid-2 + .card::before,
.grid-3 + .card::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,.08);
}
