/* ============================================================
   Mentionova — marketing site layer
   Built on top of ../lib.css (tokens + primitives).
   Dark-default, high-motion. Editorial AI-SaaS.
   ============================================================ */

@import url('lib.css');

html { scroll-behavior:smooth; }
body { overflow-x:hidden; }

/* ---------- shared widths ---------- */
.wrap { max-width:1180px; margin:0 auto; padding:0 28px; }
.wrap-tight { max-width:920px; margin:0 auto; padding:0 28px; }
@media(max-width:560px){ .wrap,.wrap-tight{ padding:0 20px; } }

/* ============================================================
   ATMOSPHERE — gradient mesh + grain, fixed behind everything
   ============================================================ */
.atmos { position:fixed; inset:0; z-index:-2; overflow:hidden; pointer-events:none; }
.atmos .glow {
  position:absolute; border-radius:50%; filter:blur(80px); opacity:.5;
  background:radial-gradient(circle at center, var(--signal), transparent 68%);
  animation:drift 26s var(--ease-inout) infinite alternate;
}
.atmos .g1 { width:720px; height:720px; top:-180px; left:calc(50% - 360px); opacity:.32; }
.atmos .g2 { width:520px; height:520px; top:18%; right:-180px;
  background:radial-gradient(circle at center, var(--engine-gemini), transparent 70%); opacity:.16; animation-delay:-8s; }
.atmos .g3 { width:560px; height:560px; bottom:-220px; left:30%;
  background:radial-gradient(circle at center, var(--engine-perplexity), transparent 70%); opacity:.14; animation-delay:-15s; }
@keyframes drift {
  0% { transform:translate3d(0,0,0) scale(1); }
  100% { transform:translate3d(40px,-30px,0) scale(1.12); }
}
.atmos .grain {
  position:absolute; inset:-50%; opacity:.04; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.atmos .mesh {
  position:absolute; inset:0; opacity:.5;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size:64px 64px;
  -webkit-mask-image:radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
          mask-image:radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
  opacity:.35;
}
@media (prefers-reduced-motion:reduce){ .atmos .glow{ animation:none; } }

/* ============================================================
   NAV
   ============================================================ */
.mnav {
  position:sticky; top:0; z-index:100;
  background:color-mix(in oklab, var(--bg) 72%, transparent);
  backdrop-filter:blur(14px) saturate(1.2);
  border-bottom:1px solid transparent; transition:border-color var(--dur-base), background var(--dur-base);
}
.mnav.scrolled { border-bottom-color:var(--border); background:color-mix(in oklab, var(--bg) 88%, transparent); }
.mnav .row { display:flex; align-items:center; gap:24px; height:66px; }
.mnav .brand { display:inline-flex; align-items:center; gap:10px; }
.mnav .brand .nova { width:24px; height:24px; }
.mnav .brand .wm { font-family:var(--font-display); font-weight:500; font-size:22px; letter-spacing:-.02em; color:var(--text); }
.mnav .links { display:flex; align-items:center; gap:4px; margin-left:14px; }
.mnav .links a {
  font-size:14px; font-weight:500; color:var(--text-muted); padding:8px 13px; border-radius:var(--r-sm);
  transition:color var(--dur-fast), background var(--dur-fast); position:relative;
}
.mnav .links a:hover { color:var(--text); background:var(--surface-2); }
.mnav .links a[aria-current="page"] { color:var(--text); }
.mnav .links a[aria-current="page"]::after {
  content:''; position:absolute; left:13px; right:13px; bottom:2px; height:2px; border-radius:2px; background:var(--signal);
}
.mnav .right { margin-left:auto; display:flex; align-items:center; gap:10px; }
.mnav-toggle { display:none; }
@media(max-width:860px){
  .mnav .links { display:none; }
  .mnav .right .btn-secondary { display:none; }
}

/* ============================================================
   SECTION RHYTHM
   ============================================================ */
section { position:relative; }
.sec { padding:96px 0; }
.sec-sm { padding:64px 0; }
@media(max-width:680px){ .sec{ padding:68px 0; } }
.sec-hd { max-width:62ch; margin:0 auto 52px; text-align:center; }
.sec-hd.left { margin-left:0; text-align:left; }
.sec-hd h2 {
  font-family:var(--font-display); font-weight:500; font-size:clamp(30px,4.6vw,50px);
  line-height:1.04; letter-spacing:-.028em; color:var(--text); margin:14px 0 0;
}
.sec-hd h2 em, .sec-hd h2 .sig { font-style:italic; font-weight:400; color:var(--signal); }
.sec-hd p { font-size:17px; line-height:1.6; color:var(--text-muted); margin:16px auto 0; max-width:58ch; }
.sec-hd.left p { margin-left:0; }
.eyebrow {
  font-family:var(--font-mono); font-size:11px; font-weight:500; letter-spacing:.16em;
  text-transform:uppercase; color:var(--accent-deep); display:inline-flex; align-items:center; gap:8px;
}
.rule { height:1px; background:linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent); border:0; margin:0; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding:78px 0 60px; position:relative; }
.hero .inner { display:grid; grid-template-columns:1.04fr .96fr; gap:54px; align-items:center; }
@media(max-width:920px){ .hero .inner{ grid-template-columns:minmax(0,1fr); gap:40px; } .hero .inner > *{ min-width:0; } }
.hero h1 {
  font-family:var(--font-display); font-weight:500; font-size:clamp(40px,6vw,72px);
  line-height:1.0; letter-spacing:-.035em; margin:20px 0 0; color:var(--text); max-width:15ch;
}
.hero h1 .sig { font-style:italic; font-weight:400; color:var(--signal); }
.hero .lede { font-size:18.5px; line-height:1.6; color:var(--text-muted); margin:22px 0 0; max-width:50ch; }
.hero .cta-row { display:flex; align-items:center; gap:14px; margin-top:30px; flex-wrap:wrap; }
.hero .trust { display:flex; align-items:center; gap:20px; margin-top:30px; font-family:var(--font-mono); font-size:12px; color:var(--text-faint); flex-wrap:wrap; }
.hero .trust b { color:var(--text); font-weight:600; }

/* ---- live hero (single column, rotating answer) ---- */
.hero-live { padding:64px 0 56px; }
.hero-live .hl-copy { max-width:640px; }
.hero-live h1 { font-size:clamp(30px,3.6vw,48px); line-height:1.08; max-width:none; white-space:nowrap; }
@media(max-width:560px){ .hero-live h1{ white-space:normal; font-size:clamp(34px,9vw,44px); } }
.hero-live h1 .sig { color:var(--signal); }
.hero-live .lede { max-width:54ch; }
.live-ticker {
  display:inline-flex; align-items:center; gap:9px; padding:8px 14px; border-radius:var(--r-pill);
  background:var(--surface); border:1px solid var(--border); font-family:var(--font-mono); font-size:12px; color:var(--text-muted);
}
.live-ticker b { color:var(--text); font-weight:600; letter-spacing:.08em; }
.live-ticker .lt-rest { color:var(--text-muted); }
.lt-dot { position:relative; width:7px; height:7px; border-radius:50%; background:var(--positive); flex:none; }
.lt-dot::after { content:''; position:absolute; inset:0; border-radius:50%; animation:mn-ticker-pulse 2s var(--ease-out) infinite; }
@keyframes mn-ticker-pulse { 0%{ box-shadow:0 0 0 0 var(--positive); opacity:.5; } 70%{ box-shadow:0 0 0 7px transparent; opacity:0; } 100%{ box-shadow:0 0 0 0 transparent; opacity:0; } }
@media (prefers-reduced-motion:reduce){ .lt-dot::after{ animation:none; } }
.hl-form { display:flex; align-items:stretch; gap:10px; margin-top:28px; flex-wrap:wrap; }
.hl-form .input { width:230px; }
.hl-note { margin-top:12px; font-family:var(--font-mono); font-size:12.5px; color:var(--text-subtle); }
.hl-answer { margin-top:30px; }
.hla-pill {
  display:flex; align-items:center; gap:12px; padding:9px 9px 9px 16px; border-radius:var(--r-pill);
  background:var(--surface); border:1px solid var(--border); box-shadow:var(--shadow-sm);
  width:100%; max-width:520px; box-sizing:border-box;
}
.hla-pill .hla-live { font-family:var(--font-mono); font-size:11px; color:var(--positive); display:inline-flex; align-items:center; gap:6px; flex:none; }
.hla-pill .hla-text { font-size:14px; color:var(--text-muted); flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; transition:opacity .22s var(--ease-out); }
.hla-pill .hla-chip { flex:none; transition:opacity .22s var(--ease-out); }
.hla-pill.swapping .hla-text, .hla-pill.swapping .hla-chip { opacity:0; }

/* the signature: a live AI answer card */
.answer-card {
  background:var(--surface); border:1px solid var(--border-strong); border-radius:var(--r-xl);
  box-shadow:var(--shadow-lg); padding:0; overflow:hidden; position:relative;
}
.answer-card::before {
  content:''; position:absolute; inset:0; border-radius:inherit; padding:1px; pointer-events:none;
  background:linear-gradient(135deg, color-mix(in oklab,var(--signal) 55%,transparent), transparent 40%);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
}
.answer-card .ac-bar { display:flex; align-items:center; gap:8px; padding:13px 16px; border-bottom:1px solid var(--border); background:var(--surface-2); }
.answer-card .ac-bar .q { font-family:var(--font-mono); font-size:12px; color:var(--text-subtle); display:flex; align-items:center; gap:8px; }
.answer-card .ac-bar .eng-tabs { margin-left:auto; display:flex; gap:6px; }
.answer-card .ac-bar .eng-tabs .dot { width:9px; height:9px; border-radius:50%; opacity:.4; transition:opacity var(--dur-base); }
.answer-card .ac-bar .eng-tabs .dot.on { opacity:1; }
.answer-card .ac-body { padding:20px 22px 22px; }
.answer-card .ac-prompt { font-family:var(--font-mono); font-size:12.5px; color:var(--text-faint); margin:0 0 14px; white-space:nowrap; overflow:hidden; }
.answer-card .ac-prompt .cursor { display:inline-block; width:7px; height:14px; background:var(--signal); margin-left:2px; vertical-align:-2px; animation:blink 1s steps(2) infinite; }
@keyframes blink { 0%,50%{opacity:1} 51%,100%{opacity:0} }
.answer-card .ac-text { font-family:var(--font-display); font-size:18px; line-height:1.62; color:var(--text); margin:0; }
.answer-card .ac-text .mark { font-family:var(--font-display); }
.answer-card .ac-cites { display:flex; gap:8px; margin-top:18px; flex-wrap:wrap; }
.answer-card .ac-cite {
  display:inline-flex; align-items:center; gap:7px; font-family:var(--font-mono); font-size:11px;
  padding:5px 10px; border-radius:var(--r-pill); border:1px solid var(--border); background:var(--surface-2); color:var(--text-subtle);
}
.answer-card .ac-cite.you { color:var(--signal-deep); border-color:color-mix(in oklab,var(--signal) 45%,transparent); background:color-mix(in oklab,var(--signal) 10%,transparent); }
.answer-card .ac-cite .n { width:16px; height:16px; border-radius:50%; display:grid; place-items:center; font-size:9px; background:var(--surface-sunken); color:var(--text-faint); }
.answer-card .ac-cite.you .n { background:var(--signal); color:var(--signal-ink); }
/* floating chips around the card */
.hero .stage { position:relative; }
.hero .float {
  position:absolute; z-index:3; background:var(--surface); border:1px solid var(--border-strong);
  border-radius:var(--r-lg); box-shadow:var(--shadow-md); padding:11px 14px; font-family:var(--font-mono); font-size:11.5px;
  display:flex; align-items:center; gap:9px; animation:bob 6s var(--ease-inout) infinite;
}
.hero .float .v { font-family:var(--font-display); font-size:18px; color:var(--text); }
.hero .float.f1 { top:-22px; right:-14px; animation-delay:-1s; }
.hero .float.f2 { bottom:-38px; left:-22px; right:auto; animation-delay:-3s; }
@keyframes bob { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-9px); } }
@media(max-width:920px){ .hero .float{ display:none; } }
@media (prefers-reduced-motion:reduce){ .hero .float{ animation:none; } }

/* ============================================================
   ENGINE BAR / MARQUEE
   ============================================================ */
.engbar { border-bottom:1px solid var(--border); padding:26px 0; background:color-mix(in oklab,var(--surface) 40%,transparent); }
.engbar .lbl { text-align:center; font-family:var(--font-mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--accent-deep); margin-bottom:18px; }
.engbar .engines { display:flex; align-items:center; justify-content:center; gap:14px 34px; flex-wrap:wrap; }
.engbar .eng { font-size:15px; opacity:.85; transition:opacity var(--dur-base), transform var(--dur-base); }
.engbar .eng:hover { opacity:1; transform:translateY(-2px); }
.engbar .eng .name { color:var(--text); font-family:var(--font-sans); font-weight:600; }

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.grid { display:grid; gap:18px; }
.g2 { grid-template-columns:repeat(2,1fr); }
.g3 { grid-template-columns:repeat(3,1fr); }
.g4 { grid-template-columns:repeat(4,1fr); }
@media(max-width:920px){ .g3,.g4{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:620px){ .g2,.g3,.g4{ grid-template-columns:1fr; } }

.fcard {
  background:var(--surface); border:1px solid var(--border); border-radius:var(--r-xl); padding:24px;
  position:relative; overflow:hidden; transition:transform var(--dur-base) var(--ease-out), border-color var(--dur-base), box-shadow var(--dur-base);
}
.fcard::after { content:''; position:absolute; inset:0 0 auto 0; height:2px; background:linear-gradient(90deg,var(--signal),transparent 70%); opacity:0; transition:opacity var(--dur-base); }
.fcard:hover { transform:translateY(-4px); border-color:var(--border-strong); box-shadow:var(--shadow-lg); }
.fcard:hover::after { opacity:.7; }
.fcard .ic {
  width:42px; height:42px; border-radius:var(--r-md); display:grid; place-items:center; margin-bottom:16px;
  background:color-mix(in oklab,var(--signal) 12%,transparent); border:1px solid color-mix(in oklab,var(--signal) 30%,transparent); color:var(--signal-deep);
}
.fcard h3 { font-family:var(--font-display); font-weight:500; font-size:22px; line-height:1.12; letter-spacing:-.01em; margin:0 0 8px; color:var(--text); }
.fcard h3 em { font-style:italic; font-weight:400; color:var(--signal); }
.fcard p { font-size:14px; line-height:1.58; color:var(--text-muted); margin:0; }
.fcard .viz { margin-top:18px; }
/* discrete charts (heatmap cells, lollipop) look blocky when stretched to fill
   the card — cap their width and center so they render near natural size */
.fcard .viz[data-chart="heat"] svg,
.fcard .viz[data-chart="sources"] svg { max-width:340px; margin-inline:auto; }

/* dimension card variant */
.dim { display:flex; flex-direction:column; gap:6px; padding:18px 20px; border:1px solid var(--border); border-radius:var(--r-lg); background:var(--surface); transition:border-color var(--dur-base), background var(--dur-base); }
.dim:hover { border-color:var(--signal); background:color-mix(in oklab,var(--signal) 5%,transparent); }
.dim .top { display:flex; align-items:center; justify-content:space-between; }
.dim .nm { font-family:var(--font-display); font-size:19px; color:var(--text); }
.dim .pct { font-family:var(--font-mono); font-size:13px; font-weight:600; color:var(--signal-deep); }
.dim p { font-size:13px; color:var(--text-muted); line-height:1.5; margin:2px 0 0; }
.dim .track { height:5px; border-radius:var(--r-pill); background:var(--surface-2); overflow:hidden; margin-top:10px; }
.dim .track i { display:block; height:100%; border-radius:inherit; background:var(--signal); width:0; transition:width 1.1s var(--ease-out); }

/* ============================================================
   BROWSER CHROME (live product embed)
   ============================================================ */
.browser { border:1px solid var(--border-strong); border-radius:var(--r-xl); overflow:hidden; box-shadow:var(--shadow-lg); background:var(--surface); }
.browser .bbar { display:flex; align-items:center; gap:8px; padding:11px 15px; background:var(--surface-2); border-bottom:1px solid var(--border); }
.browser .dots { display:flex; gap:6px; }
.browser .dots i { width:11px; height:11px; border-radius:50%; background:var(--surface-sunken); }
.browser .url { margin:0 auto; font-family:var(--font-mono); font-size:11.5px; color:var(--text-subtle); background:var(--bg); border:1px solid var(--border); border-radius:var(--r-pill); padding:5px 16px; display:flex; align-items:center; gap:8px; }
.browser .frame { position:relative; background:var(--bg); }
.browser iframe { width:100%; border:0; display:block; background:var(--bg); }
.browser .frame .scrim { position:absolute; inset:auto 0 0 0; height:60px; background:linear-gradient(transparent, var(--bg)); pointer-events:none; }

/* ============================================================
   STEPS (how it works)
   ============================================================ */
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:0; border:1px solid var(--border); border-radius:var(--r-xl); overflow:hidden; background:var(--surface); }
@media(max-width:780px){ .steps{ grid-template-columns:1fr; } }
.step { padding:30px; border-right:1px solid var(--border); position:relative; }
.step:last-child { border-right:none; }
@media(max-width:780px){ .step{ border-right:none; border-bottom:1px solid var(--border); } .step:last-child{ border-bottom:none; } }
.step .n { font-family:var(--font-mono); font-size:11px; letter-spacing:.1em; color:var(--accent-deep); }
.step h3 { font-family:var(--font-display); font-weight:500; font-size:24px; margin:10px 0 8px; color:var(--text); }
.step h3 em { font-style:italic; font-weight:400; color:var(--signal); }
.step p { font-size:14px; line-height:1.56; color:var(--text-muted); margin:0; }
.step .viz { margin-top:18px; }

/* ============================================================
   STAT STRIP
   ============================================================ */
.statstrip { display:grid; grid-template-columns:repeat(4,1fr); gap:0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
@media(max-width:680px){ .statstrip{ grid-template-columns:repeat(2,1fr); } }
.statstrip .s { padding:30px 24px; border-right:1px solid var(--border); }
.statstrip .s:last-child { border-right:none; }
@media(max-width:680px){ .statstrip .s:nth-child(2){ border-right:none; } .statstrip .s:nth-child(-n+2){ border-bottom:1px solid var(--border); } }
.statstrip .v { font-family:var(--font-display); font-weight:500; font-size:clamp(36px,4.6vw,52px); line-height:1; color:var(--text); font-variant-numeric:tabular-nums; }
.statstrip .v .sig { color:var(--signal); }
.statstrip .l { font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--text-faint); margin-top:10px; }
.statstrip .d { font-size:13px; color:var(--text-muted); margin-top:6px; }

/* ============================================================
   CALCULATOR / ASSET TEASER CARDS
   ============================================================ */
.tcard { display:flex; flex-direction:column; gap:12px; padding:20px; border:1px solid var(--border); border-radius:var(--r-lg); background:var(--surface); transition:transform var(--dur-base) var(--ease-out), border-color var(--dur-base), box-shadow var(--dur-base); color:inherit; }
.tcard:hover { transform:translateY(-3px); border-color:var(--border-strong); box-shadow:var(--shadow-md); }
.tcard .k { font-family:var(--font-mono); font-size:10px; letter-spacing:.05em; text-transform:uppercase; color:var(--accent-deep); }
.tcard h4 { font-family:var(--font-display); font-weight:500; font-size:19px; margin:0; color:var(--text); }
.tcard h4 em { font-style:italic; font-weight:400; color:var(--signal); }
.tcard p { font-size:13px; line-height:1.5; color:var(--text-muted); margin:0; flex:1; }
.tcard .foot { display:flex; align-items:center; justify-content:space-between; padding-top:12px; border-top:1px solid var(--border); font-family:var(--font-mono); font-size:11px; color:var(--text-faint); }
.tcard .foot .arr { color:var(--signal); transition:transform var(--dur-base); }
.tcard:hover .foot .arr { transform:translateX(4px); }

/* ============================================================
   COMPARISON MINI TABLE
   ============================================================ */
.cmp { border:1px solid var(--border); border-radius:var(--r-lg); overflow:visible; background:var(--surface); }
.cmp .crow { display:grid; grid-template-columns:1.5fr 1fr 1fr; align-items:center; }
.cmp .crow + .crow { border-top:1px solid var(--border); }
.cmp .crow.head { background:var(--surface-2); }
.cmp .crow.head > div:first-child { border-top-left-radius:var(--r-lg); }
.cmp .crow:last-child > div:first-child { border-bottom-left-radius:var(--r-lg); }
.cmp .crow.head > div { font-family:var(--font-mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--text-subtle); padding:14px 18px; }
.cmp .crow > div { padding:15px 18px; font-size:14px; }
.cmp .crow .feat { color:var(--text); font-weight:500; }
.cmp .crow .old { color:var(--text-faint); font-family:var(--font-mono); font-size:13px; }
/* Mentionova column = one complete, rounded gold frame, inset from the
   table's right edge so its corners clear the container's overflow clip */
.cmp .crow .us { color:var(--text); background:color-mix(in oklab,var(--signal) 12%,transparent); border-left:1.5px solid color-mix(in oklab,var(--signal) 62%,transparent); border-right:1.5px solid color-mix(in oklab,var(--signal) 62%,transparent); height:100%; display:flex; align-items:center; gap:9px; }
.cmp .crow.head .us { color:var(--signal); font-weight:600; border-top:1.5px solid color-mix(in oklab,var(--signal) 62%,transparent); border-top-left-radius:var(--r-lg); border-top-right-radius:var(--r-lg); }
.cmp .crow:last-child .us { border-bottom:1.5px solid color-mix(in oklab,var(--signal) 62%,transparent); border-bottom-left-radius:var(--r-lg); border-bottom-right-radius:var(--r-lg); }
.cmp .crow .us svg { color:var(--positive); flex:none; }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; align-items:start; }
@media(max-width:900px){ .price-grid{ grid-template-columns:1fr; max-width:440px; margin:0 auto; } }
.plan { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-xl); padding:28px; position:relative; transition:transform var(--dur-base), box-shadow var(--dur-base); }
.plan.feat { border-color:color-mix(in oklab,var(--signal) 55%,transparent); box-shadow:var(--shadow-lg); }
.plan.feat::before { content:'Most popular'; position:absolute; top:-11px; left:28px; font-family:var(--font-mono); font-size:10px; letter-spacing:.08em; text-transform:uppercase; background:var(--signal); color:var(--signal-ink); padding:4px 11px; border-radius:var(--r-pill); }
.plan .pname { font-family:var(--font-display); font-size:22px; color:var(--text); }
.plan .ptag { font-size:13px; color:var(--text-muted); margin:4px 0 18px; }
.plan .price { font-family:var(--font-display); font-weight:500; font-size:46px; line-height:1; color:var(--text); font-variant-numeric:tabular-nums; }
.plan .price .per { font-family:var(--font-mono); font-size:13px; color:var(--text-faint); }
.plan ul { list-style:none; margin:22px 0 24px; padding:0; display:flex; flex-direction:column; gap:11px; }
.plan li { display:flex; align-items:flex-start; gap:10px; font-size:14px; color:var(--text-muted); }
.plan li svg { color:var(--positive); flex:none; margin-top:2px; }
.plan li.off { color:var(--text-faint); } .plan li.off svg { color:var(--text-faint); }

/* ============================================================
   PRICING TIERS (rebuilt) — lane/billing toggles, cards, custom band
   ============================================================ */
.pt-toggles { display:flex; align-items:center; justify-content:center; gap:16px; flex-wrap:wrap; margin-top:30px; }
.pt-lane { display:inline-flex; background:var(--surface-2); border:1px solid var(--border); border-radius:var(--r-pill); padding:4px; }
.pt-lane-opt { font-family:var(--font-sans); font-weight:500; font-size:13px; color:var(--text-muted); background:transparent; border:0; padding:8px 18px; border-radius:var(--r-pill); cursor:pointer; transition:background var(--dur-fast), color var(--dur-fast); }
.pt-lane-opt.on { background:var(--surface); color:var(--text); box-shadow:var(--shadow-sm); }
.pt-bill { display:inline-flex; align-items:center; gap:10px; background:var(--surface-2); border:1px solid var(--border); border-radius:var(--r-pill); padding:6px 13px; }
.pt-bill-opt { font-family:var(--font-mono); font-size:12px; color:var(--text-muted); background:transparent; border:0; cursor:pointer; transition:color var(--dur-fast); display:inline-flex; align-items:center; gap:7px; }
.pt-bill-opt.on { color:var(--text); }
.pt-bill-sw { width:34px; height:19px; border-radius:var(--r-pill); background:var(--signal); position:relative; cursor:pointer; flex:none; }
.pt-bill-sw .knob { position:absolute; top:2px; left:2px; width:15px; height:15px; border-radius:50%; background:#fff; transition:transform var(--dur-base) var(--ease-out); }
.pt-bill[data-bill="annual"] .pt-bill-sw .knob { transform:translateX(15px); }
.pt-save { font-family:var(--font-mono); font-size:9px; letter-spacing:.04em; text-transform:uppercase; color:var(--signal-ink); background:var(--signal); padding:2px 6px; border-radius:var(--r-pill); }

.ptier-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; align-items:start; }
@media(max-width:900px){ .ptier-grid{ grid-template-columns:1fr; max-width:440px; margin:0 auto; } }
.ptier { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-xl); padding:28px; position:relative; }
.ptier.feat { border-color:color-mix(in oklab,var(--signal) 55%,transparent); box-shadow:var(--shadow-lg); }
.ptier.feat::before { content:'Most popular'; position:absolute; top:-11px; left:50%; transform:translateX(-50%); font-family:var(--font-mono); font-size:10px; letter-spacing:.08em; text-transform:uppercase; background:var(--signal); color:var(--signal-ink); padding:4px 12px; border-radius:var(--r-pill); white-space:nowrap; }
.pt-name { font-family:var(--font-display); font-size:24px; color:var(--text); }
.pt-desc { font-size:13.5px; color:var(--text-muted); margin:6px 0 20px; line-height:1.5; min-height:40px; }
.pt-price { font-family:var(--font-display); font-weight:500; font-size:48px; line-height:1; color:var(--text); font-variant-numeric:tabular-nums; }
.pt-price .pt-per { font-family:var(--font-mono); font-size:14px; color:var(--text-faint); margin-left:4px; }
.pt-billed { font-family:var(--font-mono); font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); margin:9px 0 20px; }
.ptier .btn-full { margin-bottom:22px; }
.pt-rows { border-top:1px solid var(--border); padding-top:6px; }
.pt-row { display:flex; align-items:center; gap:8px; padding:8px 0; }
.pt-row .k { font-size:13.5px; color:var(--text-muted); }
.pt-row .leader { flex:1; border-bottom:1px dashed var(--border); }
.pt-row .v { font-family:var(--font-mono); font-size:13px; font-weight:600; color:var(--text); }
.pt-eng-lbl { font-family:var(--font-mono); font-size:10.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--text-faint); margin:14px 0 12px; padding-top:18px; border-top:1px solid var(--border); }
.pt-engines { display:flex; gap:7px; }
.pt-eng { width:27px; height:27px; border-radius:50%; display:grid; place-items:center; background:var(--surface-2); flex:none; }
.pt-eng .dot { width:15px; height:15px; }
.pt-eng .dot svg { fill:#fff !important; color:#fff !important; }
.pt-eng.on.e-chatgpt { background:var(--engine-chatgpt); }
.pt-eng.on.e-google { background:var(--engine-google); }
.pt-eng.on.e-claude { background:var(--engine-claude); }
.pt-eng.on.e-perplexity { background:var(--engine-perplexity); }
.pt-eng.on.e-gemini { background:var(--engine-gemini); }
.pt-eng.on.e-reddit { background:var(--engine-reddit); }
.pt-feats { list-style:none; margin:20px 0 0; padding:0; display:flex; flex-direction:column; gap:11px; }
.pt-feats li { display:flex; align-items:flex-start; gap:9px; font-size:14px; color:var(--text-muted); }
.pt-feats li::before { content:'+'; color:var(--signal-deep); font-weight:600; flex:none; }

.ptier-custom { display:grid; grid-template-columns:1fr 1.05fr; gap:40px; background:var(--bg); border:1px solid var(--border); border-radius:var(--r-xl); padding:40px; align-items:center; }
@media(max-width:760px){ .ptier-custom{ grid-template-columns:1fr; gap:28px; padding:30px; } }
.ptc-eyebrow { font-family:var(--font-mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--accent-deep); }
.ptc-title { font-family:var(--font-display); font-weight:500; font-size:30px; line-height:1.08; letter-spacing:-.02em; margin:12px 0 0; color:var(--text); }
.ptc-title em { font-style:italic; color:var(--signal); font-weight:400; }
.ptc-desc { font-size:14.5px; color:var(--text-muted); line-height:1.6; margin:12px 0 22px; max-width:46ch; }
.ptc-stats { display:grid; grid-template-columns:1fr 1fr; gap:14px 30px; padding-bottom:18px; border-bottom:1px solid var(--border); margin-bottom:18px; }
.ptc-stats > div { display:flex; flex-direction:column; gap:3px; }
.ptc-stats .k { font-family:var(--font-mono); font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); }
.ptc-stats .v { font-family:var(--font-mono); font-size:14px; font-weight:600; color:var(--text); }
.ptc-feats { list-style:none; margin:0; padding:0; display:grid; gap:9px; }
.ptc-feats li { display:flex; align-items:flex-start; gap:9px; font-size:13.5px; color:var(--text-muted); }
.ptc-feats li::before { content:'+'; color:var(--signal-deep); font-weight:600; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { border-top:1px solid var(--border); }
.faq details { border-bottom:1px solid var(--border); }
.faq summary { list-style:none; cursor:pointer; padding:22px 4px; display:flex; align-items:center; gap:16px; font-family:var(--font-display); font-size:19px; color:var(--text); }
.faq summary::-webkit-details-marker { display:none; }
.faq summary .pm { margin-left:auto; font-family:var(--font-mono); color:var(--signal); font-size:20px; transition:transform var(--dur-base); flex:none; }
.faq details[open] summary .pm { transform:rotate(45deg); }
.faq .ans { padding:0 4px 24px; font-size:15px; line-height:1.62; color:var(--text-muted); max-width:72ch; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-band { position:relative; border:1px solid var(--border-strong); border-radius:var(--r-2xl); overflow:hidden; padding:64px 40px; text-align:center; background:var(--surface); }
.cta-band::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 60% 120% at 50% 120%, color-mix(in oklab,var(--signal) 22%,transparent), transparent 70%); pointer-events:none; }
.cta-band h2 { position:relative; font-family:var(--font-display); font-weight:500; font-size:clamp(32px,5vw,56px); line-height:1.02; letter-spacing:-.03em; margin:0; color:var(--text); }
.cta-band h2 .sig { font-style:italic; font-weight:400; color:var(--signal); }
.cta-band p { position:relative; font-size:17px; color:var(--text-muted); margin:18px auto 0; max-width:52ch; }
.cta-form { position:relative; display:flex; gap:10px; justify-content:center; margin:30px auto 0; max-width:480px; flex-wrap:wrap; }
.cta-form .input { flex:1; min-width:240px; }

/* ============================================================
   FOOTER
   ============================================================ */
.mfoot { border-top:1px solid var(--border); margin-top:0; padding:56px 0 36px; }
.mfoot .cols { display:grid; grid-template-columns:1.7fr auto; gap:40px; align-items:start; }
@media(max-width:780px){ .mfoot .cols{ grid-template-columns:1fr; gap:26px; } }
.mfoot .brand { display:inline-flex; align-items:center; gap:9px; margin-bottom:14px; }
.mfoot .foot-built { display:inline-flex; align-items:center; gap:8px; font-family:var(--font-mono); font-size:11px; letter-spacing:.02em; color:var(--text-faint); padding:0; }
.mfoot .foot-built:hover { color:var(--text-muted); }
.mfoot .foot-built img { height:14px; width:auto; display:block; }
/* light theme: the GTM 8020 lime wordmark is low-contrast on cream — render it dark */
[data-theme="light"] .mfoot .foot-built img { filter:brightness(0) opacity(.72); }
.mfoot .foot-links { display:flex; flex-direction:column; gap:2px; }
.mfoot .brand .wm { font-family:var(--font-display); font-weight:500; font-size:20px; color:var(--text); }
.mfoot .blurb { font-size:13.5px; color:var(--text-muted); line-height:1.6; max-width:34ch; }
.mfoot h5 { font-family:var(--font-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); margin:0 0 14px; }
.mfoot a { display:block; font-size:14px; color:var(--text-muted); padding:5px 0; transition:color var(--dur-fast); }
.mfoot a:hover { color:var(--signal); }
.mfoot .base { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-top:40px; padding-top:24px; border-top:1px solid var(--border); font-family:var(--font-mono); font-size:12px; color:var(--text-faint); }

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.reveal { opacity:0; transform:translateY(24px); transition:opacity .7s var(--ease-out), transform .7s var(--ease-out); will-change:opacity,transform; }
.reveal.in { opacity:1; transform:none; }
.reveal.d1{ transition-delay:.08s } .reveal.d2{ transition-delay:.16s } .reveal.d3{ transition-delay:.24s }
.reveal.d4{ transition-delay:.32s } .reveal.d5{ transition-delay:.40s } .reveal.d6{ transition-delay:.48s }
.reveal-scale { opacity:0; transform:scale(.96) translateY(16px); transition:opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal-scale.in { opacity:1; transform:none; }
/* charts: reserve height so empty containers still intersect + avoid layout shift */
.viz { min-height:60px; }
.viz svg { display:block; }
/* line draw-in for viz polylines */
.viz svg polyline[data-draw] { stroke-dasharray:var(--len); stroke-dashoffset:var(--len); transition:stroke-dashoffset 1.4s var(--ease-out); }
.viz.in svg polyline[data-draw] { stroke-dashoffset:0; }
@media (prefers-reduced-motion:reduce){
  .reveal,.reveal-scale{ opacity:1 !important; transform:none !important; transition:none; }
  .viz svg polyline[data-draw]{ stroke-dashoffset:0 !important; transition:none; }
}

/* ============================================================
   IMPORTED HOMEPAGE SECTIONS — logo wall, verdicts, engine
   explorer, engine voices (adapted from website-mentionova-v1)
   ============================================================ */

/* ---- client logo wall (marquee) ---- */
.logowall { border-top:1px solid var(--border); border-bottom:1px solid var(--border); background:color-mix(in oklab, var(--surface) 40%, transparent); padding:26px 0; }
.logowall .ll-lbl { display:block; text-align:center; font-family:var(--font-mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--accent-deep); margin-bottom:20px; }
.ll-marq { overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); }
.ll-track { display:flex; width:max-content; align-items:center; animation:ll-scroll 55s linear infinite; }
.ll-marq:hover .ll-track { animation-play-state:paused; }
@keyframes ll-scroll { to { transform:translateX(-50%); } }
.ll-item { display:inline-flex; align-items:center; justify-content:center; height:44px; padding:0 32px; flex:none; }
.ll-item img { max-height:27px; max-width:132px; width:auto; object-fit:contain; opacity:.78; user-select:none; -webkit-user-drag:none; }
[data-theme="dark"] .ll-item img { filter:brightness(0) invert(1); }
[data-theme="light"] .ll-item img { filter:brightness(0); opacity:.6; }
.ll-name { font-family:var(--font-display); font-weight:600; font-size:18px; letter-spacing:-.02em; color:var(--text-subtle); opacity:.85; white-space:nowrap; }
@media (prefers-reduced-motion:reduce){ .ll-track{ animation:none; } }

/* ---- shared kicker/headline for imported sections ---- */
.sec .imp-kicker { font-family:var(--font-mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--accent-deep); }
.sec .imp-h2 { font-family:var(--font-display); font-weight:500; font-size:clamp(28px,4vw,44px); line-height:1.05; letter-spacing:-.025em; color:var(--text); margin:14px 0 0; }
.sec .imp-h2 em { font-style:italic; font-weight:400; color:var(--signal); }
.sec .imp-lede { font-size:16.5px; line-height:1.6; color:var(--text-muted); margin:14px 0 0; max-width:62ch; }

/* ---- verdict cards (one prompt, six verdicts) ---- */
.prompt-line { font-family:var(--font-mono); font-size:12.5px; color:var(--text-subtle); margin:26px 0 14px; }
.verdicts { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
@media(max-width:820px){ .verdicts{ grid-template-columns:1fr; } }
.vcard { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-sm); }
.vcard .vc-top { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px 16px; border-bottom:1px solid var(--border); }
.vcard .vc-body { padding:18px; font-family:var(--font-display); font-size:17px; line-height:1.55; color:var(--text); }
.vcard .vc-body .mark { font-family:var(--font-display); }

/* ---- engine explorer ---- */
.explorer { display:grid; grid-template-columns:320px 1fr; gap:24px; align-items:start; margin-top:34px; }
@media(max-width:820px){ .explorer{ grid-template-columns:1fr; } }
.eng-list { display:flex; flex-direction:column; gap:8px; }
.eng-btn { display:flex; align-items:center; gap:12px; padding:12px 14px; text-align:left; cursor:pointer; background:transparent; border:1px solid transparent; border-radius:var(--r-md); transition:all var(--dur-fast); width:100%; font-family:var(--font-sans); }
.eng-btn:hover { background:var(--surface-2); }
.eng-btn[aria-pressed="true"] { background:var(--surface); border-color:var(--border-strong); box-shadow:var(--shadow-sm); }
.eng-btn .rt { margin-left:auto; display:flex; align-items:center; gap:10px; }
.eng-btn .bar { width:64px; height:6px; background:var(--surface-2); border-radius:var(--r-pill); overflow:hidden; }
.eng-btn .bar i { display:block; height:100%; border-radius:var(--r-pill); width:0; transition:width .6s var(--ease-out); }
.eng-btn .pct { font-family:var(--font-mono); font-size:12px; font-weight:600; color:var(--text); width:34px; text-align:right; }
.eng-detail { min-height:236px; }
.eng-detail .ed-top { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:18px; flex-wrap:wrap; }
.eng-detail .snap-lbl { font-family:var(--font-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); margin-bottom:10px; }
.eng-detail .snap { font-family:var(--font-display); font-style:italic; font-size:23px; line-height:1.4; color:var(--text); margin:0; min-height:64px; }
.eng-detail .ed-stats { margin-top:20px; padding-top:16px; border-top:1px solid var(--border); display:flex; gap:40px; flex-wrap:wrap; }

/* ---- section TOC (nova-logo scroll-spy) ---- */
.toc { position:fixed; left:20px; top:50%; transform:translateY(-50%); z-index:80; display:flex; flex-direction:column; gap:20px; }
@media(max-width:1180px){ .toc{ display:none; } }
.toc a { display:flex; align-items:center; gap:11px; text-decoration:none; color:var(--text-faint); }
.toc .tnova { width:15px; height:15px; flex:none; opacity:.75; color:var(--text-subtle); transition:opacity .3s var(--ease-out), transform .3s var(--ease-out), color .3s; }
.toc .tlabel { font-family:var(--font-mono); font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--text-subtle); white-space:nowrap; opacity:.8; transition:color .3s, opacity .3s; pointer-events:none; }
.toc a:hover .tnova { opacity:1; }
.toc a:hover .tlabel { opacity:1; color:var(--text); }
.toc a.active .tnova { opacity:1; color:var(--signal); transform:scale(1.25); }
.toc a.active .tlabel { opacity:1; color:var(--signal); }
@media (prefers-reduced-motion:reduce){ .toc .tnova,.toc .tlabel{ transition:none; } }

/* ---- engine brand-logo dots (injected by site.js applyEngineIcons) ---- */
.eng .dot.has-icon { background:transparent; box-shadow:none; border-radius:0; width:18px; height:18px; display:inline-flex; align-items:center; justify-content:center; }
.eng.sm .dot.has-icon { width:15px; height:15px; }
.eng.lg .dot.has-icon { width:22px; height:22px; }
.eng .dot.has-icon svg { display:block; }
/* engbar logos a touch larger for presence */
.engbar .eng .dot.has-icon { width:20px; height:20px; }

/* ---- engine voices ---- */
.voices { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:34px; }
@media(max-width:820px){ .voices{ grid-template-columns:1fr; } }
.voicecard .vo-top { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:14px; }
.voicecard .vo-num { font-family:var(--font-display); font-style:italic; font-size:25px; color:var(--accent-deep); line-height:1; text-align:right; }
.voicecard .vo-num small { display:block; font-family:var(--font-mono); font-style:normal; font-size:10px; color:var(--text-faint); margin-top:4px; letter-spacing:.04em; }
.voicecard h3 { font-family:var(--font-display); font-style:italic; font-weight:500; font-size:20px; color:var(--text); margin:0 0 8px; }
.voicecard p { font-size:14px; line-height:1.55; color:var(--text-muted); margin:0; }

/* ============================================================
   HOW IT WORKS — four-step component story (live device mockups)
   Each step pairs editorial copy with a faithful mini-version of a
   real product surface: prompt console · watchtower · daily brief · drift.
   ============================================================ */
.hiw .sec-hd { margin-bottom:60px; }
.hiw-steps { display:flex; flex-direction:column; gap:96px; }
@media(max-width:680px){ .hiw-steps{ gap:60px; } }

.hiw-row { display:grid; grid-template-columns:.92fr 1.08fr; gap:58px; align-items:center; }
@media(max-width:940px){ .hiw-row{ grid-template-columns:1fr; gap:30px; } }
.hiw-row:nth-child(even) .hiw-viz { order:-1; }
@media(max-width:940px){ .hiw-row:nth-child(even) .hiw-viz{ order:0; } }

.hiw-copy { max-width:44ch; }
.hiw-step { font-family:var(--font-mono); font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--accent-deep); display:inline-flex; align-items:center; gap:13px; }
.hiw-step::before { content:''; width:34px; height:1px; background:linear-gradient(90deg, color-mix(in oklab,var(--signal) 75%,transparent), transparent); }
.hiw-copy h3 { font-family:var(--font-display); font-weight:500; font-size:clamp(27px,3.4vw,40px); line-height:1.06; letter-spacing:-.028em; color:var(--text); margin:18px 0 0; }
.hiw-copy h3 em { font-style:italic; font-weight:400; color:var(--signal); }
.hiw-copy > p { font-size:16.5px; line-height:1.62; color:var(--text-muted); margin:17px 0 0; }
.hiw-pts { list-style:none; margin:22px 0 0; padding:0; display:flex; flex-direction:column; gap:12px; }
.hiw-pts li { display:flex; gap:11px; align-items:flex-start; font-size:14.5px; line-height:1.5; color:var(--text-muted); }
.hiw-pts li svg { color:var(--signal); flex:none; margin-top:3px; }
.hiw-pts li b { color:var(--text); font-weight:600; }

.hiw-viz > * { width:100%; max-width:540px; margin-inline:auto; }
@media(max-width:940px){ .hiw-viz > *{ margin-inline:0; } }

/* ---- shared device chrome ---- */
.hiw .ldot { display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--positive); flex:none; position:relative; }
.hiw .ldot::after { content:''; position:absolute; inset:0; border-radius:50%; animation:hiw-pulse 2s var(--ease-out) infinite; }
@keyframes hiw-pulse { 0%{ box-shadow:0 0 0 0 var(--positive); opacity:.5; } 70%{ box-shadow:0 0 0 8px transparent; opacity:0; } 100%{ box-shadow:0 0 0 0 transparent; opacity:0; } }
@media (prefers-reduced-motion:reduce){ .hiw .ldot::after{ animation:none; } }
.hiw .mk { background:var(--mark-bg); color:var(--mark-text); padding:.04em .3em; border-radius:var(--r-xs); font-weight:500; box-decoration-break:clone; -webkit-box-decoration-break:clone; }
.hiw .edot { width:10px; height:10px; border-radius:50%; flex:none; }
.hiw .e-perplexity{ background:var(--engine-perplexity); } .hiw .e-chatgpt{ background:var(--engine-chatgpt); } .hiw .e-claude{ background:var(--engine-claude); } .hiw .e-gemini{ background:var(--engine-gemini); } .hiw .e-google{ background:var(--engine-google); } .hiw .e-reddit{ background:var(--engine-reddit); }
/* brand glyph (LLM logo) in device rows */
.hiw .elogo { display:inline-flex; align-items:center; justify-content:center; flex:none; width:14px; height:14px; }
.hiw .elogo svg { display:block; width:100%; height:100%; }
.hiw .device { background:var(--surface); border:1px solid var(--border-strong); border-radius:var(--r-xl); box-shadow:var(--shadow-lg); overflow:hidden; }

/* device 1 — prompt console */
.hiw-console .kbar { display:flex; align-items:center; gap:11px; padding:15px 18px; border-bottom:1px solid var(--border); }
.hiw-console .kbar .k { font-family:var(--font-mono); font-size:11px; color:var(--text-faint); border:1px solid var(--border); border-radius:6px; padding:3px 7px; flex:none; }
.hiw-console .kbar .q { font-family:var(--font-mono); font-size:14px; color:var(--text); flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hiw-console .kbar .cur { display:inline-block; width:2px; height:15px; background:var(--signal); vertical-align:middle; animation:hiw-blink 1.1s steps(1) infinite; flex:none; }
.hiw-console .kbar .run { font-family:var(--font-mono); font-size:11px; color:var(--signal-deep); flex:none; }
@keyframes hiw-blink { 50%{ opacity:0; } }
@media (prefers-reduced-motion:reduce){ .hiw-console .kbar .cur{ animation:none; } }
.hiw-console .pills { display:flex; gap:7px; flex-wrap:wrap; padding:13px 18px; border-bottom:1px solid var(--border); background:var(--surface-sunken); }
.hiw-console .pill { font-family:var(--font-mono); font-size:11.5px; padding:6px 12px; border-radius:var(--r-pill); border:1px solid var(--border); background:var(--surface); color:var(--text-subtle); cursor:pointer; transition:all .14s; }
.hiw-console .pill:hover { color:var(--text); border-color:var(--border-strong); }
.hiw-console .pill[aria-pressed="true"] { background:var(--text); color:var(--bg); border-color:var(--text); }
.hiw-console .result { padding:20px 20px 18px; }
.hiw-console .rh { display:flex; align-items:center; gap:9px; font-family:var(--font-mono); font-size:10px; letter-spacing:.07em; text-transform:uppercase; color:var(--text-faint); margin-bottom:13px; }
.hiw-console .ans { font-family:var(--font-display); font-size:20px; font-style:italic; line-height:1.5; color:var(--text); margin:0; min-height:90px; transition:opacity .25s; }
.hiw-console .src { display:flex; gap:6px; flex-wrap:wrap; margin-top:15px; }
.hiw-console .src span { font-family:var(--font-mono); font-size:10.5px; padding:4px 9px; border-radius:var(--r-pill); background:var(--surface-2); color:var(--text-subtle); }
.hiw-console .consensus { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:18px; padding-top:16px; border-top:1px solid var(--border); flex-wrap:wrap; }
.hiw-console .engine-dots { display:flex; align-items:center; gap:8px; }
.hiw-console .engine-dots .edot { width:12px; height:12px; opacity:.22; transition:opacity .3s; }
.hiw-console .engine-dots .edot.lit { opacity:1; }
.hiw-console .engine-dots .elogo { width:15px; height:15px; opacity:.25; transition:opacity .3s; }
.hiw-console .engine-dots .elogo.lit { opacity:1; }
.hiw-console .engine-dots .lab { font-family:var(--font-mono); font-size:10.5px; color:var(--text-subtle); margin-left:3px; }
.hiw-console .actions { display:flex; gap:7px; flex-wrap:wrap; }
.hiw-console .achip { font-family:var(--font-mono); font-size:11px; font-weight:600; padding:6px 12px; border-radius:var(--r-md); }
.hiw-console .achip.primary { background:var(--signal); color:var(--signal-ink); }
.hiw-console .achip.ghost { background:var(--surface-2); color:var(--text-muted); border:1px solid var(--border); }

/* device 2 — watchtower */
.hiw-term .bar { display:flex; align-items:center; gap:7px; padding:11px 15px; border-bottom:1px solid var(--border); }
.hiw-term .bar .d { width:9px; height:9px; border-radius:50%; flex:none; }
.hiw-term .bar .path { margin-left:8px; font-family:var(--font-mono); font-size:11px; color:var(--text-subtle); }
.hiw-term .bar .rt { margin-left:auto; font-family:var(--font-mono); font-size:10px; color:var(--positive); display:inline-flex; align-items:center; gap:6px; }
.hiw-term .screen { padding:16px; }
.hiw-term .snap { border:1px solid var(--border); border-radius:var(--r-md); background:var(--surface-sunken); padding:15px; transition:opacity .3s; }
.hiw-term .snap .meta { display:flex; align-items:center; gap:8px; font-family:var(--font-mono); font-size:10px; letter-spacing:.04em; text-transform:uppercase; color:var(--text-faint); margin-bottom:10px; }
.hiw-term .snap .q { font-family:var(--font-display); font-size:18.5px; font-style:italic; line-height:1.42; color:var(--text); margin:0; min-height:78px; }
.hiw-term .snap .foot { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; padding-top:11px; border-top:1px solid var(--border); }
.hiw-term .snap .badge { font-family:var(--font-mono); font-size:11px; font-weight:600; }
.hiw-term .snap .pos { font-family:var(--font-mono); font-size:11px; color:var(--text-subtle); }
.hiw-term .ticker { margin-top:13px; }
.hiw-term .ticker .row { display:grid; grid-template-columns:18px 1fr auto auto; gap:11px; align-items:center; padding:7px 0; border-top:1px solid var(--border); font-family:var(--font-mono); }
.hiw-term .ticker .elogo { width:15px; height:15px; }
.hiw-term .snap .meta .elogo { width:13px; height:13px; }
.hiw-term .ticker .nm { font-size:12px; color:var(--text); }
.hiw-term .ticker .rf { font-size:10px; color:var(--text-faint); }
.hiw-term .ticker .mr { font-size:12px; font-weight:600; color:var(--text); text-align:right; }

/* device 3 — daily brief */
.hiw-brief .bh { padding:16px 20px; border-bottom:1px solid var(--border); background:var(--surface-sunken); }
.hiw-brief .bh .top { display:flex; align-items:center; justify-content:space-between; gap:10px; font-family:var(--font-mono); font-size:10.5px; color:var(--text-faint); }
.hiw-brief .bh h4 { font-family:var(--font-display); font-size:22px; font-weight:500; margin:8px 0 0; color:var(--text); }
.hiw-brief .bh h4 em { font-style:italic; color:var(--signal); }
.hiw-brief .bd { padding:6px 20px 14px; }
.hiw-brief .item { display:flex; gap:12px; padding:13px 0; border-bottom:1px solid var(--border); }
.hiw-brief .item:last-child { border-bottom:none; }
.hiw-brief .item .ic { width:25px; height:25px; border-radius:7px; flex:none; display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-weight:700; font-size:12px; margin-top:1px; }
.hiw-brief .item .ti { font-size:13px; color:var(--text); line-height:1.45; } .hiw-brief .item .ti b { font-weight:600; }
.hiw-brief .item .sb { font-size:12px; color:var(--text-muted); line-height:1.45; margin-top:3px; }
.hiw-brief .draftbox { margin-top:8px; background:var(--surface-sunken); border:1px solid var(--border); border-radius:var(--r-md); padding:11px; font-size:12px; color:var(--text-muted); line-height:1.5; }
.hiw-brief .bf { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:13px 20px; border-top:1px solid var(--border); background:var(--surface-sunken); }
.hiw-brief .bf .stat { display:block; white-space:nowrap; font-family:var(--font-mono); font-size:11px; color:var(--text-subtle); }
.hiw-brief .bf .stat b { color:var(--signal-deep); }
.hiw-brief .bf .go { font-family:var(--font-mono); font-size:11px; font-weight:600; padding:6px 12px; border-radius:var(--r-md); background:var(--signal); color:var(--signal-ink); }

/* device 4 — drift */
.hiw-diff { display:flex; flex-direction:column; gap:14px; }
.hiw-diff .diff-card { background:var(--surface); border:1px solid var(--border-strong); border-radius:var(--r-xl); box-shadow:var(--shadow-lg); overflow:hidden; }
.hiw-diff .dh { display:flex; align-items:center; gap:8px; padding:12px 17px; border-bottom:1px solid var(--border); font-family:var(--font-mono); font-size:10.5px; color:var(--text-subtle); }
.hiw-diff .dh .chg { margin-left:auto; color:var(--signal-deep); display:inline-flex; align-items:center; gap:6px; }
.hiw-diff .db { padding:18px; }
.hiw-diff .body { font-size:16px; line-height:1.7; color:var(--text-muted); min-height:104px; transition:opacity .25s; }
.hiw-diff .body del { text-decoration:line-through; text-decoration-thickness:1px; color:var(--negative); background:color-mix(in oklab,var(--negative) 9%,transparent); }
.hiw-diff .body ins { text-decoration:none; color:var(--positive); background:color-mix(in oklab,var(--positive) 13%,transparent); padding:0 3px; border-radius:3px; }
.hiw-diff .dmeta { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:15px; padding-top:13px; border-top:1px solid var(--border); font-family:var(--font-mono); font-size:11px; flex-wrap:wrap; }
.hiw-diff .dmeta .pr { color:var(--text-subtle); }
.hiw-diff .alerts { background:var(--surface-sunken); border:1px solid var(--border); border-radius:var(--r-lg); padding:6px 15px 11px; }
.hiw-diff .ah { font-family:var(--font-mono); font-size:9.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); padding:11px 0 5px; display:flex; align-items:center; gap:8px; }
.hiw-diff .alert { display:flex; gap:11px; align-items:flex-start; padding:8px 0; border-top:1px solid var(--border); }
.hiw-diff .alert .ico { width:21px; height:21px; border-radius:6px; flex:none; display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-weight:700; font-size:11px; }
.hiw-diff .alert .t { font-size:12px; color:var(--text); line-height:1.4; } .hiw-diff .alert .t span { color:var(--text-faint); }
.hiw-diff .alert .ts { font-family:var(--font-mono); font-size:10px; color:var(--text-faint); margin-left:auto; flex:none; padding-top:2px; }

/* ============================================================
   RECEIPTS — testimonial quote wall (real AI answers, captured live)
   ============================================================ */
.rcpts .sec-hd { margin-bottom:46px; }
.rwall { columns:3; column-gap:18px; }
@media(max-width:920px){ .rwall{ columns:2; } }
@media(max-width:600px){ .rwall{ columns:1; } }
.rcpt { break-inside:avoid; margin:0 0 18px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:18px; box-shadow:var(--shadow-sm); transition:transform var(--dur-base) var(--ease-out), border-color var(--dur-base), box-shadow var(--dur-base); }
.rcpt:hover { transform:translateY(-3px); border-color:var(--border-strong); box-shadow:var(--shadow-md); }
.rcpt .rtop { display:flex; align-items:center; gap:9px; font-family:var(--font-mono); font-size:10.5px; letter-spacing:.04em; text-transform:uppercase; color:var(--text-faint); margin-bottom:11px; }
.rcpt .rtop .edot { width:9px; height:9px; border-radius:50%; flex:none; }
.rcpt .rtop .nm { color:var(--text-subtle); }
.rcpt .rq { font-family:var(--font-display); font-size:18px; font-style:italic; line-height:1.5; color:var(--text); margin:0; }
.rcpt .rq.big { font-size:22px; }
.rcpt .rq .mark { font-family:var(--font-display); }
.rcpt .rfoot { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:14px; padding-top:12px; border-top:1px solid var(--border); }
.rcpt .rfoot .src { font-family:var(--font-mono); font-size:10px; color:var(--text-faint); }
.rcpt .rfoot .cite { font-family:var(--font-mono); font-size:10px; font-weight:600; color:var(--signal-deep); display:inline-flex; align-items:center; gap:6px; }
.rcpt .rfoot .cite .pip { width:6px; height:6px; border-radius:50%; background:var(--positive); flex:none; }
.rcpt.accent { background:var(--signal); border-color:var(--signal); box-shadow:var(--shadow-signal); }
.rcpt.accent .rq, .rcpt.accent .rtop .nm { color:var(--signal-ink); }
.rcpt.accent .rtop { color:oklch(0.34 0.085 70); }
.rcpt.accent .rq .mark { background:color-mix(in oklab,var(--signal-ink) 16%,transparent); color:var(--signal-ink); }
.rcpt.accent .rfoot { border-color:color-mix(in oklab,var(--signal-ink) 25%,transparent); }
.rcpt.accent .rfoot .src, .rcpt.accent .rfoot .cite { color:oklch(0.30 0.08 70); }
.rcpt.accent .rfoot .cite .pip { background:var(--signal-ink); }

/* ============================================================
   CUSTOMER STORIES — case-study carousel
   ============================================================ */
.cstories .sec-hd { margin-bottom:42px; }
.csarousel { position:relative; }
.cs-viewport { overflow:hidden; border-radius:var(--r-2xl); }
.cs-track { display:flex; transition:transform .55s var(--ease-out); }
@media (prefers-reduced-motion:reduce){ .cs-track{ transition:none; } }
.cs-slide { flex:0 0 100%; min-width:0; }
.cs-card { background:var(--surface); border:1px solid var(--border-strong); border-radius:var(--r-2xl); box-shadow:var(--shadow-lg); padding:38px 42px; display:grid; grid-template-columns:1.05fr .95fr; gap:42px; align-items:center; }
@media(max-width:860px){ .cs-card{ grid-template-columns:1fr; gap:24px; padding:28px 24px; } }
.cs-card .cs-body { min-width:0; }
.cs-quote { font-family:var(--font-display); font-weight:500; font-size:clamp(23px,2.7vw,34px); line-height:1.12; letter-spacing:-.02em; color:var(--text); margin:18px 0 0; }
.cs-quote em { font-style:italic; font-weight:400; color:var(--signal); }
.cs-who { font-family:var(--font-mono); font-size:12px; color:var(--text-subtle); margin:16px 0 0; }
.cs-who b { color:var(--text); font-weight:600; }
.cs-desc { font-size:15px; line-height:1.62; color:var(--text-muted); margin:14px 0 0; max-width:52ch; }
.cs-stats { display:flex; gap:32px; margin-top:26px; flex-wrap:wrap; }
.cs-stat .v { font-family:var(--font-display); font-weight:500; font-size:30px; line-height:1; color:var(--text); font-variant-numeric:tabular-nums; }
.cs-stat .v .sig { color:var(--signal); }
.cs-stat .l { font-family:var(--font-mono); font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:var(--text-faint); margin-top:8px; }
.cs-viz { display:flex; align-items:center; justify-content:center; min-height:200px; }
.cs-viz .viz { min-height:0; }
.cs-controls { display:flex; align-items:center; justify-content:center; gap:18px; margin-top:26px; }
.cs-arrow { width:42px; height:42px; border-radius:50%; border:1px solid var(--border-strong); background:var(--surface); color:var(--text); display:inline-flex; align-items:center; justify-content:center; cursor:pointer; transition:background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast); }
.cs-arrow:hover { background:var(--surface-2); border-color:var(--text-faint); }
.cs-arrow:active { transform:scale(.94); }
.cs-dots { display:flex; align-items:center; gap:8px; }
.cs-dot { width:8px; height:8px; padding:0; border-radius:var(--r-pill); background:var(--surface-sunken); border:1px solid var(--border-strong); cursor:pointer; transition:width var(--dur-base), background var(--dur-base), border-color var(--dur-base); }
.cs-dot.on { width:24px; background:var(--signal); border-color:var(--signal); }

/* ============================================================
   MOBILE OPTIMIZATION
   Float the theme toggle out of the sticky nav, add a real
   mobile menu, and tighten layouts on small screens.
   ============================================================ */

/* ---- mobile nav drawer (burger + slide-down panel, built by site.js) ---- */
.mnav .wrap.row { position:relative; }
.mnav-burger {
  display:none; align-items:center; justify-content:center; width:40px; height:40px;
  border-radius:var(--r-md); border:1px solid var(--border-strong); background:var(--surface);
  color:var(--text); cursor:pointer; flex:none; transition:border-color var(--dur-fast), background var(--dur-fast);
}
.mnav-burger:hover { border-color:var(--text-faint); background:var(--surface-2); }
.mnav-drawer { display:none; }
@media(max-width:860px){
  .mnav-burger { display:inline-flex; }
  .mnav-drawer {
    display:block; position:absolute; top:calc(100% + 1px); left:0; right:0; z-index:120;
    background:var(--bg); border-bottom:1px solid var(--border); box-shadow:var(--shadow-lg);
    padding:8px 28px 20px;
    opacity:0; visibility:hidden; pointer-events:none; transform:translateY(-10px);
    transition:opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility var(--dur-base);
  }
  .mnav.menu-open .mnav-drawer { opacity:1; visibility:visible; pointer-events:auto; transform:none; }
  .mnav-drawer .dlink {
    display:flex; align-items:center; justify-content:space-between; padding:14px 2px; font-size:16px;
    font-weight:500; color:var(--text-muted); border-bottom:1px solid var(--border); transition:color var(--dur-fast);
  }
  .mnav-drawer .dlink:hover, .mnav-drawer .dlink[aria-current="page"] { color:var(--text); }
  .mnav-drawer .dlink[aria-current="page"]::after { content:'•'; color:var(--signal); }
  .mnav-drawer .dctas { display:flex; flex-direction:column; gap:10px; margin-top:16px; }
  .mnav-drawer .dctas .btn { width:100%; }
}
@media(max-width:560px){ .mnav-drawer { padding-left:20px; padding-right:20px; } }
/* keep the bar uncluttered on very narrow screens — CTAs live in the drawer */
@media(max-width:520px){ .mnav .right .btn { display:none; } }

/* ---- hero: let the headline + answer card wrap/clip on small screens ---- */
@media(max-width:920px){
  .hero-live h1 { white-space:normal; }
  .hero .stage { max-width:520px; }
}

/* ---- how-it-works: comfortable single-column rhythm on phones ---- */
@media(max-width:560px){
  .hiw-steps { gap:52px; }
  .hiw-copy h3 { font-size:clamp(25px,7vw,32px); }
  .hiw-console .ans, .hiw-term .snap .q { font-size:18px; }
}

/* ---- comparison tables on phones ---- */
@media(max-width:620px){
  /* default: wide multi-plan tables scroll horizontally, columns kept aligned */
  .cmp { overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .cmp .crow { min-width:480px; }
  /* homepage AI-vs-SEO table: stack into labeled rows instead of scrolling */
  #sec-vs .cmp { overflow:visible; }
  #sec-vs .cmp .crow { min-width:0; grid-template-columns:1fr; }
  #sec-vs .cmp .crow.head { display:none; }
  #sec-vs .cmp .crow > div { padding:12px 16px; }
  #sec-vs .cmp .crow .feat { font-weight:600; padding-bottom:4px; }
  #sec-vs .cmp .crow .old::before { content:'Rank tracking — '; color:var(--text-faint); }
  #sec-vs .cmp .crow .us { border-left:1.5px solid color-mix(in oklab,var(--signal) 62%,transparent); border-right:1.5px solid color-mix(in oklab,var(--signal) 62%,transparent); border-bottom:1.5px solid color-mix(in oklab,var(--signal) 62%,transparent); border-radius:0 0 var(--r-md) var(--r-md); }
  #sec-vs .cmp .crow .us::before { content:'Mentionova — '; color:var(--signal-deep); }
  #sec-vs .cmp .crow:not(:last-child) .us { border-bottom:none; }
}

/* ---- receipts wall: a touch tighter on phones ---- */
@media(max-width:600px){ .rcpt .rq.big { font-size:20px; } }

/* ---- guard against any stray horizontal overflow ---- */
@media(max-width:920px){
  .grid.g2, .grid.g3, .grid.g4 { min-width:0; }
  .grid > * { min-width:0; }
}

/* ============================================================
   MEDIUM THEME — alternating light/dark sections (zebra)
   site.js tags each major block (nav, sections, footer) with a
   data-theme + .mzebra when the medium theme is active.
   ============================================================ */
/* light blocks are opaque "paper"; dark blocks stay transparent so the
   ambient glow shows through them (notably the hero) */
.mzebra[data-theme="light"] { background:var(--bg); }
/* medium theme: the TOC floats over alternating light/dark bands — no panel,
   just a fixed mid-tone that stays readable on both (active keeps the accent) */
body.medium-zebra .toc { display:flex; }
body.medium-zebra .toc .tnova, body.medium-zebra .toc .tlabel { color:#8a857c; }
body.medium-zebra .toc a:hover .tnova, body.medium-zebra .toc a:hover .tlabel { color:var(--signal-deep); }
body.medium-zebra .toc a.active .tnova, body.medium-zebra .toc a.active .tlabel { color:var(--signal); }
body.medium-zebra .mnav { background:var(--bg); }
body.medium-zebra .mnav.scrolled { background:var(--bg); border-bottom-color:var(--border); }
