/* Landing-only story: progressive enhancement, never wheel/touch capture. */
.auth-gate.landing { overflow: clip; }
.landing-hero { grid-template-columns: .9fr 1.1fr; gap: 48px; padding-block: 64px 112px; }
.landing-hero::after { display: none; }
.landing-mashup { position: relative; min-width: 0; padding-bottom: 240px; }
.landing-cyclist { display: block; width: 112%; max-width: none; height: 440px; object-fit: cover; object-position: 55% center; border-radius: 24px; transform: translateY(var(--photo-y, 0px)); }
.landing-mashup .landing-product { position: absolute; bottom: 0; left: -24px; width: 80%; padding: 24px; transform: translateY(var(--card-y, 0px)) rotate(-3deg); }
.landing-mashup .landing-workout-head { margin-top: 16px; }
.landing-mashup .landing-workout-head h2 { font-size: 26px; line-height: 1.1; }
.landing-mashup .landing-intervals { height: 80px; margin: 16px 0; }
.landing-mashup .landing-workout-stats { margin: 0; }
.landing-mashup .landing-live { display: none; }
.landing-story { margin-top: 56px; }
.story-track { display: flex; gap: 32px; padding-block: 24px; color: var(--muted); font: 500 12px 'Roboto Mono', monospace; }
.story-track > span { flex: 1; border-top: 2px solid #31483e; padding-top: 16px; transition: color .3s, border-color .3s; }
.story-track .active { color: var(--mint); border-color: var(--mint); }
.story-scene { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; padding-block: 48px; }
.story-copy h3 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.03; margin: 0 0 24px; }
.story-copy > p:not(.landing-kicker) { color: var(--muted); font-size: 18px; line-height: 1.65; }
.story-copy > small { color: var(--muted); font-size: 12px; }
.story-demo { padding: 32px; border-radius: 24px; background: linear-gradient(145deg, #263f35, #101e18); box-shadow: 0 24px 80px #0003; min-width: 0; }
.demo-label { color: var(--muted); font: 500 10px 'Roboto Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.story-prompt { background: #365447; border-radius: 16px 16px 4px 16px; padding: 24px; font-size: 20px; line-height: 1.4; margin: 24px 0; }
.story-prompt .material-symbols-outlined { float: right; margin-top: 8px; color: var(--mint); }
.story-answer { color: var(--light); font-size: 18px; line-height: 1.5; }
.story-answer > .material-symbols-outlined { color: var(--mint); vertical-align: middle; margin-right: 8px; }
.story-answer small { display: block; font-size: 14px; color: var(--muted); margin-top: 8px; }
.story-bars { height: 112px; }
.demo-bottom { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--light); }
.demo-bottom > span { color: var(--muted); }
.story-ride { position: relative; padding: 0 0 56px; background: transparent; box-shadow: none; }
.story-ride > img { width: 100%; height: 340px; object-fit: cover; border-radius: 24px; display: block; }
.demo-telemetry { position: relative; margin: -24px 24px 0; padding: 24px; background: #11241eee; border: 1px solid #557362; border-radius: 16px; text-align: center; backdrop-filter: blur(12px); }
.demo-telemetry > strong { display: block; font: 600 64px 'Roboto Mono', monospace; color: var(--mint); margin-block: 8px; }
.demo-telemetry > strong small { font-size: 18px; }
.demo-telemetry > small, .story-recap > small { color: var(--muted); font-size: 12px; }
.demo-progress { height: 8px; background: #365447; border-radius: 8px; margin: 16px 0 8px; overflow: hidden; }
.demo-progress span { display: block; height: 100%; width: 67%; background: var(--mint); }
.story-recap h4 { font: italic 700 32px var(--font-display); margin: 24px 0 8px; }
.recap-done { display: flex; align-items: center; gap: 8px; color: var(--mint); margin: 0 0 32px; }
.story-recap svg { width: 100%; margin: 8px 0 24px; }
.demo-sync { display: flex; gap: 8px; margin-bottom: 16px; }
.demo-sync > span { flex: 1; background: #314d3f; border-radius: 8px; padding: 12px; font-size: 13px; display: flex; justify-content: space-between; }
.story-repeat { display: flex; align-items: center; gap: 12px; }
.story-repeat .material-symbols-outlined { color: var(--mint); }
.story-scroll { display: none; color: var(--muted); font: 11px 'Roboto Mono', monospace; }
@media (min-width: 901px) and (min-height: 850px) and (prefers-reduced-motion: no-preference) {
    .landing-story.is-enhanced { height: 270vh; }
    .is-enhanced .story-pin { position: sticky; top: 24px; }
    .is-enhanced .story-scenes { display: grid; }
    .is-enhanced .story-scene { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .45s, transform .45s, visibility .45s; }
    .is-enhanced .story-scene.active { opacity: 1; visibility: visible; transform: none; }
    .is-enhanced .story-scroll { display: flex; justify-content: space-between; }
}
@media (max-width: 1100px) {
    .story-scene { gap: 40px; }
    .landing-cyclist { width: 100%; }
    .landing-mashup .landing-product { width: 94%; left: -8px; }
}
@media (max-width: 900px) {
    .landing-hero { grid-template-columns: 1fr; }
    .landing-mashup { max-width: 680px; width: 100%; margin-inline: auto; }
    .landing-cyclist { height: auto; }
    .landing-mashup .landing-product { width: 80%; left: 16px; }
    .story-track { gap: 16px; }
    .story-scene { grid-template-columns: 1fr; gap: 24px; padding-block: 40px; }
    .story-demo { max-width: 640px; width: 100%; }
}
@media (max-width: 480px) {
    .landing-mashup { padding-bottom: 240px; }
    .landing-mashup .landing-product { width: 94%; left: 3%; padding: 16px; }
    .landing-mashup .landing-workout-head h2 { font-size: 23px; }
    .landing-mashup .landing-workout-stats strong { font-size: 12px; }
    .story-demo { padding: 24px; }
    .story-ride { padding: 0; }
    .story-ride > img { height: auto; }
    .demo-telemetry { margin: -24px 8px 0; }
    .story-prompt { font-size: 18px; padding: 16px; }
    .demo-bottom { flex-wrap: wrap; gap: 8px; }
    .demo-sync > span { padding: 10px 8px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .landing-mashup .landing-product, .landing-cyclist { transform: none; }
    .story-track > span { transition: none; }
}
/* Public beta interest stays separate from account signup. */
.beta-request { margin: auto; border: 0; }
.beta-request > p { color: var(--text-secondary, #a7c9bb); line-height: 1.6; }
.beta-request form { margin-block: 24px 16px; text-align: left; }
.beta-request .field { display: block; margin-bottom: 8px; }
.beta-request-row { display: flex; gap: 16px; align-items: stretch; }
.beta-request-row input { flex: 1; min-width: 0; min-height: 48px; font-size: 16px; }
.beta-request-row .landing-primary { white-space: nowrap; }
.beta-request .beta-consent { display: flex; gap: 12px; align-items: start; margin-block: 8px; line-height: 1.5; font-size: 13px; color: var(--muted); }
.beta-request .beta-consent input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; padding: 0; accent-color: #3ddc97; }
.beta-request .auth-mode { display: block; margin: 12px auto 0; }
.beta-dock { overflow-y: auto; }
.desktop-client .auth-gate .beta-dock { display: none; }
.beta-request small { color: #a7c9bb; line-height: 1.5; }
.beta-request a { color: inherit; }
.beta-request #betaRequestStatus { min-height: 24px; }
.beta-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media(max-width: 600px) { .beta-request-row { flex-direction: column; } .beta-request-row .landing-primary { justify-content: center; } }
