/* rowingpals.com — page styles. Phone mockups live in ui.css.
   Follows the app's look: solid colours, no gradients (decision 100); cards with 12 pt corners and a
   hairline edge; rounded-rectangle buttons (decision 99). Glows are shadows of one solid colour. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--base); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif; letter-spacing: -.03em; line-height: 1.02; margin: 0; }
p { margin: 0; }
::selection { background: var(--brand); color: var(--on-brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.wrap { width: min(1200px, 100% - 32px); margin: 0 auto; position: relative; z-index: 1; }
section { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow.lilac { color: var(--records); }
.eyebrow.amber { color: var(--rank); }
.h2 { font-size: clamp(38px, 5.6vw, 72px); font-weight: 700; margin: 16px 0 18px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink2); max-width: 560px; }
.hl { color: var(--brand); }
.hl.lilac { color: var(--records); }

/* ---------- Buttons: rounded rectangles ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 16px; transition: transform .2s, background .2s; cursor: pointer; border: 0; font-family: inherit; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: #A6C6FF; }
.btn-ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 .5px var(--line); }
.btn-ghost:hover { background: var(--raised); }
.arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

.glass {
  background: rgba(40, 43, 52, .62);
  -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(0, 0, 0, .22), inset 0 0 0 .5px rgba(255, 255, 255, .14), 0 14px 36px rgba(0, 0, 0, .35);
}
@media (prefers-reduced-transparency: reduce) { .glass { background: #2A2D35; -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---------- Nav: floats like the tab bar and shrinks on scroll ---------- */
.nav { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(1100px, calc(100% - 32px)); height: 62px; border-radius: 999px; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 14px; transition: width .5s cubic-bezier(.2, .8, .2, 1), height .4s, top .4s; }
.nav.small { width: min(800px, calc(100% - 32px)); height: 56px; top: 10px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; gap: 2px; margin: 0 auto; }
.nav-links a { padding: 8px 13px; border-radius: 10px; font-size: 15px; color: var(--ink2); transition: color .2s, background .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, .07); }
.nav .btn { height: 42px; padding: 0 16px; font-size: 15px; border-radius: 999px; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 70px; overflow: hidden; }
.hero canvas { position: absolute; inset: auto 0 0 0; width: 100%; height: 50%; z-index: 0; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.launch-pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 13px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--brand); background: rgba(145, 184, 255, .12); box-shadow: inset 0 0 0 .5px rgba(145, 184, 255, .45); animation: fadeUp .8s both; }
.launch-pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(145, 184, 255, .7); } 100% { box-shadow: 0 0 0 12px rgba(145, 184, 255, 0); } }
.hero h1 { font-size: clamp(56px, 8.6vw, 120px); font-weight: 700; letter-spacing: -.045em; line-height: .94; margin: 22px 0 24px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .line > span { display: inline-block; animation: rise 1s cubic-bezier(.2, .8, .2, 1) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(108%); } }
.hero .lead { font-size: clamp(18px, 1.8vw, 22px); margin-bottom: 32px; animation: fadeUp .9s .3s both; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeUp .9s .45s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }

.device-stage { position: relative; display: flex; justify-content: center; perspective: 1400px; animation: fadeUp 1.2s .2s both; }
.device-tilt { transform-style: preserve-3d; transition: transform .25s ease-out; }
.device-stage .phone { zoom: .88; }
@media (min-width: 1001px) and (max-height: 960px) { .device-stage .phone { zoom: .8; } }
@media (min-width: 1001px) and (max-height: 860px) { .device-stage .phone { zoom: .7; } }
.float-chip { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 9px 15px 9px 9px; border-radius: 16px; font-size: 14px; font-weight: 600; white-space: nowrap; animation: bob 6s ease-in-out infinite; }
.float-chip i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.float-chip small { display: block; font-size: 12px; font-weight: 500; color: var(--ink2); }
.fc1 { left: -130px; top: 9%; } .fc1 i { background: var(--brand-soft); color: var(--brand); }
.fc2 { right: -30px; top: 44%; animation-delay: -2s; } .fc2 i { background: var(--records-soft); color: var(--records); }
.fc3 { left: -30px; bottom: 12%; animation-delay: -4s; } .fc3 i { background: rgba(239, 195, 124, .15); color: var(--rank); }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* scan line over the monitor photo */
.scan { position: absolute; left: 0; right: 0; height: 2px; top: -6px; z-index: 3; pointer-events: none; background: var(--brand); box-shadow: 0 0 18px 4px rgba(145, 184, 255, .75); }
.scanning .scan { animation: scan 1.6s cubic-bezier(.5, 0, .5, 1) forwards; }
@keyframes scan { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee { padding: 32px 0; border-block: .5px solid var(--edge); overflow: hidden; position: relative; z-index: 1; background: var(--base); }
.marquee-track { display: flex; gap: 44px; width: max-content; align-items: center; animation: marquee 40s linear infinite; }
.marquee span { font-size: clamp(32px, 4.6vw, 58px); font-weight: 700; line-height: 1; letter-spacing: -.03em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px var(--line); }
.marquee span.fill { color: var(--ink); -webkit-text-stroke: 0; }
.marquee span.dot { color: var(--brand); -webkit-text-stroke: 0; font-size: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- How it works ---------- */
.how { padding: 130px 0 40px; }
.how-head { text-align: center; max-width: 760px; margin: 0 auto 30px; }
.how-head .lead { margin: 0 auto; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.story-steps { padding: 8vh 0 18vh; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .5s; }
.step.active { opacity: 1; }
.step-n { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px; font-size: 22px; font-weight: 700; color: var(--on-brand); background: var(--brand); }
.step h3 { font-size: clamp(32px, 4vw, 52px); font-weight: 700; margin-bottom: 16px; }
.step p { color: var(--ink2); font-size: 19px; max-width: 460px; }
.step ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.step li { display: flex; gap: 10px; color: var(--ink2); font-size: 16px; }
.step li::before { content: "✓"; color: var(--brand); font-weight: 700; }
.story-device { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; }
.story-device .stack, .coach-stage .stack { position: relative; width: calc(390px * .86); height: calc(844px * .86); }
.story-device .phone { position: absolute; top: 0; left: 0; zoom: .86; opacity: 0; transform: translateY(40px) scale(.94); transition: opacity .6s, transform .8s cubic-bezier(.2, .8, .2, 1); }
.story-device .phone.on { opacity: 1; transform: none; }
.step .phone-m { display: none; }

/* ---------- Rankings ---------- */
.rank { padding: 110px 0; }
.rank-grid, .together-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.board { border-radius: 20px; padding: 18px; }
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.board-top h3 { font-size: 26px; font-weight: 700; }
.board-top small { font-size: 13px; color: var(--ink2); }
.seg { position: relative; display: inline-flex; padding: 2px; border-radius: 10px; background: rgba(58, 62, 74, .42); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 .5px rgba(255, 255, 255, .12); }
.seg button { position: relative; z-index: 1; border: 0; background: none; color: var(--ink2); font-size: 14px; font-weight: 600; font-family: inherit; padding: 8px 16px; border-radius: 8px; cursor: pointer; transition: color .3s; }
.seg button.on { color: var(--ink); }
.seg .thumb { position: absolute; top: 2px; bottom: 2px; border-radius: 8px; background: rgba(92, 98, 114, .6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 2px 4px rgba(0, 0, 0, .18); transition: left .45s cubic-bezier(.3, 1.3, .5, 1), width .45s cubic-bezier(.3, 1.3, .5, 1); }
.board-rows { position: relative; background: var(--card); border-radius: 12px; box-shadow: inset 0 0 0 .5px var(--edge); overflow: hidden; }
.brow { position: relative; display: flex; align-items: center; gap: 14px; padding: 13px 16px; background: var(--card); }
.brow + .brow::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: .5px; background: var(--line); }
.brow .pos { width: 24px; font-size: 19px; font-weight: 700; color: var(--ink2); text-align: center; font-variant-numeric: tabular-nums; }
.brow .rp-av { width: 42px; height: 42px; font-size: 15px; }
.brow .who { flex: 1; min-width: 0; }
.brow .who b { display: block; font-weight: 600; }
.brow .who span { font-size: 14px; color: var(--ink2); }
.brow .val { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.brow .val small { font-size: 14px; color: var(--ink2); font-weight: 600; margin-left: 2px; }
.brow.first .pos, .brow.first .val { color: var(--rank); }
.brow.me .who b::after { content: "You"; margin-left: 8px; font-size: 11px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 2px 7px; border-radius: 999px; vertical-align: 2px; }
.trust { display: grid; gap: 18px; margin-top: 34px; }
.trust > div { display: flex; gap: 14px; align-items: flex-start; }
.trust i { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.trust b { display: block; }
.trust span { color: var(--ink2); font-size: 15px; }

/* ---------- Challenges ---------- */
.together { padding: 60px 0 110px; }
.together-grid { grid-template-columns: .85fr 1.15fr; }
.together-stage { display: flex; justify-content: center; }
.together-stage .phone { zoom: .82; }
.kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.kind { background: var(--card); border-radius: 12px; padding: 18px; box-shadow: inset 0 0 0 .5px var(--edge); display: flex; flex-direction: column; gap: 12px; }
.kind > i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.kind b { display: block; font-size: 17px; font-weight: 600; margin-bottom: 3px; }
.kind span { font-size: 15px; color: var(--ink2); display: block; }
.kind > div:not(.meter) { flex: 1; }
.meter { height: 6px; border-radius: 3px; background: var(--raised); overflow: hidden; }
.meter em { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--brand); transition: width 1.4s cubic-bezier(.2, .8, .2, 1) .3s; }
.kind.in .meter em { width: var(--w); }

/* ---------- Season Wrapped ---------- */
.wrapped { padding: 90px 0 110px; }
.wrapped-head { max-width: 760px; }
.wrapped-strip { display: flex; gap: 14px; margin-top: 44px; padding: 8px max(16px, calc((100vw - 1200px) / 2)) 22px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.story-card { position: relative; flex: none; width: 272px; aspect-ratio: 9 / 16; border-radius: 12px; padding: 20px; background: var(--card); box-shadow: inset 0 0 0 .5px var(--edge); display: flex; flex-direction: column; justify-content: space-between; scroll-snap-align: center; font-size: 14px; color: var(--ink2); }
.story-card.pb { box-shadow: 0 0 0 1.5px var(--records), 0 0 26px rgba(198, 173, 255, .35); }
.story-card header { font-size: 10.5px; font-weight: 500; letter-spacing: .08em; }
.story-card header em { font-style: normal; color: var(--records); }
.story-card header b { display: block; font-size: 17px; font-weight: 600; letter-spacing: 0; color: var(--ink); margin-top: 3px; }
.story-card header small { font-size: 11px; letter-spacing: 0; }
.sc-big { font-size: 42px; font-weight: 700; line-height: 1.05; color: var(--ink); margin-bottom: 6px; }
.story-card.pb .sc-big { color: var(--records); }
.sc-mid p { margin-bottom: 5px; }
.story-card dl { margin: 10px 0 8px; display: grid; gap: 7px; }
.story-card dl div { display: flex; justify-content: space-between; gap: 8px; }
.story-card dt { color: var(--ink2); }
.story-card dd { margin: 0; color: var(--ink); font-weight: 600; white-space: nowrap; }
.zone { margin-top: 12px; display: grid; gap: 4px; }
.zone span { display: flex; justify-content: space-between; color: var(--ink); font-weight: 600; font-size: 13px; }
.zone i { display: block; height: 5px; width: var(--w); border-radius: 3px; background: var(--ink2); margin-bottom: 7px; }
.story-card footer { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; letter-spacing: .06em; }
.story-card footer b { font-size: 13px; letter-spacing: 0; color: var(--ink); font-weight: 600; }

/* ---------- Bento ---------- */
.features { padding: 40px 0 110px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 46px; }
.tile { position: relative; border-radius: 12px; padding: 26px; overflow: hidden; min-height: 280px; background: var(--card); box-shadow: inset 0 0 0 .5px var(--edge); transition: box-shadow .25s; }
.tile:hover { box-shadow: inset 0 0 0 1px var(--brand); }
.tile h3 { font-size: 25px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.02em; }
.tile p { color: var(--ink2); font-size: 16px; max-width: 420px; }
.t-a { grid-column: span 4; min-height: 340px; }
.t-b { grid-column: span 2; }
.t-boat { grid-column: span 6; display: grid; grid-template-columns: 1fr 2.2fr; gap: 20px; align-items: center; min-height: 0; }
.t-c, .t-d, .t-e, .t-f, .t-g, .t-h { grid-column: span 2; }

.pb-demo { position: absolute; right: 30px; bottom: 26px; display: flex; flex-direction: column; align-items: flex-end; }
.pb-big { font-size: clamp(64px, 8vw, 108px); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--records); text-shadow: 0 0 34px rgba(198, 173, 255, .55); animation: glow 3s ease-in-out infinite; }
.pb-meta { color: var(--ink2); font-size: 14px; margin-top: 6px; }
@keyframes glow { 50% { text-shadow: 0 0 64px rgba(198, 173, 255, .85); } }
.pb-flag { padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #1D1530; background: var(--records); box-shadow: 0 0 24px rgba(198, 173, 255, .6); margin-bottom: 10px; }
.sparks { position: absolute; right: 150px; bottom: 90px; }
.sparks i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--records); opacity: 0; animation: spark 2.4s ease-out infinite; animation-delay: var(--dl); }
@keyframes spark { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(1); } }

.streak-demo { margin-top: 18px; }
.streak-demo .n { font-size: 80px; font-weight: 700; line-height: .95; font-variant-numeric: tabular-nums; }
.streak-days { display: flex; gap: 6px; margin-top: 14px; }
.streak-days b { flex: 1; height: 42px; border-radius: 8px; background: var(--raised); transform-origin: bottom; }
.streak-days b.on { background: var(--brand); }
.streak-days b.rest { background: var(--raised); box-shadow: inset 0 0 0 1.5px var(--brand); }
.in .streak-days b { animation: grow .6s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(var(--i) * 80ms + .3s); }
@keyframes grow { from { transform: scaleY(0); } }

.boat-scroll { overflow-x: auto; scrollbar-width: none; }
.boat-demo { min-width: 560px; }

.pred-demo { margin-top: 24px; }
.pred-demo .n { font-size: 60px; font-weight: 700; line-height: 1; color: var(--records); }
.pred-demo .n small { font-size: 21px; color: var(--ink2); font-weight: 600; }
.pred-demo .band { position: relative; height: 8px; border-radius: 4px; background: var(--raised); margin-top: 16px; }
.pred-demo .band i { position: absolute; left: 38%; width: 24%; top: 0; bottom: 0; border-radius: 4px; background: var(--records); opacity: .55; }
.pred-demo .band b { position: absolute; left: 50%; top: -5px; width: 3px; height: 18px; border-radius: 2px; background: var(--ink); }

.dist-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.dist-chips span { padding: 7px 13px; border-radius: 999px; font-weight: 600; font-size: 15px; background: var(--raised); transition: translate .3s, background .3s, color .3s; }
.dist-chips span:hover { translate: 0 -3px; background: var(--brand-soft); color: var(--brand); }

.alert-demo { display: flex; gap: 11px; padding: 11px; border-radius: 12px; margin-top: 22px; background: var(--raised); }
.alert-demo img { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.alert-demo b { display: block; font-size: 14px; font-weight: 600; }
.alert-demo span { font-size: 13px; color: var(--ink2); display: block; line-height: 1.35; }

.with-demo { display: flex; align-items: center; margin-top: 24px; }
.with-demo .rp-av { margin-left: -8px; box-shadow: 0 0 0 2px var(--card); }
.with-demo .rp-av:first-child { margin-left: 0; }
.tile .with-demo p { margin-left: 12px; font-size: 15px; }
.with-demo b { color: var(--brand); font-weight: 600; }

.club-demo { display: flex; align-items: center; gap: 11px; margin-top: 24px; padding: 11px 14px; border-radius: 10px; background: var(--raised); font-size: 16px; }
.club-demo .crest { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--card); font-weight: 700; }
.club-demo b { font-weight: 600; }
.club-demo .shield { color: var(--brand); display: inline-flex; margin-left: -5px; }

.lock { margin-top: 20px; display: grid; gap: 6px; }
.lock div { padding: 9px 14px; border-radius: 10px; background: var(--raised); font-size: 14px; font-weight: 500; }
.lock span { display: block; color: var(--ink2); font-size: 13px; font-weight: 400; }

/* ---------- Coaches ---------- */
.coach { padding: 120px 0; overflow: hidden; }
.coach-head { max-width: 820px; }
.coach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 50px; }
.ctabs { display: grid; gap: 8px; }
.ctab { position: relative; text-align: left; border: 0; cursor: pointer; padding: 17px 20px; border-radius: 12px; background: var(--card); color: var(--ink); font-family: inherit; overflow: hidden; box-shadow: inset 0 0 0 .5px var(--edge); transition: background .3s, box-shadow .3s; }
.ctab:hover { background: var(--raised); }
.ctab b { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 600; }
.ctab b em { font-style: normal; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--raised); transition: background .3s, color .3s; }
.ctab p { color: var(--ink2); font-size: 16px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s, opacity .5s, margin .5s; }
.ctab.on { box-shadow: inset 0 0 0 1px var(--brand); }
.ctab.on b em { background: var(--brand); color: var(--on-brand); }
.ctab.on p { max-height: 150px; opacity: 1; margin-top: 10px; }
.ctab .prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--brand); }
.ctab.on .prog { animation: prog var(--dur, 6s) linear forwards; }
.coach-grid.paused .ctab.on .prog { animation-play-state: paused; }
@keyframes prog { to { width: 100%; } }
.coach-stage { position: relative; display: flex; justify-content: center; perspective: 1400px; }
.coach-stage .phone { position: absolute; top: 0; left: 0; zoom: .86; opacity: 0; transform: translateX(60px) rotateY(-12deg); transition: opacity .5s, transform .7s cubic-bezier(.2, .8, .2, 1); }
.coach-stage .phone.on { opacity: 1; transform: none; }
.coach-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 60px; }
.coach-stats > div { border-radius: 12px; padding: 22px; background: var(--card); box-shadow: inset 0 0 0 .5px var(--edge); }
.coach-stats b { display: block; font-size: 20px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; }
.coach-stats span { color: var(--ink2); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { padding: 30px 0 110px; }
.faq-list { max-width: 820px; margin: 36px auto 0; background: var(--card); border-radius: 12px; box-shadow: inset 0 0 0 .5px var(--edge); }
.faq details { position: relative; }
.faq details + details::before { content: ""; position: absolute; top: 0; left: 20px; right: 0; height: .5px; background: var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 20px; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--raised); position: relative; transition: transform .35s, background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; border-radius: 1px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s; }
.faq details[open] summary i { background: var(--brand); transform: rotate(180deg); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: var(--on-brand); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq .ans { color: var(--ink2); padding: 0 56px 20px 20px; max-width: 720px; }

/* ---------- Launch ---------- */
.final { padding: 120px 0 170px; text-align: center; overflow: hidden; }
.final canvas { position: absolute; inset: auto 0 0 0; width: 100%; height: 55%; pointer-events: none; }
.otter { position: relative; width: 140px; height: 140px; margin: 0 auto 36px; }
.otter img { width: 140px; height: 140px; border-radius: 32px; position: relative; z-index: 2; box-shadow: 0 24px 50px rgba(0, 0, 0, .5), 0 0 0 .5px rgba(255, 255, 255, .15); animation: bob 5s ease-in-out infinite; }
.otter span { position: absolute; left: 50%; top: 50%; width: 140px; height: 140px; border-radius: 50%; border: 2px solid rgba(145, 184, 255, .5); transform: translate(-50%, -50%); animation: ripple 3.6s ease-out infinite; }
.otter span:nth-child(2) { animation-delay: 1.2s; }
.otter span:nth-child(3) { animation-delay: 2.4s; }
@keyframes ripple { from { width: 140px; height: 140px; opacity: .9; } to { width: 500px; height: 500px; opacity: 0; } }
.final h2 { font-size: clamp(38px, 6.6vw, 88px); font-weight: 700; letter-spacing: -.04em; margin-bottom: 20px; }
.final .lead { margin: 0 auto 32px; }
.final .hero-ctas { justify-content: center; animation: none; }

body > footer { position: relative; z-index: 1; border-top: .5px solid var(--edge); padding: 36px 0 44px; color: var(--ink2); font-size: 14px; background: var(--base); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot .logo { color: var(--ink); }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a:hover { color: var(--ink); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--delay, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero-grid, .rank-grid, .coach-grid, .together-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 100px; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .device-stage .phone { zoom: .74; }
  .fc1 { left: 0; } .fc2 { right: 0; } .fc3 { left: 4%; }
  .story { grid-template-columns: 1fr; }
  .story-device { display: none; }
  .story-steps { padding: 0; }
  .step { min-height: 0; opacity: 1; padding: 36px 0; align-items: center; text-align: center; }
  .step p { margin: 0 auto; }
  .step ul { justify-items: center; }
  .step .phone-m { display: block; margin: 36px auto 0; zoom: .72; }
  .together-stage { order: 2; }
  .together-stage .phone { zoom: .72; }
  .bento { grid-template-columns: 1fr 1fr; }
  .t-a, .t-boat { grid-column: span 2; }
  .t-boat { grid-template-columns: 1fr; }
  .t-b, .t-c, .t-d, .t-e, .t-f, .t-g, .t-h { grid-column: span 1; }
  .coach-stage { order: -1; }
  .coach-stage .stack { width: calc(390px * .74); height: calc(844px * .74); }
  .coach-stage .phone { zoom: .74; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo span { display: none; }
  .nav { padding-left: 10px; }
  .foot .logo span { display: inline; }
  .launch-pill { font-size: 13px; padding: 8px 13px 8px 11px; }
  .hero .btn { flex: 1 1 100%; }
  .device-stage .phone { zoom: .66; }
  .float-chip { font-size: 12px; padding: 7px 11px 7px 7px; }
  .float-chip i { width: 28px; height: 28px; }
  .fc2 { top: 54%; }
  .kinds { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .t-a, .t-b, .t-boat, .t-c, .t-d, .t-e, .t-f, .t-g, .t-h { grid-column: span 1; }
  .tile { min-height: 0; padding: 22px; }
  .pb-demo { position: static; align-items: flex-start; margin-top: 26px; }
  .sparks { display: none; }
  .coach-stats { grid-template-columns: 1fr; }
  .step .phone-m { zoom: .66; }
  .together-stage .phone { zoom: .66; }
  .coach-stage .stack { width: calc(390px * .66); height: calc(844px * .66); }
  .coach-stage .phone { zoom: .66; }
  .board { padding: 10px; }
  .board-top { padding: 6px; }
  .brow { padding: 11px 12px; gap: 10px; }
  .brow .val { font-size: 17px; }
  .brow .rp-av { width: 36px; height: 36px; }
  .story-card { width: 240px; }
  .faq summary { font-size: 16.5px; padding: 16px; }
  .faq .ans { padding: 0 16px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Privacy, Terms and Support: one reading column, no scripts ---------- */
.page { padding: 136px 0 88px; }
.page .wrap { max-width: 720px; }
.page h1 { font-size: clamp(38px, 5.6vw, 56px); font-weight: 700; margin: 16px 0 16px; }
.page-lead { color: var(--ink2); font-size: 17px; }
.page-lead a, .doc a, .answers a { color: var(--brand); }
.page-lead a:hover, .doc a:hover, .answers a:hover { text-decoration: underline; }
.doc { margin-top: 40px; display: grid; gap: 32px; }
.doc h2, .answers h2 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; margin-bottom: 8px; }
.doc p, .answers p { color: var(--ink2); }
.doc p + p { margin-top: 8px; }
.contact-card { margin-top: 32px; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--card); border-radius: 12px; box-shadow: inset 0 0 0 .5px var(--line); }
.contact-card h2 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; margin-bottom: 4px; }
.contact-card p { color: var(--ink2); font-size: 15px; }
.answers-title { font-size: 28px; font-weight: 700; margin: 48px 0 16px; }
.answers { background: var(--card); border-radius: 12px; box-shadow: inset 0 0 0 .5px var(--line); }
.answers > div { padding: 20px 24px; }
.answers > div + div { border-top: .5px solid var(--edge); }
.answers h2 { font-size: 17px; margin-bottom: 4px; }
.answers p { font-size: 15px; }
.foot nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 640px) {
  .page { padding: 112px 0 64px; }
  .contact-card { padding: 20px; }
  .contact-card .btn { width: 100%; }
  .answers > div { padding: 16px 20px; }
}
