/* NeuroRad.ai landing — page-specific layout (theme-neurorad).
   Tokens + shared components come from ../assets/resonant.css. */

/* hero — only vertical padding, so .wrap's 26px horizontal gutter survives and
   the title lines up with every section below (shorthand would zero it out).
   Padding + headline are tuned so the eyebrow → headline → subtitle → CTA/Try
   all sit above the fold on common laptop viewports (~1280–1440 × 720–900). */
.hero { padding-top: clamp(44px, 5vh, 88px); padding-bottom: 32px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.06; max-width: 20ch; margin: 10px 0 0; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, #fff, var(--accent-2) 70%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin-top: 18px; max-width: 56ch; font-size: clamp(1.02rem, 1.45vw, 1.2rem); line-height: 1.5; color: var(--ink-soft); }
.herobtns { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* hero "ask a question" bar — a normal search field + button, not big blocks */
.ask { display: flex; align-items: stretch; gap: 10px; margin-top: 32px; max-width: 560px; flex-wrap: wrap; }
.ask input { flex: 1; min-width: 220px; height: 46px; padding: 0 15px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--glass-2, rgba(255,255,255,.055));
  color: var(--ink); font: 15px/1.2 var(--font-sans); outline: none;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.ask input::placeholder { color: var(--faint); }
.ask input:focus { border-color: color-mix(in oklab, var(--accent) 55%, transparent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 16%, transparent); }
.ask .btn.p { flex: none; height: 46px; padding: 0 20px; border-radius: 10px; font-size: 14px; }
.ask-eg { margin-top: 13px; font-size: 13.5px; color: var(--muted); }
.ask-eg a { color: var(--accent-ink); }
@media (max-width: 520px) { .ask .btn.p { flex: 1; justify-content: center; } }

/* lighter second hero line */
.hero .hero-sub { margin-top: 16px; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.16rem); }

/* hero actions — primary CTA + one ready-made example question (not a search box) */
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.eg-q { display: inline-flex; align-items: center; gap: 11px; max-width: 100%; cursor: pointer;
  padding: 10px 15px; border-radius: 12px; text-align: left;
  border: 1px solid var(--line-strong); background: linear-gradient(180deg, var(--glass-2), var(--glass));
  color: var(--ink-soft); font: 500 14.5px/1.25 var(--font-sans);
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.eg-q:hover { border-color: color-mix(in oklab, var(--accent) 55%, transparent); color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,.34), 0 0 0 3px color-mix(in oklab, var(--accent) 12%, transparent); }
.eg-q:focus-visible { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent); }
.eg-k { flex: none; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink); padding: 3px 8px; border-radius: 6px;
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent); }
.eg-t { min-width: 0; }
.eg-go { flex: none; color: var(--accent-ink); transition: transform var(--dur-fast) var(--ease); }
.eg-q:hover .eg-go { transform: translateX(3px); }
@media (max-width: 560px) { .eg-q { width: 100%; } }

/* ============================================================
   Currently mapped — live subspecialty strip (reads Supabase)
   ============================================================ */
.mapped { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 6px 0 0; }
.map-col { position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px 22px; overflow: hidden;
  background: linear-gradient(180deg, var(--glass-2), var(--glass)); }
.map-col::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: var(--mc, var(--accent)); opacity: .85; }
.mc-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.mc-name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; color: #fff; }
.mc-count { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--faint);
  white-space: nowrap; opacity: 1; transition: opacity var(--dur) var(--ease); }
.mc-count[aria-hidden="true"] { opacity: 0; }   /* hidden until hydrated live — never a typed number */
.mc-topics { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mc-chip { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; line-height: 1.1;
  border: 1px solid var(--line-strong); background: var(--panel-solid, #101216);
  color: var(--ink-soft); font-size: 12.5px; font-weight: 500; text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease); }
.mc-chip:hover { border-color: var(--mc, var(--accent)); color: #fff; transform: translateY(-1px); }

/* live totals — shown only once read from Supabase (starts [hidden]) */
.map-totals { margin: 22px 0 0; font-family: var(--font-mono); font-size: 13px; letter-spacing: .02em;
  color: var(--ink-soft); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.map-totals .mt-num { font-weight: 600; color: var(--accent-ink); font-size: 15px; }
.map-totals .mt-sep { color: var(--faint); }
.map-totals .mt-src { color: var(--faint); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }

/* credibility note (verbatim) + "considered but left out" footnote link */
.map-note { margin: 16px 0 0; max-width: 76ch; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.map-foot { margin: 11px 0 0; font-size: 13px; }
.map-foot a { color: var(--faint); text-decoration: none; padding-bottom: 1px;
  border-bottom: 1px dashed var(--line-strong);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.map-foot a:hover { color: var(--accent-ink); border-color: var(--accent-ink); }

@media (max-width: 860px) { .mapped { grid-template-columns: 1fr; } }

/* accent emphasis inside section headings */
.section-h h2 em { font-style: normal; color: var(--accent-ink); }

/* "a new way to think" — the mental-model shift */
.rethink { display: grid; gap: 20px; margin: 6px 0 0; max-width: 820px; }
.rt-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rt-old { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: -.01em;
  color: var(--muted); text-decoration: line-through;
  text-decoration-color: color-mix(in oklab, var(--g-unresolved) 65%, transparent); text-decoration-thickness: 2px; }
.rt-arrow { color: var(--faint); font-size: 1.4rem; flex: none; }
.rt-new { font-family: var(--font-display); font-size: clamp(1.25rem, 2.6vw, 1.9rem); letter-spacing: -.02em; color: #fff; }
.rethink p { margin: 0; color: var(--ink-soft); font-size: clamp(1.05rem, 1.6vw, 1.28rem); max-width: 56ch; }
@media (max-width: 560px) { .rt-arrow { transform: rotate(90deg); } .rt-row { gap: 10px; } }

/* evidence explainer */
.evi { margin: 96px 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; background: linear-gradient(120deg, rgba(46, 144, 255, .05), transparent); }
.evi h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); max-width: 24ch; }
.evi h2 em { font-style: normal; color: var(--accent-ink); }

/* ============================================================
   Knowledge-graph homepage (v3)
   ============================================================ */

/* conceptual leap: Papers → Knowledge graph → Living atlas */
.leap { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 10px; margin: 4px 0 10px; }
.leap-step { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: linear-gradient(180deg, var(--glass-2), var(--glass)); }
.leap-step.on { border-color: color-mix(in oklab, var(--accent) 45%, transparent); background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 9%, transparent), transparent); box-shadow: 0 0 0 1px color-mix(in oklab, var(--accent) 18%, transparent); }
.leap-step .ls-k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.leap-step b { display: block; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.01em; margin: 8px 0 6px; }
.leap-step.on b { color: var(--accent-ink); }
.leap-step p { margin: 0; color: var(--muted); font-size: 13px; }
.leap-arw { align-self: center; color: var(--faint); font-size: 1.3rem; }
@media (max-width: 820px) { .leap { grid-template-columns: 1fr; } .leap-arw { justify-self: center; transform: rotate(90deg); } }

/* why list */
.why-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 2px; max-width: 60ch; }
.why-list li { display: flex; align-items: center; gap: 14px; padding: 15px 4px; border-top: 1px solid var(--line-soft, rgba(255,255,255,.06)); font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: var(--ink-soft); font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; }
.why-list li:first-child { border-top: 0; }
.wl-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--c); box-shadow: 0 0 10px var(--c); }

/* knowledge graph (desktop radial) */
.kg { position: relative; width: 100%; max-width: 900px; margin: 8px auto 0; aspect-ratio: 920 / 560; }
.kg-edges { position: absolute; inset: 0; width: 100%; height: 100%; }
.kg-edges line { stroke-dasharray: 3 5; animation: kg-flow 22s linear infinite; }
@keyframes kg-flow { to { stroke-dashoffset: -160; } }
.kg-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 2; width: clamp(120px, 17vw, 168px); height: clamp(120px, 17vw, 168px); border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 12px; background: radial-gradient(circle at 38% 32%, color-mix(in oklab, var(--accent) 34%, transparent), color-mix(in oklab, var(--accent) 12%, transparent) 70%, transparent); border: 1px solid color-mix(in oklab, var(--accent) 55%, transparent); box-shadow: 0 0 40px color-mix(in oklab, var(--accent) 30%, transparent), inset 0 0 30px color-mix(in oklab, var(--accent) 15%, transparent); }
.kg-core span { font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 1.7vw, 1.4rem); color: #fff; letter-spacing: -.02em; }
.kg-node { position: absolute; transform: translate(-50%,-50%); z-index: 2; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--panel-solid, #101216); color: var(--ink-soft); font-size: 13px; font-weight: 500; text-decoration: none; transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); box-shadow: 0 6px 20px rgba(0,0,0,.45); }
.kg-node:hover { transform: translate(-50%,-50%) scale(1.06); border-color: var(--accent); color: #fff; }
.kg-g { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--c); box-shadow: 0 0 8px var(--c); }
.kg-node--papers { color: var(--ink); }
.kg-node--papers b { font-family: var(--font-display); color: var(--accent-ink); }
.kg-tree { display: none; }

@media (max-width: 720px) {
  .kg { display: none; }
  .kg-tree { display: block; list-style: none; padding: 0; margin: 8px 0 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--glass); }
  .kg-tree li { font-family: var(--font-mono); font-size: 14px; color: var(--ink-soft); padding: 13px 18px; border-top: 1px solid var(--line-soft, rgba(255,255,255,.06)); }
  .kg-tree li::before { content: "├─ "; color: var(--faint); }
  .kt-core { font-family: var(--font-display) !important; font-size: 1.2rem !important; font-weight: 600; color: #fff !important; border-top: 0 !important; background: color-mix(in oklab, var(--accent) 12%, transparent); }
  .kt-core::before { content: "" !important; }
  .kg-tree li:last-child::before { content: "└─ "; }
  .kg-tree li span { color: var(--accent-ink); font-weight: 600; }
}

/* how it works swaps */
.swaps { display: grid; gap: 14px; margin-top: 6px; }
.swap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 18px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); }
.swap:first-child { border-top: 0; }
.sw-from { color: var(--muted); font-size: 1rem; }
.sw-to { font-family: var(--font-display); font-size: clamp(1.2rem, 2.4vw, 1.9rem); letter-spacing: -.02em; color: var(--ink); }
.sw-to b { color: var(--accent-ink); font-weight: 600; }
@media (max-width: 620px) { .swap { grid-template-columns: 1fr; gap: 4px; } }
.how-line { margin: 30px 0 0; font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: -.02em; color: var(--ink); max-width: 22ch; }
.how-line em { font-style: normal; background: linear-gradient(120deg, #fff, var(--accent-2) 70%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* who it's for */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.who-c { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: linear-gradient(180deg, var(--glass-2), var(--glass)); }
.who-c b { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.who-c p { margin: 8px 0 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.5; }
@media (max-width: 900px) { .who-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .who-grid { grid-template-columns: 1fr; } }

/* mobile topbar: drop the family up-pill so brand + CTA fit without overflow */
@media (max-width: 680px) {
  .topbar .up { display: none; }
  .topbar { gap: 12px; padding: 12px 16px; }
  .brand .sub { display: none; }
}

/* real Atlas graph screenshot — featured under the hero */
.graph-shot { display: block; position: relative; margin: 8px auto 0; max-width: 900px; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius-lg, 18px); overflow: hidden;
  background: radial-gradient(60% 60% at 50% 40%, rgba(46,144,255,.06), transparent);
  box-shadow: 0 30px 70px rgba(0,0,0,.5); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.graph-shot:hover { border-color: color-mix(in oklab, var(--accent) 45%, transparent); transform: translateY(-2px); }
.graph-shot img { display: block; width: 100%; height: auto; }
.graph-cap { display: block; padding: 14px 20px; font-size: 13.5px; color: var(--muted);
  border-top: 1px solid var(--line); background: var(--glass); }
.graph-cap b { color: var(--accent-ink); font-weight: 600; white-space: nowrap; }

/* kg-core is now a link to the whole graph; keep it clean + add a subtle hover */
.kg-core { text-decoration: none; cursor: pointer; transition: box-shadow var(--dur-fast) var(--ease); }
.kg-core:hover { box-shadow: 0 0 52px color-mix(in oklab, var(--accent) 42%, transparent), inset 0 0 30px color-mix(in oklab, var(--accent) 18%, transparent); }
/* mobile tree items are links — inherit the tree text styling, no underline */
.kg-tree a { color: inherit; text-decoration: none; display: block; }

/* ============================================================
   Result-first homepage (v4): capabilities + live example card
   ============================================================ */

/* "What you can do here" — deep-linked checklist */
.caps { list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; max-width: 940px; }
.caps li { border-top: 1px solid var(--line); }
.caps a { display: flex; align-items: center; gap: 14px; padding: 17px 4px; color: var(--ink-soft);
  font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em;
  font-size: clamp(1.02rem, 1.4vw, 1.22rem); text-decoration: none;
  transition: color var(--dur-fast) var(--ease); }
.caps a:hover { color: #fff; }
.caps .ck { flex: none; width: 27px; height: 27px; border-radius: 8px; display: grid; place-items: center;
  font-size: 13px; color: var(--accent-ink);
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 32%, transparent);
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.caps a:hover .ck { background: color-mix(in oklab, var(--accent) 28%, transparent); transform: translateX(2px); }
.caps .cgo { margin-left: auto; color: var(--faint); opacity: 0; transform: translateX(-6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.caps a:hover .cgo { opacity: 1; transform: translateX(0); color: var(--accent-ink); }
@media (max-width: 720px) { .caps { grid-template-columns: 1fr; gap: 0; } }

/* live example — a real question, rendered the way the Atlas renders it */
.demo { max-width: 800px; margin: 8px auto 0; }
.demo-card { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, var(--glass-2), var(--glass));
  box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.dc-head { padding: 22px 26px 20px; border-bottom: 1px solid var(--line); }
.demo-tag { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.demo-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--g-strong);
  box-shadow: 0 0 8px var(--g-strong); animation: demo-pulse 2.6s ease-in-out infinite; }
@keyframes demo-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.demo-q { font-family: var(--font-display); font-size: clamp(1.25rem, 2.3vw, 1.65rem); letter-spacing: -.02em;
  color: #fff; margin: 13px 0 16px; max-width: 32ch; line-height: 1.15; }
.demo-grade { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dg-label { font-size: 13px; color: var(--muted); }
.dg-label b { color: var(--g-weak); font-weight: 600; }
.dg-label i { font-style: italic; color: var(--ink-soft); }
.demo-split { display: grid; grid-template-columns: 1fr 1fr; }
.demo-pos { padding: 20px 26px; }
.demo-pos + .demo-pos { border-left: 1px solid var(--line); }
.demo-pos h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  margin: 0 0 11px; display: flex; align-items: center; gap: 9px; color: var(--muted); }
.demo-pos .pdot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.demo-pos.a .pdot { background: var(--g-weak); box-shadow: 0 0 8px var(--g-weak); }
.demo-pos.b .pdot { background: var(--g-strong); box-shadow: 0 0 8px var(--g-strong); }
.demo-pos p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.demo-pos p b { color: var(--ink); }
.demo-stakes { padding: 15px 26px; border-top: 1px solid var(--line); background: rgba(251,191,36,.05);
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.demo-stakes b { color: var(--g-weak); font-weight: 600; }
.demo-stakes i { font-style: italic; color: var(--ink); }
.demo-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 15px 26px; border-top: 1px solid var(--line); background: var(--glass); }
.df-note { font-family: var(--font-mono); font-size: 11px; color: var(--faint); letter-spacing: .02em; }
.demo-foot a { color: var(--accent-ink); font-size: 14px; font-weight: 500; display: inline-flex; gap: 7px;
  align-items: center; white-space: nowrap; transition: gap var(--dur-fast) var(--ease); }
.demo-foot a:hover { gap: 11px; }
.inspect-line { margin: 20px auto 0; max-width: 800px; text-align: center; color: var(--muted); font-size: 14.5px; }
.inspect-line b { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
  .demo-split { grid-template-columns: 1fr; }
  .demo-pos + .demo-pos { border-left: 0; border-top: 1px solid var(--line); }
  .demo-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ============================================================
   Professional polish pass — atmospheric hero + slicker glass.
   Scoped to landing.css only (shared resonant.css untouched).
   ============================================================ */
.hero { position: relative; }
.hero > * { position: relative; z-index: 1; }
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: -24px; left: 50%; transform: translateX(-50%);
  width: 100vw; height: calc(100% + 150px);
  background:
    linear-gradient(90deg, var(--bg) 3%, rgba(7,8,10,.82) 38%, rgba(7,8,10,.20) 74%, rgba(7,8,10,.55) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 24%, transparent 56%, var(--bg) 100%),
    url("hero-graph.webp") right center / cover no-repeat;
  animation: hero-drift 26s var(--ease, ease-in-out) infinite alternate;
}
@keyframes hero-drift { from { transform: translateX(-50%) scale(1.0); } to { transform: translateX(-50%) scale(1.05); } }
.hero h1 { text-shadow: 0 2px 44px rgba(0,0,0,.55); letter-spacing: -.012em; }
.hero p { text-shadow: 0 1px 24px rgba(0,0,0,.5); }
.hero .eyebrow { text-shadow: 0 1px 18px rgba(0,0,0,.5); }

/* slicker glassmorphism on the mapped subspecialty cards */
.map-col {
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  box-shadow: 0 26px 62px -34px rgba(0,0,0,.78), inset 0 1px 0 rgba(255,255,255,.06);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.map-col:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--mc, var(--accent)) 42%, var(--line));
  box-shadow: 0 38px 78px -36px rgba(0,0,0,.82), inset 0 1px 0 rgba(255,255,255,.09);
}
/* frosted glass on the hero's example-question control + search input */
.eg-q, .ask input {
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
}
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }
@media (max-width: 720px) {
  .hero::before { background:
    linear-gradient(180deg, rgba(7,8,10,.6), var(--bg) 78%),
    url("hero-graph.webp") right top / cover no-repeat; opacity: .7; }
}
