/* ============================================================
   TypeNot — marketing site layout
   Tokens + components come from aurora.css (Aurora design system).
   This file only adds page scaffolding for typenot.app.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); }

/* ---------- Layout primitives ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-7);
}
.section { padding: var(--sp-9) 0; }
.section--tight { padding: var(--sp-8) 0; }
.section__head { max-width: 720px; margin-bottom: var(--sp-7); }
.section__head .t-eyebrow { display: block; margin-bottom: var(--sp-3); color: var(--neon-cyan); }
.section__head h2 { color: var(--fg-1); margin: 0 0 var(--sp-3); }
.section__head p { margin: 0; }

/* Subtle radial mesh behind alternating sections */
.section--mesh { position: relative; overflow: hidden; }
.section--mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(42% 50% at 18% 20%, rgba(0, 229, 255, 0.05), transparent 70%),
    radial-gradient(38% 46% at 82% 30%, rgba(139, 92, 246, 0.06), transparent 70%),
    radial-gradient(30% 40% at 60% 85%, rgba(255, 61, 201, 0.04), transparent 70%);
  pointer-events: none;
}
.section--mesh > .container { position: relative; }

/* Thin aurora gradient divider between major sections */
.aurora-divider {
  height: 1px;
  width: 100%;
  border: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 229, 255, 0.35) 25%,
    rgba(139, 92, 246, 0.35) 55%,
    rgba(255, 61, 201, 0.25) 80%,
    transparent 100%);
}

/* Screen-reader-only helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.features .feature:nth-child(2),
.plans .plan:nth-child(2),
.pairs .pair:nth-child(2),
.steps .step:nth-child(2),
.tscenarios .tscenario:nth-child(2) { transition-delay: 90ms; }
.features .feature:nth-child(3),
.pairs .pair:nth-child(3),
.steps .step:nth-child(3) { transition-delay: 180ms; }
.features .feature:nth-child(4) { transition-delay: 90ms; }
.features .feature:nth-child(5) { transition-delay: 180ms; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  backdrop-filter: blur(14px);
  background: rgba(7, 8, 12, 0.78);
  border-bottom: 1px solid var(--border-1);
}
.nav__inner {
  height: 64px;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  color: var(--fg-1);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.nav__brand img { width: 26px; height: 26px; }
.nav__links {
  display: flex;
  gap: var(--sp-5);
  margin-left: auto;
  align-items: center;
}
.nav__links a {
  color: var(--fg-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--dur-quick) var(--ease-out);
}
.nav__links a:hover { color: var(--fg-1); }
.nav__links a.is-current { color: var(--neon-cyan); }
.nav__cta { margin-left: var(--sp-4); }
.nav__links a.nav__cta,
.nav__links a.nav__cta:hover { color: var(--fg-on-neon); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: var(--sp-9) 0 var(--sp-8);
  overflow: hidden;
}
.hero::before {
  /* soft aurora halo behind the headline */
  content: "";
  position: absolute;
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 620px;
  background:
    radial-gradient(40% 50% at 30% 40%, rgba(0, 229, 255, 0.14), transparent 70%),
    radial-gradient(38% 48% at 62% 38%, rgba(139, 92, 246, 0.13), transparent 70%),
    radial-gradient(30% 42% at 78% 60%, rgba(255, 61, 201, 0.08), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: var(--sp-8);
  align-items: center;
}
.hero__copy { max-width: 640px; }
.hero .t-eyebrow { display: block; color: var(--neon-cyan); margin-bottom: var(--sp-4); }
.hero h1 { color: var(--fg-1); margin: 0 0 var(--sp-5); }
.hero__sub { font-size: 18px; line-height: 1.6; max-width: 640px; margin: 0 0 var(--sp-6); }
.hero__listen {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.hero__listen .t-caption { margin: 0; }
.hero__platforms { display: flex; gap: var(--sp-2); flex-wrap: wrap; }

/* "soon" platform / coming-soon badges */
.badge--soon { color: var(--fg-3); background: transparent; border-style: dashed; }
.badge--soon em {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-4);
}

/* ---------- Waitlist form ---------- */
.waitlist-form { margin: 0 0 var(--sp-6); max-width: 520px; }
.waitlist-form__row { display: flex; gap: var(--sp-3); align-items: stretch; }
.waitlist-form__row .input { flex: 1; min-width: 0; }
.waitlist-form__row .btn { flex: none; }
.waitlist-form__caption { margin: var(--sp-3) 0 0; }
.waitlist-form__error {
  margin: var(--sp-3) 0 0;
  font-size: 13px;
  color: var(--neon-coral);
}
.waitlist-form__done {
  margin: 0 0 var(--sp-6);
  font-size: 15px;
  font-weight: 600;
  color: var(--neon-lime);
}

/* ---------- Hero visual: app window + floating pill ---------- */
.hero__visual { position: relative; padding-bottom: var(--sp-6); }
.appwin {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.appwin__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-elev-2);
  border-bottom: 1px solid var(--border-1);
}
.appwin__bar > span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg-elev-3);
  border: 1px solid var(--border-2);
}
.appwin__bar > em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  margin-left: var(--sp-2);
}
.appwin__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-4); }
.appwin__ghost { margin: 0; font-size: 13px; color: var(--fg-3); }
.appwin__inputline {
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  background: var(--bg-elev-2);
  padding: 10px 12px;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.typeline {
  display: inline-block;
  font-size: 14px;
  color: var(--fg-1);
  white-space: nowrap;
  overflow: hidden;
  max-width: 0;
  border-right: 2px solid var(--neon-cyan);
  animation:
    typeline-type 2.8s steps(39, end) 0.6s forwards,
    typeline-caret 0.9s step-end infinite;
}
@keyframes typeline-type { to { max-width: 39ch; } }
@keyframes typeline-caret { 50% { border-right-color: transparent; } }
.hero__pill {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

/* ---------- Recording pill mockups (mirrors the real HUD) ---------- */
.pill {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-lg), 0 0 24px rgba(0, 229, 255, 0.10);
}
.pill--compact {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  width: 206px;
  padding: 8px 12px;
  border-radius: var(--r-pill);
}
.pill--compact .waveform--pill { flex: 1; justify-content: center; }
.pill--expanded {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  width: 100%;
  max-width: 480px;
  padding: var(--sp-4);
  border-radius: var(--r-lg);
}
.pill__main { display: flex; align-items: center; gap: var(--sp-3); }
.pill__mic {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--info-bg);
  color: var(--neon-cyan);
}
.pill__mic svg { width: 15px; height: 15px; }
.pill__mic--lg { width: 46px; height: 46px; border-radius: 13px; }
.pill__mic--lg svg { width: 22px; height: 22px; }
.pill__status { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pill__phase {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon-cyan);
}
.pill__sub { font-size: 11px; color: var(--fg-3); white-space: nowrap; }
.pill__main .waveform--pill { flex: 1; justify-content: center; }
.pill__x {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  color: var(--fg-3);
  background: var(--surface-overlay);
}
.pill__x svg { width: 11px; height: 11px; }
.pill__divider { height: 1px; background: var(--border-1); }
.pill__row { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.pill__label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-right: var(--sp-2);
}
.pill__chip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: 3px 8px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-1);
  background: var(--bg-elev-2);
}
.pill__chip.is-active {
  color: var(--neon-cyan);
  border-color: rgba(0, 229, 255, 0.40);
  background: var(--info-bg);
}

/* Smaller waveform variant used inside pills / chips */
.waveform--pill { height: 16px; gap: 2px; }
.waveform--pill > span { width: 2px; }

/* ---------- Aurora recording wave ----------
   Mirrors the app's RecordingPillWave "thinking" ripple: one continuous
   cyan -> violet -> magenta gradient laid across all bars, with a phase-
   offset ripple travelling left to right so it never stops waving.
   Each bar shows the slice of the shared gradient at its own x position
   (background-size = full strip width, background-position stepped per bar),
   so the bars together reconstruct a single aurora gradient. */
.waveform { gap: 2px; --wave-pitch: 5px; --wave-span: 50px; }
.waveform--pill { --wave-pitch: 4px; --wave-span: 40px; }
.waveform > span {
  border-radius: 1.5px;
  background: linear-gradient(90deg, var(--neon-cyan) 0%, var(--neon-violet) 52%, var(--neon-magenta) 100%);
  background-size: var(--wave-span) 100%;
  background-repeat: no-repeat;
  background-position: calc(var(--wi, 0) * var(--wave-pitch) * -1) center;
  transform-origin: center;
  animation: aurora-ripple 1.4s ease-in-out infinite;
  animation-delay: calc(var(--wi, 0) * -0.105s);
}
.waveform > span:nth-child(1)  { --wi: 0; }
.waveform > span:nth-child(2)  { --wi: 1; }
.waveform > span:nth-child(3)  { --wi: 2; }
.waveform > span:nth-child(4)  { --wi: 3; }
.waveform > span:nth-child(5)  { --wi: 4; }
.waveform > span:nth-child(6)  { --wi: 5; }
.waveform > span:nth-child(7)  { --wi: 6; }
.waveform > span:nth-child(8)  { --wi: 7; }
.waveform > span:nth-child(9)  { --wi: 8; }
.waveform > span:nth-child(10) { --wi: 9; }
@keyframes aurora-ripple {
  0%, 100% { transform: scaleY(0.26); }
  50%      { transform: scaleY(1); }
}

/* ---------- HUD section ---------- */
.hud-mocks {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: var(--sp-6);
  align-items: stretch;
}
.hud-mock { margin: 0; display: flex; flex-direction: column; gap: var(--sp-4); }
.hud-mock__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-7) var(--sp-5);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  background:
    radial-gradient(60% 80% at 50% 30%, rgba(0, 229, 255, 0.05), transparent 75%),
    var(--bg-elev-1);
}
.hud-mock figcaption { margin: 0; }
.hud__phases {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-top: var(--sp-6);
}
.badge--phase { text-transform: uppercase; letter-spacing: 0.1em; }
.hud__phasearrow { color: var(--fg-4); font-size: 12px; }
.hud__phasecaption { margin: var(--sp-3) 0 0; }

/* ---------- Translate flow visual ---------- */
.tflow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: var(--sp-5);
  align-items: center;
  margin-bottom: var(--sp-6);
}
.tflow__side { display: flex; flex-direction: column; gap: var(--sp-3); min-width: 0; }
.tflow__label { color: var(--fg-3); }
.tflow__chip {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  font-size: 14px;
  line-height: 1.5;
}
.tflow__chip--speech {
  background: var(--bg-elev-2);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: var(--fg-2);
  font-style: italic;
}
.tflow__chip--speech .waveform--pill { flex: none; }
.tflow__chip--typed {
  background: var(--bg-elev-3);
  border: 1px solid var(--border-2);
  color: var(--fg-1);
  box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.06);
}
.tflow__chip--typed .tflow__text::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--neon-cyan);
  animation: typeline-caret 0.9s step-end infinite;
}
.tflow__text { min-width: 0; }
.tflow__meta { margin: 0; }
.tflow__arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: var(--neon-cyan);
  text-align: center;
  max-width: 140px;
}
.tflow__arrow svg { width: 28px; height: 28px; }
.tflow__arrow .t-eyebrow { font-size: 9px; color: var(--fg-3); }

.tscenarios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-6);
}
.tscenario { display: flex; flex-direction: column; gap: var(--sp-3); }
.tscenario .t-eyebrow { color: var(--neon-violet); }
.tscenario h3 { color: var(--fg-1); margin: 0; }
.tscenario p { margin: 0; font-size: 14px; line-height: 1.55; }

/* ---------- Language marquee ---------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: inline-flex;
  gap: var(--sp-3);
  white-space: nowrap;
  width: max-content;
  animation: marquee 28s linear infinite;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee__caption { margin: var(--sp-3) 0 0; }

/* ---------- Problem → solution strip ---------- */
.pairs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.pair h3 { color: var(--fg-1); margin: 0 0 var(--sp-2); }
.pair p { margin: 0; }
.pair__no { color: var(--fg-3); display: block; margin-bottom: var(--sp-2); }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.feature.card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition:
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    opacity var(--dur-slow) var(--ease-out);
}
.feature.card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 229, 255, 0.30);
  box-shadow: var(--shadow-md), 0 0 24px rgba(0, 229, 255, 0.10);
}
.feature__icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--info-bg);
  color: var(--neon-cyan);
}
.feature__icon svg { width: 20px; height: 20px; }
.feature h3 { color: var(--fg-1); margin: 0; }
.feature p { margin: 0; font-size: 14px; line-height: 1.55; }
.feature__soon { align-self: flex-start; margin-top: auto; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); counter-reset: step; }
.step { position: relative; padding-top: var(--sp-5); }
.step__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-cyan);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: var(--sp-3);
}
.step h3 { color: var(--fg-1); margin: 0 0 var(--sp-2); }
.step p { margin: 0; font-size: 14px; }
.step .kbd { margin: 0 2px; }

/* ---------- Privacy section ---------- */
.privacy { border-top: 1px solid var(--border-1); border-bottom: 1px solid var(--border-1); background: var(--bg-elev-1); }
.privacy__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: start; }
.privacy__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-4); }
.privacy__list li { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: 15px; color: var(--fg-2); }
.privacy__check { color: var(--neon-lime); flex: none; margin-top: 2px; }
.privacy__check svg { width: 16px; height: 16px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: var(--sp-5); justify-content: center; }
.plan { display: flex; flex-direction: column; gap: var(--sp-4); }
.plan__name { color: var(--fg-1); margin: 0; }
.plan__tag { margin-left: var(--sp-2); }
.plan__price { display: flex; align-items: baseline; gap: var(--sp-2); }
.plan__amount {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: -0.02em;
  color: var(--fg-1);
}
.plan__cycle { color: var(--fg-3); font-size: 14px; }
.plan__alt { color: var(--fg-3); font-size: 13px; margin: 0; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-3); }
.plan li { display: flex; gap: var(--sp-2); align-items: flex-start; font-size: 14px; color: var(--fg-2); }
.plan li .tick { color: var(--neon-lime); flex: none; margin-top: 1px; }
.plan li .tick svg { width: 14px; height: 14px; }
.plan .btn { margin-top: auto; justify-content: center; }
.pricing__fineprint { text-align: center; margin-top: var(--sp-5); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq details {
  border: 1px solid var(--border-1);
  border-radius: var(--r-md);
  background: var(--bg-elev-1);
  padding: 0 var(--sp-5);
  margin-bottom: var(--sp-3);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--fg-1);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--fg-3);
  transition: transform var(--dur-quick) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 var(--sp-4); font-size: 14px; }

/* ---------- Waitlist band ---------- */
.waitband {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--sp-7);
  align-items: center;
  padding: var(--sp-7);
}
.waitband__copy .t-eyebrow { display: block; color: var(--neon-cyan); margin-bottom: var(--sp-3); }
.waitband__copy h2 { color: var(--fg-1); margin: 0 0 var(--sp-3); }
.waitband__copy p { margin: 0; }
.waitband .waitlist-form { margin: 0; max-width: none; }
.waitband .waitlist-form__done { margin: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border-1); padding: var(--sp-7) 0; }
.footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  justify-content: space-between;
  align-items: flex-start;
}
.footer__brand { display: flex; flex-direction: column; gap: var(--sp-3); max-width: 320px; }
.footer__links { display: flex; gap: var(--sp-7); flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer__col strong {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg-3);
  margin-bottom: var(--sp-2);
}
.footer a { color: var(--fg-2); text-decoration: none; font-size: 14px; }
.footer a:hover { color: var(--fg-1); }
.footer__legal { margin-top: var(--sp-6); display: flex; gap: var(--sp-4); flex-wrap: wrap; align-items: center; }
.footer__legal .t-caption { margin: 0; }
.lang-switch { display: flex; gap: var(--sp-2); align-items: center; }
.lang-switch a, .lang-switch span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg-3);
  padding: 2px 6px;
  border-radius: var(--r-xs);
}
.lang-switch a:hover { color: var(--fg-1); background: var(--surface-overlay); }
.lang-switch .is-active { color: var(--neon-cyan); border: 1px solid rgba(0, 229, 255, 0.25); }

/* ---------- Legal reading pages ---------- */
.legal { max-width: 960px; margin: 0 auto; padding: var(--sp-8) var(--sp-7); }
.legal h1 { color: var(--fg-1); margin: 0 0 var(--sp-2); }
.legal__meta { display: flex; gap: var(--sp-3); align-items: center; margin-bottom: var(--sp-7); }
.legal h2 { color: var(--fg-1); margin: var(--sp-7) 0 var(--sp-3); }
.legal h3 { color: var(--fg-1); margin: var(--sp-5) 0 var(--sp-2); }
.legal p, .legal li { font-size: 15px; line-height: 1.65; }
.legal ul, .legal ol { padding-left: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: var(--sp-4) 0; }
.legal th, .legal td {
  text-align: left;
  padding: var(--sp-3);
  border: 1px solid var(--border-1);
  color: var(--fg-2);
  vertical-align: top;
}
.legal th { color: var(--fg-1); font-family: var(--font-body); font-weight: 600; background: var(--bg-elev-1); }
.legal__notice {
  border: 1px solid rgba(255, 181, 70, 0.25);
  background: var(--warning-bg);
  color: var(--fg-2);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  font-size: 14px;
  margin-bottom: var(--sp-6);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora::before { animation: none; }
  /* Freeze the ripple as a static wave silhouette; keep the aurora gradient. */
  .waveform > span { animation: none; }
  .waveform > span:nth-child(1)  { transform: scaleY(0.30); }
  .waveform > span:nth-child(2)  { transform: scaleY(0.58); }
  .waveform > span:nth-child(3)  { transform: scaleY(0.92); }
  .waveform > span:nth-child(4)  { transform: scaleY(0.66); }
  .waveform > span:nth-child(5)  { transform: scaleY(0.40); }
  .waveform > span:nth-child(6)  { transform: scaleY(0.78); }
  .waveform > span:nth-child(7)  { transform: scaleY(1.00); }
  .waveform > span:nth-child(8)  { transform: scaleY(0.62); }
  .waveform > span:nth-child(9)  { transform: scaleY(0.36); }
  .waveform > span:nth-child(10) { transform: scaleY(0.70); }
  .btn, .input, .textarea { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .typeline {
    animation: none;
    max-width: none;
    border-right: none;
  }
  .tflow__chip--typed .tflow__text::after { animation: none; }
  .marquee__track { animation: none; }
  .feature.card { transition: none; }
  .feature.card:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .container { padding: 0 var(--sp-5); }
  .features, .pairs, .steps { grid-template-columns: repeat(2, 1fr); }
  .privacy__grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-7); }
  .hero__visual { max-width: 560px; }
  .hud-mocks { grid-template-columns: 1fr; }
  .tflow { grid-template-columns: 1fr; }
  .tflow__arrow { flex-direction: row; max-width: none; }
  .tflow__arrow svg { transform: rotate(90deg); }
  .waitband { grid-template-columns: 1fr; gap: var(--sp-5); }
  :root { --ts-display-1-size: 48px; }
}
@media (max-width: 768px) {
  .nav__links a:not(.btn) { display: none; }
  .plans { grid-template-columns: 1fr; }
  .section { padding: var(--sp-8) 0; }
  .tscenarios { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .features, .pairs, .steps { grid-template-columns: 1fr; }
  :root { --ts-display-1-size: 38px; }
  .container { padding: 0 var(--sp-4); }
  .waitlist-form__row { flex-direction: column; }
  .waitlist-form__row .btn { width: 100%; justify-content: center; }
  .pill--expanded { padding: var(--sp-3); }
  .pill__sub { display: none; }
  .waitband { padding: var(--sp-5); }
}
