/* ============================================================================
   TOKENS  — monochrome ink + four verdict colors. Nothing else saturated.
   ============================================================================ */
:root {
  /* Verdict colors — the ONLY saturated colors. Exact. */
  --verdict-supported:    #33C77A;
  --verdict-contested:    #E8A83D;
  --verdict-contradicted: #E6574F;
  --verdict-counterpoint: #4D9EED;
  --verdict-supported-tint:    rgba(51,199,122,.14);
  --verdict-contested-tint:    rgba(232,168,61,.14);
  --verdict-contradicted-tint: rgba(230,87,79,.14);
  --verdict-counterpoint-tint: rgba(77,158,237,.14);
  --color-rec: #E6574F;

  /* Monochrome ink */
  --ink-1: #000000;
  --ink-2: rgba(60,60,67,.60);
  --ink-3: rgba(60,60,67,.30);
  --ink-4: rgba(60,60,67,.18);

  /* Fills — translucent gray */
  --fill-1: rgba(120,120,128,.20);
  --fill-2: rgba(120,120,128,.16);
  --fill-3: rgba(120,120,128,.12);
  --fill-4: rgba(116,116,128,.08);

  /* Backgrounds */
  --bg-base: #FFFFFF;
  --bg-grouped: #F2F2F7;
  --bg-elevated: #FFFFFF;
  --bg-inverse: #000000;
  --text-on-inverse: #FFFFFF;
  --border-hairline: rgba(60,60,67,.29);
  --nav-bg: rgba(255,255,255,.72);
  --frame-bezel: #0a0a0a;
  --frame-edge: rgba(0,0,0,.18);

  /* Radii */
  --radius-chip: 5px; --radius-icon: 8px; --radius-row: 10px;
  --radius-card: 12px; --radius-section: 14px; --radius-pill: 999px;

  /* Type scale */
  --w-regular:400; --w-medium:500; --w-semibold:600; --w-bold:700; --w-heavy:800;
  --caps-spacing:.8px;
  --lead-tight:1.05; --lead-body:1.35; --lead-relaxed:1.5;

  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow-fab: 0 6px 20px rgba(0,0,0,.22);
  --shadow-rec-glow: 0 0 10px rgba(230,87,79,.55);

  --gutter: clamp(20px, 5vw, 80px);
  --maxw: 1200px;
}

[data-theme="dark"] {
  --ink-1: #FFFFFF;
  --ink-2: rgba(235,235,245,.60);
  --ink-3: rgba(235,235,245,.30);
  --ink-4: rgba(235,235,245,.18);
  --fill-1: rgba(120,120,128,.36);
  --fill-2: rgba(120,120,128,.32);
  --fill-3: rgba(118,118,128,.24);
  --fill-4: rgba(118,118,128,.18);
  --bg-base: #000000;
  --bg-grouped: #000000;
  --bg-elevated: #1C1C1E;
  --bg-inverse: #FFFFFF;
  --text-on-inverse: #000000;
  --border-hairline: rgba(84,84,88,.6);
  --nav-bg: rgba(0,0,0,.6);
  --frame-bezel: #1c1c1e;
  --frame-edge: rgba(255,255,255,.14);
}

/* ============================================================================
   BASE
   ============================================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-system);
  background: var(--bg-base);
  color: var(--ink-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--verdict-supported); color: #000; }
:focus-visible { outline: 2px solid var(--verdict-counterpoint); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Section rhythm */
section { position: relative; }
.eyebrow {
  font-size: clamp(11px, 1vw, 12px); font-weight: var(--w-semibold);
  letter-spacing: var(--caps-spacing); text-transform: uppercase; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--ink-3); }

.display {
  font-weight: var(--w-bold); letter-spacing: -.03em; line-height: var(--lead-tight);
  font-size: clamp(40px, 7.2vw, 104px);
}
.h2 {
  font-weight: var(--w-bold); letter-spacing: -.025em; line-height: 1.08;
  font-size: clamp(30px, 4.6vw, 60px);
}
.lede {
  font-size: clamp(17px, 1.7vw, 22px); line-height: var(--lead-relaxed);
  color: var(--ink-2); font-weight: var(--w-regular); max-width: 40ch;
}
.hairline { height: 0; border: none; border-top: .5px solid var(--border-hairline); margin: 0; }

/* ---- Reveal on scroll ----
   Hidden state is gated on html.anim, which JS only keeps when the
   compositor actually advances transitions. If it doesn't (frozen/throttled
   preview iframes), html.anim is removed and all content shows immediately. */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
html.anim .reveal { opacity: 0; transform: translateY(18px); }
html.anim .reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; }
.reveal[data-d="4"] { transition-delay: .28s; }
/* Frozen-compositor / reduced-motion fallback: snap to visible, no transition */
html.nofx .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }

/* ============================================================================
   SCROLL PROGRESS BAR
   ============================================================================ */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 200; background: var(--verdict-supported); }

/* ============================================================================
   NAV
   ============================================================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 150; overflow: visible; transition: background .3s var(--ease), border-color .3s var(--ease); border-bottom: .5px solid transparent; }
.nav.scrolled { background: var(--nav-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom-color: var(--border-hairline); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); height: 60px; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: var(--w-semibold); font-size: 18px; letter-spacing: -.02em; }
.brand svg { width: 24px; height: 24px; display: block; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--ink-2); transition: color .2s var(--ease); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--ink-1); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--verdict-supported); border-radius: 2px; }
.nav-tools { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  width: 34px; height: 34px; border-radius: var(--radius-pill); border: .5px solid var(--border-hairline);
  background: var(--fill-3); color: var(--ink-1); display: grid; place-items: center; font-size: 15px;
  transition: background .2s var(--ease);
}
.theme-toggle:hover { background: var(--fill-2); }
.theme-toggle svg { display: block; }
.theme-toggle .ic-sun { display: none; }
[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
[data-theme="dark"] .theme-toggle .ic-sun { display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: var(--w-semibold); font-size: 14px; border: none; border-radius: var(--radius-pill);
  padding: 10px 18px; transition: transform .12s var(--ease), opacity .2s var(--ease), background .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--bg-inverse); color: var(--text-on-inverse); }
.btn-primary:hover { opacity: .88; }
.btn-ghost { background: var(--fill-3); color: var(--ink-1); }
.btn-ghost:hover { background: var(--fill-2); }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.nav-burger { display: none; }

/* ============================================================================
   STORE BADGES (placeholder, monochrome)
   ============================================================================ */
.badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 11px; padding: 11px 18px;
  border-radius: var(--radius-card); background: var(--bg-inverse); color: var(--text-on-inverse);
  transition: opacity .2s var(--ease), transform .12s var(--ease);
}
.badge:hover { opacity: .88; }
.badge:active { transform: scale(.98); }
.badge .badge-ic { width: 26px; height: 26px; flex: none; }
.badge .b-top { font-size: 10px; letter-spacing: .3px; opacity: .8; line-height: 1; }
.badge .b-main { font-size: 16px; font-weight: var(--w-semibold); line-height: 1.1; letter-spacing: -.02em; }
.badge.ghost { background: var(--fill-3); color: var(--ink-1); }
.badge-wrap { position: relative; display: inline-flex; }
.badge.soon { cursor: default; pointer-events: none; }
.badge.soon:hover { opacity: 1; transform: none; }
.soon-tag {
  position: absolute; top: -7px; right: 10px; z-index: 1;
  padding: 3px 8px; border-radius: var(--radius-pill);
  font-size: 9px; font-weight: var(--w-semibold); letter-spacing: .35px; text-transform: uppercase;
  line-height: 1; white-space: nowrap;
  background: var(--ink-1); color: var(--bg-base);
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

/* ============================================================================
   §2 HERO
   ============================================================================ */
.hero { padding-top: clamp(120px, 18vh, 200px); padding-bottom: clamp(60px, 8vh, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin-top: 18px; }
.hero .lede { margin-top: 22px; }
.hero .verdict-words { display: inline; white-space: nowrap; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; padding-top: 8px; }
.hero-meta { margin-top: 22px; font-size: 13px; color: var(--ink-3); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .device { will-change: transform; }

/* Floating live-demo card next to the phone */
.demo-card {
  position: absolute; left: -6%; bottom: 14%; width: min(320px, 78%); z-index: 3;
  background: var(--bg-elevated); border-radius: var(--radius-section);
  border: .5px solid var(--border-hairline); padding: 16px 16px 14px;
  backdrop-filter: blur(12px);
}
[data-theme="light"] .demo-card { box-shadow: var(--shadow-fab); }
.demo-head { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: var(--w-semibold); letter-spacing: .4px; text-transform: uppercase; color: var(--ink-2); margin-bottom: 11px; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-rec); box-shadow: var(--shadow-rec-glow); animation: recpulse 2s var(--ease) infinite; }
@keyframes recpulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.demo-line { font-size: 15px; line-height: 1.4; min-height: 2.8em; color: var(--ink-1); font-weight: var(--w-medium); }
.demo-line .caret { display: inline-block; width: 2px; height: 1.05em; background: var(--ink-1); margin-left: 1px; transform: translateY(2px); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-verdict { margin-top: 12px; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.demo-verdict.show { opacity: 1; transform: none; }

.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 9px;
  border-radius: var(--radius-pill); font-size: 12.5px; font-weight: var(--w-semibold); letter-spacing: .1px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; }
.pill.supported    { background: var(--verdict-supported-tint);    color: var(--verdict-supported); }
.pill.contested    { background: var(--verdict-contested-tint);    color: var(--verdict-contested); }
.pill.contradicted { background: var(--verdict-contradicted-tint); color: var(--verdict-contradicted); }
.pill.counterpoint { background: var(--verdict-counterpoint-tint); color: var(--verdict-counterpoint); }
.pill.supported .dot    { background: var(--verdict-supported); }
.pill.contested .dot    { background: var(--verdict-contested); }
.pill.contradicted .dot { background: var(--verdict-contradicted); }
.pill.counterpoint .dot { background: var(--verdict-counterpoint); }

/* Scroll cue */
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 56px; color: var(--ink-3); font-size: 11px; letter-spacing: .8px; text-transform: uppercase; }
.scroll-cue .mouse { width: 22px; height: 34px; border: 1.5px solid var(--ink-3); border-radius: 12px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 6px; transform: translateX(-50%); width: 3px; height: 6px; border-radius: 2px; background: var(--ink-2); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 10px); } }

/* ============================================================================
   DEVICE FRAMES
   ============================================================================ */
.device {
  position: relative; width: 100%; max-width: 300px; margin: 0 auto;
  background: var(--frame-bezel); border-radius: 46px; padding: 9px;
  border: 1px solid var(--frame-edge);
}
.device::after { /* side button hint */ content: ""; }
.device .screen { position: relative; border-radius: 38px; overflow: hidden; aspect-ratio: 9 / 19.5; background: #000; }
.device .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.device.tall { max-width: 270px; }

/* Mac window frame */
.macwin { width: 100%; border-radius: 12px; overflow: hidden; background: var(--bg-elevated); border: .5px solid var(--border-hairline); }
.macwin .bar { height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--fill-4); border-bottom: .5px solid var(--border-hairline); }
.macwin .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--ink-3); }

/* Generic placeholder (used if a screenshot is missing) */
.shot-ph { width: 100%; aspect-ratio: 9 / 19.5; background: var(--fill-3); display: grid; place-items: center; color: var(--ink-3); font-family: var(--font-mono); font-size: 12px; letter-spacing: .5px; text-align: center; padding: 16px; }

/* ============================================================================
   §3 STATEMENT BEAT
   ============================================================================ */
.statement { padding: clamp(110px, 18vh, 220px) 0; text-align: center; }
.statement .display { max-width: 16ch; margin: 0 auto; }
.statement .display em { font-style: normal; color: var(--ink-3); }

/* ============================================================================
   §4 HOW IT WORKS — interactive verdict explainer
   ============================================================================ */
.section-pad { padding: clamp(70px, 11vh, 130px) 0; }
.sec-head { max-width: 56ch; }
.sec-head .h2 { margin-top: 16px; }
.sec-head .lede { margin-top: 18px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.step { background: var(--fill-4); border-radius: var(--radius-card); padding: 20px; }
.step .n { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.step h4 { font-size: 16px; font-weight: var(--w-semibold); margin-top: 12px; letter-spacing: -.01em; }
.step p { font-size: 14px; color: var(--ink-2); line-height: 1.45; margin-top: 6px; }

.explain { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 52px); margin-top: 52px; align-items: start; }
.transcript { background: var(--fill-4); border-radius: var(--radius-section); padding: clamp(20px, 3vw, 32px); }
.transcript .t-label { font-size: 11px; font-weight: var(--w-semibold); letter-spacing: .6px; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.transcript p.speaker { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.7; color: var(--ink-1); font-weight: var(--w-regular); }
.transcript .who { color: var(--ink-3); font-weight: var(--w-semibold); font-size: 13px; display: block; margin: 18px 0 4px; letter-spacing: .2px; }

.claim {
  background: none; border: none; padding: 1px 5px; margin: 0 -3px; border-radius: 6px;
  font: inherit; color: inherit; line-height: inherit;
  border-bottom: 1.5px dashed var(--ink-3); transition: background .2s var(--ease), border-color .2s var(--ease);
}
.claim:hover { background: var(--fill-3); }
.claim[data-v="supported"]    { border-bottom-color: var(--verdict-supported); }
.claim[data-v="contested"]    { border-bottom-color: var(--verdict-contested); }
.claim[data-v="contradicted"] { border-bottom-color: var(--verdict-contradicted); }
.claim[data-v="counterpoint"] { border-bottom-color: var(--verdict-counterpoint); }
.claim.active[data-v="supported"]    { background: var(--verdict-supported-tint); }
.claim.active[data-v="contested"]    { background: var(--verdict-contested-tint); }
.claim.active[data-v="contradicted"] { background: var(--verdict-contradicted-tint); }
.claim.active[data-v="counterpoint"] { background: var(--verdict-counterpoint-tint); }

.verdict-panel { position: sticky; top: 90px; }
.vp-card { background: var(--bg-elevated); border-radius: var(--radius-section); border: .5px solid var(--border-hairline); padding: 22px; min-height: 280px; }
.vp-empty { color: var(--ink-3); font-size: 14px; line-height: 1.5; }
.vp-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.vp-conf { font-size: 12px; color: var(--ink-3); }
.vp-claim { font-size: 18px; font-weight: var(--w-semibold); line-height: 1.35; letter-spacing: -.01em; }
.vp-body { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin-top: 10px; }
.vp-sources { margin-top: 18px; }
.vp-sources .s-label { font-size: 10.5px; font-weight: var(--w-semibold); letter-spacing: .6px; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.source-row { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: var(--radius-row); background: var(--fill-4); margin-bottom: 6px; }
.source-row .fav { width: 16px; height: 16px; border-radius: 4px; background: var(--fill-1); flex: none; display: grid; place-items: center; font-size: 9px; color: var(--ink-3); }
.source-row .s-dom { font-size: 13px; font-weight: var(--w-medium); }
.source-row .s-path { font-size: 12px; color: var(--ink-3); margin-left: auto; font-family: var(--font-mono); }
.vp-fade { animation: vpfade .35s var(--ease); }
@keyframes vpfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================================================================
   §5 FEATURE TRIO
   ============================================================================ */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; padding: clamp(50px, 8vh, 96px) 0; }
.feature.flip .f-media { order: -1; }
.feature .f-copy .h2 { margin-top: 16px; }
.feature .f-copy p { margin-top: 18px; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.55; color: var(--ink-2); max-width: 38ch; }
.feature .f-copy ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.feature .f-copy li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink-1); }
.feature .f-copy li .tick { width: 17px; height: 17px; color: var(--verdict-supported); margin-top: 1px; flex: none; }
.f-media { display: flex; justify-content: center; }
.f-media .device { will-change: transform; }

/* ============================================================================
   §6 PRIVACY / ON-DEVICE
   ============================================================================ */
.privacy { background: var(--fill-4); }
.privacy-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.stat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.tile { background: var(--bg-base); border-radius: var(--radius-card); padding: 22px 20px; }
.tile .big { font-size: clamp(34px, 4vw, 48px); font-weight: var(--w-bold); letter-spacing: -.03em; line-height: 1; }
.tile .cap { font-size: 13px; color: var(--ink-2); margin-top: 10px; line-height: 1.4; }
.privacy-visual { display: grid; place-items: center; }
.rec-orb { position: relative; width: 200px; height: 200px; display: grid; place-items: center; }
.rec-orb .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--border-hairline); }
.rec-orb .ring.r2 { inset: 26px; }
.rec-orb .ring.r3 { inset: 52px; }
.rec-orb .ping { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--color-rec); opacity: 0; animation: ping 3s var(--ease) infinite; }
.rec-orb .ping.d2 { animation-delay: 1s; }
.rec-orb .ping.d3 { animation-delay: 2s; }
@keyframes ping { 0% { transform: scale(.4); opacity: .6; } 100% { transform: scale(1); opacity: 0; } }
.rec-core { width: 64px; height: 64px; border-radius: 50%; background: var(--color-rec); box-shadow: var(--shadow-rec-glow); display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: var(--w-bold); letter-spacing: 1px; }

/* App black REC notification (live-activity) — always dark, both themes */
.rec-notif { width: min(360px, 100%); background: #000; border-radius: 22px; padding: 16px 18px 18px; color: #fff; border: .5px solid rgba(255,255,255,.10); }
.rec-notif .rn-top { display: flex; align-items: center; justify-content: space-between; }
.rec-notif .rn-rec { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: var(--w-bold); letter-spacing: 1px; }
.rec-notif .rn-rec .rec-dot { width: 8px; height: 8px; }
.rec-notif .rn-time { font-size: 15px; font-weight: var(--w-semibold); font-variant-numeric: tabular-nums; color: rgba(255,255,255,.9); }
.rec-notif .rn-line { display: flex; gap: 11px; margin-top: 14px; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.96); }
.rec-notif .rn-bar { width: 3px; border-radius: 2px; background: var(--verdict-contested); flex: none; }
.rec-notif .rn-controls { display: flex; justify-content: flex-end; gap: 12px; margin-top: 16px; }
.rec-notif .rn-btn { width: 40px; height: 40px; border-radius: 50%; border: none; display: grid; place-items: center; padding: 0; }
.rec-notif .rn-btn.pause { background: rgba(255,255,255,.16); }
.rec-notif .rn-btn.stop { background: var(--color-rec); box-shadow: var(--shadow-rec-glow); }
.rec-notif .rn-btn .bars { display: flex; gap: 3px; }
.rec-notif .rn-btn .bars i { width: 3.5px; height: 13px; background: #fff; border-radius: 1px; display: block; }
.rec-notif .rn-btn .sq { width: 12px; height: 12px; background: #fff; border-radius: 2px; }
/* Compact variant inside a bento cell */
.cell .rec-notif { width: 100%; border-radius: 14px; padding: 13px 15px 15px; }
.cell .rec-notif .rn-line { font-size: 13px; margin-top: 10px; }
.cell .rec-notif .rn-controls { margin-top: 13px; gap: 9px; }
.cell .rec-notif .rn-btn { width: 30px; height: 30px; }
.cell .rec-notif .rn-btn .bars i { height: 10px; }
.cell .rec-notif .rn-btn .sq { width: 9px; height: 9px; }

/* ============================================================================
   §7 BENTO
   ============================================================================ */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 168px; gap: 14px; margin-top: 48px; }
.cell { background: var(--fill-4); border-radius: var(--radius-section); overflow: hidden; position: relative; transition: background .25s var(--ease), transform .25s var(--ease); }
.cell:hover { background: var(--fill-3); transform: translateY(-1px); }
.cell .pad { padding: 22px; height: 100%; display: flex; flex-direction: column; }
.cell h4 { font-size: 17px; font-weight: var(--w-semibold); letter-spacing: -.01em; }
.cell p { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; margin-top: 8px; }
.cell .grow { flex: 1; }
.cell .ph-img { position: absolute; inset: 0; }
.cell .ph-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.cell .ovl { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 15px 13px; font-size: 12.5px; font-weight: var(--w-semibold); color: #fff; line-height: 1.25; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.74) 45%, rgba(0,0,0,0) 100%); text-shadow: 0 1px 4px rgba(0,0,0,.75); border-radius: 0; box-shadow: none; pointer-events: none; }
/* spans */
.c-2x1 { grid-column: span 2; }
.c-2x2 { grid-column: span 2; grid-row: span 2; }
.c-1x2 { grid-row: span 2; }

.rec-chip { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .5px; color: var(--ink-1); }
.lang-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.lang-grid span { font-size: 11px; padding: 4px 9px; border-radius: var(--radius-pill); background: var(--fill-3); color: var(--ink-2); }
.pill-stack { display: flex; flex-direction: column; gap: 8px; margin-top: auto; align-items: flex-start; }

/* ============================================================================
   §8 TESTIMONIALS
   ============================================================================ */
.marquee { overflow: hidden; margin-top: 44px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: scrollx 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.t-card { width: 340px; flex: none; background: var(--fill-4); border-radius: var(--radius-section); padding: 24px; }
.t-stars { display: flex; gap: 3px; color: var(--verdict-supported); font-size: 14px; }
.t-quote { font-size: 16px; line-height: 1.5; margin-top: 14px; color: var(--ink-1); }
.t-who { display: flex; align-items: center; gap: 11px; margin-top: 18px; }
.t-av { width: 36px; height: 36px; border-radius: 50%; background: var(--fill-2); flex: none; }
.t-name { font-size: 14px; font-weight: var(--w-semibold); }
.t-role { font-size: 12px; color: var(--ink-3); }
.t-flag { font-family: var(--font-mono); font-size: 10px; color: var(--verdict-contested); margin-top: 14px; letter-spacing: .3px; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ============================================================================
   §9 PRICING
   ============================================================================ */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; align-items: stretch; }
.tier { background: var(--fill-4); border-radius: var(--radius-section); padding: 28px; display: flex; flex-direction: column; }
.tier.pro { background: var(--bg-inverse); color: var(--text-on-inverse); }
.tier.pro .t-sub, .tier.pro .price-note, .tier.pro li { color: var(--text-on-inverse); }
.tier .t-name { font-size: 14px; font-weight: var(--w-semibold); letter-spacing: .3px; text-transform: uppercase; opacity: .8; }
.tier .price { font-size: clamp(34px, 4vw, 46px); font-weight: var(--w-bold); letter-spacing: -.03em; margin-top: 14px; line-height: 1; }
.tier .price small { font-size: 15px; font-weight: var(--w-medium); opacity: .6; letter-spacing: 0; }
.tier .price-note { font-size: 12px; color: var(--ink-3); margin-top: 8px; font-family: var(--font-mono); }
.tier .t-sub { font-size: 14px; color: var(--ink-2); margin-top: 14px; line-height: 1.45; }
.tier ul { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 12px; }
.tier li { display: flex; gap: 10px; font-size: 14px; line-height: 1.4; align-items: flex-start; }
.tier li .tick { width: 16px; height: 16px; margin-top: 1px; color: var(--verdict-supported); flex: none; }
.tier.pro li .tick { color: var(--text-on-inverse); }
.foot-social a svg { width: 15px; height: 15px; }
.tier .btn { margin-top: auto; width: 100%; }
.tier-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--verdict-supported-tint); color: var(--verdict-supported); font-size: 11px; font-weight: var(--w-semibold); letter-spacing: .3px; margin-left: 8px; vertical-align: middle; }

/* ============================================================================
   §10 TRUST SPEC
   ============================================================================ */
.spec { background: var(--bg-inverse); color: var(--text-on-inverse); border-radius: clamp(16px, 2vw, 22px); padding: clamp(32px, 5vw, 60px); }
.spec .eyebrow { color: rgba(255,255,255,.5); }
[data-theme="dark"] .spec .eyebrow { color: rgba(0,0,0,.5); }
.spec .h2 { margin-top: 16px; max-width: 20ch; }
.spec-sub { margin-top: 18px; max-width: 52ch; }
.spec-sub .lead { display: block; font-size: clamp(18px, 1.9vw, 22px); font-weight: var(--w-semibold); letter-spacing: -.01em; }
.spec-sub .note { display: block; margin-top: 8px; font-size: 15px; line-height: 1.5; opacity: .6; }
.spec-rows { margin-top: 40px; border-top: .5px solid rgba(127,127,127,.4); }
.spec-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 22px 0; border-bottom: .5px solid rgba(127,127,127,.4); align-items: baseline; }
.spec-row .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .4px; text-transform: uppercase; opacity: .55; }
.spec-row .v { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.45; }
.spec-row .v b { font-weight: var(--w-semibold); }

/* ============================================================================
   §11 CLOSING CTA + FOOTER
   ============================================================================ */
.closing { text-align: center; padding: clamp(100px, 16vh, 180px) 0 clamp(70px, 10vh, 120px); }
.closing .display { max-width: 18ch; margin: 0 auto; }
.closing .badges { justify-content: center; margin-top: 38px; padding-top: 8px; }
.closing .fineprint { margin-top: 22px; font-size: 13px; color: var(--ink-3); }

footer { border-top: .5px solid var(--border-hairline); padding: 56px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { font-size: 13px; color: var(--ink-3); line-height: 1.5; max-width: 30ch; }
.foot-col h5 { font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .5px; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.foot-col a { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; transition: color .2s var(--ease); }
.foot-col a:hover { color: var(--ink-1); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: .5px solid var(--border-hairline); flex-wrap: wrap; gap: 16px; }
.foot-bottom p { font-size: 12px; color: var(--ink-3); }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 34px; height: 34px; border-radius: 50%; background: var(--fill-3); display: grid; place-items: center; color: var(--ink-2); transition: background .2s var(--ease), color .2s var(--ease); }
.foot-social a:hover { background: var(--fill-2); color: var(--ink-1); }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 36px; }
  .demo-card { left: auto; right: -2%; }
  .explain { grid-template-columns: 1fr; }
  .verdict-panel { position: static; }
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-visual { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .f-media { order: 0; }
  .f-media { margin-top: 8px; }
  .tiers { grid-template-columns: 1fr; }
  .stat-tiles { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 6px; }
  .t-card { width: 280px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .c-2x2 { grid-column: span 2; grid-row: span 1; }
  .device { max-width: 250px; }
}
@media (max-width: 480px) {
  .bento { grid-template-columns: 1fr; }
  .c-2x1, .c-2x2 { grid-column: span 1; }
  .hero-cta,
  .badges { flex-wrap: nowrap; align-items: stretch; }
  .hero-cta > .badge,
  .badges > .badge,
  .hero-cta > .badge-wrap,
  .badges > .badge-wrap { flex: 1 1 0; min-width: 0; }
  .badge-wrap .badge { width: 100%; }
  .badge { padding: 10px 12px; gap: 8px; }
  .badge .badge-ic { width: 22px; height: 22px; }
  .badge .b-top { font-size: 9px; }
  .badge .b-main { font-size: 13px; }
  .soon-tag { font-size: 8px; padding: 2px 6px; right: 6px; }
}

/* ============================================================================
   REDUCED MOTION
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track { animation: none !important; }
  .rec-orb .ping, .rec-dot, .scroll-cue .mouse::after, .demo-line .caret { animation: none !important; }
  * { scroll-behavior: auto !important; }
}

/* ============================================================================
   RESPONSIVE FIXES — working mobile nav, overflow guard, type/tap polish
   ============================================================================ */
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100%; }
img, svg, video { max-width: 100%; }

/* hamburger button (was missing entirely) */
.nav-burger {
  width: 42px; height: 42px; border: 0; background: transparent; padding: 0;
  position: relative; overflow: visible; flex-shrink: 0;
  cursor: pointer; color: var(--ink-1); -webkit-tap-highlight-color: transparent;
}
.nav-burger span {
  position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px;
  background: currentColor; border-radius: 2px;
  transition: transform .22s var(--ease), opacity .18s var(--ease), top .22s var(--ease);
}
.nav-burger span:nth-child(1) { top: 13px; }
.nav-burger span:nth-child(2) { top: 20px; }
.nav-burger span:nth-child(3) { top: 27px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 760px) {
  .nav-inner { gap: 12px; }
  .nav-tools { margin-left: auto; }                          /* pin theme + burger to the right */
  .nav-burger { display: block; order: 2; }                  /* far right — menu affordance */
  .theme-toggle { order: 1; width: 42px; height: 42px; }    /* left of burger */
  .nav-tools .btn-primary { display: none; }                 /* CTA moves into the menu on mobile */
  /* slide-down menu panel */
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; left: 0; right: 0; top: 60px; margin: 0;
    padding: 6px var(--gutter) 14px;
    background: var(--nav-bg, var(--bg-base));
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    border-bottom: .5px solid var(--border-hairline);
    box-shadow: 0 18px 44px rgba(0,0,0,.20); z-index: 149;
  }
  .nav-links.open a:not(.nav-cta-mobile) { padding: 15px 2px; font-size: 17px; color: var(--ink-1);
    border-bottom: .5px solid var(--border-hairline); }
  .nav-links.open a:not(.nav-cta-mobile):last-of-type { border-bottom: 0; }
  .nav-links.open .nav-cta-mobile {
    display: block; width: 100%; text-align: center; margin-top: 14px;
    background: var(--bg-inverse); color: var(--text-on-inverse);
    font-size: 15px; padding: 14px 18px;
  }
}
@media (max-width: 480px) {
  .hero .verdict-words { white-space: normal; }   /* let the hero headline wrap */
  .nav .btn-primary { padding-left: 14px; padding-right: 14px; }
}

/* FAQ block (answer-first, always visible for AEO) */
.faq { max-width: 760px; margin: clamp(30px,5vw,52px) auto 0; }
.faq-item { padding: 22px 0; border-top: .5px solid var(--border-hairline); }
.faq-item:first-child { border-top: 0; }
.faq-q { font-size: clamp(16px,1.6vw,19px); font-weight: var(--w-semibold); letter-spacing: -.01em; color: var(--ink-1); }
.faq-a { margin-top: 9px; color: var(--ink-2); line-height: 1.6; max-width: 70ch; }

.nav-cta-mobile { display: none; }   /* shown only inside the open mobile menu */
