/* RYDR — brand site styles. Palette mirrors the app theme (mobile/src/theme/colors.ts). */
:root {
  --primary: #E8490F;
  --primary-light: #FF6B35;
  --secondary: #F5A623;
  --bg: #0F0F0F;
  --surface: #1C1C1E;
  --surface-elev: #2C2C2E;
  --text: #FFFFFF;
  --text-secondary: #8A8A8E;
  --text-muted: #555558;
  --border: #2C2C2E;
  --border-light: #3A3A3C;
  --success: #30D158;
  --radius: 16px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

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

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

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 15, 15, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: -0.5px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--text-secondary); font-size: 15px; font-weight: 500; transition: color 0.15s; }
.nav a:hover { color: var(--text); }
.nav-cta {
  background: var(--primary); color: #fff !important;
  padding: 9px 18px; border-radius: 999px; font-weight: 700 !important; font-size: 14px !important;
  font-family: var(--font); border: none; cursor: pointer; line-height: 1.6;
}
.nav-cta:hover { background: var(--primary-light); }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; padding: 96px 0 88px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 78% 8%, rgba(232, 73, 15, 0.20), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(245, 166, 35, 0.10), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary-light); font-weight: 700; font-size: 13px;
  letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.03; letter-spacing: -1.5px; font-weight: 850; }
.hero h1 .accent { color: var(--primary); }
.hero p.lead { margin-top: 22px; font-size: clamp(17px, 2.2vw, 20px); color: var(--text-secondary); max-width: 30em; }
.cta-row { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Rendered as <button> (opens the waitlist modal) rather than <a>, so it needs
   the font/colour reset a link never did — visually identical either way. */
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border-light);
  padding: 12px 20px; border-radius: 14px; transition: border-color 0.15s, transform 0.15s;
  font-family: var(--font); color: var(--text); text-align: left; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.store-badge:hover { border-color: var(--primary); transform: translateY(-2px); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .sb-text { text-align: left; line-height: 1.15; }
.store-badge .sb-small { font-size: 11px; color: var(--text-secondary); }
.store-badge .sb-big { font-size: 16px; font-weight: 700; }
.store-badge .soon { font-size: 10px; color: var(--primary-light); font-weight: 700; letter-spacing: 0.5px; }

.cta-hint { margin-top: 16px; font-size: 13px; color: var(--text-muted); }

/* Above-the-fold promo for the Iron Rider Challenge. */
.hero-banner {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 26px;
  background: linear-gradient(135deg, rgba(232, 73, 15, 0.16), rgba(245, 166, 35, 0.06));
  border: 1px solid var(--border-light); border-radius: 16px;
  padding: 12px 20px 12px 12px; text-align: left;
  transition: border-color 0.15s, transform 0.15s;
}
.hero-banner:hover { border-color: var(--primary); transform: translateY(-2px); }
.hero-banner img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.hb-copy { display: flex; flex-direction: column; gap: 2px; }
.hb-copy strong { font-size: 15px; font-weight: 700; letter-spacing: -0.2px; }
.hb-copy span { font-size: 13px; color: var(--primary-light); font-weight: 600; }

/* ── Waitlist modal ──────────────────────────────────────── */
.wl-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.18s ease;
  overflow-y: auto;
}
.wl-overlay.is-open { opacity: 1; }
.wl-overlay[hidden] { display: none; }
body.wl-locked { overflow: hidden; }

.wl-modal {
  position: relative; width: 100%; max-width: 440px;
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: 22px; padding: 34px 30px 28px;
  box-shadow: 0 30px 80px -12px rgba(0, 0, 0, 0.7);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
  margin: auto;
}
.wl-overlay.is-open .wl-modal { transform: translateY(0) scale(1); }

.wl-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; border-radius: 50%;
  color: var(--text-secondary); cursor: pointer; transition: background 0.15s, color 0.15s;
}
.wl-close:hover { background: var(--surface-elev); color: var(--text); }
.wl-close svg { width: 18px; height: 18px; }

.wl-head { text-align: center; margin-bottom: 24px; }
.wl-icon { width: 54px; height: 54px; border-radius: 14px; margin: 0 auto 14px; }
.wl-head h2 { font-size: 24px; letter-spacing: -0.5px; font-weight: 800; }
.wl-head p { margin-top: 8px; font-size: 14px; color: var(--text-secondary); }

.wl-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; text-align: left; }
.wl-label { font-size: 12px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--text-secondary); }
.waitlist-form input[type="text"],
.waitlist-form input[type="email"],
.waitlist-form input[type="tel"] {
  width: 100%; font-family: var(--font); font-size: 15px; color: var(--text);
  background: var(--bg); border: 1px solid var(--border-light);
  border-radius: 12px; padding: 13px 15px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.waitlist-form input::placeholder { color: var(--text-muted); }
.waitlist-form input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 73, 15, 0.18);
}
.waitlist-form button[type="submit"] {
  width: 100%; margin-top: 8px;
  font-family: var(--font); font-size: 16px; font-weight: 700;
  color: #fff; background: var(--primary); border: 1px solid var(--primary);
  border-radius: 12px; padding: 14px 24px; cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.waitlist-form button[type="submit"]:hover:not(:disabled) { background: var(--primary-light); border-color: var(--primary-light); transform: translateY(-1px); }
.waitlist-form button[type="submit"]:disabled { opacity: 0.65; cursor: default; transform: none; }

/* Honeypot — off-screen for bots, invisible and unreachable for humans. */
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.wl-status { margin-top: 12px; font-size: 14px; font-weight: 600; text-align: center; min-height: 1.4em; }
.wl-status.is-pending { color: var(--text-secondary); }
.wl-status.is-ok { color: var(--success); }
.wl-status.is-err { color: var(--primary-light); }
.wl-note { margin-top: 10px; font-size: 12px; color: var(--text-muted); text-align: center; }
.wl-note a { color: var(--text-secondary); text-decoration: underline; }
.wl-note a:hover { color: var(--text); }

.hero-art { display: flex; justify-content: center; }
.hero-art .badge {
  width: min(340px, 80%); aspect-ratio: 1; border-radius: 40px;
  box-shadow: 0 40px 80px -20px rgba(232, 73, 15, 0.45), 0 0 0 1px var(--border-light);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ── Section shells ─────────────────────────────────────── */
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 40em; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(30px, 4.5vw, 42px); letter-spacing: -1px; font-weight: 820; }
.section-head p { margin-top: 14px; color: var(--text-secondary); font-size: 18px; }

/* ── Features ───────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color 0.18s, transform 0.18s;
}
.feature:hover { border-color: var(--border-light); transform: translateY(-3px); }
.feature .ficon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(232, 73, 15, 0.12); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature .ficon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--text-secondary); font-size: 15px; }

/* ── Strip / CTA band ───────────────────────────────────── */
.band {
  background: linear-gradient(135deg, rgba(232, 73, 15, 0.14), rgba(245, 166, 35, 0.06));
  border: 1px solid var(--border-light); border-radius: 28px;
  padding: 56px 40px; text-align: center;
}
.band h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.8px; }
.band p { color: var(--text-secondary); margin-top: 12px; font-size: 17px; }
.band .cta-row { justify-content: center; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0; margin-top: 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer .brand { font-size: 17px; }
.site-footer .brand img { width: 28px; height: 28px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { color: var(--text-secondary); font-size: 14px; }
.foot-links a:hover { color: var(--text); }
.copyright { color: var(--text-muted); font-size: 13px; width: 100%; }

/* ── Iron Rider Challenge ───────────────────────────────── */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); font-size: 16px; font-weight: 700;
  padding: 14px 28px; border-radius: 12px; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn-primary { background: var(--primary); border: 1px solid var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); transform: translateY(-2px); }
.btn-ghost { background: transparent; border: 1px solid var(--border-light); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); transform: translateY(-2px); }

/* Event emblem. The artwork sits on its own dark texture, so it is masked to a
   circle to sit cleanly on the page background instead of showing a square edge. */
.ir-badge {
  width: 128px; height: 128px; border-radius: 50%; object-fit: cover;
  margin-bottom: 22px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--border-light);
}
.ir-band-badge {
  width: 92px; height: 92px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 20px;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--border-light);
}

.ir-host {
  margin-top: 18px; font-size: 14px; line-height: 1.45; color: var(--text-secondary);
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 10px 18px 10px 10px;
  transition: border-color 0.15s, transform 0.15s;
}
.ir-host:hover { border-color: var(--primary); transform: translateY(-2px); }
.ir-ext { width: 12px; height: 12px; opacity: 0.75; vertical-align: baseline; margin-left: 2px; }
.ir-host strong { color: var(--text); font-weight: 700; font-size: 15px; }
.ir-host a { color: var(--primary-light); text-decoration: underline; font-weight: 700; }
/* Rounded square, not a circle — the logo's MOTO/HEADS wordmarks run to the edges
   and a circular mask clips them. */
.ir-host-logo {
  width: 46px; height: 46px; flex: none;
  border-radius: 10px; object-fit: cover;
  box-shadow: 0 0 0 1px var(--border-light);
}
.ir-foot-host {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin-top: 4px; font-size: 13px; color: var(--text-muted);
}
.ir-foot-host img { width: 30px; height: 30px; border-radius: 7px; object-fit: cover; flex: none; }
.ir-foot-host a { color: var(--text-secondary); text-decoration: underline; }
.ir-foot-host a:hover { color: var(--text); }

/* "Ride Link" nav item — distinct from the plain text links, but visibly
   secondary to the Register CTA so it doesn't compete with it. */
.nav-ride {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--text-secondary) !important; font-size: 14px; font-weight: 600;
  border: 1px solid var(--border-light); border-radius: 999px;
  padding: 8px 15px; transition: color 0.15s, border-color 0.15s;
}
.nav-ride:hover { color: var(--text) !important; border-color: var(--primary); }
.nav-ride svg { width: 16px; height: 16px; flex: none; }

/* ── /ride/<slug> interstitial ───────────────────────────── */
.ride-wrap {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 40px 22px; gap: 16px; max-width: 560px; margin: 0 auto;
}
.ride-emblem {
  width: 132px; height: 132px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,0.8), 0 0 0 1px var(--border-light);
  margin-bottom: 6px;
}
.ride-wrap h1 { font-size: clamp(24px, 5vw, 32px); letter-spacing: -0.8px; font-weight: 820; }
.ride-sub { color: var(--primary-light); font-size: 14px; font-weight: 700; letter-spacing: 0.4px; }
.ride-msg { color: var(--text-secondary); font-size: 15px; max-width: 34rem; }
.ride-actions { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 22rem; margin-top: 10px; }
.ride-stores { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.ride-stores .store-badge { padding: 10px 16px; }
.ride-back { margin-top: 10px; font-size: 14px; }
.ride-back a { color: var(--text-muted); }
.ride-back a:hover { color: var(--text); }

.ir-stats { display: flex; gap: 32px; margin-top: 30px; flex-wrap: wrap; }
.ir-stat { display: flex; flex-direction: column; }
.ir-stat strong { font-size: 34px; font-weight: 850; letter-spacing: -1px; color: var(--primary); line-height: 1.1; }
.ir-stat span { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-secondary); }

/* Vertical 9:16 teaser in a phone-shaped frame. */
.ir-video-wrap { display: flex; justify-content: center; }
.ir-phone {
  position: relative; width: min(300px, 78%); aspect-ratio: 9 / 16;
  border-radius: 32px; overflow: hidden;
  border: 1px solid var(--border-light); background: #000;
  box-shadow: 0 40px 80px -20px rgba(232, 73, 15, 0.45), 0 0 0 1px var(--border-light);
}
.ir-video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }

.ir-sound {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff; border: none;
  font-family: var(--font); font-size: 14px; font-weight: 700;
  padding: 11px 20px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  animation: irPulse 2.2s ease-in-out infinite;
  transition: background 0.15s;
}
.ir-sound:hover { background: var(--primary-light); }
.ir-sound svg { width: 17px; height: 17px; flex: none; }
/* Once sound is on, stop shouting for attention. */
.ir-sound.is-on {
  animation: none; background: rgba(28, 28, 30, 0.86); color: var(--text-secondary);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ir-sound.is-on:hover { background: var(--surface-elev); color: var(--text); }
/* The muted-speaker slash disappears once audio is on. */
.ir-sound.is-on .ir-sound-icon path:last-child { display: none; }
@keyframes irPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 0 0 rgba(232, 73, 15, 0.55); }
  50%      { box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 0 12px rgba(232, 73, 15, 0); }
}

/* Rules & safety */
.ir-rules { max-width: 780px; margin: 0 auto; }
.ir-rule-card {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 24px 26px; margin-bottom: 22px;
}
.ir-rule-warn { border-left: 3px solid var(--secondary); }
.ir-rule-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--secondary); }
.ir-rule-card p { color: #d7d7da; font-size: 15px; }
.ir-rule-list { list-style: none; display: grid; gap: 14px; }
.ir-rule-list li {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 18px; color: var(--text-secondary); font-size: 15px;
}
.ir-rule-list li strong { color: var(--text); }
.ir-rule-foot { margin-top: 20px; font-size: 14px; color: var(--text-muted); text-align: center; }
.ir-rule-foot a { color: var(--primary-light); text-decoration: underline; }

/* Registration form */
.ir-register {
  max-width: 780px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: 24px; padding: 44px 40px 38px;
}
.ir-register .section-head { margin-bottom: 32px; }
.ir-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* Marks a field as not required, inside its uppercase label. */
.wl-opt {
  font-weight: 500; letter-spacing: 0.3px; text-transform: none;
  color: var(--text-muted);
}
.ir-form .wl-field { margin-bottom: 0; }
.ir-note {
  margin: 20px 0 4px; padding: 14px 16px;
  background: rgba(48, 209, 88, 0.07); border: 1px solid rgba(48, 209, 88, 0.25);
  border-radius: 10px; font-size: 13px; color: var(--text-secondary);
}
.ir-note strong { color: var(--success); }

.ir-check { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; cursor: pointer; }
.ir-check input {
  flex: none; width: 20px; height: 20px; margin-top: 2px;
  accent-color: var(--primary); cursor: pointer;
}
.ir-check span { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.ir-check a { color: var(--primary-light); text-decoration: underline; }

/* FAQ */
.ir-faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.ir-faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 20px;
}
.ir-faq summary {
  cursor: pointer; font-weight: 700; font-size: 16px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.ir-faq summary::-webkit-details-marker { display: none; }
.ir-faq summary::after { content: "+"; color: var(--primary); font-size: 22px; font-weight: 400; line-height: 1; }
.ir-faq details[open] summary::after { content: "−"; }
.ir-faq details p { margin-top: 12px; color: var(--text-secondary); font-size: 15px; }

/* Homepage promo band */
.ir-promo {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(232, 73, 15, 0.18), rgba(245, 166, 35, 0.07));
  border: 1px solid var(--border-light); border-radius: 24px; padding: 32px 34px;
}
.ir-promo-copy { flex: 1 1 320px; }
.ir-promo .eyebrow { margin-bottom: 12px; }
.ir-promo h2 { font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -0.8px; }
.ir-promo p { color: var(--text-secondary); margin-top: 10px; font-size: 16px; }
.ir-promo-media { flex: none; width: 130px; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-light); }
.ir-promo-media img { width: 100%; height: 100%; object-fit: cover; }

/* ── Legal / doc pages ──────────────────────────────────── */
.doc { padding: 64px 0 40px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -1px; margin-bottom: 8px; }
.doc .updated { color: var(--text-muted); font-size: 14px; margin-bottom: 12px; }
.doc .intro { color: var(--text-secondary); font-size: 17px; margin-bottom: 36px; }
.doc h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -0.4px; }
.doc h3 { font-size: 17px; margin: 24px 0 8px; color: var(--primary-light); }
.doc p { color: #d7d7da; margin-bottom: 14px; }
.doc ul { margin: 0 0 16px 22px; }
.doc li { color: #d7d7da; margin-bottom: 8px; }
.doc a.inline { color: var(--primary-light); text-decoration: underline; }
.doc .note {
  background: var(--surface); border: 1px solid var(--border-light);
  border-left: 3px solid var(--secondary); border-radius: 10px;
  padding: 16px 18px; color: var(--text-secondary); font-size: 14px; margin: 22px 0;
}
.back-link { display: inline-block; margin-top: 40px; color: var(--primary-light); font-weight: 600; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .eyebrow { justify-content: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .hero-art { order: -1; }
  .features { grid-template-columns: 1fr 1fr; }
  /* Drop the plain text links on small screens. The Register CTA stays, and so
     does the Ride Link — a link into the app matters most on a phone. */
  .nav a:not(.nav-cta):not(.nav-ride) { display: none; }
  .nav { gap: 10px; }
  .cta-hint { text-align: center; }
  .ir-stats { justify-content: center; }
  .ir-badge { margin-left: auto; margin-right: auto; }
  .ir-video-wrap { order: -1; }
  .ir-promo { text-align: center; justify-content: center; }
  .ir-promo .eyebrow { justify-content: center; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .band { padding: 40px 22px; }
  /* Full-bleed-ish modal on phones; keep the close button clear of the notch. */
  .wl-overlay { padding: 14px; align-items: flex-start; }
  .wl-modal { padding: 30px 20px 24px; border-radius: 18px; margin-top: 24px; }
  .wl-head h2 { font-size: 21px; }
  .cta-row .store-badge { width: 100%; justify-content: center; }
  /* Stack the registration form — side-by-side fields get too cramped to tap. */
  .ir-grid { grid-template-columns: 1fr; }
  .ir-register { padding: 30px 20px 26px; border-radius: 18px; }
  .ir-stats { gap: 22px; }
  .ir-stat strong { font-size: 28px; }
  .btn-primary, .btn-ghost { width: 100%; }
  .ir-promo { padding: 26px 20px; }
  .ir-promo-media { display: none; }
  /* Icon-only Ride Link on narrow phones so it can't crowd out Register. */
  .nav-ride { padding: 8px 11px; font-size: 0; gap: 0; }
  .nav-ride svg { width: 18px; height: 18px; }
  .ride-actions { max-width: 100%; }
}
