/* ============================================================================
   OTCP marketing site (otcp.io) on Design System v2.
   Google Sans everywhere, slate workhorse palette, purple 500 accent,
   periwinkle soft accents, machined-render imagery, shadow-light surfaces.
   Shared by index.html and how-it-works.html. (/try keeps styles.css.)
   ========================================================================== */

@font-face {
  font-family: "Google Sans";
  src: url("assets/fonts/GoogleSans-VariableFont_GRAD_opsz_wght.ttf") format("truetype-variations");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- Brand ---- */
  --purple-500: #591EFF;
  --purple-400: #7C5CFF;
  --violet:     #9B7DFF;
  --peri:       #A9B2FF;   /* periwinkle: soft accent, gauges, pills on dark */
  --peri-press: #8E99F5;
  --peri-tint:  #ECEEFF;

  /* ---- Slate scale ---- */
  --slate-950: #020617;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;

  /* ---- Semantic ---- */
  --ink:        var(--slate-950);
  --fg-body:    var(--slate-700);
  --fg-muted:   var(--slate-600);
  --fg-subtle:  var(--slate-400);
  --muted-on-dark: #97A2B6;
  --bg:         #FFFFFF;
  --bg-canvas:  var(--slate-50);
  --bg-inset:   var(--slate-100);
  --border:     var(--slate-200);
  --border-strong: var(--slate-300);
  --verified:   #00B505;
  --pending:    #D19D00;
  --revoked:    #ED2115;

  /* ---- Type ---- */
  --font-display: "Google Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:    "Google Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ---- Radius ---- */
  --r-sm: 10px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px; --r-2xl: 32px; --r-full: 999px;

  /* ---- Shadow (shadow-light system) ---- */
  --shadow-sm: 0 1px 2px rgba(2,6,23,.04), 0 2px 6px rgba(2,6,23,.05);
  --shadow-md: 0 8px 24px -8px rgba(2,6,23,.18), 0 2px 4px rgba(2,6,23,.04);
  --shadow-lg: 0 12px 32px -8px rgba(2,6,23,.28), 0 4px 8px rgba(2,6,23,.08);

  /* ---- Motion ---- */
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-emphasized: cubic-bezier(.16,1,.3,1);
}

/* ============================ Base ============================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--ink); text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { padding: 0; margin: 0; }
::selection { background: var(--peri); color: var(--slate-950); }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(80px, 11vh, 140px) 0; position: relative; }
.section--band { background: var(--bg-canvas); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.eyebrow {
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  color: var(--purple-500); margin: 0 0 18px;
}
.eyebrow--quiet { color: var(--slate-400); }

/* ============================ Buttons (pill) ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em;
  padding: 13px 26px; border-radius: var(--r-full); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background .18s var(--ease), border-color .18s var(--ease), transform .1s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 2px solid rgba(89,30,255,.4); outline-offset: 2px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--slate-800); }
.btn-outline { background: transparent; color: var(--slate-800); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--slate-500); color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--slate-100); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-dark:hover { border-color: rgba(255,255,255,.6); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn .arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================ Nav (floating pill) ============================ */
.nav {
  position: sticky; top: 14px; z-index: 100;
  padding: 0 20px;
}
.nav-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
  padding: 0 10px 0 24px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.nav.scrolled .nav-inner { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 26px; width: auto; }
.brand .wm { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; color: var(--slate-950); line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a.navlink { font-size: 14px; font-weight: 500; color: var(--fg-muted); transition: color .15s; }
.nav-links a.navlink:hover, .nav-links a.navlink.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }

/* ============================ Hero (logo bloom) ============================ */
/* The nav is transparent (only the pill has a fill) and occupies 62px of layout;
   pull the hero up under it so the atmosphere reaches the top of the page,
   and give the padding back so the content doesn't move. */
.hero { position: relative; overflow: hidden; margin-top: -62px; padding: 102px 0 96px; }
.hero-atmosphere {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 70% at 50% -8%, rgba(169,178,255,.34) 0%, rgba(169,178,255,.10) 34%, rgba(255,255,255,0) 62%);
}
.hero-inner { position: relative; max-width: 960px; margin: 0 auto; padding: 0 28px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.bloom {
  position: relative; width: min(360px, 74vw); height: min(270px, 55vw); margin-top: 24px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.bloom-glow {
  position: absolute; inset: -12% -6% -22%; opacity: 0;
  animation: bloomGlowIn 1100ms ease-out 700ms forwards;
  background: radial-gradient(52% 46% at 50% 60%, rgba(169,178,255,.55) 0%, rgba(169,178,255,0) 68%);
}
@keyframes bloomGlowIn { from { opacity: 0; } to { opacity: 1; } }
.bloom svg { position: relative; z-index: 1; width: 100%; height: 100%; display: block; }
.hero .eyebrow { margin: 14px 0 0; }
.hero h1 {
  margin: 22px 0 0; font-size: clamp(40px, 6.4vw, 82px); line-height: 1.02;
  letter-spacing: -0.035em; text-wrap: balance;
}
.hero .lead { margin: 28px auto 0; max-width: 640px; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; color: var(--fg-muted); }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================ Standards strip ============================ */
.standards { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-canvas); }
.standards-inner { padding: 24px 0; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.standards .label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--fg-subtle); }
.std-item { font-family: var(--font-mono); font-size: 13.5px; color: var(--fg-muted); }

/* ============================ Section headers ============================ */
.sec-head { max-width: 760px; margin: 0 0 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -0.028em; max-width: 18ch; }
.sec-head.center h2 { margin-left: auto; margin-right: auto; }
.sec-head p { margin-top: 22px; font-size: clamp(16px, 1.8vw, 19px); line-height: 1.6; color: var(--fg-muted); max-width: 62ch; }
.sec-head.center p { margin-left: auto; margin-right: auto; }

/* Giant typographic beat */
.big-beat {
  margin-top: 64px; border-top: 1px solid var(--border); padding-top: 44px;
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(36px, 5vw, 72px);
}
.bb-copy { flex: 1 1 380px; min-width: 300px; }
.big-beat .cue { font-size: 15px; color: var(--slate-500); margin-bottom: 18px; }
.big-beat .line { font-family: var(--font-display); font-weight: 700; font-size: clamp(48px, 8.5vw, 112px); line-height: .92; letter-spacing: -0.04em; color: var(--slate-950); }
.big-beat .line .accent { color: var(--slate-400); }
.bb-media { flex: 1 1 320px; min-width: 280px; display: flex; justify-content: center; }
.bb-media img {
  width: 100%; max-width: 480px; height: auto;
  aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--r-2xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: #fff;
}

/* ============================ Feature splits (mockup style) ============================ */
.split-row { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 88px); }
.split-row.rev { flex-wrap: wrap-reverse; }
.split-copy { flex: 1 1 380px; min-width: 300px; }
.split-copy h2 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.05; letter-spacing: -0.028em; margin-top: 0; }
.split-copy .body { margin-top: 24px; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.62; color: var(--fg-muted); }
.split-copy .punch { margin-top: 22px; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.6; color: var(--slate-900); font-weight: 600; max-width: 46ch; }
.split-copy .punch-display { margin-top: 24px; font-family: var(--font-display); font-size: clamp(20px, 2.3vw, 28px); line-height: 1.25; letter-spacing: -0.02em; color: var(--slate-950); font-weight: 700; }
.split-media { flex: 1 1 400px; min-width: 300px; display: flex; justify-content: center; }
/* Uniform square card: the renders have generous negative space, so a
   center crop (cover) never clips the subject. No stretching. */
.split-media img {
  width: 100%; max-width: 560px; height: auto;
  aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--r-2xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: #fff;
}

/* Numbered invariants list */
.inv-list { margin-top: 30px; display: flex; flex-direction: column; }
.inv { display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--border); }
.inv:last-child { border-bottom: 1px solid var(--border); }
.inv .n { font-family: var(--font-mono); font-size: 13px; color: var(--purple-500); font-weight: 500; }
.inv .t { font-weight: 700; color: var(--slate-950); font-size: 17px; }
.inv .d { color: var(--slate-500); font-size: 15px; margin-top: 3px; }

/* ============================ Cards ============================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.card h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: -0.02em; }
.card p { font-size: 15px; line-height: 1.55; color: var(--fg-muted); }
.card .num { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--purple-500); margin-bottom: 16px; }
.card .ic {
  width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--bg-inset); color: var(--slate-700); margin-bottom: 16px;
}

/* pillar variant */
.pillar .kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--fg-subtle); text-transform: uppercase; margin-bottom: 14px; }
.pillar h3 { font-size: 22px; }
.pillar .meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.chip { font-size: 12px; font-weight: 600; color: var(--fg-muted); background: var(--bg-inset); border-radius: var(--r-full); padding: 5px 11px; }
.chip.accent { color: var(--slate-950); background: var(--peri-tint); }

/* Open cards row */
.open-cards { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 24px; }
.open-cards .card { flex: 1 1 220px; min-width: 210px; }

/* ============================ Lifecycle gallery ============================ */
.life-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.life-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.life-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.life-card .cap { padding: 20px 22px 24px; border-top: 1px solid var(--border); }
.life-card .step { font-family: var(--font-mono); font-size: 12px; color: var(--purple-500); display: block; margin-bottom: 8px; }
.life-card h3 { font-size: 18px; margin-bottom: 6px; }
.life-card p { font-size: 14.5px; line-height: 1.5; color: var(--fg-muted); }

/* ============================ Use-case phones ============================ */
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; justify-items: center; margin-top: 8px; }
.phone-wrap { display: flex; flex-direction: column; align-items: center; }
.phone {
  width: 262px; height: 548px; flex: none; border-radius: 46px; padding: 11px;
  background: #0d1016;
  box-shadow: var(--shadow-lg), inset 0 1.5px 1px rgba(255,255,255,.20), inset 0 0 0 1px rgba(0,0,0,.45);
  position: relative;
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.phone .notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 44%; height: 24px; background: #0d1016; border-radius: 0 0 15px 15px; z-index: 4; }
.ps-status { display: flex; align-items: center; justify-content: space-between; padding: 13px 22px 2px; font-size: 12px; font-weight: 700; color: var(--ink); z-index: 2; }
.ps-status .sig { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); }
.ps-body { flex: 1; padding: 8px 16px 16px; display: flex; flex-direction: column; overflow: hidden; }
.ps-app { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.ps-app .sub { font-size: 11px; color: var(--fg-muted); font-weight: 600; }
.otcp-wm { font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.ps-app .otcp-wm { font-size: 15px; }
.ps-title { font-family: var(--font-display); font-weight: 700; font-size: 17.5px; letter-spacing: -.02em; color: var(--ink); margin: 2px 0 4px; line-height: 1.16; }
.ps-sub { font-size: 11.5px; color: var(--fg-muted); line-height: 1.45; margin-bottom: 13px; }
.ps-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r-md); margin-bottom: 8px; background: #fff; }
.ps-row .lab { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.ps-row .lab small { display: block; font-family: var(--font-mono); font-size: 9.5px; color: var(--fg-subtle); font-weight: 400; margin-top: 1px; }
.ps-pill { font-size: 10px; font-weight: 700; padding: 4px 9px; border-radius: var(--r-full); white-space: nowrap; }
.ps-pill.on { background: var(--peri); color: var(--slate-950); }
.ps-pill.off { background: var(--bg-inset); color: var(--fg-muted); }
.ps-cta { margin-top: auto; border-radius: var(--r-md); padding: 12px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.ps-cta.accent { background: var(--slate-950); color: #fff; }
.ps-cred { background: linear-gradient(160deg, #1E293B, #020617 72%); border-radius: 18px; padding: 15px; color: #fff; box-shadow: var(--shadow-md); }
.ps-cred .cr-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.ps-cred .cr-iss { font-size: 11px; font-weight: 600; color: #e6e9f2; display: flex; align-items: center; gap: 5px; }
.ps-cred .cr-act { font-size: 9px; font-weight: 700; letter-spacing: .07em; color: var(--peri); }
.ps-cred .cr-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.ps-cred .cr-meta { font-size: 9px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted-on-dark); margin-top: 3px; }
.ps-cred .cr-foot { display: flex; align-items: center; gap: 6px; margin-top: 15px; font-size: 10px; font-weight: 700; color: var(--peri); }
.ps-integrity { display: flex; gap: 7px; margin-bottom: 11px; }
.ps-stat { flex: 1; background: var(--bg-canvas); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 8px 4px; text-align: center; }
.ps-stat .n { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); }
.ps-stat .l { font-size: 8.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--fg-muted); margin-top: 1px; }
.ps-budget { background: var(--bg-canvas); border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px; margin-bottom: 9px; }
.ps-budget .row { display: flex; justify-content: space-between; font-size: 11px; color: var(--fg-muted); margin-bottom: 8px; }
.ps-budget .row b { font-family: var(--font-mono); color: var(--ink); font-weight: 600; }
.ps-gauge { height: 7px; border-radius: var(--r-full); background: var(--bg-inset); overflow: hidden; }
.ps-gauge > span { display: block; height: 100%; background: linear-gradient(90deg, var(--peri-press), var(--peri)); border-radius: var(--r-full); }
.phone-cap { margin-top: 22px; text-align: center; max-width: 262px; }
.phone-cap h4 { font-size: 17px; color: var(--ink); margin-bottom: 6px; letter-spacing: -.01em; }
.phone-cap p { font-size: 13px; color: var(--fg-muted); line-height: 1.5; }

/* ============================ Proof band ============================ */
.proof-logos { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 28px 0 40px; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-full); padding: 9px 16px; font-size: 13.5px; font-weight: 600; color: var(--fg-body); }
.badge-pill .icon { width: 15px; height: 15px; color: var(--verified); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; max-width: 780px; margin: 0 auto; }
.stat { text-align: center; padding: 20px; }
.stat .v { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.03em; color: var(--ink); }
.stat .l { font-size: 13.5px; color: var(--fg-muted); margin-top: 6px; }

/* ============================ Dark closing ============================ */
.closing { position: relative; overflow: hidden; background: var(--slate-950); padding: clamp(110px, 15vh, 190px) 0; }
.closing .mandala { position: absolute; width: 720px; height: 720px; right: -180px; bottom: -260px; opacity: .14; filter: invert(1); pointer-events: none; }
.closing .glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 60% at 20% 0%, rgba(124,92,255,.28) 0%, rgba(124,92,255,0) 55%); }
.closing-inner { position: relative; max-width: 980px; margin: 0 auto; padding: 0 28px; text-align: center; }
.closing .eyebrow { color: var(--peri); }
.closing h2 { margin: 26px auto 0; max-width: 20ch; font-size: clamp(34px, 5.2vw, 66px); line-height: 1.06; letter-spacing: -0.03em; color: #fff; text-wrap: balance; }
.closing p { margin: 30px auto 0; max-width: 60ch; font-size: clamp(17px, 1.9vw, 20px); line-height: 1.6; color: rgba(255,255,255,.66); }
.closing .hero-actions { margin-top: 42px; }

/* ============================ Footer (dark) ============================ */
.footer { background: var(--slate-950); border-top: 1px solid rgba(255,255,255,.08); padding: 56px 0 64px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.footer .brand .wm { color: #fff; }
.footer .blurb { margin: 18px 0 0; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.5); max-width: 420px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin: 0; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.72); }
.footer-col a:hover { color: #fff; }
.footer-bot { margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.footer-bot .attribution { font-size: 13px; color: rgba(255,255,255,.4); }
.footer-bot .attribution strong { color: rgba(255,255,255,.68); font-weight: 700; }
.footer-bot .std { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.3); }

/* ============================ Page header (subpages) ============================ */
.page-head { position: relative; overflow: hidden; margin-top: -62px; padding: 134px 0 56px; }
.page-head h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.032em; line-height: 1.04; max-width: 18ch; }
.page-head .lead { margin-top: 24px; font-size: clamp(17px, 1.9vw, 20px); line-height: 1.6; color: var(--fg-muted); max-width: 62ch; }

/* ============================ Code block ============================ */
.code {
  background: #0b1020; border: 1px solid #1c2438; border-radius: var(--r-lg);
  font-family: var(--font-mono); font-size: 13.5px; line-height: 1.7; color: #c9d4ef;
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.code .code-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid #1c2438; }
.code .code-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a344c; display: inline-block; }
.code .code-bar .ep { margin-left: 10px; font-size: 12px; color: #6b7794; }
.code pre { margin: 0; padding: 18px 20px; overflow-x: auto; }
.code .k { color: #8d7bff; } .code .s { color: #7ee0b8; } .code .c { color: #59668a; } .code .p { color: #8b95ad; }

.checklist { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.checklist li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--fg-body); }
.checklist .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--peri-tint); color: var(--purple-500); display: grid; place-items: center; margin-top: 1px; }

/* ============================ Privacy modes ============================ */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mode { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 26px; }
.mode .badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-subtle); }
.mode.is-default .badge { color: var(--purple-500); }
.mode h4 { font-size: 19px; margin: 12px 0 10px; }
.mode p { font-size: 14.5px; color: var(--fg-muted); }
.mode .demo { margin-top: 18px; font-family: var(--font-mono); font-size: 12.5px; background: var(--bg-inset); border-radius: var(--r-sm); padding: 12px 14px; color: var(--fg-muted); }
.mode .demo b { color: var(--ink); }
.modes-flow { text-align: center; margin-top: 26px; font-size: 14.5px; color: var(--fg-muted); }
.modes-flow b { color: var(--ink); }

/* ============================ VDAC centerpiece (dark band) ============================ */
.vdac { background: var(--slate-950); color: #fff; }
.vdac .eyebrow { color: var(--peri); }
.vdac .sec-head h2 { color: #fff; }
.vdac .sec-head p { color: var(--muted-on-dark); }
.vdac-stage {
  display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start;
  background: linear-gradient(160deg, #0F172A 0%, #05070d 100%);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-2xl);
  padding: 34px; box-shadow: var(--shadow-lg);
}
.vdac-phone {
  background: linear-gradient(170deg, #161c29, #0a0e18); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl); padding: 22px; position: relative; min-height: 380px;
}
.vp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.vp-head .av { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.10); display: grid; place-items: center; color: #fff; }
.vp-head .t { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #fff; }
.vp-head .s { font-size: 12px; color: var(--muted-on-dark); }
.vp-budget { background: rgba(255,255,255,.05); border-radius: var(--r-md); padding: 16px; margin-bottom: 16px; }
.vp-budget .row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted-on-dark); margin-bottom: 9px; }
.vp-budget .amt { font-family: var(--font-mono); color: #fff; font-weight: 600; }
.gauge { height: 8px; border-radius: var(--r-full); background: rgba(255,255,255,.1); overflow: hidden; }
.gauge > span { display: block; height: 100%; background: linear-gradient(90deg, var(--peri-press), var(--peri)); border-radius: var(--r-full); transition: width .6s var(--ease-emphasized); }
.vp-action {
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md); padding: 14px;
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px;
  transition: border-color .3s, background .3s; opacity: .4;
}
.vp-action.active { opacity: 1; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.vp-action .l .m { font-size: 14px; font-weight: 600; color: #fff; }
.vp-action .l .d { font-size: 11.5px; color: var(--muted-on-dark); }
.vp-action .st { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: var(--r-full); white-space: nowrap; }
.st.ok { color: var(--slate-950); background: var(--peri); }
.st.wait { color: #1a1303; background: #FFD600; }
.st.idle { color: var(--muted-on-dark); background: rgba(255,255,255,.08); }
.vp-faceid {
  margin-top: 14px; border-radius: var(--r-md); padding: 14px; text-align: center;
  background: var(--peri); color: var(--slate-950); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; pointer-events: none;
}
.vp-faceid.show { opacity: 1; transform: none; }
.vdac-steps { display: flex; flex-direction: column; gap: 14px; }
.vstep { display: flex; gap: 16px; padding: 18px; border-radius: var(--r-md); border: 1px solid rgba(255,255,255,.08); cursor: pointer; transition: background .25s, border-color .25s; }
.vstep:hover { background: rgba(255,255,255,.03); }
.vstep.on { background: rgba(169,178,255,.10); border-color: rgba(169,178,255,.45); }
.vstep .n { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: #fff; }
.vstep.on .n { background: var(--peri); color: var(--slate-950); border-color: var(--peri); }
.vstep .vt { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 4px; }
.vstep .vd { font-size: 13.5px; color: var(--muted-on-dark); }
.vdac-controls { margin-top: 18px; display: flex; align-items: center; gap: 14px; }
.vdac-controls .hint { font-size: 13.5px; color: var(--muted-on-dark); }
.btn-peri { background: var(--peri); color: var(--slate-950); }
.btn-peri:hover { background: var(--peri-press); }

/* Sub-VDAC chain */
.chain { margin-top: 64px; }
.chain h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 32px; }
.chain h2 .dim { color: var(--muted-on-dark); }
.chain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.tree { display: flex; flex-direction: column; }
.node {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md);
  padding: 14px 16px; display: flex; align-items: center; justify-content: space-between;
}
.node.root { border-color: rgba(169,178,255,.45); background: rgba(169,178,255,.08); }
.node .nm { font-weight: 600; font-size: 14px; color: #fff; }
.node .nm small { display: block; color: var(--muted-on-dark); font-size: 11.5px; font-weight: 400; }
.node .cap { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--peri); }
.subnodes { margin-left: 26px; margin-top: 12px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.subnodes::before { content: ""; position: absolute; left: -14px; top: -12px; bottom: 18px; width: 1.5px; background: rgba(255,255,255,.16); }
.subnodes .node { position: relative; }
.subnodes .node::before { content: ""; position: absolute; left: -14px; top: 50%; width: 14px; height: 1.5px; background: rgba(255,255,255,.16); }
.chain .checklist li { color: #cdd6ea; }
.chain .checklist b { color: #fff; }
.chain .checklist .tick { background: rgba(169,178,255,.16); color: var(--peri); }

/* ============================ Try page ============================ */
.try-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 820px) { .try-grid { grid-template-columns: 1fr; } }
.try-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px;
  display: flex; flex-direction: column;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.try-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.try-card.feature { grid-column: 1 / -1; background: linear-gradient(160deg, #fff, var(--slate-50)); }
.try-card .tc-ic { width: 50px; height: 50px; border-radius: var(--r-md); background: var(--bg-inset); color: var(--slate-700); display: grid; place-items: center; margin-bottom: 18px; }
.try-card.feature .tc-ic { background: var(--slate-950); color: var(--peri); }
.try-card h3 { font-size: 22px; margin-bottom: 10px; }
.try-card p { font-size: 15.5px; color: var(--fg-muted); flex: 1; }
.try-meta { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.endpoint { font-family: var(--font-mono); font-size: 12.5px; color: var(--fg-muted); background: var(--bg-inset); border-radius: var(--r-sm); padding: 6px 11px; }
.try-card .cta-row { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.callout { margin-top: 40px; background: var(--bg-canvas); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px 26px; display: flex; gap: 16px; align-items: flex-start; }
.callout .icon { color: var(--ink); flex: none; margin-top: 2px; }
.callout p { font-size: 14.5px; color: var(--fg-body); }
.callout b { color: var(--ink); }

/* ============================ Waitlist modal ============================ */
.wl-overlay { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px;
  background: rgba(2,6,23,.62); }
.wl-overlay.open { display: flex; }
.wl-dialog { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 34px; box-shadow: var(--shadow-lg); position: relative; animation: wlIn .26s var(--ease-emphasized); }
@keyframes wlIn { from { opacity: 0; transform: translateY(12px) scale(.98) } to { opacity: 1; transform: none } }
.wl-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border); background: #fff; color: var(--fg-muted); cursor: pointer; display: grid; place-items: center; transition: color .15s, border-color .15s; }
.wl-close:hover { color: var(--ink); border-color: var(--border-strong); }
.wl-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--fg-muted); margin-bottom: 14px; }
.wl-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--purple-500); }
.wl-dialog h3 { font-size: 25px; letter-spacing: -.02em; margin: 0 0 8px; }
.wl-dialog p { font-size: 14.5px; color: var(--fg-body); margin: 0; }
.wl-form { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.wl-input { width: 100%; padding: 14px 16px; border: 1px solid var(--border-strong); border-radius: var(--r-md); font-family: var(--font-body); font-size: 15px; color: var(--ink); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.wl-input::placeholder { color: var(--fg-subtle); }
.wl-input:focus { border-color: var(--purple-500); box-shadow: 0 0 0 4px rgba(89,30,255,.14); }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-msg { font-size: 13px; color: var(--revoked); min-height: 16px; }
.wl-success { text-align: center; padding: 10px 0 4px; }
.wl-success .check { width: 56px; height: 56px; border-radius: 50%; background: var(--peri); color: var(--slate-950); display: grid; place-items: center; margin: 0 auto 16px; }
.wl-success h3 { margin-bottom: 8px; }

/* ============================ Reveal ============================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-emphasized), transform .7s var(--ease-emphasized); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ============================ Responsive ============================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: #fff;
    border: 1px solid var(--border); border-radius: var(--r-lg);
    box-shadow: var(--shadow-md); padding: 22px 24px;
  }
  .nav-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: var(--r-full); background: #fff; cursor: pointer; color: var(--ink); }
  .nav-cta .btn { display: none; }
  .grid-3, .modes { grid-template-columns: 1fr 1fr; }
  .life-grid { grid-template-columns: repeat(2, 1fr); }
  .phones { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .vdac-stage, .chain-grid { grid-template-columns: 1fr; gap: 32px; }
  .vdac-stage { padding: 24px; }
  .split-row > * { min-width: 0; }
  .code { overflow-x: auto; }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .grid-3, .modes, .phones, .stats, .life-grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 72px; }
  .footer-bot { flex-direction: column; align-items: flex-start; }
}
