/* ==========================================================================
   EchoLab marketing site — design system
   Palette and type pulled from the product's own tokens:
   ink canvas, coral accent (#FE6457), mono for anything that is data.
   ========================================================================== */

/* ---- Fonts (vendored, variable) ---- */
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  /* Brand wordmark face — matches the app's --font-display */
  font-family: "Inter Tight";
  src: url("../assets/fonts/inter-tight-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jetbrains-mono-var-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  --ink-950: #07090b;
  --ink-900: #0b0e11;
  --ink-850: #10141a;
  --ink-800: #161b20;
  --ink-700: #1f262e;
  --ink-600: #2a333d;
  --line: rgba(232, 236, 239, 0.08);
  --line-strong: rgba(232, 236, 239, 0.16);
  --chalk: #e8ecef;
  --chalk-dim: #b9c2ca;
  --slate: #8b98a5;
  --coral: #fe6457;
  --coral-deep: #f4184b;
  --coral-soft: rgba(254, 100, 87, 0.14);
  --live: #4fd483;
  --live-soft: rgba(79, 212, 131, 0.14);

  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wide: "wdth" 122;
  --semi-wide: "wdth" 112;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --container: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--chalk);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--chalk);
  text-decoration: none;
}

p {
  margin: 0 0 1em;
  color: var(--chalk-dim);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.4em;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-variation-settings: var(--semi-wide);
  color: var(--chalk);
  text-wrap: balance;
}

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

::selection {
  background: var(--coral);
  color: var(--ink-950);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--coral);
  color: var(--ink-950);
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

/* ---- Mono utility voice ---- */
.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--coral);
  flex: none;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ink-900) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

/* The EchoLab wordmark: echo-arcs glyph + lowercase "echolab" in the
   product's display face (Inter Tight 800, tight tracking). Glyph geometry
   comes from the app's EchoGlyph component — do not modify. */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "Inter Tight", var(--font-sans);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variation-settings: normal;
  color: var(--chalk);
}
.wordmark svg {
  width: 1.2em;
  height: 1.16em;
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--chalk-dim);
  transition: color 140ms ease;
}
.nav-links a:hover {
  color: var(--chalk);
}
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover {
  color: var(--ink-950);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--chalk);
  padding: 8px 10px;
  cursor: pointer;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--coral);
  color: var(--ink-950);
}
.btn-primary:hover {
  background: #ff7a6e;
}
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--chalk);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--coral);
  color: var(--chalk);
}
.btn-sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(64px, 10vw, 128px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
}
.hero::before {
  /* one quiet atmosphere layer: coral heat rising from below the timeline */
  content: "";
  position: absolute;
  inset: auto 0 -40% 0;
  height: 70%;
  background: radial-gradient(60% 55% at 50% 100%, rgba(244, 24, 75, 0.16), transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  margin-bottom: 28px;
}
.hero-kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 4px var(--live-soft);
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  font-weight: 800;
  font-variation-settings: var(--wide);
  letter-spacing: -0.025em;
  line-height: 1.02;
  max-width: 15ch;
  margin-bottom: 24px;
}
.hero h1 .accent {
  color: var(--coral);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 54ch;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 0;
}

/* ==========================================================================
   Signature: the replay timeline
   ========================================================================== */
.timeline-wrap {
  margin-top: clamp(44px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--ink-850), var(--ink-900));
  padding: clamp(20px, 3vw, 32px);
}

.timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.timeline-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}
.delay-picker {
  display: flex;
  gap: 6px;
  margin-left: auto;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px;
}
.delay-picker button {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}
.delay-picker button:hover {
  color: var(--chalk);
}
.delay-picker button[aria-pressed="true"] {
  background: var(--coral);
  color: var(--ink-950);
}

.timeline {
  --playhead: 78%; /* set by JS from the picked delay */
  position: relative;
  height: 118px;
  border-radius: var(--radius-md);
  background: var(--ink-950);
  border: 1px solid var(--line);
  overflow: hidden;
}

/* crawling tick strip */
.timeline .ticks {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(232, 236, 239, 0.16) 0 1px,
      transparent 1px 24px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(232, 236, 239, 0.34) 0 1px,
      transparent 1px 120px
    );
  background-size: 240px 38%, 240px 62%;
  background-position: 0 100%, 0 100%;
  background-repeat: repeat-x;
  animation: crawl 6s linear infinite;
  opacity: 0.55;
}
@keyframes crawl {
  to {
    background-position: -240px 100%, -240px 100%;
  }
}

/* the delay window: everything between your TV and live */
.timeline .window {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--playhead);
  right: 8%;
  background: linear-gradient(90deg, rgba(254, 100, 87, 0.16), rgba(254, 100, 87, 0.03));
  border-left: 2px solid var(--coral);
  transition: left 500ms cubic-bezier(0.3, 0.9, 0.3, 1);
}

/* markers */
.marker {
  position: absolute;
  top: 12px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marker .flag {
  border-radius: var(--radius-pill);
  padding: 5px 12px;
}
.marker-live {
  left: 92%;
  color: var(--live);
}
.marker-live .flag {
  background: var(--live-soft);
  border: 1px solid rgba(79, 212, 131, 0.4);
  display: flex;
  align-items: center;
  gap: 7px;
}
.marker-live .flag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}
.marker-tv {
  left: var(--playhead);
  color: var(--coral);
  transition: left 500ms cubic-bezier(0.3, 0.9, 0.3, 1);
}
.marker-tv .flag {
  background: var(--coral);
  color: var(--ink-950);
}
.marker .stem {
  width: 2px;
  flex: 1;
  min-height: 34px;
  background: currentColor;
  opacity: 0.6;
}
.marker-tv .stem {
  opacity: 1;
}

.timeline .readout {
  position: absolute;
  left: 16px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.04em;
}
.timeline .readout .label {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--slate);
  margin-bottom: 2px;
}

.timeline-caption {
  margin: 16px 2px 0;
  font-size: 0.88rem;
  color: var(--slate);
}

/* ==========================================================================
   Store badges
   ========================================================================== */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 10px 18px 10px 14px;
  background: var(--ink-850);
  transition: border-color 140ms ease, transform 140ms ease;
}
.store-badge:hover {
  border-color: var(--coral);
  transform: translateY(-1px);
}
.store-badge svg {
  width: 24px;
  height: 24px;
  color: var(--chalk);
  flex: none;
}
.store-badge .small {
  display: block;
  font-size: 0.66rem;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.store-badge .big {
  display: block;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.25;
}
.store-badge.soon {
  opacity: 0.55;
  pointer-events: none;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: clamp(64px, 9vw, 120px) 0;
  border-top: 1px solid var(--line);
}
.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 750;
}
.section-head p {
  font-size: 1.08rem;
}

/* ---- How it works ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-850);
  padding: 28px 26px 26px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--coral);
  display: inline-block;
  border: 1px solid rgba(254, 100, 87, 0.35);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  margin-bottom: 18px;
}
.step h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.step p {
  font-size: 0.95rem;
  margin: 0;
}

/* ---- Feature grid ---- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-850);
  padding: 26px 24px;
  transition: border-color 160ms ease;
}
.feature:hover {
  border-color: rgba(254, 100, 87, 0.4);
}
.feature .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--coral-soft);
  color: var(--coral);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature .icon svg {
  width: 22px;
  height: 22px;
}
.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.feature p {
  font-size: 0.93rem;
  margin: 0;
}
.feature .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  border: 1px solid rgba(254, 100, 87, 0.4);
  border-radius: var(--radius-pill);
  padding: 3px 9px;
  margin-left: 8px;
  vertical-align: 2px;
}

/* ---- Sports strip ---- */
.sports-strip {
  border-block: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: var(--ink-950);
}
.sports-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.sports-track span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 48px;
}
.sports-track span::after {
  content: "·";
  color: var(--coral);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---- Split sections (phone-as-camera, privacy) ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.split > * {
  min-width: 0;
}
.split h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.split .body p {
  font-size: 1.02rem;
}
.checklist {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.checklist li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--chalk-dim);
  font-size: 0.98rem;
}
.checklist li::before {
  content: "→";
  color: var(--coral);
  font-family: var(--font-mono);
  flex: none;
}

/* phone-as-camera visual */
.pair-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-850);
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
}
.device {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--ink-950);
  position: relative;
}
.device .screen-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  text-align: center;
  line-height: 1.8;
}
.device-phone {
  width: 78px;
  height: 150px;
  border-radius: 16px;
}
.device-tv {
  width: 220px;
  height: 132px;
}
.device-tv::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: var(--ink-600);
}
.device .rec {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse 1.6s ease-in-out infinite;
}
.pair-arrow {
  font-family: var(--font-mono);
  color: var(--coral);
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.pair-arrow .wifi {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--slate);
  text-transform: uppercase;
}
.device-tv .screen-label .delay-chip {
  font-size: 0.72rem;
  color: var(--coral);
  border: 1px solid rgba(254, 100, 87, 0.4);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
}

/* privacy visual */
.privacy-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-850);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
}
.privacy-ring {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 1px dashed var(--line-strong);
  display: grid;
  place-items: center;
  position: relative;
}
.privacy-ring::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 1px solid rgba(254, 100, 87, 0.35);
}
.privacy-ring svg {
  width: 40px;
  height: 40px;
  color: var(--coral);
}
.privacy-visual .mono-line {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.billing-toggle {
  display: inline-flex;
  gap: 6px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 40px;
}
.billing-toggle button {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate);
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  cursor: pointer;
}
.billing-toggle button[aria-pressed="true"] {
  background: var(--ink-600);
  color: var(--chalk);
}
.billing-toggle .save {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--coral);
  margin-left: 6px;
  letter-spacing: 0.06em;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-850);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: rgba(254, 100, 87, 0.55);
  background: linear-gradient(180deg, rgba(254, 100, 87, 0.07), transparent 40%), var(--ink-850);
  position: relative;
}
.plan.featured .plan-flag {
  position: absolute;
  top: -12px;
  left: 28px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--coral);
  color: var(--ink-950);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}
.plan h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.plan .plan-for {
  font-size: 0.88rem;
  color: var(--slate);
  margin-bottom: 22px;
}
.plan .price {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--chalk);
  letter-spacing: -0.02em;
}
.plan .price .per {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0;
}
.plan .price-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--slate);
  min-height: 1.4em;
  margin-bottom: 22px;
}
.plan ul {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.plan li {
  display: flex;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--chalk-dim);
}
.plan li::before {
  content: "✓";
  color: var(--coral);
  font-weight: 700;
  flex: none;
}
.plan li.dim {
  color: var(--slate);
}
.plan li.dim::before {
  content: "—";
  color: var(--ink-600);
}
.plan .btn {
  margin-top: auto;
}
.pricing-note {
  margin-top: 26px;
  font-size: 0.88rem;
  color: var(--slate);
  max-width: 62ch;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 760px;
  display: grid;
  gap: 12px;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ink-850);
  overflow: hidden;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--chalk);
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--coral);
  transition: transform 160ms ease;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list .answer {
  padding: 0 22px 20px;
  font-size: 0.95rem;
  color: var(--chalk-dim);
}
.faq-list .answer p {
  margin-bottom: 0.6em;
}
.faq-list .answer p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta-final {
  text-align: center;
  padding: clamp(72px, 10vw, 130px) 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(50% 60% at 50% 110%, rgba(244, 24, 75, 0.18), transparent 70%),
    var(--ink-950);
}
.cta-final h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  font-variation-settings: var(--wide);
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin: 0 auto 18px;
}
.cta-final p {
  max-width: 46ch;
  margin: 0 auto 32px;
}
.cta-final .stores {
  justify-content: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  background: var(--ink-950);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 44px;
}
.footer-brand p {
  font-size: 0.9rem;
  max-width: 30ch;
  color: var(--slate);
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-col a {
  font-size: 0.92rem;
  color: var(--chalk-dim);
}
.footer-col a:hover {
  color: var(--coral);
}
.footer-meta {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--slate);
}

/* ==========================================================================
   Interior pages (legal, support, guides)
   ========================================================================== */
.page-hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 48px);
}
.page-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  font-weight: 800;
  font-variation-settings: var(--wide);
  letter-spacing: -0.02em;
}
.page-hero .updated {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}
.page-hero .lede {
  font-size: 1.1rem;
  max-width: 58ch;
}

.prose {
  padding-bottom: clamp(72px, 9vw, 120px);
}
.prose > * {
  max-width: 760px;
}
.prose h2 {
  font-size: 1.5rem;
  margin: 2.2em 0 0.6em;
}
.prose h3 {
  font-size: 1.15rem;
  margin: 1.8em 0 0.5em;
}
.prose ul,
.prose ol {
  color: var(--chalk-dim);
  padding-left: 1.3em;
  margin: 0 0 1.2em;
}
.prose li {
  margin-bottom: 0.5em;
}
.prose a {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(254, 100, 87, 0.4);
}
.prose a:hover {
  text-decoration-color: var(--coral);
}
.prose strong {
  color: var(--chalk);
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 7px;
  color: var(--chalk);
}
.prose .callout {
  border: 1px solid rgba(254, 100, 87, 0.35);
  border-radius: var(--radius-md);
  background: var(--coral-soft);
  padding: 18px 22px;
  margin: 1.4em 0;
}
.prose .callout p {
  margin: 0;
  color: var(--chalk);
  font-size: 0.95rem;
}

/* guide step cards */
.guide-steps {
  display: grid;
  gap: 16px;
  margin: 1.4em 0 2em;
  counter-reset: gstep;
}
.guide-step {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ink-850);
  padding: 22px 24px 20px;
  position: relative;
}
.guide-step::before {
  counter-increment: gstep;
  content: counter(gstep);
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--coral);
}
.guide-step h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  padding-right: 40px;
}
.guide-step p {
  margin: 0;
  font-size: 0.94rem;
}

/* support cards */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: clamp(44px, 6vw, 64px);
}
.support-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-850);
  padding: 26px 24px;
}
.support-card h3 {
  font-size: 1.05rem;
}
.support-card p {
  font-size: 0.92rem;
}
.support-card .mono-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--coral);
}

/* reveal on scroll — only hidden when JS is running (html.js) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .steps,
  .features,
  .plans,
  .support-grid {
    grid-template-columns: 1fr 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split .visual {
    order: -1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .steps,
  .features,
  .plans,
  .support-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink-900);
    border-bottom: 1px solid var(--line);
    padding: 8px 0 16px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px var(--gutter);
  }
  .nav-links .btn {
    margin: 10px var(--gutter) 0;
  }
  .nav-toggle {
    display: block;
  }
  .timeline {
    height: 104px;
  }
  .pair-visual {
    gap: 14px;
    padding: 20px 16px;
  }
  .device-tv {
    width: 168px;
    height: 101px;
  }
  .device-phone {
    width: 62px;
    height: 120px;
  }
  .marker-live {
    left: 88%;
  }
  .marker .flag {
    padding: 4px 9px;
  }
  .marker {
    font-size: 0.6rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .timeline .ticks,
  .sports-track,
  .marker-live .flag::before,
  .device .rec {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .timeline .window,
  .marker-tv {
    transition: none;
  }
}
