:root {
  color-scheme: dark;

  --bg: #07080a;
  --tint: rgba(124, 140, 255, .028);

  --glass: linear-gradient(158deg, rgba(32, 45, 76, .60) 0%, rgba(17, 24, 40, .52) 52%, rgba(12, 17, 29, .50) 100%);
  --glass-lift: linear-gradient(158deg, rgba(42, 58, 96, .68) 0%, rgba(22, 31, 51, .58) 52%, rgba(15, 21, 35, .54) 100%);

  --thin: rgba(124, 140, 255, .065);
  --thin-mid: rgba(124, 140, 255, .11);
  --thin-strong: rgba(124, 140, 255, .17);

  --specular: inset 0 1px 0 rgba(255, 255, 255, .10);
  --specular-soft: inset 0 1px 0 rgba(255, 255, 255, .06);
  --depth: 0 1px 2px rgba(0, 0, 0, .32), 0 18px 40px -22px rgba(0, 0, 0, .8);
  --depth-lg: 0 1px 2px rgba(0, 0, 0, .36), 0 12px 28px -12px rgba(0, 0, 0, .55), 0 40px 80px -36px rgba(0, 0, 0, .9);

  --grid-line: rgba(255, 255, 255, .07);

  --text: #e9ebee;
  --text-dim: #a4abb5;
  --text-mute: #8f97a1;

  --accent: #7df9c4;
  --accent-dim: rgba(125, 249, 196, .16);
  --violet: #7c8cff;

  /* critically damped (Apple: damping 1.0) — no overshoot */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  /* response ≈ 0.4s, damping ≈ 0.8 — a touch of settle, for material arriving */
  --spring: linear(
    0, .2178 2.1%, .7902 6.7%, .9832 9.3%, 1.0369 11%, 1.0587 12.6%, 1.0604 14.3%,
    1.0494 16.6%, 1.0018 24.4%, .9908 27.4%, .9895 31%, 1.0013 42.3%, 1.0001 60.9%, 1
  );

  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 48px);
  --radius: 20px;
  --radius-sm: 14px;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font: 1rem/1.6 var(--sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Type: tracking and leading are size-specific, never one value for all sizes. */
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
code {
  font-family: var(--mono);
  font-size: .875em;
  padding: .1em .38em;
  border-radius: 5px;
  background: var(--thin-mid);
  color: var(--accent);
  white-space: nowrap;
}

::selection { background: var(--accent); color: #04120c; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: #04120c;
  border-radius: 10px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 260ms var(--ease-out);
}
.skip:focus { transform: translateY(0); }

/* ── ambient layer ───────────────────────────────────
   Fixed light source the glass surfaces sample as they
   scroll past. Without it, backdrop-filter has nothing
   to refract on a near-black page.                    */

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(62vw 52vh at 10% 6%,  rgba(124, 140, 255, .14), transparent 62%),
    radial-gradient(48vw 44vh at 90% 20%, rgba(125, 249, 196, .085), transparent 64%),
    radial-gradient(56vw 50vh at 74% 74%, rgba(124, 140, 255, .12), transparent 62%),
    radial-gradient(44vw 42vh at 16% 94%, rgba(125, 249, 196, .065), transparent 64%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.wrap--narrow { max-width: 780px; }

/* ── nav — translucent chrome, content scrolls under ─ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 10, .55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: background-color 300ms var(--ease-out);
}
.nav[data-stuck] { background: rgba(7, 8, 10, .72); }

/* Scroll edge effect, not a hard divider. */
.nav::after {
  content: "";
  position: absolute;
  inset: 100% 0 auto 0;
  height: 26px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(7, 8, 10, .55), transparent);
  opacity: 0;
  transition: opacity 320ms var(--ease-out);
}
.nav[data-stuck]::after { opacity: 1; }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -.018em;
}
.brand__name { white-space: nowrap; }
.brand__mark {
  flex: none;
  display: grid;
  gap: 3px;
  width: 18px;
}
.brand__mark i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: width 420ms var(--spring);
}
.brand__mark i:nth-child(1) { width: 100%; }
.brand__mark i:nth-child(2) { width: 72%; opacity: .55; }
.brand__mark i:nth-child(3) { width: 44%; background: var(--accent); }

.nav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  font-size: .906rem;
}
.nav__links a {
  padding: 7px 12px;
  border-radius: 10px;
  color: var(--text-dim);
  transition: color 200ms var(--ease-out), background-color 200ms var(--ease-out);
}

/* Press feedback is instant on pointer-down; release settles. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--text);
  color: #08090b;
  font-family: inherit;
  font-size: .938rem;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 260ms var(--ease-out), background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.btn:active { transform: scale(.97); transition-duration: 100ms; }
.btn--sm { padding: 8px 15px; font-size: .875rem; gap: .3em; border-radius: 10px; }
.btn--ghost {
  background: var(--thin-mid);
  color: var(--text);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: var(--specular-soft);
}

/* ── hero ────────────────────────────────────────── */

.hero { position: relative; overflow: hidden; }
.hero__field {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 900px;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px) 0 0 / 72px 72px;
  -webkit-mask-image: radial-gradient(120% 78% at 50% 12%, #000 20%, transparent 78%);
  mask-image: radial-gradient(120% 78% at 50% 12%, #000 20%, transparent 78%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(72px, 12vw, 132px) clamp(52px, 7vw, 84px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.dot { color: var(--text-mute); }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero h1 em {
  background: linear-gradient(96deg, var(--accent), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 52ch;
  margin-top: 22px;
  font-size: clamp(1rem, 1.25vw, 1.094rem);
  line-height: 1.6;
  letter-spacing: -.003em;
  color: var(--text-dim);
}
.lead--sm {
  margin-top: 16px;
  font-size: clamp(.938rem, 1.15vw, 1rem);
  color: var(--text-mute);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__meta { margin-top: 26px; font-size: .844rem; color: var(--text-mute); }

/* ── answer card — thickest material on the page ───── */

.answer {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  box-shadow: var(--specular), var(--depth-lg);
}
.answer__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, .045);
}
.answer__bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
}
.answer__bar span {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: .719rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.replay {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: var(--thin-mid);
  color: var(--text-dim);
  cursor: pointer;
  box-shadow: var(--specular-soft);
  transition: transform 260ms var(--ease-out), color 200ms var(--ease-out), background-color 200ms var(--ease-out);
}
.replay:active { transform: scale(.94); transition-duration: 100ms; }
.replay[hidden] { display: none; }

.answer__prompt {
  display: flex;
  gap: 10px;
  padding: 20px 22px 18px;
  background: rgba(124, 140, 255, .09);
  font-size: .938rem;
  letter-spacing: -.003em;
  color: var(--text);
}
.answer__you {
  flex: none;
  padding: 2px 8px;
  height: fit-content;
  border-radius: 7px;
  background: var(--thin-strong);
  font-family: var(--mono);
  font-size: .688rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.answer__q { font: inherit; min-height: 48px; }
.answer__q.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -.16em;
  background: var(--accent);
  animation: caret 1.05s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

.answer__body { position: relative; padding: 22px 22px 24px 46px; min-height: 186px; }
.answer__ai {
  position: absolute;
  top: 24px; left: 22px;
  width: 14px; height: 14px;
  border-radius: 5px;
  background: linear-gradient(140deg, var(--accent), var(--violet));
  box-shadow: 0 0 0 4px var(--accent-dim);
  transition: opacity 300ms var(--ease-out), transform 420ms var(--spring);
}
.answer[data-phase="idle"] .answer__ai,
.answer[data-phase="typing"] .answer__ai { opacity: 0; transform: scale(.86); }

.answer:not([data-phase]) .think { display: none; }
.think {
  position: absolute;
  top: 22px; left: 46px;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 20px;
  opacity: 0;
  transition: opacity 240ms var(--ease-out);
}
.answer[data-phase="think"] .think { opacity: 1; }
.think i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.25s var(--ease-in-out) infinite;
}
.think i:nth-child(2) { animation-delay: .18s; }
.think i:nth-child(3) { animation-delay: .36s; }
.think span {
  margin-left: 4px;
  font-family: var(--mono);
  font-size: .719rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-mute);
}
@keyframes pulse {
  0%, 100% { opacity: .25; transform: scale(.8); }
  40% { opacity: 1; transform: scale(1); }
}

.answer[data-phase="idle"] .answer__out,
.answer[data-phase="typing"] .answer__out,
.answer[data-phase="think"] .answer__out { opacity: 0; }

.answer .line {
  font-size: .938rem;
  line-height: 1.75;
  letter-spacing: -.002em;
  color: var(--text-dim);
}
.answer .line + .line { margin-top: 10px; }
.answer .line strong { color: var(--text); font-weight: 600; }

.answer[data-phase] .w {
  display: inline-block;
  opacity: 0;
  filter: blur(5px);
  transform: translateY(2px);
  transition: opacity 300ms var(--ease-out), filter 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.answer[data-phase] .w.on { opacity: 1; filter: blur(0); transform: none; }

.cites {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.answer[data-phase] .cites {
  opacity: 0;
  transform: scale(.96);
  transform-origin: left center;
  transition: opacity 320ms var(--ease-out), transform 440ms var(--spring);
}
.answer[data-phase] .cites.on { opacity: 1; transform: scale(1); }
.cite {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--thin-strong);
  box-shadow: var(--specular-soft);
  font-size: .781rem;
  color: var(--text);
  transition: background-color 200ms var(--ease-out);
}
.cite b {
  display: grid;
  place-items: center;
  width: 16px; height: 16px;
  border-radius: 5px;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--mono);
  font-size: .656rem;
  font-weight: 600;
}
.cite--muted { background: rgba(255, 255, 255, .06); color: var(--text-mute); }

.answer figcaption {
  padding: 0 22px 20px;
  font-size: .781rem;
  line-height: 1.5;
  color: var(--text-mute);
}

/* ── sections ────────────────────────────────────── */

.section { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.section--alt { background: var(--tint); }

.sec-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head h2 {
  margin-top: 18px;
  font-size: clamp(1.875rem, 4.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.sec-lead {
  max-width: 58ch;
  margin-top: 20px;
  font-size: 1.031rem;
  line-height: 1.6;
  letter-spacing: -.003em;
  color: var(--text-dim);
}

/* Glass cards: primary material — real blur, specular edge, layered depth. */
.cols-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 16px;
}
.col, .card {
  position: relative;
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: var(--specular), var(--depth);
}
.col { padding: 30px 28px 34px; }
.col .num {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--accent);
}
.col h3 {
  margin-top: 16px;
  font-size: 1.188rem;
  line-height: 1.24;
  letter-spacing: -.018em;
}
.col p {
  margin-top: 12px;
  font-size: .938rem;
  letter-spacing: -.002em;
  color: var(--text-dim);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.card {
  padding: 30px 28px 32px;
  transition: background 320ms var(--ease-out), transform 420ms var(--spring), box-shadow 320ms var(--ease-out);
}
.card h3 { font-size: 1.25rem; line-height: 1.22; letter-spacing: -.021em; }
.card p {
  margin-top: 14px;
  font-size: .938rem;
  letter-spacing: -.002em;
  color: var(--text-dim);
}
.card p + p { margin-top: 12px; color: var(--text-mute); }
.card--wide { grid-column: 1 / -1; }

/* Thin material: secondary rows. No second blur stacked on the page. */
.list { display: grid; gap: 10px; }
.list li {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 10px 36px;
  padding: 22px 26px;
  border-radius: var(--radius-sm);
  background: var(--thin);
  box-shadow: var(--specular-soft);
  transition: background-color 280ms var(--ease-out);
}
.list h3 { font-size: 1.125rem; line-height: 1.26; letter-spacing: -.018em; }
.list p { font-size: .938rem; letter-spacing: -.002em; color: var(--text-dim); }

/* ── faq ─────────────────────────────────────────── */

.faq { display: grid; gap: 8px; }
.faq details {
  border-radius: var(--radius-sm);
  background: var(--thin);
  box-shadow: var(--specular-soft);
  transition: background-color 280ms var(--ease-out);
}
.faq details[open] { background: var(--thin-mid); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-size: 1.063rem;
  font-weight: 500;
  letter-spacing: -.015em;
  cursor: pointer;
  list-style: none;
  transition: color 200ms var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.chev {
  position: relative;
  flex: none;
  width: 14px; height: 14px;
}
.chev::before, .chev::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.5px;
  border-radius: 2px;
  background: var(--text-mute);
  transform: translate(-50%, -50%);
  transition: transform 420ms var(--spring), background-color 240ms var(--ease-out);
}
.chev::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .chev::after { transform: translate(-50%, -50%) rotate(0deg); }
details[open] .chev::before, details[open] .chev::after { background: var(--accent); }
.faq__a { padding: 0 24px 24px; max-width: 66ch; }
.faq__a p {
  font-size: .969rem;
  line-height: 1.62;
  letter-spacing: -.002em;
  color: var(--text-dim);
}
.faq__a p + p { margin-top: 12px; }

/* ── cta ─────────────────────────────────────────── */

.cta { position: relative; overflow: hidden; background: var(--tint); }
.cta__field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 420px at 50% 116%, rgba(125, 249, 196, .16), transparent 68%),
    radial-gradient(620px 360px at 16% 108%, rgba(124, 140, 255, .17), transparent 70%),
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px) 0 0 / 72px 72px;
  -webkit-mask-image: radial-gradient(110% 90% at 50% 100%, #000 25%, transparent 75%);
  mask-image: radial-gradient(110% 90% at 50% 100%, #000 25%, transparent 75%);
}
.cta__inner { position: relative; z-index: 2; padding-block: clamp(80px, 11vw, 136px); text-align: center; }
.cta h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -.032em;
}
.cta .lead { margin-inline: auto; }
.cta__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* ── footer ──────────────────────────────────────── */

.foot { padding-block: 34px 40px; }
.foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  font-size: .844rem;
  color: var(--text-mute);
}
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; margin-inline: auto; }
.foot nav a { transition: color 200ms var(--ease-out); }

.foot__me {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--thin);
  box-shadow: var(--specular-soft);
}
.foot__me strong { color: var(--text); font-weight: 600; }
.foot__me address { font-style: normal; color: var(--text-mute); }
.foot__me a { color: var(--text-dim); transition: color 200ms var(--ease-out); }

/* ── reveal — materials arrive, they don't fade in ── */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px) scale(.985);
  transition:
    opacity 700ms var(--ease-out) calc(var(--i, 0) * 60ms),
    transform 700ms var(--spring) calc(var(--i, 0) * 60ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* The material arrives: its blur builds up, the content stays sharp. */
.js .answer[data-reveal] {
  backdrop-filter: blur(0px) saturate(100%);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  transition:
    opacity 760ms var(--ease-out) calc(var(--i, 0) * 60ms),
    transform 760ms var(--spring) calc(var(--i, 0) * 60ms),
    backdrop-filter 760ms var(--ease-out) calc(var(--i, 0) * 60ms),
    -webkit-backdrop-filter 760ms var(--ease-out) calc(var(--i, 0) * 60ms);
}
.js .answer[data-reveal].is-visible {
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
}

/* ── hover (pointer devices only) ────────────────── */

@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--text); background: var(--thin-mid); }
  .brand:hover .brand__mark i:nth-child(2) { width: 100%; }
  .brand:hover .brand__mark i:nth-child(3) { width: 72%; }
  .btn:hover { background: #fff; }
  .btn--ghost:hover { background: var(--thin-strong); }
  .card:hover {
    background: var(--glass-lift);
    transform: translateY(-3px);
    box-shadow: var(--specular), var(--depth-lg);
  }
  .list li:hover { background: var(--thin-mid); }
  .faq summary:hover { color: var(--accent); }
  .faq summary:hover .chev::before, .faq summary:hover .chev::after { background: var(--accent); }
  .foot nav a:hover { color: var(--text); }
  .foot__me a:hover { color: var(--accent); }
  .cite:hover { background: rgba(124, 140, 255, .23); }
  .replay:hover { color: var(--accent); background: var(--thin-strong); }
}

/* ── responsive ──────────────────────────────────── */

@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; }
  .answer { max-width: 620px; }
  .answer__q { min-height: 72px; }
  .answer__body { min-height: 232px; }
}

@media (max-width: 760px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; }
  .list li { grid-template-columns: 1fr; gap: 8px; }
  .cta__inner { text-align: left; }
  .cta__links { justify-content: flex-start; }
  .cta .lead { margin-inline: 0; }
  .foot nav { margin-inline: 0; flex-basis: 100%; }
  .foot__me { flex-direction: column; gap: 4px; }
}

@media (max-width: 560px) {
  .wide-only { display: none; }
  .btn--sm { text-transform: capitalize; }
}

@media (max-width: 420px) {
  .answer__body { padding-left: 22px; }
  .answer__ai { position: static; display: block; margin-bottom: 14px; }
  .think { top: 50px; left: 22px; }
  .btn { width: 100%; }
  .btn--sm { width: auto; }
  .col, .card { padding: 26px 22px 28px; }
  .list li { padding: 20px 22px; }
  .faq summary { padding: 18px 20px; }
  .faq__a { padding: 0 20px 20px; }
}

/* ── accessibility ───────────────────────────────── */

@media (prefers-reduced-transparency: reduce) {
  .ambient { display: none; }
  .nav, .nav[data-stuck] { background: #0b0d12; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .answer, .col, .card {
    background: #131a2a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .btn--ghost { background: #1a2133; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .list li, .faq details, .foot__me { background: #11151f; }
  .faq details[open] { background: #171d2b; }
}

@media (prefers-contrast: more) {
  :root { --text-dim: #c8ced6; --text-mute: #aeb5be; }
  .answer, .col, .card { background: #0d1220; box-shadow: 0 0 0 1px rgba(255, 255, 255, .28); }
  .list li, .faq details, .foot__me { background: #0d1018; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
  .btn--ghost { box-shadow: 0 0 0 1px rgba(255, 255, 255, .32); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .think i { animation: none; opacity: .7; transform: none; }
  .answer[data-phase] .w { opacity: 1; filter: none; transform: none; transition: none; }
  .answer[data-phase] .answer__out { opacity: 1; }
  .answer[data-phase] .cites { opacity: 1; transform: none; transition: none; }
  .answer__q.is-typing::after { animation: none; }
  .card:hover { transform: none; }
  .btn:active, .replay:active { transform: none; }
  .js [data-reveal] {
    transform: none;
    transition: opacity 300ms ease calc(var(--i, 0) * 30ms);
  }
  .js .answer[data-reveal] {
    backdrop-filter: blur(32px) saturate(160%);
    -webkit-backdrop-filter: blur(32px) saturate(160%);
  }
}
