/* ============================================================================
   Nox — marketing site styles (nox.id)
   Canonical Nox Design System: Inter Tight / Inter / JetBrains Mono, black
   primary, violet #8357FF accent, lime #C4FF1E pop, charcoal ink, soft cool
   shadows. Token names below carry the design-system values from
   brand/colors_and_type.css. Two pages (index.html, try.html) share this file.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Inter+Tight:wght@500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* ---- Brand accent (black primary + violet / lime pair) ---- */
  --primary:      #000000;   /* primary actions / key CTAs */
  --primary-press:#1A1A1A;
  --violet:       #8357FF;   /* main interactive accent */
  --violet-600:   #6B3FE0;   /* pressed */
  --violet-400:   #9B79FF;   /* lighter ramp (gauges, glows) */
  --violet-300:   #949ED1;   /* periwinkle */
  --violet-100:   #D1D8FA;
  --violet-tint:  #EDE7FF;   /* accent wash / selected */
  --lime:         #C4FF1E;   /* emphasis pop — ink text only */
  --lime-press:   #A8DB1A;
  --lime-tint:    #F1FFC9;

  --ink:    #16181D;   /* near-black charcoal — text + dark sections */
  --paper:  #FFFFFF;

  /* ---- Neutral scale (used sparingly in components) ---- */
  --slate-950: #020617;  /* the credential-card near-black */
  --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 text + surfaces (canonical ink tones) ---- */
  --fg-strong: #16181D;   /* --ink */
  --fg-default:#16181D;
  --fg-body:   #3A3D45;   /* --ink-2 */
  --fg-muted:  #6B7280;   /* --ink-3 */
  --fg-subtle: #9CA3AC;   /* --ink-4 (split-headline sub-tone) */
  --fg-on-dark:#F2F4F7;
  --muted-on-dark: #97A2B6;

  --bg: var(--paper);
  --bg-canvas: #F6F7F9;   /* --bg-subtle */
  --bg-inset:  #EEF0F3;   /* --bg-sunken */
  --border:        #E4E7EC;  /* --line */
  --border-strong: #D5D9E0;  /* --line-2 */

  /* ---- Trust-state semantics ---- */
  --verified: #1F9D6B;
  --pending:  #C77D17;
  --revoked:  #D6492F;

  /* ---- Type ---- */
  --font-display: 'Inter Tight', 'Neue Haas Grotesk Display Pro', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ---- Radius (canonical) ---- */
  --r-xs: 6px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px; --r-2xl: 28px; --r-full: 999px;

  /* ---- Shadow (soft, cool-tinted, charcoal) ---- */
  --shadow-sm: 0 1px 2px rgba(22,24,29,.04), 0 2px 6px rgba(22,24,29,.05);
  --shadow-md: 0 2px 4px rgba(22,24,29,.04), 0 8px 20px rgba(22,24,29,.07);
  --shadow-lg: 0 8px 16px rgba(22,24,29,.06), 0 24px 48px rgba(22,24,29,.10);
  --ring-accent: 0 0 0 4px rgba(22,24,29,.12);

  /* ---- Motion ---- */
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-emphasized: cubic-bezier(.22,1,.36,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: 17px;
  line-height: 1.6;
  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(--fg-strong); margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--fg-strong); text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--lime); color: var(--ink); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }

.muted { color: var(--fg-subtle); }
.eyebrow {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: var(--fg-muted); margin: 0 0 16px;
}
.eyebrow--ink { color: var(--slate-500); }
.lead { font-size: 19px; line-height: 1.62; color: var(--fg-body); max-width: 56ch; }

.split { color: var(--fg-strong); }
.split .dim { color: var(--slate-400); }

/* ============================ Buttons ============================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  padding: 9px 16px; border-radius: var(--r-xs); border: 1px solid transparent;
  cursor: pointer; transition: transform .08s var(--ease), background .15s var(--ease), box-shadow .2s var(--ease), border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-press); color: #fff; }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-lime:hover { background: var(--lime-press); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--fg-strong); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-lg { padding: 11px 20px; font-size: 17px; }
.btn .arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================ Nav ============================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .icon { flex: none; width: 56px; height: 21px; color: var(--ink); }
.brand .wordmark { font-family: var(--font-display); font-weight: 700; font-size: 25px; letter-spacing: -.04em; color: var(--ink); }
.brand .tag {
  display: inline-flex; align-items: center; line-height: 1;
  font-size: 9.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink); background: var(--lime); padding: 8px 9px 6px; border-radius: var(--r-full); /* top>bottom optically centers the all-caps text */
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.navlink { color: var(--fg-body); font-weight: 600; font-size: 15px; transition: color .15s; }
.nav-links a.navlink:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }

/* ============================ Hero ============================ */
.hero { position: relative; padding: 84px 0 72px; overflow: hidden; }
.hero-atmosphere {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(960px 560px at 80% -10%, rgba(199,204,212,.42), transparent 62%),
    radial-gradient(680px 440px at 4% 2%, rgba(196,255,30,.10), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #F1F3F6 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(15,23,42,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-full);
  padding: 7px 8px 7px 14px; font-size: 13.5px; font-weight: 600; color: var(--fg-body);
  box-shadow: var(--shadow-sm);
}
.hero-pill b { color: var(--ink); font-weight: 700; }
.hero-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--verified); box-shadow: 0 0 0 3px rgba(0,181,5,.18); }
.hero h1 { font-size: clamp(48px, 6.8vw, 88px); font-weight: 700; line-height: 0.98; letter-spacing: -.04em; }
.hero h1 .em { color: var(--ink); }
.hero .lead { margin-top: 22px; font-size: 20px; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 30px; font-size: 13px; color: var(--fg-subtle); font-weight: 500; }
.hero-trust b { color: var(--fg-muted); font-weight: 700; }

/* ---- Hero visual: a credential card + a delegation chip ---- */
.hero-visual { position: relative; height: 440px; }
.cred-card {
  position: absolute; top: 16px; left: 8px; width: 320px;
  background: linear-gradient(165deg, #20283a 0%, #0c111d 55%, #05070d 100%);
  border-radius: var(--r-xl); padding: 24px; color: #fff;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08);
  transform: rotate(-3deg);
}
.cred-card .cc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }
.cred-card .cc-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.04em; }
.cred-card .cc-brand .icon { width: 40px; height: 15px; color: #fff; }
.cred-card .cc-chip {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink); background: var(--lime); padding: 4px 8px; border-radius: var(--r-full);
}
.cc-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.cc-row { display: flex; justify-content: space-between; margin-top: 18px; }
.cc-k { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-on-dark); }
.cc-v { font-size: 14px; font-weight: 600; margin-top: 3px; }
.cc-v.ok { color: var(--lime); }
.cc-mono { font-family: var(--font-mono); font-size: 11px; color: var(--slate-400); margin-top: 22px; word-break: break-all; }

.deleg-chip {
  position: absolute; bottom: 8px; right: 0; width: 290px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 18px; box-shadow: var(--shadow-lg); transform: rotate(2.5deg);
}
.deleg-chip .dc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.deleg-chip .dc-avatar { width: 34px; height: 34px; border-radius: 9px; background: var(--bg-inset); color: var(--ink); display: grid; place-items: center; }
.deleg-chip .dc-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.2; }
.deleg-chip .dc-sub { font-size: 12px; color: var(--fg-muted); }
.dc-line { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 7px 0; border-top: 1px solid var(--slate-100); }
.dc-line .k { color: var(--fg-muted); }
.dc-line .v { font-weight: 700; color: var(--ink); font-family: var(--font-mono); font-size: 12.5px; }
.dc-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--ink); background: var(--lime-tint); padding: 6px 11px; border-radius: var(--r-full); }

/* ============================ Standards strip ============================ */
.standards { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-canvas); }
.standards-inner { padding: 26px 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: 14px; font-weight: 500; color: var(--fg-muted); }

/* ============================ Section header ============================ */
.sec-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.sec-head p { margin-top: 18px; font-size: 18px; color: var(--fg-body); }

/* ============================ Cards / grids ============================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 30px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-inset); color: var(--ink); margin-bottom: 18px;
}
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { font-size: 15.5px; color: var(--fg-body); }
.card .num { font-family: var(--font-mono); font-size: 13px; color: var(--fg-muted); font-weight: 600; margin-bottom: 12px; }

/* pillar card variant */
.pillar { position: relative; overflow: hidden; }
.pillar .kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--fg-subtle); text-transform: uppercase; margin-bottom: 16px; }
.pillar h3 { font-size: 23px; }
.pillar .meta { margin-top: 18px; 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.violet { color: var(--ink); background: var(--lime-tint); }

/* ============================ Act band ============================ */
.act-tag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--fg-muted);
}
.act-tag .n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: var(--r-full); background: var(--ink); color: #fff; font-size: 12px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-row.rev .fr-media { order: -1; }
.feature-row h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 18px; }
.feature-row p { font-size: 17px; color: var(--fg-body); margin-bottom: 14px; }
.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(--lime-tint); color: #4a8a00; display: grid; place-items: center; margin-top: 1px; }
ul { padding: 0; margin: 0; }

/* ---- Disclosure demo (predicate proof) ---- */
.disclosure {
  background: var(--ink); border-radius: var(--r-xl); padding: 30px; color: #fff;
  box-shadow: var(--shadow-lg);
}
.disclosure .dh { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.disclosure .dh .icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--lime); }
.disclosure .dh .t { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.disclosure .dh .s { font-size: 12.5px; color: var(--muted-on-dark); }
.disc-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.08); }
.disc-row .field { font-size: 14.5px; }
.disc-row .field small { display: block; color: var(--muted-on-dark); font-size: 12px; font-family: var(--font-mono); }
.disc-state { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: var(--r-full); }
.disc-state.shared { color: var(--ink); background: var(--lime); }
.disc-state.hidden { color: var(--muted-on-dark); background: rgba(255,255,255,.07); }
.disc-foot { margin-top: 20px; font-size: 12.5px; color: var(--muted-on-dark); font-family: var(--font-mono); }

/* ---- 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 .n { color: #f2b36b; } .code .p { color: #8b95ad; }

/* ============================ Privacy modes ============================ */
.modes { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; counter-reset: m; }
.mode { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 26px; }
.mode.is-default { border-color: var(--border); box-shadow: none; }
.mode .badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-subtle); }
.mode.is-default .badge { color: var(--fg-subtle); }
.mode h4 { font-size: 19px; margin: 12px 0 10px; }
.mode p { font-size: 14.5px; color: var(--fg-body); }
.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: 14px; color: var(--fg-muted); }

/* ============================ VDAC centerpiece ============================ */
.vdac { background: var(--ink); color: #fff; border-radius: 0; }
.vdac .eyebrow { color: var(--lime); }
.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, #0c1226 0%, #070b18 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(--lime-press), var(--lime)); 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(--ink); background: var(--lime); }
.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(--lime); color: var(--ink); 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(196,255,30,.10); border-color: rgba(196,255,30,.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(--lime); color: var(--ink); border-color: var(--lime); }
.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; }

/* ---- Sub-VDAC chain ---- */
.chain { margin-top: 24px; }
.chain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.tree { display: flex; flex-direction: column; gap: 0; }
.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(196,255,30,.45); background: rgba(196,255,30,.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(--lime); }
.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); }

/* ============================ Stats / proof ============================ */
.proof { background: var(--bg-canvas); }
.proof-head { text-align: center; margin-bottom: 14px; }
.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); box-shadow: var(--shadow-sm); }
.badge-pill .icon { width: 15px; height: 15px; color: var(--verified); }
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.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 .v .u { color: var(--ink); }
.stat .l { font-size: 13.5px; color: var(--fg-muted); margin-top: 6px; }

/* ============================ Doors ============================ */
.door { display: flex; flex-direction: column; height: 100%; }
.door .ic { background: var(--ink); color: #fff; }
.door h3 { font-size: 20px; }
.door p { flex: 1; }
.door .go { margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 15px; color: var(--ink); }
.door:hover .go .arrow { transform: translateX(3px); }
.go .arrow { transition: transform .18s var(--ease); }

/* ============================ Final CTA ============================ */
.final { position: relative; overflow: hidden; background: var(--ink); border-radius: var(--r-2xl); padding: 72px 40px; text-align: center; }
.final::before { content:""; position:absolute; inset:0; background: radial-gradient(720px 380px at 50% -18%, rgba(196,255,30,.20), transparent 62%), radial-gradient(560px 320px at 84% 120%, rgba(199,204,212,.14), transparent 60%); }
.final-inner { position: relative; z-index: 1; }
.final h2 { color: #fff; font-size: clamp(32px,4vw,52px); }
.final p { color: var(--muted-on-dark); font-size: 19px; margin: 18px auto 0; max-width: 48ch; }
.final .hero-actions { justify-content: center; margin-top: 34px; }

/* ============================ Footer ============================ */
.footer { border-top: 1px solid var(--border); padding: 60px 0 40px; background: var(--bg); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 44px; }
.footer .brand { margin-bottom: 14px; }
.footer .blurb { font-size: 14px; color: var(--fg-muted); max-width: 30ch; }
.footer h5 { font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--fg-subtle); margin: 0 0 16px; font-weight: 700; }
.footer ul li { list-style: none; margin-bottom: 11px; }
.footer ul a { color: var(--fg-body); font-size: 14.5px; font-weight: 500; }
.footer ul a:hover { color: var(--ink); }
.footer-bot { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; border-top: 1px solid var(--border); font-size: 13px; color: var(--fg-subtle); flex-wrap: wrap; gap: 12px; }
.footer-bot .std { font-family: var(--font-mono); }

/* ============================ Try page ============================ */
.try-hero { padding: 64px 0 32px; position: relative; }
.try-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; margin-top: 8px; }
.try-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px;
  display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.try-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.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: 14px; background: var(--bg-inset); color: var(--ink); display: grid; place-items: center; margin-bottom: 18px; }
.try-card.feature .tc-ic { background: var(--ink); color: var(--lime); }
.try-card h3 { font-size: 22px; margin-bottom: 10px; }
.try-card p { font-size: 15.5px; color: var(--fg-body); 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-subtle); 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(--slate-700); }
.callout b { color: var(--ink); }

/* ============================ 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: linear-gradient(155deg, #3c4454 0%, #1b1f28 46%, #0d1016 100%);
  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 .icon { width: 34px; height: 13px; color: var(--ink); }
.ps-app .sub { font-size: 11px; color: var(--fg-muted); font-weight: 600; }
.ps-title { font-family: var(--font-display); font-weight: 600; 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(--lime); color: var(--ink); }
.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.lime { background: var(--lime); color: var(--ink); }
.ps-cred { background: linear-gradient(160deg, #20283a, #0c111d 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(--lime); }
.ps-cred .cr-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.ps-cred .cr-meta { font-size: 9px; text-transform: uppercase; letter-spacing: .09em; color: #97a2b6; 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(--lime); }
.ps-integrity { display: flex; gap: 7px; margin-bottom: 11px; }
.ps-stat { flex: 1; background: var(--bg-subtle); 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-subtle); 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(--lime-press), var(--lime)); border-radius: var(--r-full); }
.phone-cap { margin-top: 22px; text-align: center; max-width: 262px; }
.phone-cap h4 { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); margin-bottom: 6px; letter-spacing: -.01em; }
.phone-cap p { font-size: 13px; color: var(--fg-body); line-height: 1.5; }

/* ============================ Dark mesh hero ============================ */
/* nav adapts: transparent/light while over the dark hero, solid on scroll */
.nav.over-hero { background: rgba(8,11,19,.5); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: rgba(255,255,255,.06); }
.nav.over-hero .brand .icon { color: #fff; }
.nav.over-hero .navlink { color: rgba(233,238,248,.74); }
.nav.over-hero .navlink:hover { color: #fff; }
.nav.over-hero .btn-ghost { color: #eef2f8; border-color: rgba(255,255,255,.24); }
.nav.over-hero .btn-ghost:hover { border-color: #fff; color: #fff; }
.nav.over-hero .nav-toggle { border-color: rgba(255,255,255,.24); background: transparent; color: #fff; }

.lab-hero {
  position: relative; min-height: 100svh; min-height: 100vh; overflow: hidden;
  background:
    radial-gradient(1200px 700px at 78% -10%, #141b2e 0%, transparent 55%),
    radial-gradient(900px 600px at 0% 110%, #10171f 0%, transparent 55%),
    linear-gradient(180deg, #080b13 0%, #05070d 100%);
  display: flex; align-items: center; margin-top: -68px; padding-top: 68px;
}
#mesh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.lab-fx { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(120,140,180,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(120,140,180,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 40%, #000 35%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 50% 40%, #000 35%, transparent 78%); }
.lab-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 100% at 50% 30%, transparent 55%, rgba(3,4,8,.7) 100%); }
.cursor-glow { position: absolute; z-index: 1; width: 520px; height: 520px; left: 0; top: 0; margin: -260px 0 0 -260px;
  pointer-events: none; opacity: 0; transition: opacity .5s; mix-blend-mode: screen; will-change: transform;
  background: radial-gradient(closest-side, rgba(196,255,30,.16), rgba(196,255,30,.05) 45%, transparent 72%); }

.lab-inner { position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 56px; }
.lab-copy > * { opacity: 0; transform: translateY(18px); }
.lab-hero.ready .lab-copy > * { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.lab-hero.ready .lab-copy > *:nth-child(1){ transition-delay:.05s } .lab-hero.ready .lab-copy > *:nth-child(2){ transition-delay:.14s }
.lab-hero.ready .lab-copy > *:nth-child(3){ transition-delay:.24s } .lab-hero.ready .lab-copy > *:nth-child(4){ transition-delay:.34s }
.lab-hero.ready .lab-copy > *:nth-child(5){ transition-delay:.44s }

.lab-pill { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px; text-decoration: none;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 8px 15px;
  font-size: 13px; font-weight: 600; color: #dfe5f0; backdrop-filter: blur(6px); }
.lab-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(196,255,30,.15); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 0%,100%{ opacity:1 } 50%{ opacity:.35 } }
.lab-h1 { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: clamp(48px, 7vw, 92px); line-height: .96; letter-spacing: -.045em; margin: 0; }
.lab-h1 .amp { color: var(--lime); text-shadow: 0 0 28px rgba(196,255,30,.55); }
.lab-lead { margin: 24px 0 0; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: #aeb7c8; max-width: 32ch; }
.lab-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.lab-strip { margin-top: 30px; display: flex; gap: 8px; flex-wrap: wrap; }
.lab-chip { font-family: var(--font-mono); font-size: 11.5px; color: #9aa4b7; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 5px 11px; background: rgba(255,255,255,.025); }
.lab-chip b { color: var(--lime); font-weight: 600; }
.lab-ghost { background: transparent; color: #eef2f8; border-color: rgba(255,255,255,.22); }
.lab-ghost:hover { border-color: #fff; color: #fff; }

.lab-visual { position: relative; height: 470px; }
.phone-frame { position: absolute; left: 50%; margin-left: -143px; top: 6px; width: 286px; height: 560px;
  border: 1.5px solid rgba(255,255,255,.17); border-radius: 46px; z-index: 2; pointer-events: none; will-change: transform;
  -webkit-mask-image: linear-gradient(180deg,#000 0%,#000 40%,transparent 72%); mask-image: linear-gradient(180deg,#000 0%,#000 40%,transparent 72%); }
.phone-frame .pf-notch { position: absolute; top: 12px; left: 50%; margin-left: -54px; width: 108px; height: 20px; border: 1.5px solid rgba(255,255,255,.17); border-top: 0; border-radius: 0 0 14px 14px; }
.phone-frame .pf-status { position: absolute; top: 20px; left: 26px; right: 26px; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: rgba(220,228,242,.5); }
.phone-frame .pf-sig { display: inline-flex; align-items: flex-end; gap: 3px; }
.phone-frame .pf-sig i { width: 3px; height: 6px; background: rgba(220,228,242,.42); border-radius: 1px; }
.phone-frame .pf-sig i:nth-child(2){ height: 8px } .phone-frame .pf-sig i:nth-child(3){ height: 10px }
.phone-frame .pf-sig b { width: 16px; height: 9px; border: 1px solid rgba(220,228,242,.42); border-radius: 2px; margin-left: 4px; }
.glass { position: absolute; border-radius: 22px; backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  background: linear-gradient(150deg, rgba(255,255,255,.10), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.18); will-change: transform; }
.glass-id { width: 300px; left: 50%; margin-left: -150px; top: 92px; padding: 24px; color: #fff; overflow: hidden; z-index: 3; }
.glass-id .scan { position: absolute; left: 0; right: 0; top: 0; height: 38%; background: linear-gradient(180deg, rgba(196,255,30,.16), transparent); animation: scan 3.6s cubic-bezier(.6,0,.4,1) infinite; }
@keyframes scan { 0%{ transform: translateY(-40%); opacity:0 } 12%{opacity:1} 60%{ transform: translateY(220%); opacity:.5 } 100%{ transform: translateY(260%); opacity:0 } }
.gi-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.gi-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.04em; }
.gi-brand .icon { width: 36px; height: 14px; color: #fff; }
.gi-seal { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--lime); padding: 4px 9px; border-radius: 999px; box-shadow: 0 0 18px rgba(196,255,30,.5); }
.gi-name { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -.02em; margin: 26px 0 18px; position: relative; z-index: 1; }
.gi-rows { display: flex; gap: 22px; position: relative; z-index: 1; }
.gi-k { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: #8b94a8; }
.gi-v { font-size: 14px; font-weight: 600; margin-top: 4px; color: #fff; }
.gi-v.ok { color: var(--lime); }
.gi-mono { font-family: var(--font-mono); font-size: 11px; color: #7fd4ff; margin-top: 22px; position: relative; z-index: 1; opacity: .85; }
.glass-agent { width: 226px; left: 50%; margin-left: -58px; top: 262px; padding: 18px; color: #fff; z-index: 1; }
.ga-top { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.ga-av { width: 34px; height: 34px; border-radius: 10px; background: rgba(196,255,30,.16); color: var(--lime); display: grid; place-items: center; border: 1px solid rgba(196,255,30,.3); }
.ga-t { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; }
.ga-s { font-size: 11.5px; color: #9aa4b7; }
.ga-row { display: flex; justify-content: space-between; font-size: 12px; color: #9aa4b7; margin-bottom: 8px; }
.ga-row b { font-family: var(--font-mono); color: #fff; font-weight: 600; }
.ga-gauge { height: 7px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.ga-gauge > span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #a8db1a, var(--lime)); box-shadow: 0 0 14px rgba(196,255,30,.6); animation: fill 2.4s cubic-bezier(.2,.8,.2,1) .6s forwards; }
@keyframes fill { to { width: 62%; } }

/* ============================ Waitlist modal ============================ */
.wl-overlay { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px;
  background: rgba(6,8,15,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.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(--lime); box-shadow: 0 0 0 3px var(--lime-tint); }
.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: var(--bg); outline: none; transition: border-color .15s, box-shadow .15s; }
.wl-input::placeholder { color: var(--fg-subtle); }
.wl-input:focus { border-color: var(--ink); box-shadow: var(--ring-accent); }
.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(--lime); color: var(--ink); display: grid; place-items: center; margin: 0 auto 16px; box-shadow: 0 0 28px rgba(196,255,30,.5); }
.wl-success h3 { margin-bottom: 8px; }

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

/* ============================ Responsive ============================ */
/* Collapse the nav to a hamburger before the links crowd the CTAs. */
@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: 68px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--border); padding: 22px 28px;
  }
  .nav-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 10px; background: #fff; cursor: pointer; }
  .nav-cta .btn-ghost { display: none; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 400px; max-width: 420px; }
  .feature-row, .chain-grid, .vdac-stage { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.rev .fr-media { order: 0; }
  .grid-3, .modes, .footer-top, .phones { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .vdac-stage { padding: 24px; }
}
@media (max-width: 680px) {
  .section { padding: 68px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; top: 68px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--border); padding: 22px 28px;
  }
  .nav-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 10px; background: #fff; cursor: pointer; }
  .nav-cta .btn-ghost { display: none; }
  .grid-3, .grid-2, .modes, .try-grid, .footer-top, .stats, .phones { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .hero .lead { font-size: 18px; }
  .footer-bot { flex-direction: column; align-items: flex-start; }
}
