/* ═══════════════════════════════════════════════════════════════
   Courtic — Marketing Site · Court Night
   Design tokens lifted from the app (tokens.js)
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg-deep: #06090A;
  --bg: #0B0F11;
  --bg-raised: #11171A;
  --bg-card: #161D21;
  --bg-card-soft: #1C2429;
  --bg-input: #0E1416;

  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.10);
  --border-accent: rgba(212,255,58,0.35);

  --brand: #D4FF3A;
  --brand-dim: #A8CC2E;
  --brand-glow: rgba(212,255,58,0.18);

  --text: #F5F7F4;
  --text-dim: #A6ADA8;
  --text-muted: #6B7370;
  --text-faint: #454B47;

  --win: #7DFF8E;
  --loss: #FF7A7A;
  --clay: #FF8A4C;
  --hard: #5BB8FF;
  --grass: #8AE25A;
  --carpet: #C49BFF;
  --warning: #FFC541;

  --font-display: 'Geist', system-ui, -apple-system, sans-serif;
  --font-text: 'Geist', system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--brand-glow); color: var(--text); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ─── Shared type ───────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
}
.eyebrow.brand { color: var(--brand); }
.brand-text { color: var(--brand); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; margin: 0; }
h1 { font-size: clamp(38px, 6.2vw, 70px); line-height: 0.98; letter-spacing: -0.045em; }
h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.02; }
h3 { font-size: 21px; letter-spacing: -0.02em; }
p { margin: 0; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-dim); line-height: 1.6; text-wrap: pretty; }

section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head h2 { margin: 18px 0 16px; }
.section-head .lead { max-width: 560px; }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-text); font-size: 15px; font-weight: 600;
  letter-spacing: -0.01em; padding: 14px 24px; border-radius: var(--r-pill);
  cursor: pointer; border: 1px solid transparent; transition: transform .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #0A0A0A; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px var(--brand-glow); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--border-accent); background: rgba(212,255,58,0.04); transform: translateY(-2px); }

/* ─── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: rgba(11,15,17,0.72);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand-lockup img, .brand-lockup .lockup-svg { height: 26px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 14.5px; color: var(--text-dim); transition: color .15s ease; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { padding: 10px 20px; font-size: 14px; }
.nav-cta { color: #0A0A0A !important; }
.menu-toggle { display: none; }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero { padding-top: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(620px 420px at 78% 18%, rgba(212,255,58,0.10), transparent 70%),
    radial-gradient(560px 520px at 12% 6%, rgba(91,184,255,0.05), transparent 70%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-copy h1 { margin: 22px 0 22px; }
.hero-copy .lead { max-width: 480px; }
.hero-cta { display: flex; gap: 12px; margin: 34px 0 30px; flex-wrap: wrap; }

.surface-row { display: flex; gap: 8px; flex-wrap: wrap; }
.surface-pill {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 6px 13px; border-radius: var(--r-pill);
  border: 1px solid var(--border-strong); color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 7px;
}
.surface-pill::before { content: ''; width: 7px; height: 7px; border-radius: 2px; }
.surface-pill.sand::before { background: var(--clay); }
.surface-pill.hard::before { background: var(--hard); }
.surface-pill.grass::before { background: var(--grass); }
.surface-pill.carpet::before { background: var(--carpet); }

/* ─── Phone cluster ─────────────────────────────────────────── */
.phones { position: relative; height: 600px; display: flex; align-items: center; justify-content: center; }
.phone {
  position: absolute; width: 270px; border-radius: 42px;
  background: linear-gradient(160deg, #20282c, #0c1113);
  padding: 8px; box-shadow: 0 40px 80px -24px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.05);
}
.phone .screen {
  position: relative; border-radius: 35px; overflow: hidden; background: var(--bg);
  height: 560px; display: flex; flex-direction: column;
}
.phone-front { z-index: 3; transform: translateY(0) scale(1.02); }
.phone-back-left { z-index: 2; transform: translateX(-150px) translateY(36px) rotate(-7deg) scale(0.9); opacity: 0.96; }
.phone-back-right { z-index: 1; transform: translateX(150px) translateY(36px) rotate(7deg) scale(0.9); opacity: 0.96; }

.notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; background: #000; border-radius: 999px; z-index: 5; }
.s-statusbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 0; font-size: 11px; font-weight: 600; color: var(--text); font-family: var(--font-display); }
.s-pad { padding: 18px 18px 0; flex: 1; overflow: hidden; }
.s-eyebrow { font-family: var(--font-mono); font-size: 9px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); display: block; margin-bottom: 8px; }
.s-eyebrow.plain { color: var(--text-muted); }
.s-h { font-family: var(--font-display); font-size: 27px; font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 16px; }
.s-h .lime { color: var(--brand); display: block; }

/* Dashboard next-match card */
.s-next { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; margin-bottom: 12px; position: relative; overflow: hidden; }
.s-next-time { display: flex; align-items: flex-end; gap: 10px; margin: 10px 0; }
.s-next-time .day { font-family: var(--font-display); font-size: 38px; font-weight: 700; line-height: 0.8; letter-spacing: -0.04em; }
.s-next-time .hour { font-family: var(--font-display); font-size: 38px; font-weight: 700; line-height: 0.8; letter-spacing: -0.04em; color: var(--brand); }
.s-next-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.s-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #5BB8FF, #2E6FB3); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; }
.s-next-loc { font-family: var(--font-mono); font-size: 9px; color: var(--text-muted); letter-spacing: 0.06em; margin-bottom: 12px; }
.s-next-actions { display: flex; gap: 6px; }
.s-mini-btn { flex: 1; text-align: center; padding: 9px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.s-mini-btn svg { width: 11px; height: 11px; }
.s-mini-btn.primary { background: var(--brand); color: #0A0A0A; flex: 2; }
.s-mini-btn.ghost { background: transparent; border: 1px solid var(--border-strong); color: var(--text); }

.s-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 12px; }
.s-tile { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 11px 12px; }
.s-tile-lbl { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.12em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 5px; }
.s-tile-val { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.03em; }
.s-tile-val.brand { color: var(--brand); }
.s-tile-trend { font-family: var(--font-mono); font-size: 8.5px; margin-top: 3px; }
.s-tile-trend.up { color: var(--win); }
.s-tile-trend.down { color: var(--text-muted); }
.tile-streak { border-color: var(--border-accent); background: rgba(212,255,58,0.05); }

.s-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px; }
.s-form-eyebrow { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.14em; color: var(--text-muted); text-transform: uppercase; }
.s-form-pct { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; margin: 6px 0 10px; }
.s-form-bar { height: 30px; border-radius: 6px; background: linear-gradient(90deg, var(--loss) 0 40%, var(--win) 40% 100%); display: flex; align-items: center; justify-content: flex-end; padding-right: 8px; color: #06090A; font-weight: 700; font-size: 11px; }
.s-form-foot { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 8px; color: var(--text-faint); margin-top: 6px; letter-spacing: 0.08em; }

/* Match center */
.s-bigrow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.s-big { font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -0.03em; }
.s-big small { font-size: 15px; color: var(--text-muted); font-weight: 500; }
.s-add { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #0A0A0A; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 400; }
.s-split { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px 16px; display: flex; align-items: center; gap: 14px; margin-bottom: 12px; position: relative; }
.s-split-col { text-align: center; }
.s-split-num { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.s-split-num.w { color: var(--win); }
.s-split-num.l { color: var(--loss); }
.s-split-lbl { font-family: var(--font-mono); font-size: 7.5px; letter-spacing: 0.12em; color: var(--text-muted); text-transform: uppercase; }
.s-split-divider { width: 1px; height: 32px; background: var(--border-strong); }
.s-split-pill { margin-left: auto; font-family: var(--font-mono); font-size: 9px; padding: 5px 10px; border-radius: var(--r-pill); background: rgba(212,255,58,0.10); color: var(--brand); border: 1px solid var(--border-accent); }
.s-filters { display: flex; gap: 6px; margin-bottom: 12px; }
.s-filter { font-family: var(--font-mono); font-size: 9px; padding: 6px 11px; border-radius: var(--r-pill); border: 1px solid var(--border); color: var(--text-muted); }
.s-filter.on { background: var(--text); color: #0A0A0A; border-color: var(--text); }
.s-match2 { display: flex; align-items: center; gap: 10px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 11px; margin-bottom: 8px; }
.s-match2-tile { width: 40px; height: 40px; border-radius: 10px; background: rgba(125,255,142,0.12); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.s-match2.loss .s-match2-tile { background: rgba(255,122,122,0.12); }
.s-match2-tile .l { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--win); }
.s-match2.loss .s-match2-tile .l { color: var(--loss); }
.s-match2-tile .s { font-family: var(--font-mono); font-size: 8px; color: var(--text-muted); }
.s-match2-body { flex: 1; min-width: 0; }
.s-match2-name { font-size: 12px; font-weight: 600; }
.s-match2-score { font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); margin: 2px 0 5px; }
.s-match2-chips { display: flex; gap: 4px; }
.s-match2-chip { font-family: var(--font-mono); font-size: 7.5px; letter-spacing: 0.08em; padding: 3px 6px; border-radius: 5px; background: var(--bg-card-soft); color: var(--text-muted); }
.s-match2-right { text-align: right; }
.s-match2-emoji { font-size: 15px; }
.s-match2-date { display: block; font-family: var(--font-mono); font-size: 7.5px; color: var(--text-faint); margin-top: 3px; letter-spacing: 0.06em; }

/* Health */
.s-pill-switch { display: inline-flex; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 3px; gap: 2px; margin-bottom: 14px; }
.s-pill-switch span { font-family: var(--font-mono); font-size: 9px; padding: 5px 12px; border-radius: var(--r-pill); color: var(--text-muted); }
.s-pill-switch .on { background: var(--brand); color: #0A0A0A; }
.s-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.tile-clay { border-left: 2px solid var(--clay); }
.tile-grass { border-left: 2px solid var(--grass); }
.tile-hard { border-left: 2px solid var(--hard); }
.tile-warn { border-left: 2px solid var(--warning); }
.s-bars { display: flex; align-items: flex-end; gap: 7px; height: 90px; margin-top: 12px; padding: 0 2px; }
.s-bar { flex: 1; background: var(--bg-card-soft); border-radius: 5px 5px 0 0; position: relative; min-height: 8px; }
.s-bar.active { background: var(--brand); }
.s-bar-lbl { position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 7px; color: var(--text-faint); }

/* tab bar */
.s-tabs { display: flex; justify-content: space-around; padding: 12px 0 22px; background: linear-gradient(to top, var(--bg-deep) 60%, transparent); margin-top: auto; }
.s-tab { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--text-muted); }
.s-tab svg { width: 19px; height: 19px; }
.s-tab .lbl { font-family: var(--font-mono); font-size: 7px; letter-spacing: 0.06em; }
.s-tab.active { color: var(--brand); }

/* ─── Logo strip ────────────────────────────────────────────── */
.logo-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 30px 0; }
.logo-strip .container { display: flex; align-items: center; justify-content: center; gap: 14px 40px; flex-wrap: wrap; }
.logo-strip .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); }
.logo-strip .item { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--text-muted); display: inline-flex; align-items: center; gap: 8px; }
.logo-strip .item svg { width: 15px; height: 15px; stroke: var(--text-dim); }

/* ─── Feature grid ──────────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.card:hover { border-color: var(--border-accent); transform: translateY(-3px); background: var(--bg-card-soft); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--text-dim); line-height: 1.55; }
.feature-icon {
  width: 46px; height: 46px; border-radius: 13px; background: rgba(212,255,58,0.08);
  border: 1px solid var(--border-accent); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 23px; height: 23px; stroke: var(--brand); fill: none; }
.card .num { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); letter-spacing: 0.12em; }

/* ─── Deep-dive rows ────────────────────────────────────────── */
.dive { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.dive + .dive { margin-top: clamp(72px, 10vw, 130px); }
.dive.flip .dive-media { order: -1; }
.dive-copy h2 { margin: 18px 0 18px; font-size: clamp(28px, 3.6vw, 42px); }
.dive-copy .lead { margin-bottom: 26px; }
.dive-list { display: flex; flex-direction: column; gap: 14px; }
.dive-list .row { display: flex; gap: 13px; align-items: flex-start; }
.dive-list .row .ic { flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; background: rgba(212,255,58,0.10); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.dive-list .row .ic svg { width: 13px; height: 13px; stroke: var(--brand); fill: none; }
.dive-list .row .tx { font-size: 15px; color: var(--text-dim); }
.dive-list .row .tx b { color: var(--text); font-weight: 600; }

.dive-media { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.dive-media .glow { position: absolute; inset: 0; background: radial-gradient(closest-side, var(--brand-glow), transparent 75%); opacity: 0.5; filter: blur(20px); }
.illus-frame {
  position: relative; width: 100%; max-width: 420px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--r-xl); padding: 38px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.illus-frame::before {
  content: ''; position: absolute; inset: 0; opacity: 0.05; pointer-events: none;
  background-image:
    linear-gradient(var(--brand) 1px, transparent 1px),
    linear-gradient(90deg, var(--brand) 1px, transparent 1px);
  background-size: 38px 38px; background-position: center;
}
.illus-frame img { width: 100%; max-width: 300px; position: relative; }

/* mini phone used inside dives */
.dive-phone { position: relative; }

/* ─── ITN band ──────────────────────────────────────────────── */
.itn-band { background: var(--bg-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.itn-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.itn-figure { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.itn-big { font-family: var(--font-display); font-weight: 700; font-size: clamp(90px, 16vw, 170px); line-height: 0.85; letter-spacing: -0.05em; color: var(--brand); text-shadow: 0 0 60px var(--brand-glow); }
.itn-big-lbl { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted); margin-top: 14px; }
.itn-spark { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-top: 28px; }
.itn-spark .b { width: 10px; border-radius: 3px 3px 0 0; background: var(--bg-card-soft); }
.itn-spark .b.hi { background: var(--brand); }

/* ─── States band (illustrations showcase) ─────────────────── */
.states-band { background: var(--bg-deep); }
.states-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.state-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px 18px 18px; text-align: center; transition: border-color .2s, transform .2s;
}
.state-card:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.state-card img { width: 100%; max-width: 130px; margin: 0 auto 12px; }
.state-card .t { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.state-card .s { font-family: var(--font-mono); font-size: 9px; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }

/* ─── Live band ─────────────────────────────────────────────── */
.live-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.live-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: var(--brand); padding: 7px 14px; border-radius: var(--r-pill); border: 1px solid var(--border-accent); background: rgba(212,255,58,0.06); }
.live-tag .ping { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); animation: ping 1.6s ease-in-out infinite; }
@keyframes ping { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }

/* ─── CTA / download ────────────────────────────────────────── */
.cta { text-align: center; max-width: 680px; margin: 0 auto; position: relative; }
.cta::before { content: ''; position: absolute; inset: -60px -60px; background: radial-gradient(closest-side, var(--brand-glow), transparent 70%); opacity: 0.4; filter: blur(30px); pointer-events: none; }
.cta > * { position: relative; }
.cta h2 { margin: 18px 0 16px; }
.cta p { color: var(--text-dim); max-width: 520px; margin: 0 auto; }
.notify-form { display: flex; gap: 10px; max-width: 460px; margin: 34px auto 12px; }
.notify-form input { flex: 1; background: var(--bg-input); border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: 14px 20px; color: var(--text); font-family: var(--font-text); font-size: 15px; outline: none; transition: border-color .15s; }
.notify-form input:focus { border-color: var(--border-accent); }
.notify-form input::placeholder { color: var(--text-muted); }
.notify-hint { font-size: 12.5px; color: var(--text-muted); max-width: 420px; margin: 0 auto; }
.notify-hint a { color: var(--brand); }
.store-btns { display: flex; gap: 12px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 11px; padding: 12px 20px; border-radius: var(--r-md); border: 1px solid var(--border-strong); background: var(--bg-card); position: relative; transition: border-color .2s; }
.store-btn:hover { border-color: var(--border-accent); }
.store-btn .icon { width: 26px; height: 26px; fill: var(--text); }
.store-btn .stack { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-btn .stack small { font-size: 9px; color: var(--text-muted); letter-spacing: 0.04em; }
.store-btn .stack span { font-size: 16px; font-weight: 600; font-family: var(--font-display); letter-spacing: -0.01em; }
.store-btn .soon { font-family: var(--font-mono); font-size: 8px; font-weight: 600; letter-spacing: 0.14em; color: var(--brand); border: 1px solid var(--border-accent); border-radius: var(--r-pill); padding: 3px 7px; margin-left: 4px; }

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding: 64px 0 40px; background: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand img, .footer-brand .lockup-svg { height: 24px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); max-width: 320px; line-height: 1.6; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); font-weight: 500; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14.5px; color: var(--text-dim); margin-bottom: 11px; transition: color .15s; }
.footer-col a:hover { color: var(--brand); }
.footer-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); flex-wrap: wrap; gap: 12px; }

/* ─── Legal / long-form pages ───────────────────────────────── */
.legal { padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(72px, 11vw, 130px); }
.legal-wrap { max-width: 760px; margin: 0 auto; }
.legal-head { margin-bottom: 40px; }
.legal-head h1 { font-size: clamp(34px, 5.4vw, 56px); margin: 18px 0 14px; }
.legal-meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); letter-spacing: 0.04em; }
.legal-meta strong { color: var(--text-dim); font-weight: 600; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 28px; transition: color .15s; }
.legal-back:hover { color: var(--brand); }
.legal-back svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }

.toc { background: rgba(212,255,58,0.04); border: 1px solid var(--border); border-left: 3px solid var(--brand); border-radius: var(--r-md); padding: 20px 24px; margin: 0 0 44px; }
.toc h3 { font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em; color: var(--text-muted); margin: 0 0 12px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 8px; font-size: 14.5px; }
.toc a { color: var(--text-dim); transition: color .15s; }
.toc a:hover { color: var(--brand); }

.legal-body { font-size: 16px; line-height: 1.7; color: var(--text-dim); }
.legal-body h2 { font-size: 23px; color: var(--text); margin: 44px 0 14px; scroll-margin-top: 90px; letter-spacing: -0.02em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 16px; color: var(--text); margin: 26px 0 8px; font-weight: 600; letter-spacing: -0.01em; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { padding-left: 22px; margin: 0 0 16px; }
.legal-body li { margin-bottom: 7px; }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body em { color: var(--text); font-style: italic; }
.legal-body a { color: var(--brand); word-break: break-word; }
.legal-body a:hover { text-decoration: underline; }
.contact-block { background: var(--bg-card); border: 1px solid var(--border-strong); border-radius: var(--r-md); padding: 16px 18px; font-family: var(--font-mono); font-size: 14px; line-height: 1.7; color: var(--text); margin: 16px 0; }
.contact-block a { color: var(--brand); }

@media (max-width: 600px) {
  .toc ol { columns: 1; }
}

/* ─── Reveal animation ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .phones { height: 540px; transform: scale(0.92); }
  .dive, .itn-inner, .live-inner { grid-template-columns: 1fr; gap: 40px; }
  .dive.flip .dive-media { order: 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .states-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .itn-figure { order: -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .feature-grid, .states-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .phones { transform: scale(0.8); height: 480px; }
  .notify-form { flex-direction: column; }
  .notify-form input, .notify-form .btn { width: 100%; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .live-tag .ping { animation: none; }
  html { scroll-behavior: auto; }
}
