/* Best in Town — Polished Landing Page
   Brand: Teal 500/600/700 + Yellow 300/400. Sporty, clean, energetic.
*/

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Bebas+Neue&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* Teal scale */
  --teal-40:  #F4F9FB;
  --teal-50:  #DFE7EA;
  --teal-100: #C9D5D9;
  --teal-200: #9EB1B8;
  --teal-300: #738D96;
  --teal-400: #486975;
  --teal-500: #1D4553;
  --teal-600: #173742;
  --teal-700: #112932;
  --teal-800: #0C1C21;
  --teal-900: #060E11;

  /* Yellow scale */
  --yellow-40:  #FBF8E8;
  --yellow-50:  #F6F1D0;
  --yellow-100: #F2E9B9;
  --yellow-200: #E5D473;
  --yellow-300: #DDC544;
  --yellow-400: #D4B715;
  --yellow-500: #AA9211;

  /* Blue scale (accent) */
  --blue-300: #4782A0;
  --blue-400: #1B6489;
  --blue-500: #16506E;

  /* Roles */
  --bg: var(--teal-500);
  --bg-deep: var(--teal-700);
  --bg-card: var(--teal-600);
  --bg-soft: var(--yellow-100);
  --bg-page: var(--teal-40);
  --accent: var(--yellow-400);
  --accent-soft: var(--yellow-100);
  --accent-bright: var(--yellow-300);
  --ink: var(--teal-700);
  --ink-soft: var(--teal-400);
  --paper: #FFFFFF;
  --line: rgba(255,255,255,0.08);
  --line-dark: rgba(17,41,50,0.12);
}

* { box-sizing: border-box; }
*::selection { background: var(--accent); color: var(--ink); }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ── Layout ── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-tight {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Type ── */
h1, h2, h3, h4 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
}
h1 { font-size: clamp(56px, 8.5vw, 128px); }
h2 { font-size: clamp(40px, 5vw, 72px); }
h3 { font-size: clamp(24px, 2.4vw, 36px); }
h4 { font-size: 20px; line-height: 1.2; }

p { margin: 0; }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1.5px;
  background: var(--accent);
}

.hl-yellow {
  color: var(--accent-bright);
}
.hl-bg {
  background: var(--accent);
  color: var(--ink);
  padding: 0 0.16em 0.05em;
  border-radius: 6px;
  display: inline-block;
  line-height: 1;
}

.lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  max-width: 56ch;
}

/* ── Top Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(17,41,50,0);
  backdrop-filter: blur(0px);
  transition: background .3s ease, backdrop-filter .3s ease, padding .3s ease;
}
.nav[data-stuck="true"] {
  background: rgba(17,41,50,0.85);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--paper);
  text-decoration: none;
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-deep) url('assets/logo-ball.png') center/cover no-repeat;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.brand-mark svg { display: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--paper); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  cursor: pointer;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--yellow-500);
}
.btn-primary:hover { background: var(--accent-bright); box-shadow: 0 5px 0 var(--yellow-500); }

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--paper);
  border-color: rgba(255,255,255,0.18);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

/* App-store buttons */
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform .15s ease, background .2s ease;
  min-width: 168px;
}
.store-btn:hover { transform: translateY(-2px); background: var(--teal-800); }
.store-btn .glyph {
  width: 28px; height: 28px;
  display: grid; place-items: center;
}
.store-btn .glyph svg { width: 100%; height: 100%; fill: currentColor; }
.store-btn .label-sm {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  display: block;
  line-height: 1;
  margin-bottom: 3px;
}
.store-btn .label-lg {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%; right: -10%;
  width: 60vw; height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-500) 0%, transparent 60%);
  opacity: 0.4;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -20%; left: -10%;
  width: 50vw; height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, var(--yellow-400) 0%, transparent 55%);
  opacity: 0.08;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-weight: 700;
  letter-spacing: -0.035em;
}
.hero h1 .line { display: block; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.rating {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
}
.rating .stars { color: var(--accent); letter-spacing: 1px; }
.rating .div { width: 1px; height: 16px; background: rgba(255,255,255,0.2); }

.hero-cta-row {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero phone */
.hero-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 640px;
}
.hero-phone-wrap .glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--yellow-400) 0, transparent 55%);
  opacity: 0.15;
  filter: blur(40px);
}
.phone {
  position: relative;
  width: 320px;
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  background: #000;
  padding: 8px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.45),
    0 0 0 1.5px rgba(255,255,255,0.08),
    inset 0 0 0 2px rgba(255,255,255,0.04);
  flex-shrink: 0;
}
.phone .screen {
  width: 100%; height: 100%;
  border-radius: 38px;
  background-color: var(--bg-card);
  background-size: cover;
  background-position: top center;
  position: relative;
  overflow: hidden;
}
.phone .notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 28px;
  background: #000;
  border-radius: 99px;
  z-index: 3;
}
.phone[data-screen="home"] .screen { background-image: url('assets/screen-home.png'); }
.phone[data-screen="lead"] .screen { background-image: url('assets/screen-leaderboard.png'); }
.phone[data-screen="notif"] .screen { background-image: url('assets/screen-notifications.png'); }
.phone[data-screen="join"] .screen { background-image: url('assets/screen-join.png'); }

.phone.sm { width: 240px; border-radius: 36px; }
.phone.sm .screen { border-radius: 30px; }
.phone.sm .notch { width: 76px; height: 22px; top: 12px; }

/* Floating cards around hero phone */
.float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  font-size: 14px;
  z-index: 2;
  animation: float 5s ease-in-out infinite;
}
.float-card .stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  line-height: 1;
  color: var(--accent);
}
.float-card .stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: block;
  margin-top: 4px;
}

.float-card.fc-1 { top: 12%; left: -4%; animation-delay: 0s; }
.float-card.fc-2 { top: 36%; right: -8%; animation-delay: -1.6s; }
.float-card.fc-3 { bottom: 14%; left: 4%; animation-delay: -3.2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Trust strip */
.trust-strip {
  margin-top: 96px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: rgba(255,255,255,0.85);
}
.trust-stat .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
}
.trust-stat .lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ── Section base ── */
section {
  padding: 120px 0;
  position: relative;
}
section.tight { padding: 80px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 32px;
}
.section-head .left { max-width: 720px; }
.section-head h2 {
  margin-top: 16px;
}
.section-head .lede { margin-top: 16px; }

/* ── Pitch ── */
.pitch {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}
.pitch .container { text-align: center; }
.pitch h2 {
  font-size: clamp(48px, 6.5vw, 96px);
  font-weight: 700;
  letter-spacing: -0.035em;
  max-width: 12ch;
  margin: 24px auto 0;
}
.pitch .lede { margin: 32px auto 0; text-align: center; }

/* ── Features grid ── */
.features {
  background: var(--bg-deep);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 26px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,183,21,0.4);
}
.feature-card .icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--bg-deep);
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid var(--line);
}
.feature-card .icon svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.feature-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.feature-card p {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  line-height: 1.5;
}

/* ── Gamification (showcase) ── */
.gamification {
  background: var(--bg);
}
.gamification-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.gam-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.gam-stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
}
.gam-stat.accent {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.gam-stat .gs-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.gam-stat .gs-lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 8px;
  opacity: 0.7;
}
.gam-stat .gs-sub {
  font-size: 13px;
  margin-top: 14px;
  opacity: 0.7;
}

.streak-row {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}
.streak-row .pip {
  flex: 1;
  height: 28px;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
}
.streak-row .pip.on { background: var(--ink); }

.badges-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.badge {
  aspect-ratio: 1;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  font-size: 18px;
  border: 1px solid var(--line);
}
.badge.unlocked { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* ── How it works (sticky-phone scrolly) ── */
.how {
  background: var(--bg-deep);
  padding: 120px 0;
}
.how-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: flex-start;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.how-step {
  padding: 8px 0;
  opacity: 0.5;
  transition: opacity .4s ease;
  border-left: 2px solid var(--line);
  padding-left: 32px;
  position: relative;
}
.how-step.active {
  opacity: 1;
  border-left-color: var(--accent);
}
.how-step .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.how-step h3 {
  font-size: 32px;
  margin-bottom: 12px;
}
.how-step p {
  color: rgba(255,255,255,0.65);
  max-width: 50ch;
  font-size: 16px;
}
.how-phone-col {
  position: sticky;
  top: 120px;
  display: flex;
  justify-content: center;
}

/* ── Leaderboard demo ── */
.leaderboard {
  background: var(--bg);
}
.lb-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.lb-chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.lb-chip:hover { background: rgba(255,255,255,0.12); }
.lb-chip.active {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.lb-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.lb-row {
  display: grid;
  grid-template-columns: 60px 1fr 60px 100px 110px;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.lb-row:last-child { border-bottom: none; }
.lb-row.head {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.18);
  padding: 14px 28px;
}
.lb-row.body:hover { background: rgba(255,255,255,0.03); }
.lb-row.body.gold { background: linear-gradient(90deg, rgba(212,183,21,0.18) 0%, transparent 60%); }
.lb-row .rank {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  width: 36px; height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
}
.lb-row.gold .rank { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.lb-row.silver .rank { background: rgba(158,177,184,0.85); color: var(--ink); border-color: var(--teal-100); }
.lb-row.bronze .rank { background: #b08750; color: var(--ink); border-color: #b08750; }

.lb-player {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lb-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-300), var(--teal-500));
  border: 1.5px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.lb-name { font-weight: 600; font-size: 15px; }
.lb-club { font-size: 12px; color: rgba(255,255,255,0.55); }
.lb-flag { font-size: 18px; }
.lb-stat {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.lb-score {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  text-align: right;
  color: var(--accent);
}
.lb-row.body .trend {
  display: inline-block;
  margin-right: 4px;
  color: #6FCA8E;
  font-size: 11px;
}
.lb-row.body .trend.down { color: #E47B6B; }

/* ── CTA strip ── */
.cta {
  padding: 100px 0;
  background: var(--accent);
  color: var(--ink);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 0% 50%, var(--accent-bright) 0%, transparent 40%),
    radial-gradient(circle at 100% 50%, var(--accent-bright) 0%, transparent 40%);
  opacity: 0.5;
}
.cta .container { position: relative; z-index: 1; }
.cta h2 {
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.cta .lede { color: rgba(17,41,50,0.75); margin: 24px auto 40px; text-align: center; }
.cta .store-row { justify-content: center; }
.cta .store-btn { background: var(--ink); }
.cta .store-btn:hover { background: var(--teal-800); }

/* ── Footer ── */
footer {
  background: var(--teal-700);
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin: 0 0 16px;
  font-weight: 600;
  font-family: 'IBM Plex Mono', monospace;
}
.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  display: block;
  padding: 6px 0;
  font-size: 14px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-col p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.6;
  max-width: 32ch;
  margin-top: 12px;
}
.footer-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }

/* Marquee */
.marquee {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 24px 0;
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  white-space: nowrap;
  flex-shrink: 0;
  animation: scroll-x 30s linear infinite;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  padding-right: 64px;
}
.marquee-track .dot {
  color: var(--accent);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
}
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .hero { padding: 130px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-phone-wrap { min-height: 560px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gamification-grid { grid-template-columns: 1fr; gap: 40px; }
  .how-grid { grid-template-columns: 1fr; }
  .how-phone-col { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lb-row { grid-template-columns: 50px 1fr 80px 100px; padding: 14px 18px; }
  .lb-row .lb-stat:nth-child(4) { display: none; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-strip { flex-direction: column; align-items: flex-start; gap: 20px; }
  .float-card { display: none; }
}

/* ── Legal pages ── */
.legal-page {
  padding: 140px 0 80px;
  min-height: 100vh;
}
.legal-page h1 { font-size: clamp(40px, 5vw, 72px); margin-bottom: 16px; }
.legal-page h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  margin-top: 56px;
  margin-bottom: 16px;
  color: var(--accent);
}
.legal-page h3 {
  font-size: 18px;
  margin-top: 32px;
  margin-bottom: 8px;
}
.legal-page p, .legal-page li {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
  max-width: 70ch;
}
.legal-page ul, .legal-page ol { padding-left: 22px; }
.legal-page strong { color: var(--paper); }
.legal-page a { color: var(--accent-bright); }
.legal-eyebrow { margin-bottom: 24px; }
.legal-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 32px;
}
.back-link:hover { color: var(--accent); }
