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

:root {
  --bg: #ffffff;
  --surface: #f7f7f5;
  --surface2: #f1f1ee;
  --border: #e7e6e3;
  --border-soft: #efeeec;
  --accent: #FF6B35;
  --accent-hover: #ef5d28;
  --accent-dim: #FFF1EB;
  --text: #1F2937;
  --text-mid: #4b5563;
  --text-dim: #6b7280;
  --display: 'Mona Sans', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(31,41,55,.05);
  --shadow-md: 0 16px 40px rgba(31,41,55,.08);
  --shadow-lg: 0 30px 70px rgba(31,41,55,.14);
  --ease: cubic-bezier(.22,.61,.36,1);
  --maxw: 1140px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;          /* no rubber-band drag on the page */
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overscroll-behavior: none;          /* lock scroll to bounds, no bounce */
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.hide-mobile { display: inline; }

/* ── Reveal animation (soft, restrained) ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }

/* ── Line-by-line headline reveal (clip mask) ── */
.reveal-lines .line {
  display: block;
  overflow: hidden;
  padding-bottom: .14em;
  margin-bottom: -.14em;
}
.reveal-lines .line > span {
  display: block;
  transform: translateY(115%);
  transition: transform 1s var(--ease);
  will-change: transform;
}
.reveal-lines.in .line:nth-child(1) > span { transform: translateY(0); transition-delay: .05s; }
.reveal-lines.in .line:nth-child(2) > span { transform: translateY(0); transition-delay: .18s; }
.reveal-lines.in .line:nth-child(3) > span { transform: translateY(0); transition-delay: .31s; }

/* ── Focus states (keyboard nav) ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.waitlist :focus-visible { outline-color: #ffb392; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal-lines .line > span { transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  [data-parallax] { transform: none !important; }
}

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px;
  transition: padding .3s var(--ease);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled .nav-inner { box-shadow: var(--shadow-md); background: rgba(255,255,255,.9); }
.nav-logo { height: 32px; width: auto; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-signin {
  padding: 10px 18px; border-radius: 999px;
  color: var(--text); font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-signin:hover { background: var(--surface2); color: var(--accent); }
.nav-cta {
  padding: 10px 22px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,107,53,.3); }
.nav-cta { white-space: nowrap; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 48px 80px;
  gap: 56px;
  max-width: 1260px; margin: 0 auto;
}
.hero-bg {
  position: absolute; top: 0; bottom: 0;
  left: 50%; width: 100vw; transform: translateX(-50%);
  z-index: -2; overflow: hidden; pointer-events: none;
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('/public/hero-bg.jpg');
  background-size: cover;
  background-position: center 28%;
  opacity: .92;
  filter: grayscale(100%) contrast(1.02) brightness(1.03);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    /* gentle, gradual left→right wash — no hard seam */
    linear-gradient(100deg,
      rgba(255,255,255,.96) 0%,
      rgba(255,255,255,.88) 22%,
      rgba(255,255,255,.66) 42%,
      rgba(255,255,255,.4) 60%,
      rgba(255,255,255,.22) 78%,
      rgba(255,255,255,.12) 100%),
    /* faint uniform veil so the whole image reads as one cohesive layer */
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)),
    /* soft fade into the section below */
    linear-gradient(to bottom, rgba(255,255,255,.2) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, #fff 100%);
}
.hero-glow {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
}
.hero-glow::before {
  content: ''; position: absolute;
  top: -10%; right: -5%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(255,107,53,.16), transparent 62%);
  filter: blur(20px);
}
.hero-glow::after {
  content: ''; position: absolute;
  bottom: -20%; left: -10%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,107,53,.07), transparent 65%);
  filter: blur(20px);
}
.hero-content { flex: 1; max-width: 560px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--accent-dim); color: var(--accent);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 28px;
  border: 1px solid rgba(255,107,53,.16);
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,107,53,.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,107,53,.45); }
  70% { box-shadow: 0 0 0 8px rgba(255,107,53,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,53,0); }
}

.hero-headline {
  font-family: var(--display);
  font-size: clamp(46px, 6.6vw, 84px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 26px;
}
.accent-text {
  color: var(--accent);
}

.hero-sub {
  font-size: 17.5px; color: var(--text-mid);
  line-height: 1.7; margin-bottom: 36px;
  font-weight: 400; max-width: 520px;
}

.hero-form { display: flex; gap: 10px; margin-bottom: 14px; max-width: 480px; }
.hero-input {
  flex: 1; padding: 15px 20px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 999px; color: var(--text);
  font-size: 15px; outline: none;
  font-family: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.hero-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,107,53,.12); }
.hero-input::placeholder { color: var(--text-dim); }
.hero-btn {
  padding: 15px 30px; border-radius: 999px;
  background: var(--accent); color: #fff; border: none;
  font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: inherit; white-space: nowrap;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.hero-btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,107,53,.32); }
.hero-btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.hero-note { font-size: 13px; color: var(--text-dim); min-height: 20px; }
.hero-note.success { color: #16a34a; }
.hero-note.error { color: #dc2626; }

.hero-screens {
  flex: 1; display: flex; align-items: center;
  justify-content: center; position: relative;
  min-height: 540px;
}
.phone-mockup {
  position: absolute;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-soft);
  transition: transform .4s var(--ease);
}
.phone-mockup img { display: block; width: 100%; }
.phone-front {
  width: 248px; z-index: 2;
  transform: translateX(44px) rotate(2.5deg);
}
.phone-back {
  width: 226px; z-index: 1;
  transform: translateX(-64px) rotate(-5deg);
}

/* ── Built for / sport badges ── */
.builtfor {
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--border-soft);
}
.builtfor-label {
  text-align: center;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.sport-badges {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.sport-badge {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 14px 26px; border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 15px; font-weight: 600;
  letter-spacing: .03em; text-transform: uppercase;
  color: var(--text);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.sport-badge svg { width: 22px; height: 22px; color: var(--accent); }
.sport-badge:hover {
  transform: translateY(-3px);
  border-color: rgba(255,107,53,.4);
  box-shadow: 0 10px 26px rgba(31,41,55,.08);
}

/* ── Sections ── */
.section-label {
  font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 700; color: var(--text);
  line-height: 1.06; letter-spacing: -.025em;
  margin-bottom: 56px;
}

/* ── Problem ── */
.problem {
  padding: 110px 0;
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problem-card {
  padding: 34px 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.problem-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim); color: var(--accent);
  margin-bottom: 20px;
}
.problem-icon svg { width: 23px; height: 23px; }
.problem-card h4 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.problem-card p { font-size: 14.5px; color: var(--text-mid); line-height: 1.65; }

/* ── Product / Features ── */
.product { padding: 120px 0; }
.feature-row {
  display: flex; align-items: center; gap: 72px;
  margin-bottom: 110px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-tag {
  display: inline-block;
  padding: 5px 14px; border-radius: 999px;
  background: var(--accent-dim); color: var(--accent);
  font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 18px;
}
.feature-text h4 {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 33px); font-weight: 600; color: var(--text);
  margin-bottom: 16px; line-height: 1.14; letter-spacing: -.02em;
}
.feature-text p { font-size: 16px; color: var(--text-mid); line-height: 1.7; max-width: 460px; }
.feature-screen { flex: 1; display: flex; justify-content: center; }
.screen-img {
  width: 270px; border-radius: 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-soft);
}

/* layered desktop+phone */
.feature-screen-layered {
  position: relative; flex: 1;
  line-height: 0; font-size: 0;
  padding-bottom: 36px;
}
.layered-desktop {
  display: block; width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.layered-phone {
  position: absolute; bottom: 0; right: -18px;
  width: 31%;
  border-radius: 20px;
  box-shadow: 0 26px 50px rgba(31,41,55,.22);
  border: 1px solid var(--border-soft);
  z-index: 2;
}

/* ── Bento feature grid ── */
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.bento-tile {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 38px;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.bento-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bento-text h4 {
  font-family: var(--display);
  font-size: 25px; font-weight: 600; color: var(--text);
  margin-bottom: 14px; line-height: 1.14; letter-spacing: -.02em;
}
.bento-text p { font-size: 15px; color: var(--text-mid); line-height: 1.65; }

/* screenshots float inside each tile — full border + shadow on all sides */
.bento-media img {
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 40px rgba(31,41,55,.18);
}

/* wide top tile: text left, screenshot floats on the right */
.bento-tile--wide {
  grid-column: span 2;
  display: flex; align-items: center; gap: 48px;
}
.bento-tile--wide .bento-text { flex: 1; max-width: 460px; }
.bento-media--side { flex: 1; display: flex; justify-content: center; align-items: center; }
.bento-media--side img { width: 280px; max-width: 100%; }

/* bottom tiles: text on top, screenshot floats centered below */
.bento-tile:not(.bento-tile--wide) {
  display: flex; flex-direction: column;
  min-height: 430px;
}
.bento-media--bottom {
  margin-top: 28px; flex: 1;
  display: flex; justify-content: center; align-items: center;
}
.bento-media--bottom img { width: 210px; max-width: 72%; }

/* carousel dots — only shown on mobile */
.bento-dots, .steps-dots { display: none; }
.dot {
  width: 7px; height: 7px; padding: 0; border: none;
  border-radius: 999px; background: var(--border);
  cursor: pointer;
  transition: background .25s var(--ease), width .25s var(--ease);
}
.dot.active { background: var(--accent); width: 22px; }

/* ── Stats band ── */
.stats {
  padding: 84px 0;
  border-top: 1px solid var(--border-soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.stat { text-align: center; padding: 0 24px; }
.stat-num {
  font-family: var(--display);
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 700; color: var(--text);
  line-height: 1; letter-spacing: -.03em;
  margin-bottom: 14px;
}
.stat-label {
  font-size: 14px; color: var(--text-mid);
  line-height: 1.5; max-width: 260px; margin: 0 auto;
}
.stat-divider { width: 1px; height: 64px; background: var(--border); }
.stats-source {
  text-align: center; margin-top: 40px;
  font-size: 12px; color: var(--text-dim);
  letter-spacing: .02em;
}

/* ── How it works ── */
.how {
  padding: 110px 0;
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  padding: 36px 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  font-family: var(--display);
  font-size: 44px; font-weight: 700;
  color: var(--accent); line-height: 1; margin-bottom: 18px;
  letter-spacing: -.02em;
}
.step h4 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--text-mid); line-height: 1.7; }

/* ── Founder ── */
.founder { padding: 120px 0; }
.founder-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: 64px; align-items: center;
}
.founder-photo {
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-soft);
  aspect-ratio: 4 / 5;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-quote {
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 400; color: var(--text);
  line-height: 1.5; max-width: 620px;
  margin: 10px 0 30px; letter-spacing: -.01em;
  position: relative;
}
.founder-quote::before {
  content: '“'; color: var(--accent);
  font-size: 1.4em; line-height: 0; vertical-align: -.35em; margin-right: .04em;
}
.founder-quote::after {
  content: '”'; color: var(--accent);
  font-size: 1.4em; line-height: 0; vertical-align: -.55em; margin-left: .02em;
}
.founder-name { font-size: 15.5px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.founder-races { font-size: 13.5px; color: var(--text-dim); max-width: 540px; line-height: 1.7; }

/* ── Waitlist CTA — compact contained "finisher" banner ── */
.waitlist {
  background: var(--bg);
  padding: 40px 24px 72px;
}
.waitlist-glow { display: none; }
.waitlist .container {
  position: relative; overflow: hidden;
  max-width: 1000px; margin: 0 auto;
  background:
    radial-gradient(circle at 50% -30%, rgba(255,107,53,.3), transparent 58%),
    var(--text);
  border-radius: 28px;
  padding: 56px 48px;
  text-align: center;
}
.waitlist-headline {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; color: #fff;
  line-height: 1.02; letter-spacing: -.03em; margin-bottom: 16px;
}
.waitlist-sub {
  font-size: 15.5px; color: rgba(255,255,255,.72);
  max-width: 460px; margin: 0 auto 28px; line-height: 1.6;
}
.waitlist-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto 16px; }
.waitlist-input {
  flex: 1; padding: 16px 22px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px; color: #fff;
  font-size: 15px; outline: none; font-family: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.waitlist-input:focus { border-color: var(--accent); background: rgba(255,255,255,.12); box-shadow: 0 0 0 4px rgba(255,107,53,.18); }
.waitlist-input::placeholder { color: rgba(255,255,255,.5); }
.waitlist-btn {
  padding: 16px 32px; border-radius: 999px;
  background: var(--accent); color: #fff; border: none;
  font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: inherit; white-space: nowrap;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.waitlist-btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,107,53,.4); }
.waitlist-btn:disabled { opacity: .6; cursor: default; transform: none; }
.waitlist-msg { font-size: 13.5px; min-height: 20px; margin-bottom: 10px; color: rgba(255,255,255,.7); }
.waitlist-msg.success { color: #4ade80; }
.waitlist-msg.error { color: #fca5a5; }
.waitlist-note { font-size: 13px; color: rgba(255,255,255,.5); }
.waitlist-note a { color: rgba(255,255,255,.8); text-decoration: underline; }
.waitlist-note a:hover { color: #fff; }

/* ── Footer ── */
.footer { padding: 56px 24px; text-align: center; }
.footer-logo { height: 30px; width: auto; margin-bottom: 14px; }
.footer-tagline { font-size: 13.5px; color: var(--text-mid); margin-bottom: 8px; }
.footer-copy { font-size: 12.5px; color: var(--text-dim); }
.footer-links { margin-bottom: 14px; display: flex; gap: 18px; justify-content: center; }
.footer-links a {
  font-size: 13px; color: var(--text-mid); text-decoration: none;
  transition: color .2s var(--ease);
}
.footer-links a:hover { color: var(--accent); }

/* ── Legal pages (privacy / terms) ── */
.legal-nav {
  max-width: 760px; margin: 0 auto; padding: 28px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.legal-nav .nav-logo { height: 30px; }
.legal-back { font-size: 14px; font-weight: 600; color: var(--text-mid); text-decoration: none; }
.legal-back:hover { color: var(--accent); }
.legal {
  max-width: 760px; margin: 0 auto; padding: 24px 24px 96px;
}
.legal h1 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 44px); font-weight: 700;
  letter-spacing: -.02em; margin-bottom: 10px;
}
.legal .legal-updated { font-size: 13.5px; color: var(--text-dim); margin-bottom: 14px; }
.legal .legal-disclaimer {
  background: var(--accent-dim); border: 1px solid rgba(255,107,53,.2);
  border-radius: 14px; padding: 16px 18px; margin-bottom: 36px;
  font-size: 14px; color: var(--text-mid); line-height: 1.6;
}
.legal h2 {
  font-family: var(--display);
  font-size: 20px; font-weight: 600; letter-spacing: -.01em;
  margin: 34px 0 12px;
}
.legal p { font-size: 15.5px; color: var(--text-mid); line-height: 1.75; margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 20px; }
.legal li { font-size: 15.5px; color: var(--text-mid); line-height: 1.7; margin-bottom: 8px; }
.legal a { color: var(--accent); }
.legal strong { color: var(--text); }
.legal .placeholder {
  background: #fff3cd; color: #7a5b00; padding: 1px 6px;
  border-radius: 5px; font-size: .92em;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .feature-row, .feature-row.reverse { gap: 48px; }
}
@media (max-width: 900px) {
  .hide-mobile { display: none; }
  .nav { padding: 12px; }
  .nav-inner { padding: 10px 16px 10px 18px; }

  /* Hero — compact, fits ~one screen, text + phone feel connected */
  .hero {
    flex-direction: column; align-items: flex-start;
    padding: 92px 24px 32px;
    min-height: auto; gap: 20px; text-align: left;
  }
  .hero-content { max-width: 100%; width: 100%; }
  .hero-badge { margin-bottom: 16px; }
  .hero-headline { font-size: clamp(35px, 9.7vw, 54px); margin-bottom: 16px; letter-spacing: -.05em; }
  .hero-sub { font-size: 13px; line-height: 1.5; max-width: 100%; margin-bottom: 20px; }
  .hero-form { flex-direction: column; max-width: 100%; margin-bottom: 0; gap: 8px; }
  .hero-input { padding: 12px 18px; font-size: 14px; }
  .hero-btn { width: 100%; padding: 12px 24px; font-size: 14px; }
  /* photo subtle behind text on mobile so copy stays legible */
  .hero-bg::before { opacity: .5; background-position: center 32%; }
  .hero-bg::after {
    background:
      linear-gradient(to bottom,
        rgba(255,255,255,.84) 0%, rgba(255,255,255,.62) 38%,
        rgba(255,255,255,.52) 62%, #fff 100%);
  }
  .hero-screens {
    position: relative; min-height: 0; width: 100%;
    justify-content: center; margin-top: 0;
  }
  .phone-back { display: none; }            /* one phone, not two cramped */
  .phone-front {
    position: relative; width: min(172px, 44vw);
    transform: rotate(0); margin: 0 auto;
  }

  .problem-grid { grid-template-columns: 1fr; }
  .feature-row, .feature-row.reverse { flex-direction: column; gap: 30px; }
  .feature-text p { max-width: 100%; }
  .screen-img { width: min(260px, 72vw); }

  /* Stats stay horizontal (3 across) — compact */
  .stats { padding: 52px 0; }
  .stat { padding: 0 8px; }
  .stat-num { font-size: clamp(20px, 6.6vw, 30px); margin-bottom: 8px; }
  .stat-label { font-size: 10.5px; line-height: 1.35; max-width: none; }
  .stat-divider { height: 52px; }
  .stats-source { margin-top: 28px; font-size: 11px; }

  /* Bento becomes a swipeable, snap-scrolling carousel */
  .bento {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow: hidden;          /* no native scroll → iOS can't rubber-band */
    touch-action: pan-y;       /* vertical gestures scroll the page; JS handles horizontal */
    scrollbar-width: none;
    margin: 0 -24px;           /* bleed to the screen edges */
    padding: 6px 24px 6px;     /* re-add edge gutters so cards align */
  }
  .bento::-webkit-scrollbar { display: none; }
  .bento-tile,
  .bento-tile--wide {
    flex: 0 0 84%;              /* leaves a peek of the next card */
    scroll-snap-align: center;
    min-height: 0;
  }
  .bento-tile--wide {
    flex-direction: column; align-items: flex-start; gap: 14px;
    padding: 24px;
  }
  .bento-tile:not(.bento-tile--wide) { min-height: 0; padding: 24px; }
  .bento-tile--wide .bento-text { max-width: 100%; }
  .bento-text h4 { font-size: 20px; min-height: 2.28em; }   /* reserve 2 lines so headings level */
  .bento-text p { font-size: 13.5px; line-height: 1.5; }
  /* unify screenshot size + bottom-align across cards so images level */
  .bento-media,
  .bento-media--side,
  .bento-media--bottom {
    width: 100%; margin-top: auto; flex: 0 0 auto;
    display: flex; align-items: flex-end; justify-content: center;
  }
  .bento-media img { width: 170px; max-width: 46vw; height: auto; }
  .bento-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }

  /* How it works — swipe carousel (matches features) */
  .steps {
    display: flex; grid-template-columns: none; gap: 14px;
    overflow: hidden;          /* no native scroll → iOS can't rubber-band */
    touch-action: pan-y;       /* vertical gestures scroll the page; JS handles horizontal */
    scrollbar-width: none;
    margin: 0 -24px; padding: 6px 24px;
  }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 80%; scroll-snap-align: center; }
  .steps-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }

  /* Founder — photo + text side by side */
  .founder-grid {
    grid-template-columns: 0.42fr 0.58fr;
    gap: 18px; align-items: start; text-align: left;
  }
  .founder-photo { width: 100%; max-width: 100%; margin: 0; aspect-ratio: 4 / 5; }
  .founder-quote { font-size: 14px; line-height: 1.5; margin: 4px 0 16px; }
  .founder-quote::before, .founder-quote::after { font-size: 1.2em; }
  .founder-name { font-size: 14px; }
  .founder-races { font-size: 11.5px; max-width: 100%; }

  .feature-screen-layered { width: 100%; }
  .layered-phone { width: 34%; right: 0; }
  .waitlist { padding: 24px 20px 52px; }
  .waitlist .container { padding: 38px 24px; border-radius: 22px; }
  .waitlist-headline { font-size: clamp(26px, 8vw, 38px); }
  .waitlist-sub { font-size: 14px; margin-bottom: 22px; }
  .waitlist-form { flex-direction: column; }
  .waitlist-btn { width: 100%; }
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 9px 12px 9px 16px; }
  .nav-logo { height: 26px; }
  .nav-actions { gap: 2px; }
  .nav-signin { padding: 9px 12px; font-size: 13.5px; }
  .nav-cta { padding: 9px 16px; font-size: 13.5px; }
  .hero { padding-top: 104px; }
  .problem, .how { padding: 84px 0; }
  .product, .founder, .waitlist { padding: 84px 0; }
  .section-title { margin-bottom: 40px; }
  .sport-badges { gap: 10px; }
  .sport-badge { font-size: 14px; padding: 11px 16px; gap: 8px; }
  .sport-badge svg { width: 18px; height: 18px; }
}
