:root {
  --void: #05070d; --deep: #0a0e1a; --panel: #0e1424; --edge: #1b2436;
  --mute: #8a96b3; --ink: #e8edf9; --radar: #22d3ee;
  /* themeable surfaces (dark defaults) */
  --blob-1: #0d1830; --blob-2: #10182e;
  --grid-line: rgba(34,211,238,.04);
  --card-1: rgba(20,28,48,.6); --card-2: rgba(12,17,31,.6);
  --surface: rgba(12,17,31,.5);
  --ink-soft: #c2cbe0;
  --grad-a: #22d3ee; --grad-b: #a855f7;
  --max: 1120px;
  color-scheme: light dark;
}

/* Light theme — auto-applied when the device prefers light */
@media (prefers-color-scheme: light) {
  :root {
    --void: #f5f8fd; --deep: #eaeef7; --panel: #ffffff; --edge: #dbe2f0;
    --mute: #586183; --ink: #0c1322; --radar: #0891b2;
    --blob-1: #dbe8ff; --blob-2: #ece4ff;
    --grid-line: rgba(8,145,178,.06);
    --card-1: rgba(255,255,255,.9); --card-2: rgba(244,247,253,.92);
    --surface: rgba(255,255,255,.7);
    --ink-soft: #3c4566;
    --grad-a: #0891b2; --grad-b: #7c3aed;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 50% -10%, var(--blob-1) 0%, transparent 60%),
    radial-gradient(900px 600px at 90% 110%, var(--blob-2) 0%, transparent 55%),
    var(--void);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
em { color: var(--ink); font-style: normal; }

.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 60% 10%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 75% 55% at 60% 10%, #000 30%, transparent 80%);
}
main, .nav, .footer { position: relative; z-index: 1; }

/* nav */
.nav { display: flex; align-items: center; gap: 24px; max-width: var(--max); margin: 0 auto; padding: 20px 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -.02em; font-size: 18px; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--radar); background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.3); }
.brand-mark svg { width: 18px; height: 18px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--mute); }
.nav-links a:hover { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 600; font-size: 15px; padding: 13px 22px; transition: .15s; border: 1px solid transparent; }
.btn-sm { padding: 8px 16px; font-size: 13px; margin-left: 4px; }
.btn-primary { background: var(--radar); color: var(--void); }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost { border-color: var(--edge); color: var(--ink); }
.btn-ghost:hover { border-color: rgba(34,211,238,.5); color: var(--radar); }
.btn-ghost[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; max-width: var(--max); margin: 40px auto 30px; padding: 0 24px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: #34d399; border: 1px solid rgba(52,211,153,.3); background: rgba(52,211,153,.08); padding: 5px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; margin-top: 18px; }
.grad { background: linear-gradient(100deg, var(--grad-a), var(--grad-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--mute); font-size: 18px; line-height: 1.6; max-width: 520px; margin-top: 20px; }
.cta-row { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }
.microcopy { color: var(--mute); font-size: 12.5px; margin-top: 16px; }

/* hero radar */
.hero-radar { display: grid; place-items: center; }
.scope { position: relative; width: min(380px, 78vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #0a1626 0%, #070d18 70%, #05070d 100%);
  border: 1px solid #13324a; box-shadow: 0 0 0 1px rgba(34,211,238,.12), 0 30px 90px -30px rgba(34,211,238,.35); overflow: hidden; }
.ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border: 1px solid rgba(34,211,238,.14); border-radius: 50%; }
.r1 { width: 33%; height: 33%; } .r2 { width: 66%; height: 66%; } .r3 { width: 99%; height: 99%; }
.sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(34,211,238,.32), transparent 35%); animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.me { position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; background: #e8edf9; border-radius: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 0 6px rgba(232,237,249,.12); }
.blip { position: absolute; width: 9px; height: 9px; border-radius: 50%; }
.blip::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: inherit; opacity: .25; animation: ping 2.6s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .6; } 100% { transform: scale(2.2); opacity: 0; } }
.b1 { top: 30%; left: 62%; background: #ff3b5c; } .b2 { top: 64%; left: 40%; background: #a855f7; }
.b3 { top: 46%; left: 28%; background: #22d3ee; } .b4 { top: 70%; left: 66%; background: #fbbf24; }
.b5 { top: 22%; left: 44%; background: #ff3b5c; }

/* sections */
.section { max-width: var(--max); margin: 0 auto; padding: 70px 24px; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.02em; text-align: center; }
.section-title.left { text-align: left; }
.section-sub { color: var(--mute); text-align: center; max-width: 640px; margin: 14px auto 0; font-size: 16px; line-height: 1.6; }
.section-sub.left { text-align: left; margin-left: 0; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.card { position: relative; border: 1px solid var(--edge); border-radius: 18px; padding: 22px; background: linear-gradient(180deg, var(--card-1), var(--card-2)); transition: .18s; overflow: hidden; }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 45%, var(--edge)); }
.card .dot { position: absolute; top: 22px; right: 22px; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); }
.card h3 { font-size: 17px; color: var(--c); } .card p { color: var(--mute); font-size: 14px; line-height: 1.55; margin-top: 10px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.step { border: 1px solid var(--edge); border-radius: 18px; padding: 26px; background: var(--surface); }
.step .num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font-weight: 800; color: var(--radar); background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.3); }
.step h3 { margin-top: 16px; font-size: 18px; } .step p { color: var(--mute); margin-top: 8px; line-height: 1.55; font-size: 14.5px; }

/* privacy */
.privacy-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 30px; align-items: center; }
.checks { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink); line-height: 1.5; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; color: var(--radar); background: rgba(34,211,238,.12); border: 1px solid rgba(34,211,238,.3); }
.lock { display: grid; place-items: center; }
.lock-badge { display: grid; place-items: center; gap: 14px; padding: 36px; border-radius: 24px; border: 1px solid var(--edge); background: var(--surface); color: var(--radar); text-align: center; box-shadow: 0 0 60px -20px rgba(34,211,238,.4); }
.lock-badge svg { width: 54px; height: 54px; } .lock-badge span { font-size: 13px; font-weight: 600; color: var(--ink); }

/* final cta */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(28px, 4.4vw, 48px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.cta-final .cta-row { margin-top: 28px; }

/* footer */
.footer { max-width: var(--max); margin: 30px auto 0; padding: 28px 24px; border-top: 1px solid var(--edge); display: flex; justify-content: space-between; font-size: 13px; color: var(--mute); }
.muted { color: var(--mute); opacity: .8; }

/* legal pages */
.legal { max-width: 800px; margin: 0 auto; padding: 50px 24px 30px; }
.legal .back { color: var(--mute); font-size: 14px; }
.legal .back:hover { color: var(--radar); }
.legal h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; margin-top: 18px; }
.legal .updated { color: var(--mute); font-size: 13px; margin-top: 8px; }
.legal h2 { font-size: 19px; margin-top: 34px; color: var(--ink); }
.legal p, .legal li { color: var(--ink-soft); line-height: 1.7; margin-top: 12px; font-size: 15px; }
.legal ul { padding-left: 22px; }
.legal li { margin-top: 8px; }
.legal a { color: var(--radar); }
.legal .callout { margin-top: 20px; border: 1px solid var(--edge); border-left: 3px solid var(--radar); border-radius: 12px; padding: 16px 18px; background: var(--surface); }
.legal .danger { border-left-color: #ff3b5c; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--radar); }

/* responsive */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .hero-radar { order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* Light-theme readability tweaks for colored accents on light surfaces */
@media (prefers-color-scheme: light) {
  .eyebrow { color: #047857; border-color: rgba(4,120,87,.3); background: rgba(4,120,87,.08); }
  .card h3 { color: var(--ink); }
}
