/* ============================================================
   RIFT WAITLIST — style.css v2
   Dark athletic platform. Real screenshots. Maximum visual impact.
   ============================================================ */

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

:root {
  --bg:          #08080a;
  --surface:     #111116;
  --elevated:    #1a1a22;
  --border:      #25252f;
  --text:        #f0eee8;
  --muted:       #7a7885;
  --accent:      #e85d2e;
  --accent-h:    #d14e22;
  --swim:        #0ea5e9;
  --bike:        #f59e0b;
  --run:         #10b981;
  --strength:    #a855f7;
  --success:     #4ade80;

  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px;
  --ease: cubic-bezier(.16,1,.3,1);
  --t: .22s ease;
  --t-slow: .5s var(--ease);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle dot-grid texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* ---- UTILITY ---- */
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.faq-container { max-width: 760px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; transition:none; } * { animation-duration:.01ms!important; } }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,8,10,.88);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-img { width: 28px; height: 28px; object-fit: contain; }
.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 17px; letter-spacing: .5px;
  color: var(--text);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px;
  text-decoration: none; border: none; cursor: pointer; white-space: nowrap;
  border-radius: var(--r-sm);
  transition: background var(--t), transform var(--t), opacity var(--t);
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary {
  background: var(--accent); color: #fff;
  padding: 14px 24px; font-size: 15px; font-weight: 600;
  border-radius: var(--r-sm);
  box-shadow: 0 0 0 0 rgba(232,93,46,0);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.btn-primary:hover {
  background: var(--accent-h);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(232,93,46,.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-nav {
  background: var(--accent); color: #fff;
  padding: 9px 16px; font-size: 13px; border-radius: var(--r-sm);
}
.btn-nav:hover { background: var(--accent-h); }

.share-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.btn-share {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border-radius: var(--r-sm);
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: opacity var(--t), transform var(--t);
}
.btn-share:hover { opacity: .85; transform: translateY(-1px); }
.btn-share-x   { background: #000; color: #fff; border: 1px solid var(--border); }
.btn-share-wa  { background: #25d366; color: #fff; }

/* ---- FORMS ---- */
.waitlist-form { width: 100%; }
.form-row { display: flex; gap: 10px; max-width: 500px; }
.form-fields {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 420px; width: 100%;
}
.form-fields-cta { align-items: center; max-width: 440px; margin: 0 auto; }
.form-fields-cta .form-input { width: 100%; max-width: 440px; }
.btn-full { width: 100%; justify-content: center; }
.form-input {
  flex: 1; min-width: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-sm); color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 15px;
  padding: 14px 16px;
  transition: border-color var(--t), background var(--t);
  -webkit-appearance: none;
}
.form-input::placeholder { color: var(--muted); }
.form-input:focus { outline: none; border-color: var(--accent); background: var(--elevated); }
.form-input.error { border-color: #ef4444; }
.form-note { margin-top: 10px; font-size: 12.5px; color: var(--muted); }

[hidden] { display: none !important; }

.form-success {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--surface); border: 1px solid rgba(74,222,128,.2);
  border-radius: var(--r-md); padding: 20px 24px; max-width: 500px;
}
.form-success strong { display: block; font-size: 15px; color: var(--success); margin-bottom: 3px; }
.form-success p { font-size: 13.5px; color: var(--muted); }
.success-check {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(74,222,128,.15); color: var(--success);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; flex-shrink: 0;
}

/* ---- SECTIONS ---- */
.section { position: relative; padding: 108px 0; z-index: 1; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px; display: block;
}
.section-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 700; line-height: 1.13; letter-spacing: -.03em;
  color: var(--text); margin-bottom: 18px;
}
.section-sub {
  font-size: 17px; color: var(--muted); max-width: 580px;
  margin: 0 auto; line-height: 1.7; text-align: center;
}
.section-body { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 0 0;
  position: relative; overflow: hidden;
}

/* Background orbs */
.hero-orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(80px);
}
.orb-blue {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,.18) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: orbFloat 12s ease-in-out infinite alternate;
}
.orb-orange {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,93,46,.14) 0%, transparent 70%);
  bottom: 100px; right: 20%;
  animation: orbFloat 9s ease-in-out 2s infinite alternate-reverse;
}
.orb-green {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(16,185,129,.10) 0%, transparent 70%);
  top: 30%; left: -80px;
  animation: orbFloat 14s ease-in-out 4s infinite alternate;
}
@keyframes orbFloat {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(30px,20px) scale(1.08); }
}

/* Dot grid */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-inner {
  max-width: 1100px; margin: 0 auto; padding: 136px 28px 0;
  width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}

/* Hero badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,93,46,.1); border: 1px solid rgba(232,93,46,.25);
  border-radius: 99px; padding: 6px 14px;
  font-size: 12px; font-weight: 600; color: var(--accent);
  margin-bottom: 24px; letter-spacing: .02em;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(.7); }
}

/* Hero headline */
.hero-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 5.5vw, 70px);
  font-weight: 700; line-height: 1.06; letter-spacing: -.04em;
  color: var(--text); margin-bottom: 20px;
}

.hero-subhead {
  font-size: clamp(15px,1.6vw,17.5px); color: var(--muted);
  line-height: 1.7; margin-bottom: 36px; max-width: 480px;
}
.hero-subhead strong { color: var(--text); font-weight: 600; }

/* Hero stats */
.hero-stats {
  display: flex; align-items: center; gap: 28px;
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-stat { display: flex; flex-direction: column; align-items: flex-start; }
.stat-value { display: flex; align-items: baseline; gap: 2px; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; font-weight: 700; color: var(--text); line-height: 1;
}
.stat-suffix { font-size: 18px; font-weight: 700; color: var(--text); line-height: 1; }
.stat-num-hash { color: var(--accent); }
.stat-label { font-size: 11.5px; color: var(--muted); margin-top: 4px; line-height: 1.4; max-width: 130px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; align-self: center; }

/* ---- IPHONE FRAME ---- */
.iphone-frame {
  position: relative;
  width: 280px; height: 570px;
  background: #0a0a0f;
  border-radius: 46px;
  border: 2px solid rgba(255,255,255,.12);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.05),
    0 40px 100px rgba(0,0,0,.8),
    0 0 60px rgba(14,165,233,.08),
    inset 0 1px 0 rgba(255,255,255,.07);
  overflow: visible;
  flex-shrink: 0;
}
/* Side buttons */
.iphone-side-left {
  position: absolute; left: -3px; top: 96px;
  width: 3px; height: 76px;
  background: linear-gradient(to right, #1a1a22, #252530);
  border-radius: 3px 0 0 3px;
}
.iphone-side-right {
  position: absolute; right: -3px; top: 130px;
  width: 3px; height: 60px;
  background: linear-gradient(to left, #1a1a22, #252530);
  border-radius: 0 3px 3px 0;
}
.iphone-vol-up {
  position: absolute; left: -3px; top: 136px;
  width: 3px; height: 36px;
  background: linear-gradient(to right, #1a1a22, #252530);
  border-radius: 3px 0 0 3px;
}
.iphone-vol-dn {
  position: absolute; left: -3px; top: 184px;
  width: 3px; height: 36px;
  background: linear-gradient(to right, #1a1a22, #252530);
  border-radius: 3px 0 0 3px;
}
.iphone-power {
  position: absolute; right: -3px; top: 170px;
  width: 3px; height: 56px;
  background: linear-gradient(to left, #1a1a22, #252530);
  border-radius: 0 3px 3px 0;
}
.iphone-screen {
  position: absolute;
  top: 7px; left: 7px; right: 7px; bottom: 7px;
  border-radius: 40px;
  overflow: hidden;
  background: #0d0d12;
}
.iphone-island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 28px;
  background: #000; border-radius: 14px;
  z-index: 10;
}
.iphone-screenshot {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
}

/* Hero phone placement */
.hero-phone-wrap {
  position: relative;
  display: flex; justify-content: center; align-items: flex-end;
  height: 620px;
  isolation: isolate;
}

.iphone-frame { /* hero size */ width: 280px; height: 570px; }

/* Floating metric badges */
.float-badge {
  position: absolute;
  background: rgba(17,17,22,.9);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 14px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  white-space: nowrap;
}
.fb-label { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; margin-bottom: 2px; }
.fb-value { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; color: var(--text); }

.float-1 { top: 60px;  left: -30px;  animation: floatA 6s ease-in-out infinite; }
.float-2 { top: 180px; right: -20px; animation: floatB 7s ease-in-out 1s infinite; }
.float-3 { bottom: 220px; left: -40px; animation: floatA 8s ease-in-out 2s infinite; }
.float-4 { bottom: 90px; right: -20px; animation: floatB 6.5s ease-in-out 0.5s infinite; }

.float-1 .fb-value { color: var(--swim); }
.float-2 .fb-value { color: var(--accent); }
.float-3 .fb-value { color: var(--run); }
.float-4 .fb-value { color: var(--bike); }

@keyframes floatA {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes floatB {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* Sport strip */
.sport-strip {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 24px 28px;
  border-top: 1px solid var(--border);
  margin-top: 80px;
  position: relative; z-index: 1;
}
.sport-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.sport-swim svg { color: var(--swim); }
.sport-bike svg { color: var(--bike); }
.sport-run  svg { color: var(--run); }
.sport-strength svg { color: var(--strength); }
.sport-sep { color: var(--border); font-size: 18px; }

/* ---- PROBLEM SECTION ---- */
.problem-section { background: var(--bg); }
.problem-section .section-headline,
.problem-section .section-sub { text-align: center; }

.problem-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 56px;
}
.problem-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 24px;
  transition: border-color var(--t-slow), transform var(--t-slow);
}
.problem-card:hover { border-color: rgba(232,93,46,.2); transform: translateY(-2px); }
.problem-icon {
  width: 40px; height: 40px;
  background: rgba(232,93,46,.08); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 16px;
}
.problem-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: -.015em;
  margin-bottom: 8px; color: var(--text);
}
.problem-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ---- RIFT CRACK DIVIDER ---- */
.rift-crack {
  display: flex; align-items: center; gap: 20px;
  padding: 0 28px; max-width: 1100px; margin: 0 auto;
}
.crack-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: .4;
}
.crack-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: .25em;
  color: var(--accent); opacity: .6;
}

/* ---- BENTO FEATURES ---- */
.features-section .section-headline,
.features-section .section-label { text-align: center; margin-left: auto; margin-right: auto; display: block; }
.features-section .section-headline { display: block; text-align: center; }

.features-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 16px;
  margin-top: 56px;
}

.bento-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 36px 32px;
  position: relative; overflow: hidden;
  transition: border-color var(--t-slow), transform var(--t-slow);
}
.bento-card:hover { transform: translateY(-2px); }
.bento-lg { grid-column: span 1; }
.bento-sm { grid-column: span 1; }
.bento-full { grid-column: span 2; }

.bento-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.bento-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(18px, 2vw, 22px); font-weight: 700;
  letter-spacing: -.02em; line-height: 1.2;
  color: var(--text); margin-bottom: 12px;
}
.bento-body { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* AI card glow */
.bento-ai { border-color: rgba(168,85,247,.2); }
.bento-ai::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(168,85,247,.12) 0%, transparent 65%);
  pointer-events: none;
}

.bento-metrics { display: flex; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.bm-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.bm-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.bm-swim { background: var(--swim); }
.bm-bike { background: var(--bike); }
.bm-run  { background: var(--run); }
.bm-strength { background: var(--strength); }

/* Log card */
.bento-log { border-color: rgba(14,165,233,.15); }
.log-preview { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.log-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted);
  padding: 8px 12px;
  background: var(--elevated); border-radius: var(--r-sm);
}
.log-item .log-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.log-swim .log-dot { background: var(--swim); }
.log-bike .log-dot { background: var(--bike); }
.log-run  .log-dot { background: var(--run); }
.log-time { margin-left: auto; font-size: 12px; color: var(--border); }

/* Adapt card */
.bento-adapt { border-color: rgba(16,185,129,.15); }
.adapt-bars { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.adapt-week { display: flex; align-items: center; gap: 10px; }
.aw-label { font-size: 11px; color: var(--muted); width: 50px; flex-shrink: 0; }
.aw-bar { flex: 1; height: 8px; background: var(--elevated); border-radius: 4px; overflow: hidden; }
.aw-fill { height: 100%; border-radius: 4px; transition: width 1.5s var(--ease); }
.aw-plan   { background: var(--border); }
.aw-miss   { background: #ef4444; }
.aw-adapt  { background: var(--run); }

/* Stats card */
.bento-stats { border-color: rgba(245,158,11,.15); }
.bento-stats::before {
  content: '';
  position: absolute; bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(245,158,11,.08) 0%, transparent 65%);
  pointer-events: none;
}
.stats-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.spill {
  padding: 4px 12px; border-radius: 99px;
  background: var(--elevated); border: 1px solid var(--border);
  font-size: 12px; color: var(--muted); font-weight: 500;
}

/* Import card */
.bento-import { border-color: rgba(232,93,46,.15); }
.bento-content-row {
  display: flex; align-items: center; gap: 60px;
}
.bento-content-row > div:first-child { flex: 1; }
.import-visual {
  display: flex; align-items: center; gap: 16px;
  flex-shrink: 0; padding: 24px;
  background: var(--elevated); border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.import-pill {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  background: rgba(232,93,46,.1); border: 1px solid rgba(232,93,46,.2);
  border-radius: var(--r-sm);
  font-size: 12px; color: var(--accent); font-weight: 600;
  white-space: nowrap;
}
.import-arrow { font-size: 20px; color: var(--muted); }
.import-result {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 10px 14px;
}
.ir-week { font-size: 12px; color: var(--muted); padding: 3px 0; }
.ir-dots { font-size: 12px; color: var(--border); text-align: center; }

/* ---- SCREENSHOT SECTIONS ---- */
.screenshot-section { overflow: hidden; }
.ss-alt { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }

.screenshot-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.screenshot-left  { }
.screenshot-right { }

.ss-features { list-style: none; margin-top: 28px; }
.ss-feature {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.ss-feature:last-child { border-bottom: none; }
.ss-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.ss-feature strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.ss-feature p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0; }

.ss-phone { display: flex; justify-content: center; }

/* Smaller iPhone for screenshot sections */
.iphone-sm {
  width: 240px !important; height: 490px !important;
  border-radius: 40px !important;
}
.iphone-sm .iphone-screen { border-radius: 33px !important; }
.iphone-sm .iphone-island { width: 85px !important; height: 24px !important; border-radius: 12px !important; }
.iphone-sm .iphone-side-left, .iphone-sm .iphone-vol-up, .iphone-sm .iphone-vol-dn { left: -2.5px !important; width: 2.5px !important; }
.iphone-sm .iphone-side-right, .iphone-sm .iphone-power { right: -2.5px !important; width: 2.5px !important; }

/* Glow halos behind phones */
.ss-phone .iphone-frame::after {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(14,165,233,.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
}

/* ---- TESTIMONIALS ---- */
.testimonials-section .section-label,
.testimonials-section .section-headline { text-align: center; }

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 56px;
}

.t-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: border-color var(--t-slow), transform var(--t-slow);
}
.t-card:hover { border-color: rgba(232,93,46,.15); transform: translateY(-2px); }
.t-card-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(26,26,34,1) 100%);
  border-color: rgba(232,93,46,.15);
}

.t-text {
  font-size: 15.5px; color: var(--text); line-height: 1.75;
  font-style: italic; flex: 1; margin-bottom: 24px;
}
.t-text em { color: var(--text); font-style: normal; font-weight: 600; }
.t-card-featured .t-text { font-size: 17px; }

.t-author { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.t-name { font-size: 14px; font-weight: 600; color: var(--text); }
.t-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---- FAQ ---- */
.faq-section .section-label,
.faq-section .section-headline { text-align: center; }

.faq-list { margin-top: 48px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0;
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600;
  color: var(--text); text-align: left;
}
.faq-q:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.faq-chevron { font-size: 20px; color: var(--muted); transition: transform var(--t), color var(--t); flex-shrink: 0; font-weight: 300; }
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(45deg); color: var(--accent); }
.faq-a { font-size: 14.5px; color: var(--muted); line-height: 1.7; padding-bottom: 22px; padding-right: 40px; }

/* ---- FINAL CTA ---- */
.final-cta {
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(232,93,46,.09) 0%, transparent 60%),
    var(--bg);
  overflow: hidden; padding: 130px 0 150px;
}
.cta-inner { text-align: center; position: relative; max-width: 700px; margin: 0 auto; }
.cta-bg-word {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(140px, 22vw, 260px); font-weight: 700; letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.04);
  pointer-events: none; user-select: none; white-space: nowrap;
}
.cta-sport-line {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 20px; position: relative;
}
.csl { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.csl.swim { color: var(--swim); }
.csl.bike { color: var(--bike); }
.csl.run  { color: var(--run); }
.csl-dot { color: var(--border); font-size: 16px; }

.cta-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(38px,5.5vw,64px); font-weight: 700;
  letter-spacing: -.04em; line-height: 1.06;
  color: var(--text); margin-bottom: 18px; position: relative;
}
.cta-sub { font-size: 17px; color: var(--muted); line-height: 1.6; margin-bottom: 44px; position: relative; }

/* Wave progress */
.wave-wrap { max-width: 420px; margin: 0 auto 40px; position: relative; }
.wave-track { height: 5px; background: var(--surface); border-radius: 99px; overflow: hidden; margin-bottom: 10px; }
.wave-fill { height: 100%; background: linear-gradient(to right, var(--accent), var(--bike)); border-radius: 99px; transition: width 1.6s var(--ease); }
.wave-label { font-size: 13px; color: var(--muted); text-align: center; }
.wave-label strong { color: var(--text); }

.waitlist-form-cta { display: flex; flex-direction: column; align-items: center; position: relative; }
.waitlist-form-cta .form-row { justify-content: center; }
.waitlist-form-cta .form-success { margin: 0 auto; }

/* Pricing note */
#final-cta-pricing-note { font-size: 12.5px; color: var(--muted); margin-top: 16px; position: relative; }

/* ---- FOOTER ---- */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-logo-img { width: 24px; height: 24px; object-fit: contain; }
.footer-tagline { font-size: 12.5px; color: var(--muted); margin-top: 5px; letter-spacing: .04em; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-link { font-size: 13px; color: var(--muted); text-decoration: none; transition: color var(--t); }
.footer-link:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--muted); opacity: .5; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-subhead { text-align: center; }
  .hero-phone-wrap { height: 560px; }
  .hero-stats { justify-content: center; }
  .form-row { max-width: 100%; }

  .problem-grid { grid-template-columns: 1fr 1fr; }
  .features-bento { grid-template-columns: 1fr; }
  .bento-full { grid-column: span 1; }
  .bento-content-row { flex-direction: column; gap: 28px; }
  .import-visual { align-self: stretch; justify-content: center; flex-wrap: wrap; }

  .screenshot-block { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .screenshot-left .ss-phone { order: -1; }
  .ss-features { text-align: left; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .t-card-featured { grid-column: span 1; }
}

@media (max-width: 640px) {
  .nav { padding: 14px 20px; }
  .hero-inner { padding: 110px 20px 0; }
  .hero-headline { font-size: clamp(36px, 10vw, 52px); }
  .hero-phone-wrap { height: 420px; }
  .iphone-frame { width: 200px !important; height: 408px !important; border-radius: 34px !important; }
  .iphone-frame .iphone-screen { border-radius: 28px !important; }
  .float-1, .float-3 { left: -8px; }
  .float-2, .float-4 { right: -8px; }

  .problem-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .screenshot-section { padding: 52px 0 !important; }
  .section-headline { font-size: clamp(26px, 8vw, 36px); }

  .form-row { flex-direction: column; gap: 12px; }
  .btn-primary { width: 100%; justify-content: center; }

  .sport-strip { flex-wrap: wrap; gap: 14px; }
  .sport-sep { display: none; }

  .cta-bg-word { display: none; }
  .share-row { flex-direction: column; }
  .btn-share { justify-content: center; }

  .iphone-sm { width: 220px !important; height: 448px !important; }
  .screenshot-block { gap: 32px !important; }
}

@media (max-width: 375px) {
  .hero-subhead { font-size: 14.5px; margin-bottom: 22px; }
  .float-badge { display: none; }
}
