/* Components & section layout for The Lineup Is landing */

/* ─── Phone frame ─────────────────────────────────────────── */
.phone {
  position: relative;
  width: 380px;
  height: 780px;
  background: #0b0b0d;
  border-radius: 54px;
  padding: 10px;
  box-shadow: var(--shadow-device),
              inset 0 0 0 2px #2a2a2d,
              inset 0 0 0 4px #0b0b0d;
  flex-shrink: 0;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: var(--bg-primary);
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 34px;
  background: #0b0b0d;
  border-radius: 20px;
  z-index: 10;
}
.phone-statusbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 30px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  z-index: 5;
  pointer-events: none;
}
.phone-statusbar .right { display: inline-flex; align-items: center; gap: 6px; }
.phone-statusbar svg { display: block; }
.phone.dark .phone-statusbar { color: #fff; }

/* ─── Worth Watching app screen ────────────────────────────── */
.ww {
  position: absolute;
  inset: 0;
  padding: 56px 18px 18px;
  overflow: hidden;
  transition: background-image 1.2s ease, background-color 1.2s ease;
}
.ww-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 6px 8px;
}
.ww-wordmark {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  color: var(--terracotta);
  letter-spacing: -0.01em;
}
.ww-pill {
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.ww-tabs {
  display: flex;
  gap: 20px;
  padding: 4px 6px 14px;
  font-size: 14px;
  color: var(--text-tertiary);
}
.ww-tab { padding-bottom: 4px; font-weight: 500; }
.ww-tab.active {
  color: var(--terracotta);
  font-weight: 600;
  border-bottom: 1.5px solid var(--terracotta);
}
.ww-title {
  padding: 8px 6px 14px;
  font-size: 19px;
  line-height: 1.3;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}
.ww-title em { font-style: italic; font-family: var(--font-serif); font-weight: 400; }
.ww-section {
  padding: 4px 6px 6px;
  display: flex; justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ─── Game card (in Worth Watching list) ─────────────────── */
.gcard {
  background: var(--bg-elevated);
  border-radius: var(--r-lg);
  padding: 14px 16px 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 16px rgba(181, 113, 91, 0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease, max-height 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), margin 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), padding 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
  max-height: 240px;
}
.gcard.dimmed { filter: grayscale(1) brightness(0.97); opacity: 0.45; }
.gcard.collapsed {
  max-height: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  transform: scale(0.97);
}
.gcard-kicker {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 2px;
}
.gcard-time {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.gcard-time .dot { color: var(--text-tertiary); margin: 0 6px; }
.gcard-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}
.gcard-row .logo { width: 28px; height: 28px; }
.gcard-row .name { font-weight: 600; font-size: 15px; color: var(--text-primary); letter-spacing: -0.01em; }
.gcard-row .record { font-size: 12px; color: var(--text-tertiary); margin-left: 6px; font-variant-numeric: tabular-nums; }
.gcard-row .score { font-size: 20px; font-weight: 800; font-family: var(--font-sans); font-stretch: condensed; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.gcard-row .score.loser { color: var(--text-tertiary); }
.gcard-narr {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-secondary);
  letter-spacing: -0.005em;
}
.gcard-narr em { font-family: var(--font-serif); font-style: italic; color: var(--text-primary); font-weight: 400; }

/* Live badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--terracotta);
  color: var(--on-primary);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 7px 3px 8px;
  border-radius: 4px;
  vertical-align: 2px;
  margin-right: 6px;
}
.live-badge .pulse { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ─── Importance gauge (arc) ─────────────────────────────── */
.gauge {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  max-width: 320px;
}
.gauge svg { width: 100%; height: 100%; display: block; overflow: visible; }
.gauge-arc-bg { fill: none; stroke: rgba(255,255,255,0.2); stroke-width: 4; stroke-linecap: round; }
.gauge-arc-fg {
  fill: none;
  stroke: rgba(255,255,255,0.92);
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gauge-tick { fill: rgba(255,255,255,0.6); }
.gauge-score {
  position: absolute;
  left: 0; right: 0; top: 58%;
  text-align: center;
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.gauge-card {
  background: var(--terracotta);
  border-radius: var(--r-xl);
  padding: 28px 24px 26px;
  color: var(--on-primary);
  box-shadow: 0 6px 20px rgba(181, 113, 91, 0.25);
}
.gauge-card .gauge { margin: 0 auto 16px; }
.gauge-narr {
  text-align: center;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255, 252, 249, 0.92);
  max-width: 280px;
  margin: 0 auto;
}
.gauge-narr em { font-family: var(--font-serif); font-style: italic; }
.gauge-factors { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.15); }
.gauge-factors .label { font-size: 12px; color: rgba(255,252,249,0.75); margin-bottom: 10px; }
.gauge-factors .label em { font-family: var(--font-serif); font-style: italic; }
.gauge-factor { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 5px 0; font-size: 13px; color: rgba(255,252,249,0.9); }
.gauge-factor .bar { grid-column: 1 / -1; height: 3px; background: rgba(255,252,249,0.2); border-radius: 2px; overflow: hidden; }
.gauge-factor .bar > span { display: block; height: 100%; background: rgba(255,252,249,0.85); border-radius: 2px; }

/* ─── Section layout ─────────────────────────────────────── */
.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.section {
  padding: 140px 0;
  position: relative;
}
.section-tight { padding: 96px 0; }

h1, h2, h3 { margin: 0; letter-spacing: -0.025em; color: var(--text-primary); text-wrap: balance; }
h1 {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
h3 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.1;
}
h1 em, h2 em, h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.display-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}
p.lede {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 44ch;
  text-wrap: pretty;
}

/* ─── Nav ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(250, 247, 242, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--border-subtle); background: rgba(250, 247, 242, 0.88); }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--terracotta);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.nav-links { display: flex; gap: 24px; font-size: 14px; }
.nav-links a { color: var(--text-secondary); text-decoration: none; }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta { font-size: 14px !important; padding: 10px 18px !important; }

/* ─── Hero (full-bleed evening gradient) ─── */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 60px 40px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
/* 3x3 mesh gradient — emulates SwiftUI MeshGradient with 9 corner/edge/center stops.
   Color order matches BrandColors.swift lightEvening.meshColors exactly:
   [c1, c2, c4,  c4, c3, c2,  c5, c4, c5]
   Each radial is soft & overlapping so the grid bleeds into a smooth mesh. */
.mesh-bg {
  background-color: var(--mesh-c3);
  background-image:
    /* top-left c1, top-center c2, top-right c4 */
    radial-gradient(ellipse 48% 48% at 0% 0%,    var(--mesh-c1) 0%, transparent 70%),
    radial-gradient(ellipse 48% 48% at 50% 0%,   var(--mesh-c2) 0%, transparent 70%),
    radial-gradient(ellipse 48% 48% at 100% 0%,  var(--mesh-c4) 0%, transparent 70%),
    /* mid-left c4, center c3, mid-right c2 */
    radial-gradient(ellipse 48% 48% at 0% 50%,   var(--mesh-c4) 0%, transparent 70%),
    radial-gradient(ellipse 55% 55% at 50% 50%,  var(--mesh-c3) 0%, transparent 70%),
    radial-gradient(ellipse 48% 48% at 100% 50%, var(--mesh-c2) 0%, transparent 70%),
    /* bottom-left c5, bottom-center c4, bottom-right c5 */
    radial-gradient(ellipse 48% 48% at 0% 100%,  var(--mesh-c5) 0%, transparent 70%),
    radial-gradient(ellipse 48% 48% at 50% 100%, var(--mesh-c4) 0%, transparent 70%),
    radial-gradient(ellipse 48% 48% at 100% 100%,var(--mesh-c5) 0%, transparent 70%);
  transition: background-color 2s ease, background-image 2s ease;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -40px -40px -200px -40px;
  z-index: -1;
  background-color: var(--mesh-c3);
  background-image:
    radial-gradient(ellipse 48% 48% at 0% 0%,    var(--mesh-c1) 0%, transparent 70%),
    radial-gradient(ellipse 48% 48% at 50% 0%,   var(--mesh-c2) 0%, transparent 70%),
    radial-gradient(ellipse 48% 48% at 100% 0%,  var(--mesh-c4) 0%, transparent 70%),
    radial-gradient(ellipse 48% 48% at 0% 50%,   var(--mesh-c4) 0%, transparent 70%),
    radial-gradient(ellipse 55% 55% at 50% 50%,  var(--mesh-c3) 0%, transparent 70%),
    radial-gradient(ellipse 48% 48% at 100% 50%, var(--mesh-c2) 0%, transparent 70%),
    radial-gradient(ellipse 48% 48% at 0% 100%,  var(--mesh-c5) 0%, transparent 70%),
    radial-gradient(ellipse 48% 48% at 50% 100%, var(--mesh-c4) 0%, transparent 70%),
    radial-gradient(ellipse 48% 48% at 100% 100%,var(--mesh-c5) 0%, transparent 70%);
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 92%);
          mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 92%);
  transition: background-color 2s ease, background-image 2s ease;
}
.hero > * { position: relative; z-index: 2; }
.hero-kicker {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(44, 40, 37, 0.7);
  margin-bottom: 28px;
}
.hero-headline {
  max-width: 16ch;
  margin: 0 auto 28px;
  color: #2C2825;
}
.hero-sub {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.5;
  color: rgba(44, 40, 37, 0.78);
  max-width: 52ch;
  margin: 0 auto 40px;
  text-wrap: pretty;
}
.hero-ctas { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 70px; }
.hero-device { margin: 0 auto; }

/* ─── Split insight / how-it-works rows ─── */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.row.reversed { direction: rtl; }
.row.reversed > * { direction: ltr; }
.row .copy { max-width: 32rem; }
.row .copy .eyebrow { margin-bottom: 16px; display: block; }
.row .copy h2 { margin-bottom: 22px; }
.row .copy p.lede { margin-bottom: 24px; }
.row .visual { display: flex; justify-content: center; }
.copy-sticky { position: sticky; top: 80px; align-self: flex-start; }

/* ─── Insight 38 → 4 ─── */
.counter {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(96px, 14vw, 180px);
  line-height: 1;
  color: var(--terracotta);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}

/* Insight section: 1/2 copy + 1/4 phone + 1/4 phone */
.insight-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  align-items: end;
}
.insight-copy {
  max-width: 34rem;
  align-self: center;
}
.insight-copy h2 {
  margin-bottom: 22px;
}
.insight-col {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.phone-placeholder {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: #efeae2;
  border: 1px dashed #d9d2c5;
  border-radius: 36px;
}
.insight-col figcaption {
  text-align: left;
}
.insight-count {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 84px;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.insight-count.accent {
  color: var(--terracotta);
}
.insight-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-top: 10px;
}

@media (max-width: 720px) {
  .insight-row {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .insight-copy {
    grid-column: 1 / -1;
    max-width: none;
  }
}

/* ─── Threshold slider (Beat 3) — full-width layout ─── */
.threshold-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.threshold-controls {
  position: sticky;
  top: 80px;
  align-self: start;
}
@media (max-width: 900px) {
  .threshold-full {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .threshold-controls { position: static; }
}
.threshold {
  background: transparent;
  padding: 0;
}
.presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.preset {
  border: 1.5px solid var(--border-default);
  background: var(--bg-primary);
  border-radius: var(--r-md);
  padding: 12px 10px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}
.preset.active {
  border-color: var(--terracotta);
  background: var(--terracotta-subtle);
}
.preset .preset-name { font-weight: 600; font-size: 14px; color: var(--text-primary); }
.preset .preset-hint { font-size: 11px; color: var(--text-tertiary); margin-top: 2px; line-height: 1.25; }
.preset.active .preset-name { color: var(--terracotta); }
.threshold-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 12px 0 8px;
}
.threshold-label { font-weight: 600; font-size: 15px; color: var(--text-primary); }
.threshold-value { font-size: 15px; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.threshold-hint { font-size: 12px; color: var(--text-tertiary); margin-top: 6px; }

input.tli-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--terracotta) var(--pct, 50%), var(--border-default) var(--pct, 50%));
  outline: none;
  margin: 10px 0 4px;
}
input.tli-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.04);
  cursor: grab;
}
input.tli-slider::-webkit-slider-thumb:active { cursor: grabbing; }
input.tli-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.04);
}

/* ─── Lock screen section ─── */
.lock-section {
  background: var(--bg-secondary);
  padding-bottom: 0;
  overflow: hidden;
}
.lock-copy {
  max-width: 32rem;
  margin-bottom: 64px;
}
.lock-copy h2 { margin-bottom: 22px; }
.lock-device-crop {
  position: relative;
  display: flex;
  justify-content: center;
  height: 480px;
  overflow: hidden;
}
.lock-device-crop .phone {
  position: absolute;
  bottom: 80px;
}
.lock-device-fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 900px) {
  .lock-device-crop { height: 380px; }
  .lock-device-fade { height: 100px; }
}

/* ─── Lock screen (inner) ─── */
.lock-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px 20px 40px;
  transition: background 1s ease;
}
.lock-time {
  text-align: center;
  margin-top: 42px;
}
.lock-date {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.lock-clock {
  font-size: 92px;
  font-weight: 200;
  color: rgba(255,255,255,0.98);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.lock-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.live-activity {
  background: rgba(235, 225, 210, 0.88);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border-radius: 22px;
  padding: 14px 16px 16px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.4);
}
.la-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-align: center;
}
.la-top em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.la-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.la-teams .side { display: flex; align-items: center; gap: 10px; }
.la-teams .side.away { justify-content: flex-start; }
.la-teams .side.home { justify-content: flex-end; }
.la-teams .logo { width: 38px; height: 38px; flex-shrink: 0; }
.la-teams .score { font-size: 32px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.la-teams .score.loser { color: var(--text-primary); }
.la-teams .middle { text-align: center; font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.la-labels {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-top: 2px;
  padding: 0 48px;
}
.la-labels > :first-child { text-align: left; }
.la-labels > :last-child { text-align: right; }
.la-ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(44,40,37,0.08);
  font-size: 11.5px;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.la-ticker strong { font-weight: 700; }
.la-ticker .t-min { color: var(--text-tertiary); margin-left: 2px; }
.la-ticker .t-star { color: var(--text-tertiary); font-size: 9px; }
.lock-dock {
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
}
.lock-dock-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.lock-dock-btn svg { width: 20px; height: 20px; }

/* Beta CTA — identical mesh to the hero (same stops, same 60% opacity) */
#beta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
#beta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--mesh-c3);
  background-image:
    radial-gradient(ellipse 48% 48% at 0% 0%,    var(--mesh-c1) 0%, transparent 70%),
    radial-gradient(ellipse 48% 48% at 50% 0%,   var(--mesh-c2) 0%, transparent 70%),
    radial-gradient(ellipse 48% 48% at 100% 0%,  var(--mesh-c4) 0%, transparent 70%),
    radial-gradient(ellipse 48% 48% at 0% 50%,   var(--mesh-c4) 0%, transparent 70%),
    radial-gradient(ellipse 55% 55% at 50% 50%,  var(--mesh-c3) 0%, transparent 70%),
    radial-gradient(ellipse 48% 48% at 100% 50%, var(--mesh-c2) 0%, transparent 70%),
    radial-gradient(ellipse 48% 48% at 0% 100%,  var(--mesh-c5) 0%, transparent 70%),
    radial-gradient(ellipse 48% 48% at 50% 100%, var(--mesh-c4) 0%, transparent 70%),
    radial-gradient(ellipse 48% 48% at 100% 100%,var(--mesh-c5) 0%, transparent 70%);
  opacity: 0.6;
  transition: background-color 2s ease, background-image 2s ease;
}
#beta > * { position: relative; z-index: 1; }
.cta-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 0;
}
.cta-block h2 { margin-bottom: 18px; }
.cta-block .lede { margin: 0 auto 36px; }
.email-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 20px auto 0;
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: 999px;
  padding: 5px 5px 5px 20px;
  align-items: center;
}
.email-form input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--text-primary);
  padding: 10px 0;
  outline: none;
}
.email-form input::placeholder { color: var(--text-tertiary); }
.email-form button {
  border: none;
  background: var(--terracotta);
  color: var(--on-primary);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.2s ease;
}
.email-form button:hover { background: var(--terracotta-pressed); }
.email-form.success {
  border-color: var(--success);
  color: var(--success);
  justify-content: center;
}
.android-label {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 32px;
  margin-bottom: 8px;
}

/* ─── Footer ─── */
.footer {
  padding: 60px 40px 50px;
  background: var(--terracotta);
  font-size: 13px;
  color: rgba(254, 252, 249, 0.7);
}
.footer-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 36px);
  color: rgba(254, 252, 249, 0.4);
  letter-spacing: -0.02em;
  padding-bottom: 48px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(254, 252, 249, 0.12);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer a { color: rgba(254, 252, 249, 0.85); text-decoration: none; margin-left: 24px; }
.footer a:hover { color: #fff; }
.footer .small-wordmark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: #fff;
}

/* ─── Hero staggered entrance ─── */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.hero-headline, .hero-sub, .hero-ctas, .hero-device {
  opacity: 0;
  animation: hero-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-headline { animation-delay: 0.1s; }
.hero-sub      { animation-delay: 0.25s; }
.hero-ctas     { animation-delay: 0.4s; }
.hero-device   { animation-delay: 0.6s; animation-duration: 1s; }

/* ─── Reveal on scroll ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }
/* Stagger children within a reveal row */
.reveal.in .copy  { transition-delay: 0s; }
.reveal.in .visual { transition-delay: 0.15s; }
.reveal .copy, .reveal .visual {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in .copy, .reveal.in .visual {
  opacity: 1;
  transform: none;
}


/* ─── Insight phone "film" ─────────────────────────────────
   Dense list of noise rows scrolls by, then fades to three worth-watching
   cards. Geometry is fixed so nothing reflows when the content swaps. */
.ip-ww .ww-pill { transition: background 0.4s ease, color 0.4s ease; }
.ip-ww .ww-pill.flipped { background: var(--terracotta); color: var(--on-primary); }

.ip-viewport {
  position: relative;
  height: 360px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: var(--r-md);
}
.ip-noise {
  position: absolute; inset: 0;
  will-change: transform, opacity;
  transition: opacity 0.7s ease;
}
.ip-noise.faded { opacity: 0; }
.ip-row {
  display: grid;
  grid-template-columns: 62px 1fr 1fr;
  align-items: center;
  gap: 10px;
  padding: 7px 4px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12px;
}
.ip-time {
  font-weight: 600;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.ip-time span {
  display: block;
  font-size: 9.5px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 1px;
}
.ip-matchup { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ip-logo { width: 18px; height: 18px; flex-shrink: 0; }
.ip-logo svg { width: 100%; height: 100%; display: block; }
.ip-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ip-resolved {
  position: absolute; inset: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease 0.15s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
  pointer-events: none;
}
.ip-resolved.shown { opacity: 1; transform: none; pointer-events: auto; }
.ip-resolved .gcard { margin-bottom: 10px; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .page { padding: 0 24px; }
  .section { padding: 80px 0; }
  .row { grid-template-columns: 1fr; gap: 48px; }
  .row.reversed { direction: ltr; }
  .copy-sticky { position: static; top: auto; }
  .cta-block { padding: 24px 0; }
  .hero { padding: 100px 24px 80px; }
  .phone { width: 320px; height: 660px; }
  .gauge-score { font-size: 40px; }
  .footer { padding: 40px 24px; }
  .nav-inner { padding: 14px 24px; }
  .nav-links { display: none; }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  .hero-headline, .hero-sub, .hero-ctas, .hero-device {
    animation: none;
    opacity: 1;
  }
  .reveal { transition: none; opacity: 1; transform: none; }
  .reveal .copy, .reveal .visual { transition: none; opacity: 1; transform: none; }
  .gauge-arc-fg { transition: none; }
}
