/* runwithrove.com/arcs ("Lanes"): the second direction, drawn only in the app's own colours and type.
   Every colour below names the Swift token it came from (Evolv/DesignSystem/Theme.swift unless said otherwise); the
   ten card palettes are GlassTheme.presets' `card` values, printed from the app's own GlassCardMix.derive. The type is
   the glass look's (Typography.swift, D-823): big Outfit Light, Outfit Regular up to 22 pt, every Geist style Regular.
   Without JavaScript, or with reduced motion, nothing is pinned and every section stands in the flow. */

@font-face { font-family: "Outfit"; src: url("/fonts/Outfit.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

/* Registered so a new card colour fades in rather than snapping. */
@property --c-top { syntax: "<color>"; inherits: true; initial-value: #2c25ad; }
@property --c-upper { syntax: "<color>"; inherits: true; initial-value: #473cd4; }
@property --c-zone { syntax: "<color>"; inherits: true; initial-value: #5f3dd4; }
@property --c-mid { syntax: "<color>"; inherits: true; initial-value: #a83fd2; }
@property --c-glow { syntax: "<color>"; inherits: true; initial-value: #f0603c; }
@property --c-bright { syntax: "<color>"; inherits: true; initial-value: #f2a13a; }

:root {
  /* GlassGround.dark: baseValue black; hintValues #0E247A, #2F6BFF, #3D8BFF (drawn at Strength.medium: hint 0.6). */
  --hint-a: #0e247a; --hint-b: #2f6bff; --hint-c: #3d8bff;
  /* GlassGround.light (Dawn): baseValue #F3EDE6; hintValues #B9C9EA, #FFE0C0, #FFC48F (Strength.dawn: hint 0.8); lightInk #15171D. */
  --light-base: #f3ede6; --dawn-a: #b9c9ea; --dawn-b: #ffe0c0; --dawn-c: #ffc48f; --light-ink: #15171d;
  /* The now dot ("you, now"): the orange of Today's week strip, the journey and the run's position. */
  --now: #ff8a3d;
  /* Theme.Glass.MainCard: foot 76 pt; mid at 0.3 and glow at 0.55 of the foot; top highlight white 28%; floor light 0.75 wide, 90 tall, leaning 0.34. */
  --foot: 76px;
  --darkBg: radial-gradient(70% 50% at 50% -8%, color-mix(in srgb, var(--hint-b) 60%, black), transparent 70%),
            radial-gradient(45% 55% at 12% -4%, color-mix(in srgb, var(--hint-c) 50%, black), transparent 70%),
            linear-gradient(180deg, color-mix(in srgb, var(--hint-a) 60%, black), #000 60%);
  --dawnBg: radial-gradient(60% 26% at 8% 86%, color-mix(in srgb, var(--dawn-c) 80%, var(--light-base)), transparent 75%),
            radial-gradient(60% 24% at 55% 92%, color-mix(in srgb, var(--dawn-b) 80%, var(--light-base)), transparent 75%),
            radial-gradient(55% 30% at 96% 80%, color-mix(in srgb, var(--dawn-a) 80%, var(--light-base)), transparent 75%),
            var(--light-base);
  --vh: 1vh; --gut: 18px; --maxw: 1320px;
  color-scheme: dark;
}
@supports (height: 1svh) { :root { --vh: 1svh; } }
@media (min-width: 760px) { :root { --gut: 40px; } }

/* The two grounds: words in the ink tiers (Theme.Glass.ink, ink2 78%, ink3 62%), glass tiles (Theme.Glass rimLow and
   rimEnd; GlassGround sheen, rimBright, minTileDim 0.2 on Dark, the white frost 0.36 on Light; the Light cool shadow). */
:root, .ground-dark {
  --ink: #ffffff; --ink2: rgba(255, 255, 255, .78); --ink3: rgba(255, 255, 255, .62);
  --tile: rgba(0, 0, 0, .22);
  --sheen: rgba(184, 213, 255, .17); --rimBright: rgba(201, 222, 255, .64); --rimLow: rgba(255, 255, 255, .1); --rimEnd: rgba(255, 255, 255, .5);
  --tileShadow: 0 20px 40px -24px rgba(0, 0, 0, .7);
  --groundBg: var(--darkBg); --scrimC: 0, 0, 0; --infield: #000;
  color: var(--ink);
}
.ground-light {
  --ink: var(--light-ink); --ink2: rgba(21, 23, 29, .78); --ink3: rgba(21, 23, 29, .62);
  --tile: rgba(255, 255, 255, .36);
  --sheen: rgba(255, 255, 255, .55); --rimBright: #ffffff; --rimLow: rgba(255, 255, 255, .4); --rimEnd: rgba(255, 255, 255, .95);
  --tileShadow: 0 18px 30px -18px rgba(60, 50, 80, .24);
  --groundBg: var(--dawnBg); --scrimC: 243, 237, 230; --infield: #f3ede6;
  color: var(--ink);
}
.ground-dark { background: var(--darkBg); background-color: #000; }
.ground-light { background: var(--dawnBg); }

/* ── Card colours: GlassTheme.presets[].card (top, upper, zoneEnd, mid, glow, bright), lift and shadow tints, lean. ── */
[data-accent-card], [data-preset="sunrise"], [data-accent="sunrise"] [data-accent-card] {
  --c-top: #2c25ad; --c-upper: #473cd4; --c-zone: #5f3dd4; --c-mid: #a83fd2; --c-glow: #f0603c; --c-bright: #f2a13a;
  --c-lift: rgba(255, 196, 120, .5); --c-shadow: rgba(232, 63, 208, .5); --c-lean: 0;
}
[data-preset="ember"], [data-accent="ember"] [data-accent-card] {
  --c-top: #39415f; --c-upper: #4d5377; --c-zone: #5e5978; --c-mid: #8f6a7c; --c-glow: #d97c48; --c-bright: #f0964a;
  --c-lift: rgba(255, 178, 104, .55); --c-shadow: rgba(217, 106, 18, .55); --c-lean: 0;
}
[data-preset="tide"], [data-accent="tide"] [data-accent-card] {
  --c-top: #152250; --c-upper: #243d86; --c-zone: #2e52a4; --c-mid: #3a6cc8; --c-glow: #62a6ea; --c-bright: #9fd0f5;
  --c-lift: rgba(190, 228, 255, .5); --c-shadow: rgba(47, 111, 214, .55); --c-lean: 0;
}
[data-preset="dusk"], [data-accent="dusk"] [data-accent-card] {
  --c-top: #552190; --c-upper: #6b3baa; --c-zone: #7b31a0; --c-mid: #ca4890; --c-glow: #fd816e; --c-bright: #fdc0b5;
  --c-lift: rgba(255, 224, 218, .5); --c-shadow: rgba(225, 75, 57, .55); --c-lean: .5;
}
[data-preset="bloom"], [data-accent="bloom"] [data-accent-card] {
  --c-top: #084465; --c-upper: #085b87; --c-zone: #0654a1; --c-mid: #8f62dc; --c-glow: #fb72c6; --c-bright: #feb9df;
  --c-lift: rgba(253, 222, 238, .5); --c-shadow: rgba(209, 75, 160, .55); --c-lean: -.5;
}
[data-preset="berry"], [data-accent="berry"] [data-accent-card] {
  --c-top: #720a6f; --c-upper: #8c2a87; --c-zone: #912482; --c-mid: #c74996; --c-glow: #fe77a6; --c-bright: #fdbccf;
  --c-lift: rgba(253, 223, 231, .5); --c-shadow: rgba(219, 71, 129, .55); --c-lean: 0;
}
[data-preset="fern"], [data-accent="fern"] [data-accent-card] {
  --c-top: #064a20; --c-upper: #03642b; --c-zone: #026425; --c-mid: #2f9923; --c-glow: #72c436; --c-bright: #abe58a;
  --c-lift: rgba(212, 243, 196, .5); --c-shadow: rgba(81, 156, 3, .55); --c-lean: -.5;
}
[data-preset="lagoon"], [data-accent="lagoon"] [data-accent-card] {
  --c-top: #034747; --c-upper: #005f5f; --c-zone: #0b5e61; --c-mid: #1790a2; --c-glow: #02bced; --c-bright: #90defd;
  --c-lift: rgba(201, 239, 255, .5); --c-shadow: rgba(14, 148, 186, .55); --c-lean: .5;
}
[data-preset="volt"], [data-accent="volt"] [data-accent-card] {
  --c-top: #24319b; --c-upper: #364ab5; --c-zone: #075895; --c-mid: #18938b; --c-glow: #9eba04; --c-bright: #c6de76;
  --c-lift: rgba(225, 239, 187, .5); --c-shadow: rgba(124, 146, 9, .55); --c-lean: .5;
}
[data-preset="ash"], [data-accent="ash"] [data-accent-card] {
  --c-top: #334152; --c-upper: #485669; --c-zone: #585166; --c-mid: #8b7e6e; --c-glow: #dac7b3; --c-bright: #e0ceb9;
  --c-lift: rgba(248, 228, 207, .5); --c-shadow: rgba(148, 131, 112, .55); --c-lean: 0;
}

/* A main card as Glass.swift draws it: the words zone (top, upper at 45%, zoneEnd) above a foot `--foot` tall
   (zoneEnd, mid at 30%, glow at 55%, bright), the light on its floor, its top edge's highlight and its tinted shadow. */
.card-grad {
  color: #fff;
  background:
    radial-gradient(37.5% 90px at calc(50% + var(--c-lean) * 34%) 100%, var(--c-lift), transparent 100%),
    linear-gradient(180deg, var(--c-zone) 0%, var(--c-mid) 30%, var(--c-glow) 55%, var(--c-bright) 100%) 0 100% / 100% var(--foot) no-repeat,
    linear-gradient(180deg, var(--c-top) 0%, var(--c-upper) 45%, var(--c-zone) 100%) 0 0 / 100% calc(100% - var(--foot) + 1px) no-repeat;
  background-color: var(--c-zone);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 26px 24px -22px var(--c-shadow);
}
html.moving .card-grad { transition: --c-top .7s ease, --c-upper .7s ease, --c-zone .7s ease, --c-mid .7s ease, --c-glow .7s ease, --c-bright .7s ease; }

/* ── Base ─────────────────────────────────────────────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #000; font: 400 16.5px/1.45 "Geist", system-ui, -apple-system, sans-serif; overflow-x: clip; -webkit-font-smoothing: antialiased; }
h1, h2, p, figure { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 12px; }
.card-grad :focus-visible { outline-color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 12px 18px; border-radius: 999px; background: #fff; color: #000; text-decoration: none; }
.skip:focus { top: 12px; }
/* The R (Theme Logo): body and rib in the ink, the dot in the now orange. */
.rb { fill: currentColor; } .rr { fill: currentColor; opacity: .78; } .rd { fill: var(--now); }

/* Type (Typography.swift, glass look): glassHero Outfit 200 −0.04em (scaled up for the page), glassTitle Outfit 300,
   hero −0.04em and display −0.03em; Geist lead 16.5/1.45; caption 12.5; buttonGlass Geist 15.5/500; nothing bold. */
.mega { font: 200 clamp(96px, 18vw, 290px)/0.86 "Outfit", sans-serif; letter-spacing: -.04em; }
.big { font: 300 clamp(46px, 8vw, 132px)/0.98 "Outfit", sans-serif; letter-spacing: -.04em; text-wrap: balance; }
.big.small { font-size: clamp(40px, 5.6vw, 88px); }
.i3 { color: var(--ink3); }
.cap { font-size: 12.5px; color: var(--ink3); }
.center { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--gut); }
.center .big { max-width: 13ch; }
.pitch { margin-top: clamp(20px, 3vw, 32px); max-width: 38ch; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: var(--ink2); }

/* The frosted pill (Glass.swift cardPillFrost 0.86; its words are the card's top colour). */
.fpill, .frost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; text-decoration: none; cursor: pointer;
  font: 500 15.5px "Geist", sans-serif; background: rgba(255, 255, 255, .86); color: var(--c-top, #15171d); box-shadow: inset 0 1px 0 #fff, 0 12px 22px -12px rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .2s; }
.fpill { color: var(--light-ink); }
.ground-light .fpill { background: var(--light-ink); color: #fff; box-shadow: 0 12px 22px -12px rgba(60, 50, 80, .4); }
.fpill:active, .frost:active { transform: scale(.97); }

/* The glass tile: its dim, the sheen across its top, the rim bright at the top and low down the sides. */
.glass { position: relative; color: var(--ink); border: 1px solid transparent; border-radius: 28px;
  background: linear-gradient(180deg, var(--sheen), transparent 40%) padding-box, linear-gradient(var(--tile), var(--tile)) padding-box,
              linear-gradient(170deg, var(--rimBright) 0%, var(--rimLow) 30%, var(--rimLow) 68%, var(--rimEnd) 100%) border-box;
  box-shadow: var(--tileShadow); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4); }
/* The glass segmented control (as onboarding's "Presets | Mix my own"). */
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; }
.seg button { min-height: 40px; min-width: 56px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font: 400 15px "Geist", sans-serif; color: var(--ink2); cursor: pointer; transition: background .25s, color .25s; }
.seg button[aria-pressed="true"] { background: color-mix(in srgb, var(--ink) 16%, transparent); color: var(--ink); }
.gpill { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rimEnd); background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink); font: 500 15.5px "Geist", sans-serif; cursor: pointer; }
.gpill[aria-pressed="true"] { background: color-mix(in srgb, var(--ink) 18%, transparent); }

/* Nudges: a soft ring runs out of a control twice, the first time it is seen. */
html.moving .nudge.nudging { animation: nudge 1.6s ease-out 2; }
@keyframes nudge { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--now) 55%, transparent); } 100% { box-shadow: 0 0 0 16px transparent; } }

/* ── Hero: the track ──────────────────────────────────────────────────────────────────────────────────────────── */
.stage { position: relative; overflow: hidden; }
.hero .stage { min-height: calc(var(--vh) * 100); }
.sky { position: absolute; inset: 0; background: var(--groundBg); }
.trackWrap { position: absolute; left: 64%; top: 56%; width: max(118vw, calc(var(--vh) * 180), 1100px); aspect-ratio: 2400 / 1500; transform: translate(-50%, -50%) rotate(-9deg); will-change: transform; }
.trackSvg { width: 100%; height: 100%; display: block; overflow: visible; }
.infield { fill: var(--infield); opacity: .6; }
.lane .s1 { stop-color: var(--c-top); } .lane .s2 { stop-color: var(--c-upper); } .lane .s3 { stop-color: var(--c-zone); }
.lane .s4 { stop-color: var(--c-mid); } .lane .s5 { stop-color: var(--c-glow); } .lane .s6 { stop-color: var(--c-bright); }
html.moving .lane stop { transition: stop-color .8s ease; }
html.noT .lane stop { transition: none !important; }
.startLine { fill: #fff; opacity: .92; }
.laneNo { font: 300 44px "Outfit", sans-serif; fill: #fff; opacity: .9; }
.runDot { fill: var(--now); stroke: #fff; stroke-width: 7; }
.runHalo { fill: rgba(255, 138, 61, .28); }
.scrim { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 95% at 0% 100%, rgba(var(--scrimC), .9) 30%, rgba(var(--scrimC), .55) 56%, transparent 78%); }
.heroText { position: absolute; left: var(--gut); bottom: calc(var(--vh) * 9); max-width: min(760px, 92vw); z-index: 2; color: var(--ink); }
.tag { margin-top: 10px; font: 300 clamp(28px, 3.6vw, 52px)/1.05 "Outfit", sans-serif; letter-spacing: -.03em; }
.sub { margin-top: 14px; max-width: 34ch; color: var(--ink2); }
.heroText .fpill { margin-top: 22px; }
.say1 { position: relative; z-index: 3; min-height: calc(var(--vh) * 80); background: var(--groundBg); }
html:not(.moving) .hero { position: relative; overflow: hidden; }
html:not(.moving) .hero .stage { position: static; }
html:not(.moving) .say1 { margin-top: calc(var(--vh) * 100); }
html:not(.moving) .sky, html:not(.moving) .scrim { height: calc(var(--vh) * 100); bottom: auto; }
html:not(.moving) .trackWrap { top: calc(var(--vh) * 56); }
html:not(.moving) .heroText { bottom: auto; top: calc(var(--vh) * 44); }
@media (max-width: 759px) {
  .trackWrap { left: 50%; top: 36%; width: max(200vw, calc(var(--vh) * 120), 760px); transform: translate(-50%, -50%) rotate(-74deg); }
  .scrim { background: linear-gradient(0deg, rgba(var(--scrimC), .95) 0%, rgba(var(--scrimC), .82) 36%, transparent 62%); }
  .heroText { bottom: calc(var(--vh) * 6); }
  html:not(.moving) .trackWrap { top: calc(var(--vh) * 36); }
  html:not(.moving) .heroText { top: calc(var(--vh) * 50); }
}

/* ── Flips ────────────────────────────────────────────────────────────────────────────────────────────────────── */
.disc { display: none; }
.before, .after { min-height: calc(var(--vh) * 84); padding-top: 12vh; padding-bottom: 12vh; }
.cta { --foot: calc(var(--vh) * 26); position: relative; overflow: hidden; }
.cta > * { position: relative; }
.cta .mega { font-size: clamp(60px, 10vw, 168px); line-height: .92; max-width: 11ch; text-wrap: balance; }
.cta .pitch { color: rgba(255, 255, 255, .78); }
.route { position: absolute !important; left: 50%; top: 50%; width: min(96vmin, 900px); height: auto; transform: translate(-50%, -50%); opacity: .38; pointer-events: none; }
.route path { fill: none; stroke: url(#rg); stroke-width: 7; stroke-linecap: round; filter: drop-shadow(0 0 10px rgba(190, 220, 255, .9)); stroke-dasharray: 1100; stroke-dashoffset: 0; }
.route circle { fill: var(--now); stroke: #fff; stroke-width: 4; }
html.moving .route path { stroke-dashoffset: calc(1100px * (1 - var(--rd, 1))); }

/* The journey line (GlassJourney): the solid way behind, the dotted way ahead, the now dot, the flag, the phases. */
.journey { position: relative; width: min(92vw, 900px); height: 150px; margin-top: clamp(28px, 4vw, 48px); }
.journey > svg:first-child { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px; overflow: visible; }
.journey path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.jAhead { stroke-dasharray: .1 10; opacity: .7; }
.jDone { stroke-dasharray: 1000; stroke-dashoffset: 0; }
html.moving .jDone { stroke-dashoffset: calc(1000px * (1 - var(--jd, 1))); }
.jNow { position: absolute; left: var(--jx, 33%); top: var(--jy, 55%); width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: var(--now); box-shadow: 0 0 0 4px #fff, 0 0 0 10px rgba(255, 138, 61, .25); }
.jFlag { position: absolute; left: 95%; top: 30px; width: 50px; height: 32px; margin: -30px 0 0 -14px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.jLab { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); font-size: 12.5px; color: var(--ink3); }

/* ── Showcases on Dawn ────────────────────────────────────────────────────────────────────────────────────────── */
.show { padding: calc(var(--vh) * 8) var(--gut) calc(var(--vh) * 12); }
.case + .case { margin-top: calc(var(--vh) * 16); }
.caseHead { position: relative; max-width: var(--maxw); margin: 0 auto; display: grid; gap: 16px; align-items: end; }
.caseHead .big { position: relative; font-size: clamp(44px, 7vw, 116px); max-width: 12ch; }
.caseP { position: relative; max-width: 36ch; font-size: clamp(16.5px, 1.4vw, 19px); color: var(--ink2); }
/* The run glyph of the section, drawn big behind its headline (GlassRunGlyph's paths, 34 × 22). */
.bigGlyph { position: absolute; left: -2%; top: -40%; width: min(80vw, 820px); height: auto; fill: none; stroke: var(--ink); stroke-width: .45; stroke-linecap: round; stroke-linejoin: round; opacity: .12; overflow: visible; pointer-events: none; }
@media (min-width: 1000px) { .caseHead { grid-template-columns: 1fr auto; } .caseP { padding-bottom: 14px; } }

.panel { position: relative; max-width: var(--maxw); margin: clamp(28px, 4vw, 52px) auto 0; height: clamp(620px, 50vw, 720px); border-radius: 44px; box-shadow: 0 50px 90px -50px rgba(60, 50, 80, .55); }
.pc { position: absolute; transform: rotate(var(--rot, 0deg)); }
html.moving .pc { will-change: transform; }

/* A phone holding a real screenshot. */
.shotPhone { width: 250px; padding: 7px; border-radius: 46px; background: #0b0d12; box-shadow: inset 0 0 0 1.5px #2a2e38, 0 40px 70px -30px rgba(0, 0, 0, .8); }
.shotPhone img { width: 100%; height: auto; border-radius: 39px; background: #000; aspect-ratio: 640 / 1391; }

/* The week card (Plan): day rows with the run glyphs, two-session days, today's dot. */
.weekCard { width: 400px; padding: 18px 16px 14px; border-radius: 30px; }
.wcHead { padding: 0 6px 10px; }
.wcT { font: 400 17px "Outfit", sans-serif; margin-top: 2px; }
.days { list-style: none; margin: 0; padding: 0; }
.days li { display: grid; grid-template-columns: 46px 1fr; align-items: start; padding: 8px 6px; border-top: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); }
.dn { font-size: 13px; color: var(--ink3); line-height: 24px; }
.days li.today .dn { color: var(--ink); }
.sess { display: grid; gap: 4px; min-height: 24px; }
.sess p { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; font-size: 15px; line-height: 24px; }
.gl { width: 26px; height: 17px; fill: none; stroke: var(--ink2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.sess b { font-weight: 400; }
.sess i { font-style: normal; font-size: 13px; color: var(--ink3); display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.mtag { font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); color: var(--ink2); }
.mv.ghost b { text-decoration: line-through; color: var(--ink3); }
.nowDot { width: 7px; height: 7px; border-radius: 50%; background: var(--now); box-shadow: 0 0 0 3px rgba(255, 138, 61, .25); }
.wcAct { display: flex; align-items: center; gap: 12px; padding: 12px 6px 2px; flex-wrap: wrap; }
.coachRow { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 26px; width: 380px; }
.coachRow p { font-size: 15.5px; line-height: 1.35; }
.coachRow small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink3); }
.av { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); border: 1px solid var(--rimLow); }
.av svg { width: 23px; height: 23px; }
.p1 .shotPhone { left: 5%; top: -6%; }
.p1 .weekCard { left: 33%; top: 6%; }
.p1 .coachRow { right: 4%; bottom: 9%; }

/* The main card (Today), at the app's proportions (360 × 346 pt, radius 42). */
.mcard { width: 360px; height: 346px; border-radius: 42px; padding: 24px; }
.mk { font-size: 14px; color: rgba(255, 255, 255, .78); }
.md { margin-top: 16px; font: 200 34px/1 "Outfit", sans-serif; } .md b { font-weight: 200; font-size: 76px; letter-spacing: -.04em; }
.ms { margin-top: 14px; font-size: 15px; color: rgba(255, 255, 255, .78); }
.mshape { position: absolute; left: 24px; top: 196px; width: calc(100% - 48px); height: 40px; }
.mshape .f { fill: rgba(255, 255, 255, .14); } .mshape .l { fill: none; stroke: #fff; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.mnow { position: absolute; left: 24px; top: 228px; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--now); box-shadow: 0 0 0 3px #fff, 0 0 0 7px rgba(255, 138, 61, .3); }
.mcard .frost { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); }
.p2 .mcard { left: 5%; top: 9%; }
.wxWrap { left: 38%; top: 20%; display: grid; gap: 14px; justify-items: start; }
.wxWrap .coachRow { width: 400px; min-height: 76px; }
.wxLine { display: none; } .wxLine.on { display: inline; }
html.moving .wxLine.on { animation: lineIn .45s ease both; }
@keyframes lineIn { from { opacity: 0; } }
.p2 .shotPhone { right: 5%; top: -7%; }

/* The plan card (Plan, in Tide) with the journey you can drag ("Drag the line to look ahead"). */
.planCard { width: 400px; height: 330px; border-radius: 42px; padding: 22px; }
.planCard .pt { margin-top: 6px; font: 300 36px/1.05 "Outfit", sans-serif; letter-spacing: -.03em; }
.pj { position: absolute; left: 22px; right: 22px; top: 140px; height: 60px; touch-action: none; cursor: grab; }
.pj > svg:first-child { width: 100%; height: 50px; overflow: visible; }
.pjLine { fill: none; stroke: #fff; stroke-width: 2.2; stroke-dasharray: .1 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pjFlag { position: absolute; right: -6px; top: -16px; width: 34px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.pjDot { position: absolute; left: var(--px, 46%); top: var(--py, 52%); width: 44px; height: 44px; margin: -22px; border: 0; border-radius: 50%; background: none; cursor: grab; touch-action: none; }
.pjDot::after { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: var(--now); box-shadow: 0 0 0 3px #fff, 0 0 0 8px rgba(255, 138, 61, .3); }
.hintChip { position: absolute; left: 50%; top: -6px; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; font-size: 12.5px; white-space: nowrap; color: #fff; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity .4s; pointer-events: none; }
.hintChip.gone { opacity: 0; }
.pjLab { position: absolute; left: 22px; right: 22px; top: 206px; display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.pjLab .on { color: #fff; }
.p3 .planCard { left: 5%; top: 8%; }
.finish { left: 42%; top: 9%; }
.fH { font: 300 30px "Outfit", sans-serif; letter-spacing: -.03em; }
.clock { margin: 4px 0 14px; font: 200 clamp(72px, 7.6vw, 120px)/1 "Outfit", sans-serif; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
/* The bib (onboarding's bib: Assets BibPaper, BibBand, BibInk). */
.bib { right: 5%; bottom: 8%; width: 360px; border-radius: 14px; background: #fbfaf7; color: #2532a8; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8); }
.bibBand { display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 16px 0 40px; border-radius: 14px 14px 0 0; background: #2532a8; color: #fff; font: 600 11px "Geist", sans-serif; letter-spacing: .12em; }
.bibBand svg { width: 18px; height: 18px; color: #fff; }
.bibPaper { padding: 10px 18px 14px; }
.bibName input { width: 100%; border: 0; background: none; padding: 4px 0; font: 800 58px/1 "Outfit", sans-serif; color: #2532a8; text-transform: uppercase; border-radius: 8px; letter-spacing: -.01em; }
.bibName input:focus-visible { outline: 2px dashed #2532a8; }
html.moving .bibName input.nudging { animation: caret 1s steps(1) 3; }
@keyframes caret { 50% { box-shadow: inset -3px 0 0 #2532a8; } }
.bibFoot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; padding-top: 8px; border-top: 1.5px dashed rgba(37, 50, 168, .25); }
.bibFoot span { font: 600 11px "Geist", sans-serif; letter-spacing: .14em; color: #3a3f4c; } .bibFoot b { font: 600 24px "Outfit", sans-serif; color: #15171d; }
.bpin { position: absolute; width: 34px; height: 10px; border-radius: 6px; background: linear-gradient(180deg, #f2f3f6, #9aa0ac); box-shadow: 0 2px 3px rgba(0, 0, 0, .35); }
.bpin.a { left: 4px; top: 10px; transform: rotate(-35deg); } .bpin.b { right: 4px; top: 6px; transform: rotate(30deg); } .bpin.c { left: 4px; bottom: 10px; transform: rotate(30deg); } .bpin.d { right: 6px; bottom: 12px; transform: rotate(-30deg); }

@media (max-width: 999px) {
  .panel { height: auto; padding: 26px 16px 30px; display: flex; flex-direction: column; align-items: center; gap: 18px; border-radius: 34px; }
  .pc { position: relative; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; max-width: 100%; }
  .shotPhone { width: min(60vw, 250px); }
  .weekCard, .coachRow, .wxWrap .coachRow, .mcard, .planCard, .bib { width: min(100%, 400px); }
  .p1 .shotPhone { align-self: flex-start; margin-bottom: -170px; }
  .p1 .weekCard { align-self: flex-end; }
  .p2 .shotPhone { align-self: flex-end; margin-top: -150px; }
  .wxWrap { justify-items: stretch; width: min(100%, 400px); }
  .finish { text-align: center; }
  .bibName input { font-size: 46px; }
}

/* ── Make it yours ────────────────────────────────────────────────────────────────────────────────────────────── */
.yours { padding: calc(var(--vh) * 8) var(--gut) calc(var(--vh) * 10); }
.yoursGrid { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 40px; align-items: center; justify-items: center; }
@media (min-width: 1000px) { .yoursGrid { grid-template-columns: 1fr auto; } }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 16px; max-width: 620px; width: 100%; }
.yoursPick { width: 100%; max-width: 620px; }
.sw { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; font-size: 12.5px; color: var(--ink2); border-radius: 18px; }
.sw i { --foot: 32px; display: block; width: 100%; aspect-ratio: 66 / 92; border-radius: 18px; transition: transform .3s cubic-bezier(.3, 1.5, .5, 1), box-shadow .25s; }
.sw[aria-pressed="true"] i { box-shadow: 0 0 0 2.5px #fff, 0 0 0 6px rgba(255, 255, 255, .25); transform: translateY(-3px); }
.sw[aria-pressed="true"] span { color: var(--ink); }
html.moving .swatches.nudging .sw i { animation: wave .7s ease calc(var(--i) * 60ms) 1; }
@keyframes wave { 40% { transform: translateY(-8px); } }
@media (hover: hover) { .sw:hover i { transform: translateY(-3px); } }
.swName { margin-top: 18px; color: var(--ink2); } .swName b { font-weight: 400; color: var(--ink); margin-right: 6px; }
.yoursPhone { display: grid; gap: 16px; justify-items: center; }
.groundSeg button { min-width: 80px; }

/* The phone mock: Today drawn in points (390 × 844), from the app's measurements. */
.mock { --pw: min(320px, 76vw, calc(var(--vh) * 40)); --pt: calc(var(--pw) / 390); position: relative; width: var(--pw); height: calc(var(--pt) * 844); color: var(--ink); }
.mock .ph { position: absolute; inset: 0; border-radius: calc(var(--pt) * 58); overflow: hidden; background: var(--groundBg); box-shadow: inset 0 0 0 calc(var(--pt) * 9) #0b0d12, inset 0 0 0 calc(var(--pt) * 10.5) #2a2e38, 0 40px 80px -30px rgba(0, 0, 0, .6); }
.mock[data-ground="dark"] .ph { background-color: #000; }
.mock .phSky { display: none; }
.mock .phUi { position: absolute; inset: calc(var(--pt) * 9); font-size: calc(var(--pt) * 15); line-height: 1.25; }
.mock .phUi > * { position: absolute; }
.mock .phStatus { top: calc(var(--pt) * 11); left: calc(var(--pt) * 31); right: calc(var(--pt) * 25); display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: calc(var(--pt) * 16); }
.mock .phStatus svg { width: calc(var(--pt) * 66); height: calc(var(--pt) * 12); fill: currentColor; stroke: currentColor; }
.mock .phGlass { border: 1px solid transparent; background: linear-gradient(180deg, var(--sheen), transparent 45%) padding-box, linear-gradient(var(--tile), var(--tile)) padding-box, linear-gradient(170deg, var(--rimBright), var(--rimLow) 30%, var(--rimLow) 68%, var(--rimEnd)) border-box; box-shadow: var(--tileShadow); }
.mock .phHead { top: calc(var(--pt) * 61); left: calc(var(--pt) * 7); right: calc(var(--pt) * 7); display: flex; align-items: center; justify-content: space-between; }
.mock .phAv, .mock .phBell { width: calc(var(--pt) * 44); height: calc(var(--pt) * 44); border-radius: 50%; display: grid; place-items: center; font-size: calc(var(--pt) * 16); }
.mock .phBell svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 1.6; }
.mock .phTitle { display: flex; flex-direction: column; align-items: center; }
.mock .phTitle b { font: 400 calc(var(--pt) * 17) "Outfit", sans-serif; }
.mock .phTitle span { color: var(--ink3); font-size: calc(var(--pt) * 12.5); }
.mock .phWeek { top: calc(var(--pt) * 123); left: calc(var(--pt) * 3); right: calc(var(--pt) * 3); margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.mock .phWeek li { display: flex; flex-direction: column; align-items: center; gap: calc(var(--pt) * 3); padding: calc(var(--pt) * 6) 0 calc(var(--pt) * 10); margin: 0 calc(var(--pt) * 6); border-radius: calc(var(--pt) * 22); border: 1px solid transparent; }
.mock .phWeek span { font-size: calc(var(--pt) * 11); color: var(--ink3); }
.mock .phWeek b { font: 300 calc(var(--pt) * 18) "Outfit", sans-serif; }
.mock .phWeek i { width: calc(var(--pt) * 5); height: calc(var(--pt) * 5); border-radius: 50%; border: 1px solid var(--ink3); }
.mock .phWeek i.d { background: #5aa9ff; border-color: #5aa9ff; } .mock .phWeek i.n { background: var(--now); border-color: var(--now); }
.mock .phWeek li.on { background: linear-gradient(180deg, var(--sheen), transparent), var(--tile); border-color: var(--rimLow); }
.mock .phCard { top: calc(var(--pt) * 195); left: calc(var(--pt) * 6); right: calc(var(--pt) * 6); height: calc(var(--pt) * 346); border-radius: calc(var(--pt) * 42); padding: calc(var(--pt) * 24); --foot: calc(var(--pt) * 76); }
.mock .phCard > * { position: relative; }
.mock .phKick { font-size: calc(var(--pt) * 14); color: rgba(255, 255, 255, .78); }
.mock .phDist { margin-top: calc(var(--pt) * 18); font: 200 calc(var(--pt) * 34)/1 "Outfit", sans-serif; }
.mock .phDist span { font-size: calc(var(--pt) * 76); letter-spacing: -.04em; }
.mock .phSub { margin-top: calc(var(--pt) * 18); font-size: calc(var(--pt) * 15); color: rgba(255, 255, 255, .78); }
.mock .phShape { position: absolute; left: calc(var(--pt) * 24); top: calc(var(--pt) * 196); width: calc(100% - var(--pt) * 48); height: calc(var(--pt) * 40); }
.mock .phShape .fill { fill: rgba(255, 255, 255, .14); } .mock .phShape .ln { fill: none; stroke: #fff; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.mock .phNow { position: absolute; left: calc(var(--pt) * 24); top: calc(var(--pt) * 228); width: calc(var(--pt) * 10); height: calc(var(--pt) * 10); margin: calc(var(--pt) * -5); border-radius: 50%; background: var(--now); box-shadow: 0 0 0 calc(var(--pt) * 3) #fff, 0 0 0 calc(var(--pt) * 7) rgba(255, 138, 61, .3); }
.mock .phLabels { position: absolute; left: calc(var(--pt) * 24); right: calc(var(--pt) * 24); top: calc(var(--pt) * 246); display: flex; justify-content: space-between; font-size: calc(var(--pt) * 13); color: rgba(255, 255, 255, .78); }
.mock .phPill { position: absolute; left: 50%; bottom: calc(var(--pt) * 36); transform: translateX(-50%); display: inline-flex; align-items: center; gap: calc(var(--pt) * 8); height: calc(var(--pt) * 46); padding: 0 calc(var(--pt) * 22); border-radius: 999px; background: rgba(255, 255, 255, .86); color: var(--c-top); font: 500 calc(var(--pt) * 15.5) "Geist", sans-serif; white-space: nowrap; }
.mock .phPill svg { width: calc(var(--pt) * 10); height: calc(var(--pt) * 12); fill: currentColor; }
.mock .phTiles { top: calc(var(--pt) * 553); left: calc(var(--pt) * 6); right: calc(var(--pt) * 6); display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--pt) * 14); }
.mock .phTile { height: calc(var(--pt) * 132); border-radius: calc(var(--pt) * 40); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--pt) * 2); font-size: calc(var(--pt) * 13); }
.mock .phTile span { color: var(--ink3); } .mock .phTile span:first-child { color: var(--ink2); }
.mock .phTile b { font: 300 calc(var(--pt) * 44)/1.1 "Outfit", sans-serif; }
.mock .phTile .bar { display: block; width: 60%; height: calc(var(--pt) * 6); margin-top: calc(var(--pt) * 6); border-radius: 9px; background: color-mix(in srgb, var(--ink) 18%, transparent); overflow: hidden; }
.mock .phTile .bar i { display: block; width: 19%; height: 100%; background: linear-gradient(90deg, #5aa9ff, var(--now)); border-radius: 9px; }
.mock .phCoach { top: calc(var(--pt) * 699); left: calc(var(--pt) * 6); right: calc(var(--pt) * 6); min-height: calc(var(--pt) * 74); border-radius: calc(var(--pt) * 30); display: flex; align-items: center; gap: calc(var(--pt) * 12); padding: calc(var(--pt) * 10) calc(var(--pt) * 16); font-size: calc(var(--pt) * 14.5); }
.mock .phR { flex: none; width: calc(var(--pt) * 40); height: calc(var(--pt) * 40); border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--rimLow); }
.mock .phR svg { width: calc(var(--pt) * 23); height: calc(var(--pt) * 23); } .mock .phRb svg { width: calc(var(--pt) * 32); height: calc(var(--pt) * 32); }
.mock .phTabs { top: calc(var(--pt) * 757); left: calc(var(--pt) * 11); right: calc(var(--pt) * 11); display: flex; gap: calc(var(--pt) * 10); }
.mock .phBar { flex: 1; height: calc(var(--pt) * 62); border-radius: 999px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; padding: calc(var(--pt) * 5); font-size: calc(var(--pt) * 11); text-align: center; }
.mock .phBar span { height: 100%; display: grid; place-items: end center; padding-bottom: calc(var(--pt) * 9); border-radius: 999px; }
.mock .phBar .on { background: color-mix(in srgb, var(--ink) 12%, transparent); }
.mock .phRb { width: calc(var(--pt) * 62); height: calc(var(--pt) * 62); border-radius: 50%; display: grid; place-items: center; }
.mock .phR, .mock .phRb { color: var(--ink); }

/* The rail of real screens: swipe on a phone, drag with a mouse. */
.railWrap { max-width: var(--maxw); margin: calc(var(--vh) * 14) auto 0; }
.railHint { margin-top: 8px; color: var(--ink3); font-size: 15px; }
.rail { list-style: none; margin: 28px calc(var(--gut) * -1) 0; padding: 10px var(--gut) 30px; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail li { flex: none; scroll-snap-align: center; text-align: center; }
.rail .shotPhone { width: clamp(200px, 22vw, 280px); }
.rail p { margin-top: 12px; font-size: 14px; color: var(--ink3); }
.rail img { -webkit-user-drag: none; user-select: none; pointer-events: none; }

/* What Rove won't do, the price. */
.wont, .price { max-width: var(--maxw); margin: calc(var(--vh) * 14) auto 0; }
.wontList { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.wontList li { font: 300 clamp(24px, 3vw, 40px)/1.15 "Outfit", sans-serif; letter-spacing: -.02em; padding: .14em .6em; border: 1px solid var(--rimEnd); border-radius: 999px; }
.wontList span { background: linear-gradient(currentColor, currentColor) 0 56% / 100% 1.5px no-repeat; }
html.moving .wontList span { background-size: 0 1.5px; transition: background-size .8s cubic-bezier(.6, 0, .2, 1); transition-delay: calc(var(--i, 0) * 110ms); }
html.moving .wont.in .wontList span { background-size: 100% 1.5px; }
.wontP { margin-top: 24px; max-width: 60ch; color: var(--ink2); }
.wontP strong { font-weight: 400; color: var(--ink); } .wontP a { color: var(--ink); display: inline-block; padding: 8px 0; }
.priceRow { display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 760px) { .priceRow { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.price .glass { padding: 22px 24px; border-radius: 30px; }
.price .n { margin: 6px 0 2px; font: 300 clamp(44px, 4.4vw, 60px)/1 "Outfit", sans-serif; letter-spacing: -.03em; }
.priceP { margin-top: 20px; max-width: 60ch; color: var(--ink2); }

/* ── The close ────────────────────────────────────────────────────────────────────────────────────────────────── */
.join { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: min(540px, 100%); margin-top: 28px; }
.join input { flex: 1 1 240px; min-width: 0; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .2); color: #fff; font: 400 16px "Geist", sans-serif; }
.join input::placeholder { color: rgba(255, 255, 255, .78); }
.join .frost { min-height: 50px; }
@media (max-width: 520px) { .join .frost { flex: 1 1 100%; } }
.join .done { display: none; align-items: center; gap: 10px; }
.join .done svg { width: 28px; height: 28px; } .join .done circle { fill: #fff; } .join .done path { fill: none; stroke: var(--c-top); stroke-width: 2.4; stroke-linecap: round; }
.join.joined input, .join.joined .frost { display: none; } .join.joined .done { display: flex; }
.joinNote { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.formLegal { margin-top: 8px; max-width: 46ch; font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.formLegal a { color: #fff; }

/* The wall of pills on Dawn. */
.wall { padding: calc(var(--vh) * 8) 0; overflow: hidden; display: grid; gap: 12px; }
.row { overflow: hidden; }
.track2 { display: flex; gap: 12px; width: max-content; }
.track2 span { flex: none; padding: .14em .64em .18em; border: 1.5px solid var(--ink); border-radius: 999px; font: 300 clamp(30px, 4.6vw, 66px)/1 "Outfit", sans-serif; letter-spacing: -.03em; white-space: nowrap; color: var(--ink); }
.track2 span.fill { background: var(--ink); color: var(--light-base); }
html.moving .track2 { animation: slide var(--s, 50s) linear infinite; animation-direction: var(--dir, normal); }
@keyframes slide { to { transform: translateX(calc(-50% - 6px)); } }

.foot { padding: 34px var(--gut) 40px; display: grid; gap: 10px; justify-items: center; text-align: center; color: var(--ink3); font-size: 15px; }
.footBrand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; font: 400 20px "Outfit", sans-serif; }
.footBrand svg { width: 28px; height: 28px; }
.footLinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; } .footLinks a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink2); text-decoration: none; }
.footLinks a:hover { color: var(--ink); text-decoration: underline; }
@media (min-width: 900px) { .foot { grid-template-columns: auto 1fr auto; text-align: left; } }

/* ── Pinned choreography (html.moving only) ──────────────────────────────────────────────────────────────────── */
/* Every scene holds the screen (sticky) for its own length of scroll; the scroll's progress inside it drives it. */
html.moving .scene { height: calc(var(--vh) * var(--len, 260)); }
html.moving .hero { --len: 320; }
html.moving .flip { --len: 280; }
html.moving .flip.last { --len: 240; }
html.moving .journeyScene { --len: 380; }
html.moving .railScene { --len: 340; }
html.moving .priceScene { --len: 180; }
html.moving .scene > .stage { position: sticky; top: 0; height: calc(var(--vh) * 100); }
html.moving .say1 { pointer-events: none; position: absolute; inset: 0; min-height: 0; background: none; opacity: var(--s1, 0); transform: scale(calc(.94 + .06 * var(--s1, 0))); }
html.moving .heroText { opacity: var(--ht, 1); transform: translate3d(0, var(--hy, 0px), 0); }
html.moving .flip .before, html.moving .flip .after { position: absolute; inset: 0; min-height: 0; padding: 0 var(--gut); }
html.moving .flip .before { pointer-events: none; }
html.moving .flip .before > * { opacity: var(--b, 1); transform: translate3d(0, var(--by, 0px), 0) scale(var(--bs, 1)); }
html.moving .flip .after { opacity: var(--a, 0); visibility: var(--av, hidden); }
html.moving .flip .after > *:not(.route) { transform: translate3d(0, var(--ay, 40px), 0); }
html.moving .disc { display: block; position: absolute; left: 50%; top: 50%; width: 100px; height: 100px; margin: -50px 0 0 -50px; border-radius: 50%; transform: scale(0); will-change: transform; }
/* The ring that leads each flip: the visitor's card colours, top to bright. */
html.moving .disc.lead { background: conic-gradient(from 200deg, var(--c-top), var(--c-mid), var(--c-glow), var(--c-bright), var(--c-top)); }
html.moving .toLight .disc.field { background: var(--light-base); }
html.moving .toDark .disc.field { background: #000; }
html.moving .toCard .disc.field { --foot: 34px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ══ Round 4: scenes, the stack, the journey, the R and the pill ═══════════════════════════════════════════════ */

/* The wordmark (brand/, favicon.svg): letters and R in the ink, the R's rib a step softer, its dot the now orange. */
.wm { display: block; width: clamp(260px, 38vw, 620px); height: auto; overflow: visible; }
.wm .wl { fill: var(--ink); } .wm g.wl circle { fill: none; stroke: var(--ink); } .wm .wr { fill: var(--ink); opacity: .78; } .wm .wd { fill: var(--now); }
.heroText h1 { margin: 0; }
.trackSvg { color: #fff; }
.infR { opacity: .92; }
.infR .rd { fill: var(--now); }

/* Type that acts out what it says, once, driven by the scene (--k from 0 to 1; 1 without the script). */
.act { display: inline-block; white-space: nowrap; }
.act.fall span, .act.bend span { display: inline-block; transform: translateY(calc(var(--k, 1) * var(--dy))) rotate(calc(var(--k, 1) * var(--dr))); transform-origin: 50% 100%; }
.act.stamp { transform: scale(calc(1 + (1 - var(--k, 1)) * .3)); opacity: calc(.2 + var(--k, 1) * .8); transform-origin: 30% 70%; }
.act.grow { transform: scale(calc(1 + var(--k, 0) * .08)); transform-origin: 0 80%; }
.act.hold { position: relative; }
.before .i3 { display: inline-block; transform: translateX(calc(var(--mv, 0) * -60px)); }

/* The journey scene. */
.journeyScene .stage { display: grid; grid-template-rows: auto 1fr; padding: calc(var(--vh) * 9) var(--gut) calc(var(--vh) * 5); }
.jHead { max-width: var(--maxw); width: 100%; margin: 0 auto; }
.jHead .big { margin-top: 6px; font-size: clamp(52px, 8vw, 128px); }
.jMeaning { margin-top: 10px; max-width: 40ch; font-size: clamp(17px, 1.6vw, 21px); color: var(--ink2); min-height: 3em; }
.jArt { position: relative; max-width: 1500px; width: 100%; margin: 0 auto; align-self: center; }
.jSvg { width: 100%; height: auto; max-height: calc(var(--vh) * 58); display: block; overflow: visible; }
.jSvg .b1 { stop-color: var(--c-glow, #f0603c); } .jSvg .b2 { stop-color: var(--c-mid, #a83fd2); } .jSvg .b3 { stop-color: var(--c-upper, #473cd4); }
.jw rect { transform-box: fill-box; transform-origin: 50% 100%; }
.jmi { font: 300 22px "Outfit", sans-serif; fill: var(--ink2); }
.jwk { font: 400 16px "Geist", sans-serif; fill: var(--ink3); }
.jDoneL { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.jAheadL { fill: none; stroke: var(--ink3); stroke-width: 4; stroke-linecap: round; stroke-dasharray: .1 14; }
.jSep { stroke: var(--ink3); stroke-width: 1.5; stroke-dasharray: 2 8; opacity: .6; }
.jPole { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.jCloth { fill: var(--ink); }
.jRace { font: 300 26px "Outfit", sans-serif; fill: var(--ink); }
.jDot { fill: var(--now); stroke: #fff; stroke-width: 6; }
.jHalo { fill: rgba(255, 138, 61, .25); }
.jPhases { max-width: var(--maxw); margin: 24px auto 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.jPhases b { font-weight: 400; margin-right: 8px; }
.jPhases span { color: var(--ink2); }
html.moving .jPhases { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
html.moving .jFlagG { transition: transform .6s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; }
html.moving .journeyScene:not(.planted) .jFlagG { opacity: 0; }
html:not(.moving) .journeyScene .stage { min-height: auto; }

/* The stack: colour cards, each pinned, the next sliding up over it (as on the home page). */
.stack { position: relative; padding: calc(var(--vh) * 6) var(--gut) calc(var(--vh) * 10); }
.scard { position: relative; max-width: var(--maxw); margin: 0 auto 24px; border-radius: 32px; padding: 30px 20px 26px; display: grid; gap: 26px; --foot: 120px; overflow: hidden; isolation: isolate; }
.scard::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--dimmed, 0); pointer-events: none; border-radius: inherit; z-index: 5; }
.sCopy { position: relative; z-index: 1; color: #fff; }
.kick { font-size: 15px; color: rgba(255, 255, 255, .78); }
.sh { margin-top: 8px; font: 300 clamp(44px, 5.4vw, 86px)/1 "Outfit", sans-serif; letter-spacing: -.04em; max-width: 12ch; text-wrap: balance; }
.sp { margin-top: 12px; font-size: clamp(16.5px, 1.4vw, 19px); color: rgba(255, 255, 255, .86); max-width: 34ch; }
.sh + .sp { margin-top: 18px; }
.sCopy .seg, .sCopy .swatches { margin-top: 24px; }
.sCopy .swatches { max-width: 460px; gap: 12px 10px; }
.sCopy .sw span, .sCopy .swName { color: rgba(255, 255, 255, .86); } .sCopy .swName b { color: #fff; }
.sCopy .sw[aria-pressed="true"] span { color: #fff; }
.sPiece { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-width: 0; }
.sPiece .weekCard, .sPiece .coachRow { width: min(100%, 430px); }
.sPiece .mock { --pw: min(290px, 70vw, calc(var(--vh) * 30)); }
.wxPiece .mcard { width: min(100%, 360px); }
.wxPiece .coachRow { width: min(100%, 420px); }
.wxPiece .tilt { position: absolute; right: -2%; top: 2%; width: 190px; transform: rotate(7deg); z-index: -1; opacity: .95; }
.racePiece { display: block; height: 560px; width: 100%; max-width: 640px; }
.racePiece .planCard { position: absolute; left: 0; top: 0; width: 380px; }
.racePiece .finish { position: absolute; right: 0; top: 0; text-align: right; color: #fff; }
.racePiece .clock { font-size: clamp(60px, 6vw, 96px); }
.cap.light { color: rgba(255, 255, 255, .78); }
.racePiece .bib { position: absolute; right: 2%; bottom: 0; width: 340px; transform: rotate(-4deg); }
.scard .wont { width: min(100%, 560px); padding: 22px; border-radius: 30px; }
.scard .wontList { margin-top: 0; }
.scard .wontList li { font-size: clamp(22px, 2.4vw, 32px); }
@media (min-width: 1000px) {
  .scard { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 44px; border-radius: 44px; padding: clamp(36px, 3.6vw, 60px); height: calc(var(--vh) * 100 - 170px); min-height: 560px; --foot: 150px; }
}
@media (max-width: 999px) {
  .racePiece { height: auto; display: flex; flex-direction: column; gap: 18px; }
  .racePiece .planCard, .racePiece .finish, .racePiece .bib { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
  .racePiece .planCard { width: min(100%, 380px); } .racePiece .finish { text-align: center; } .racePiece .bib { width: min(100%, 340px); }
  .wxPiece .tilt { display: none; }
}
html.moving .scard { position: sticky; top: var(--stick, 24px); transform-origin: 50% 0; transform: scale(var(--sc, 1)); margin-bottom: calc(var(--vh) * 75); }
html.moving .scard:last-child { margin-bottom: calc(var(--vh) * 75); }
html.moving .scard > .sCopy, html.moving .scard > .sPiece { opacity: calc(1 - var(--cv, 0) * .9); }

/* The rail scene: the page holds while the screens slide past. */
.railScene .stage { display: flex; flex-direction: column; justify-content: center; padding: calc(var(--vh) * 6) 0; }
.railHead { padding: 0 var(--gut); max-width: var(--maxw); width: 100%; margin: 0 auto; }
.railScene .rail { margin: 28px 0 0; padding: 10px var(--gut) 20px; cursor: default; }
.railScene .shotPhone { width: clamp(200px, 21vw, 270px); }
html.moving .railScene .rail { overflow: visible; transform: translate3d(var(--rx, 0px), 0, 0); will-change: transform; scroll-snap-type: none; }

/* The price scene: the tiles rise in as the scene plays. */
.priceScene .stage { padding: calc(var(--vh) * 8) var(--gut); }
.priceScene .priceRow { width: min(100%, 1040px); text-align: left; }
.priceScene .priceP { text-align: center; }
html.moving .priceScene .pt { opacity: var(--k, 1); transform: translate3d(0, calc((1 - var(--k, 1)) * 60px), 0); }
html:not(.moving) .scene > .stage { min-height: calc(var(--vh) * 80); }

/* The close: the R over the card. */
.closeR { width: 64px; height: 64px; margin-bottom: 18px; color: #fff; }

/* The floating pill (as on the home page): the R and the call to action, after the track. */
.float { position: fixed; z-index: 40; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px; padding: 6px; min-height: 56px; border-radius: 999px; text-decoration: none; color: #fff;
  background: linear-gradient(180deg, rgba(184, 213, 255, .17), transparent 60%), rgba(10, 12, 20, .55); border: 1px solid rgba(255, 255, 255, .18); box-shadow: inset 0 1px 0 rgba(201, 222, 255, .5), 0 18px 40px -14px rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); transform: translate(-50%, 0); transition: transform .5s cubic-bezier(.3, 1.3, .5, 1), opacity .35s, visibility 0s; }
.float.off { opacity: 0; transform: translate(-50%, 24px) scale(.96); pointer-events: none; visibility: hidden; transition: transform .4s ease, opacity .3s, visibility 0s .4s; }
.fR { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #000; border: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.fR svg { width: 26px; height: 26px; }
.fT { font: 500 15.5px "Geist", sans-serif; padding: 0 4px; white-space: nowrap; }
.fA { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .86); color: #15171d; transition: transform .25s; }
.fA svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .float:hover .fA { transform: translateX(2px); } }
html:not(.js) .float { display: none; }
.foot { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }

/* Renders only (?notrans): headless capture does not advance CSS transitions, so they are switched off. */
html.notrans *, html.notrans *::before, html.notrans *::after { transition: none !important; animation-duration: 0s !important; animation-delay: 0s !important; }
.sPiece.ground-dark, .seg.ground-dark { background: none; }
.seg.glass.ground-dark { background: linear-gradient(180deg, var(--sheen), transparent 40%) padding-box, linear-gradient(var(--tile), var(--tile)) padding-box, linear-gradient(170deg, var(--rimBright) 0%, var(--rimLow) 30%, var(--rimLow) 68%, var(--rimEnd) 100%) border-box; }
.priceScene .pt { padding: 22px 24px; border-radius: 30px; }
.priceScene .n { margin: 6px 0 2px; font: 300 clamp(44px, 4.4vw, 60px)/1 "Outfit", sans-serif; letter-spacing: -.03em; }
.mcard { position: relative; flex: none; }

@media (max-width: 759px) { .jArt { overflow: visible; margin-left: 0; } .jSvg { width: 240%; max-height: none; } .journeyScene .stage { overflow: hidden; } .jHead .big { font-size: clamp(48px, 13vw, 64px); } }

/* Phones: every card fits one screen with its heading and its demo, a deck step below the card before it. */
@media (max-width: 759px) {
  .scard { height: calc(var(--vh) * 100 - 136px); padding: 20px 16px 18px; gap: 14px; grid-template-rows: auto 1fr; align-content: start; border-radius: 28px; --foot: 70px; }
  .sh { font-size: clamp(30px, 8.6vw, 38px); margin-top: 4px; }
  .kick { font-size: 13px; }
  .sp { font-size: 15px; margin-top: 8px; } .sh + .sp { margin-top: 10px; }
  .sCopy .sp + .sp { display: none; }
  .sCopy .seg, .sCopy .swatches { margin-top: 12px; }
  .sCopy .seg button { min-height: 36px; padding: 0 12px; font-size: 14px; }
  .sPiece { gap: 10px; justify-content: flex-start; }
  .weekCard { padding: 12px 12px 8px; } .wcHead { padding-bottom: 6px; }
  .days li { padding: 5px 4px; } .days li:nth-child(3), .days li:nth-child(6) { display: none; }
  .sess p { font-size: 14px; line-height: 22px; } .wcAct { padding-top: 8px; }
  .coachRow { padding: 8px 12px; } .coachRow p { font-size: 14px; } .av { width: 32px; height: 32px; } .av svg { width: 19px; height: 19px; }
  .wxPiece .mcard, .racePiece .planCard { zoom: .72; }
  .racePiece .finish { display: none; }
  .racePiece .bib { zoom: .72; margin-top: -6px; }
  .scard .wont { padding: 14px; } .scard .wontList li { font-size: 19px; } .wontP { font-size: 13.5px; margin-top: 12px; }
  .sCopy .swatches { gap: 8px; } .sw i { aspect-ratio: 1; border-radius: 14px; --foot: 18px; } .sw { font-size: 11px; gap: 3px; } .swName { margin-top: 8px; font-size: 13px; }
  .sPiece .mock { --pw: min(140px, calc(var(--vh) * 17)); }
  .groundSeg button { min-height: 34px; min-width: 64px; font-size: 13px; }
}
@media (max-width: 759px) and (max-height: 720px) {
  .sh { font-size: 30px; }
  .sPiece .mock, .groundSeg { display: none; }
  .wontP { display: none; }
  .wxPiece .mcard, .racePiece .planCard { zoom: .62; }
  .racePiece .bib { zoom: .6; }
  .days li:nth-child(5) { display: none; }
}

/* ══ Round 5 ═══════════════════════════════════════════════════════════════════════════════════════════════════ */

/* The mark as the app icon draws it (brand/rove-300.png, Assets Logo/LogoDot): body light, the foot brand teal, the
   dot the logo orange. Dark ink for the body only on a light surface. */
.rb, .wm .wl { fill: #eaf4f2; } .wm g.wl circle { fill: none; stroke: #eaf4f2; }
.rr, .wm .wr { fill: #3dbfb0 !important; opacity: 1 !important; }
.rd, .wm .wd, .infR .rd { fill: #ffb487; }
.mock[data-ground="light"] .rb, .bibPaper .rb, .frost .rb { fill: #15171d; }

/* Heavier words: Outfit a clear step up (the same family), one emphasis per statement; Geist 600 in body lines. */
.hw { font-weight: 600; }
.big .hw, .sh .hw, .mega .hw { font-weight: 600; letter-spacing: -.035em; }
.hw2 { font-weight: 600; color: #fff; }

/* "not." breaks: the letters shear, tumble with weight and scatter off the line; "Life is" jolts. */
.act.fall span { transform: translate(calc(var(--k, 1) * var(--dx, 0em)), calc(var(--k, 1) * var(--k, 1) * var(--dy))) rotate(calc(var(--k, 1) * var(--dr))) skewX(calc(var(--k, 1) * var(--sk, 0deg))); opacity: calc(1 - max(0, var(--k, 1) - .55) * 2); transform-origin: 50% 80%; }
.jolt { display: inline-block; transform: translate(calc(var(--jolt, 0) * -.06em), calc(var(--jolt, 0) * .05em)) rotate(calc(var(--jolt, 0) * -1.6deg)); }
/* "bends" has room to curve as one arc. */
.act.bend { letter-spacing: .07em; margin: 0 .08em 0 .12em; }
.act.bend span { margin: 0 .01em; }
.after .big br + .i3 { display: inline-block; margin-top: .22em; }

/* The colours orbit the phone in Make it yours; the phone takes each colour as it passes the top. */
.orbit { position: absolute; left: 50%; top: 50%; width: calc(var(--pw-orbit, 420px)); aspect-ratio: 1; transform: translate(-50%, -50%) rotate(var(--orbit, 0deg)); pointer-events: none; z-index: 0; }
.orb { position: absolute; left: 50%; top: 50%; width: 40px; height: 54px; margin: -27px 0 0 -20px; transform: rotate(var(--a)) translateY(calc(var(--pw-orbit, 420px) / -2)) rotate(calc(-1 * var(--a) - var(--orbit, 0deg))); }
.orb i { display: block; width: 100%; height: 100%; border-radius: 12px; --foot: 18px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .3) inset, 0 10px 20px -10px rgba(0, 0, 0, .6); }
.sPiece:has(.orbit) { position: relative; }
.sPiece .mock { z-index: 1; }

/* Built around you: the app's plan kinds, one demo each. */
.kindSeg { flex-wrap: wrap; max-width: 560px; }
.kindSeg button { min-width: 0; padding: 0 12px; }
.kindPiece { position: relative; }
.kind { display: none; flex-direction: column; align-items: center; gap: 14px; }
.kind.on { display: flex; }
html.moving .kind.on { animation: lineIn .45s ease both; }
.kcard { width: 380px; height: 330px; border-radius: 42px; padding: 22px; }
.kcard .pt, .planCard .pt { margin-top: 6px; font: 300 36px/1.05 "Outfit", sans-serif; letter-spacing: -.03em; }
.kcard .frost { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); white-space: nowrap; }
.kindLine { color: rgba(255, 255, 255, .9); font-size: 16.5px; text-align: center; max-width: 34ch; }
.rw { display: flex; align-items: flex-end; gap: 4px; height: 46px; margin-top: 26px; }
.rw i { flex: 3; height: 100%; border-radius: 8px; background: rgba(255, 255, 255, .9); }
.rw b { flex: 2; height: 30%; border-radius: 6px; background: rgba(255, 255, 255, .35); }
.rwLab { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.kLong { position: absolute; left: 26px; right: 70px; bottom: 82px; width: calc(100% - 96px); height: 90px; fill: none; stroke: #fff; stroke-width: .9; stroke-linecap: round; overflow: visible; }
.kFlag { position: absolute; right: 26px; bottom: 150px; width: 50px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; overflow: visible; }
.streak { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-top: 30px; }
.streak i { aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); }
.streak i.f { background: #fff; border-color: #fff; }
.streak i.now { border-color: var(--now); box-shadow: 0 0 0 3px rgba(255, 138, 61, .3); }
.kRuler { margin-top: 22px; }
.ruler { position: relative; height: 56px; margin-top: 6px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 2px, transparent 2px 18px) 0 100% / 100% 14px no-repeat, repeating-linear-gradient(90deg, rgba(255, 255, 255, .9) 0 2px, transparent 2px 90px) 0 100% / 100% 24px no-repeat; }
.ruler i { position: absolute; left: 56%; bottom: 0; width: 3px; height: 40px; background: #fff; border-radius: 2px; }
.ruler b { position: absolute; left: 56%; top: -2px; transform: translateX(-50%); font: 400 18px "Outfit", sans-serif; white-space: nowrap; }
.kind[data-kind-view="race"] { flex-direction: column; }
.kind[data-kind-view="race"] .bib { position: relative; width: 320px; transform: rotate(-4deg); margin-top: -40px; margin-left: 120px; }

/* Honest by design: each thing arrives whole and is struck through, one by one; the promise lands after. */
html.moving .scard .wontList li { transition: opacity .4s; }
html.moving .scard .wontList li:not(.struck) span { background-size: 0 1.5px; }
html.moving .scard .wontList li.struck { opacity: .55; }
html.moving .scard .wontList li:not(.shown) { opacity: 0; transform: translateY(10px); }
html.moving .scard .wontList li { transition: opacity .4s, transform .4s; }
html.moving .scard .wontList span { transition: background-size .6s cubic-bezier(.6, 0, .2, 1); }
html.moving .scard .wontP { transition: opacity .5s, transform .5s; }
html.moving .scard .wont:not(.promised) .wontP { opacity: 0; transform: translateY(12px); }

/* The stack hands straight to the next scene: the last card's rest is a spacer inside the stack, not a margin. */
html.moving .scard:last-of-type { margin-bottom: 0; }
.stack { padding-bottom: 0; }
html.moving .stackEnd { height: calc(var(--vh) * 75); }

/* A squarer phone: flat sides, tighter corners, a thin bezel, no notch or island. */
.shotPhone { padding: 5px; border-radius: 30px; background: #15171d; box-shadow: inset 0 0 0 1px #2c3140, 0 40px 70px -30px rgba(0, 0, 0, .8); }
.shotPhone img { border-radius: 25px; }
.mock .ph { border-radius: calc(var(--pt) * 36); box-shadow: inset 0 0 0 calc(var(--pt) * 6) #15171d, inset 0 0 0 calc(var(--pt) * 7) #2c3140, 0 40px 80px -30px rgba(0, 0, 0, .6); }

/* A day with Rove. */
html.moving .dayScene { --len: 380; }
.dayScene .stage { display: grid; align-items: center; gap: 32px; padding: calc(var(--vh) * 8) var(--gut); max-width: none; }
@media (min-width: 900px) { .dayScene .stage { grid-template-columns: minmax(0, 560px) auto; justify-content: center; gap: clamp(48px, 8vw, 140px); } }
.sunArc { width: 260px; margin-top: 20px; }
.sunArc svg { width: 100%; height: auto; overflow: visible; }
.sunArc .arc { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 1.5; stroke-dasharray: 2 6; }
.sunArc .sun { fill: #ffb487; transition: fill .4s; }
.sunArc.night .sun { fill: #c9d3ec; }
.moments { list-style: none; margin: 18px 0 0; padding: 0; position: relative; min-height: 190px; }
.moments li { margin-bottom: 18px; }
.mTime { font: 300 15px "Outfit", sans-serif; color: var(--ink3); }
.mTitle { font: 300 clamp(32px, 3.4vw, 48px)/1.1 "Outfit", sans-serif; letter-spacing: -.03em; margin-top: 2px; }
.mLine { margin-top: 8px; color: var(--ink2); max-width: 36ch; }
html.moving .moments li { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(16px); transition: opacity .45s, transform .45s; margin: 0; }
html.moving .moments li.on { opacity: 1; transform: none; }
.dayPhone .shotPhone { position: relative; width: min(300px, calc(var(--vh) * 30)); }
.dayPhone img { position: relative; }
html.moving .dayPhone img { position: absolute; left: 5px; top: 5px; width: calc(100% - 10px); opacity: 0; transition: opacity .5s; }
html.moving .dayPhone img:first-child { position: relative; left: 0; top: 0; width: 100%; }
html.moving .dayPhone img.on { opacity: 1; }
html:not(.moving) .dayPhone .shotPhone { display: grid; gap: 8px; background: none; box-shadow: none; }
@media (max-width: 899px) {
  .dayScene .stage { align-content: start; padding-top: calc(var(--vh) * 6); gap: 14px; justify-items: center; text-align: center; }
  .sunArc { margin: 10px auto 0; width: 200px; }
  .moments { min-height: 150px; } .mLine { margin-inline: auto; font-size: 15px; }
  .dayPhone .shotPhone { width: min(220px, calc(var(--vh) * 26)); }
}

/* The last scene: Rove with it. */
.cta { overflow: hidden; }
.stream { position: absolute !important; inset: 0; display: grid; align-content: center; gap: 12px; opacity: .22; pointer-events: none; }
.stream .row { overflow: visible; }
.stream .track2 span { border-color: #fff; color: #fff; }
.stream .track2 span.fill { background: #fff; color: var(--c-top); }
html.moving .stream .track2 { animation: slide var(--s, 50s) linear infinite; animation-direction: var(--dir, normal); }
.endR { width: min(22vh, 200px); height: min(22vh, 200px); margin-bottom: 10px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .3)); }
.cta .mega { font-size: clamp(64px, 11vw, 190px); }
.joinBtn { position: relative; display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; min-height: 60px; padding: 0 10px 0 28px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--c-top); text-decoration: none; font: 500 18px "Geist", sans-serif; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); }
.joinBtn i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-top); color: #fff; }
.joinBtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html.moving .joinBtn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: ring 2.4s ease-out infinite; }
html.moving .joinBtn i { animation: nudgeX 2.4s ease-in-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 70%, 100% { box-shadow: 0 0 0 22px rgba(255, 255, 255, 0); } }
@keyframes nudgeX { 0%, 60%, 100% { transform: none; } 75% { transform: translateX(5px); } }
.cta .joinNote { margin-top: 16px; }
.foot { padding: 26px var(--gut) calc(30px + env(safe-area-inset-bottom)); gap: 6px; }

/* The join sheet: a pop-up with the script, a plain section without it. */
.joinSheet { position: relative; padding: 40px var(--gut); background: #000; }
.jsBack { display: none; }
.jsPanel { position: relative; max-width: 460px; margin: 0 auto; border-radius: 36px; padding: 30px 26px 28px; text-align: center; --foot: 90px; }
.jsClose { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.jsR { width: 64px; height: 64px; }
.jsH { margin-top: 8px; font: 300 40px/1.05 "Outfit", sans-serif; letter-spacing: -.035em; }
.jsBody { display: grid; justify-items: center; gap: 12px; margin-top: 16px; }
.jsSeg button { min-width: 100px; }
.jsSay { color: rgba(255, 255, 255, .9); max-width: 32ch; }
.jsForm { margin-top: 4px; }
.jsNote { font-size: 13px; color: rgba(255, 255, 255, .85); }
.jsNote a, .jsNote.error { color: #fff; }
.jsDone { display: grid; justify-items: center; gap: 12px; margin-top: 20px; font: 300 22px/1.3 "Outfit", sans-serif; }
.jsDone svg { width: 44px; height: 44px; } .jsDone circle { fill: #fff; } .jsDone path { fill: none; stroke: var(--c-top); stroke-width: 2.4; stroke-linecap: round; }
.jsDone[hidden], .jsBody[hidden], [hidden] { display: none !important; }
html.js .joinSheet { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; padding: 16px; background: none; }
html.js .joinSheet.open { display: grid; }
html.js .jsBack { display: block; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
html.js .jsPanel { width: min(100%, 460px); max-height: calc(100dvh - 32px); overflow: auto; }
html.moving .joinSheet.open .jsPanel { animation: sheetIn .45s cubic-bezier(.3, 1.3, .5, 1) both; }
html.moving .joinSheet.open .jsBack { animation: lineIn .3s ease both; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }
@media (max-width: 520px) { html.js .joinSheet { place-items: end center; padding: 8px; } html.js .jsPanel { border-radius: 30px; } }
html.sheetOpen { overflow: hidden; }

@media (max-width: 759px) {
  .orbit { --pw-orbit: 250px; } .orb { width: 26px; height: 34px; margin: -17px 0 0 -13px; } .orb i { border-radius: 8px; --foot: 10px; }
  .kcard, .kind[data-kind-view="race"] .planCard { zoom: .72; }
  .kind[data-kind-view="race"] .bib { zoom: .66; margin-left: 60px; }
  .kindLine { font-size: 14px; }
  .kindSeg button { min-height: 32px; font-size: 12.5px; padding: 0 9px; }
  .act.bend { letter-spacing: .05em; }
}
@media (max-width: 759px) and (max-height: 720px) {
  .kcard, .kind[data-kind-view="race"] .planCard { zoom: .6; }
  .kind[data-kind-view="race"] .bib { display: none; }
  .orbit { display: none; }
}
.jsDone:focus { outline: none; }
/* The last scene's pills: a quiet texture at the edges, a clear centre for the R, the line and the button. */
.stream { opacity: .12; gap: 10px; align-content: space-between; padding: 4vh 0;
  -webkit-mask-image: radial-gradient(70% 46% at 50% 50%, transparent 55%, #000 85%); mask-image: radial-gradient(70% 46% at 50% 50%, transparent 55%, #000 85%); }
.stream .track2 span { font-size: clamp(18px, 2.2vw, 30px); border-width: 1px; }
.stream .track2 span.fill { background: none; color: #fff; }
@media (max-width: 759px) { .stream { -webkit-mask-image: radial-gradient(90% 40% at 50% 50%, transparent 60%, #000 90%); mask-image: radial-gradient(90% 40% at 50% 50%, transparent 60%, #000 90%); } }

/* The page's edges are always black. Safari (iOS 26 and later) tints its status bar and toolbar from whatever is fixed
   or pinned at the top and bottom edges, so a pinned colour card turned the bars that card's colour (the owner: "the
   bottom and top bars are green… make sure they stay black"). Two fixed black strips sit at the very edges, and the
   last scene's colour is a rounded panel inside them, like the stacking cards, so the strips never show as lines. */
.edge { position: fixed; left: 0; right: 0; height: 6px; background: #000; z-index: 45; pointer-events: none; }
.edge.t { top: 0; } .edge.b { bottom: 0; }
.flip.last > .stage { clip-path: inset(8px round 34px); }
@media (min-width: 760px) { .flip.last > .stage { clip-path: inset(14px round 44px); } }

/* The Plus switch (PLUS_SOLD in index.html's head script, docs/plans/PLUS_SWITCH.md): the free copy while Rove Plus
   isn't sold, the prices when it is. Without the attribute (no JS), the free copy. */
html:not([data-plus="on"]) .plusOnly, html[data-plus="on"] .plusFree { display: none !important; }
