/* farsider.app: the landing page. Colours, type and devices from the brand book (assets/brand/README.md): Night
   #0A0807, Ink #1E1E1E, Bone #F4F1EF, Clay #E0CEC7, Tangerine #FF5F1F; Anybody for headlines, Barlow for text,
   Martian Mono for numbers. Desktop from 1240 px; below it the page stacks. */

@font-face { font-family: Anybody; font-style: italic; font-weight: 800; font-stretch: 115%; font-display: swap; src: url(/site/fonts/anybody-italic-800.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-weight: 400; font-display: swap; src: url(/site/fonts/barlow-normal-400.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-weight: 500; font-display: swap; src: url(/site/fonts/barlow-normal-500.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-weight: 600; font-display: swap; src: url(/site/fonts/barlow-normal-600.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-weight: 700; font-display: swap; src: url(/site/fonts/barlow-normal-700.woff2) format("woff2"); }
@font-face { font-family: "Martian Mono"; font-weight: 700; font-stretch: 112.5%; font-display: swap; src: url(/site/fonts/martian-mono-normal-700.woff2) format("woff2"); }

:root {
  --night: #0A0807; --card: #161210; --ink: #1E1E1E; --line: #2B2421; --bone: #F4F1EF; --clay: #E0CEC7;
  --muted: #B9ACA6; --faint: #8E817B; --tangerine: #FF5F1F; --char: #3A1606;
  --wide: 1312px; --gutter: 64px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--night); color: var(--bone); font: 400 18px/1.5 Barlow, "Helvetica Neue", sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: Anybody, "Arial Black", sans-serif; font-style: italic; font-weight: 800; font-stretch: 115%; white-space: nowrap; }
p { margin: 0; }
.mono, .price { font-family: "Martian Mono", monospace; font-weight: 700; font-stretch: 112.5%; }

/* Store buttons */
.stores { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
/* The store buttons: one matched pair after the stores' badges (black, a thin grey edge, the store's own logo, its words
   in two lines), the same size whichever store, so they sit together evenly. */
.store { --sh: 54px; box-sizing: border-box; display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; height: var(--sh); width: calc(var(--sh) * 3.5); justify-content: center; padding: 0 calc(var(--sh) * 0.2);
  border: 1px solid #A6A6A6; border-radius: calc(var(--sh) * 0.2); background: #000; color: #fff; text-decoration: none; transition: border-color .15s; }
.store:hover { border-color: #fff; }
.store svg, .store img { display: block; width: auto; height: calc(var(--sh) * 0.52); flex-shrink: 0; }
.store-apple svg { width: calc(var(--sh) * 0.48); height: calc(var(--sh) * 0.48); margin-top: -2px; }
.store span { display: flex; flex-direction: column; font: 600 calc(var(--sh) * 0.4)/1 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing: -0.01em; white-space: nowrap; }
.store small { margin-bottom: 2px; font-size: calc(var(--sh) * 0.2); font-weight: 500; letter-spacing: 0.01em; }
.hero-qr, .store-also, .store-also a, .plan-end { display: none; }
[data-device="apple"] :is(.hero-copy, .last) .store-play, [data-device="play"] :is(.hero-copy, .last) .store-apple { display: none; }
[data-device="apple"] .store-apple { order: -1; }
:is([data-device="apple"], [data-device="play"]) .hero-copy .store-also { display: block; }
[data-device="apple"] .also-play, [data-device="play"] .also-apple { display: inline; }
/* On a phone with its own store button, the other store: one quiet line, an arrow, no underline. */
.store-also { font-size: 15px; font-weight: 500; color: var(--muted); }
.store-also a { padding: 8px 0; text-decoration: none; }
.store-also a::after { content: " \2192"; }
.store-also a:hover { color: var(--bone); }
[data-device="computer"] .hero-qr { display: flex; }
.hero-qr { align-items: center; gap: 12px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.hero-qr .qr { width: 48px; height: 48px; border-radius: 6px; }
/* A QR code opens large on a click, to scan from the screen; a click anywhere or Esc closes it (landing.js). */
.qr-open { flex-shrink: 0; padding: 0; border: 0; border-radius: 8px; background: none; cursor: zoom-in; }
.qr-open:focus-visible { outline: 2px solid var(--tangerine); outline-offset: 3px; }
.qr-big { padding: 36px 36px 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--night); color: var(--bone); text-align: center; cursor: zoom-out; }
.qr-big::backdrop { background: rgba(10,8,7,0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.qr-big img { width: min(320px, 70vw); height: auto; margin: 0 auto; }
.qr-big p { max-width: 300px; margin: 20px auto 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.qr-big .qr-close { margin-top: 18px; height: 40px; padding: 0 20px; border-radius: 12px; border: 1px solid rgba(244,241,239,0.3); background: none; color: var(--bone); font: 600 15px Barlow, sans-serif; cursor: pointer; }
.qr-big .qr-close:hover { border-color: var(--bone); }

/* Hero: the rider at night above the valley (E1, owner's edits of 7 Oct), slim; the words on the left, a landscape
   phone on the line into the next section at the column's right edge. The photo scales with the width, so the hero
   grows with it (the 1440 framing kept: the rider's head never cut) up to 640 px; only the photo is clipped. */
.hero { position: relative; z-index: 2; height: clamp(560px, 42vw, 820px); }
.hero-media { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(180deg, #18313A 0%, #0A1E29 38%, #1A1518 58%, var(--night) 100%); }
/* The moonlit rider: the photo's full height, at the right, so the rider and the moon stand clear of the words; where
   the hero is wider than the photo, its edges fade into a sky of its own colours; on wide screens it keeps to the column. */
.hero-photo { position: absolute; top: 0; right: max(0px, (100% - var(--wide)) / 2 - 320px); width: auto; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 94%, transparent); }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10,8,7,0.8) 0%, rgba(10,8,7,0.4) 26%, rgba(10,8,7,0) 40%),
  linear-gradient(180deg, rgba(10,8,7,0.7) 0%, rgba(10,8,7,0) 22%, rgba(10,8,7,0) 75%, var(--night) 100%); }
.hero-phone { --pw: clamp(300px, 26vw, 440px); position: absolute; z-index: 3; right: calc(max(var(--gutter), (100% - var(--wide)) / 2) + 12px); top: calc(100% - var(--pw) * 0.2437); width: var(--pw); aspect-ratio: 277 / 135; padding: 6px; border-radius: 30px; background: #050404; border: 1px solid #5A5D62;
  transform: perspective(1600px) rotateY(-18deg) rotateX(10deg) rotateZ(-3deg);
  box-shadow: 1px 0 0 #4A4C51, 2px 1px 0 #3C3E42, 3px 1px 0 #34363A, 4px 1px 0 #2E3033, 5px 2px 0 #2A2B2E, 6px 2px 0 #26272A, 7px 2px 0 #222326, 8px 3px 0 #1E1F21, 30px 40px 60px rgba(0,0,0,0.6), 0 0 120px rgba(255,95,31,0.25); }
.hero-phone video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 24px; background: var(--night); }
/* Its punch-hole camera, and a little glass sheen. */
.hero-phone::before { content: ""; position: absolute; z-index: 1; left: 13px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,0.06); }
.hero-phone::after { content: ""; position: absolute; inset: 6px; border-radius: 24px; background: linear-gradient(115deg, rgba(255,255,255,0.12), rgba(255,255,255,0) 35%); pointer-events: none; }
.nav { position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 120px; padding: 0 max(var(--gutter), calc((100% - var(--wide)) / 2)); display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 56px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 16px; font-weight: 500; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--tangerine); }
.nav-get { height: 44px; display: flex; align-items: center; padding: 0 20px; border-radius: 12px; border: 1px solid rgba(244,241,239,0.45); font-weight: 600; }
.nav-links a.nav-get:hover { color: var(--bone); border-color: var(--bone); }
.hero-copy { position: absolute; z-index: 1; left: max(var(--gutter), calc((100% - var(--wide)) / 2)); top: 150px; display: flex; flex-direction: column; gap: 22px; }
.hero-copy h1 { font-size: clamp(64px, 6.4vw, 104px); line-height: 0.88; letter-spacing: -0.015em; }
.hero-copy p { max-width: 470px; font-size: 16px; line-height: 1.45; color: var(--clay); text-wrap: balance; }

/* The ride: the feature showcase. A bento of eighteen tiles round the phone, laid out at the full 1312 px; narrower
   desktops zoom it to fit (landing.js sets --fit), so every tile keeps its drawing. */
.ride { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 72px var(--gutter) 96px; display: flex; flex-direction: column; gap: 40px; }
.ride-title { font-size: 56px; line-height: 0.98; }
.showcase { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(6, 174px); gap: 14px; zoom: var(--fit, 1); }
/* The tiles' strip: on a desktop it dissolves and the tiles sit on the showcase's grid. */
.bento, .bento-grid { display: contents; }

/* The stage and its phone, in 3D. The phone drifts: it rises, sways and comes a little closer,
   three slow motions out of step so it never quite repeats. When the feature changes it turns a full circle, and the
   screen changes while its back faces you (landing.js). */
.stage { grid-column: 3 / span 2; grid-row: 1 / span 4; border-radius: 26px; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 42%, var(--char) 0%, var(--card) 62%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 22px 24px; min-width: 0; perspective: 1500px; }
/* Its 3D layer kept for good (a resting transform, will-change): Safari rebuilt it when a turn ended and redrew the
   playing video black for a moment. */
.phone-turn { transform-style: preserve-3d; transform: rotateY(0deg); will-change: transform; }
/* A flagship phone to scale (78 × 163 × 8.75 mm): titanium frame, frosted glass back, a camera island. --pw, --ph, --pr
   and --pd are its width, height, corner radius and depth, --bz its bezel; the face sits half the depth in front of the
   turn's axis. */
.phone { --pw: 260px; --ph: 546px; --pr: 40px; --pd: 28px; --bz: 6px; --frame: #3C3E42; --frame-dark: #1C1D1F; --frame-light: #7A7D83;
  position: relative; width: var(--pw); height: var(--ph); padding: var(--bz); border-radius: var(--pr); background: #050404; border: 1px solid var(--frame); box-shadow: 0 30px 90px rgba(255,95,31,0.2);
  transform-style: preserve-3d; transform: rotateX(5deg) translateZ(calc(var(--pd) / 2)); rotate: y -15deg;
  animation: drift-lift 7s ease-in-out infinite alternate, drift-sway 11s ease-in-out infinite alternate, drift-zoom 9s ease-in-out infinite alternate; }
.punch { position: absolute; z-index: 2; left: 50%; top: calc(var(--bz) + var(--pw) * 0.03); width: calc(var(--pw) * 0.046); height: calc(var(--pw) * 0.046); margin-left: calc(var(--pw) * -0.023); border-radius: 50%; background: radial-gradient(circle at 40% 40%, #1E2430 0 20%, #000 35%); box-shadow: 0 0 0 1px rgba(255,255,255,0.06); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
/* The frame: four flat sides along the straight edges, thin layers round the corners. */
.phone-side { position: absolute; background: linear-gradient(90deg, var(--frame-dark), var(--frame) 30%, var(--frame-light) 50%, var(--frame) 70%, var(--frame-dark)); }
.side-l, .side-r { top: calc(var(--pr) - 1px); height: calc(var(--ph) - 2 * var(--pr)); width: var(--pd); }
.side-l { left: -1px; transform-origin: 0 50%; transform: rotateY(90deg); }
.side-r { right: -1px; transform-origin: 100% 50%; transform: rotateY(-90deg); }
.side-t, .side-b { left: calc(var(--pr) - 1px); width: calc(var(--pw) - 2 * var(--pr)); height: var(--pd); background: linear-gradient(180deg, var(--frame-dark), var(--frame) 30%, var(--frame-light) 50%, var(--frame) 70%, var(--frame-dark)); }
.side-t { top: -1px; transform-origin: 50% 0; transform: rotateX(-90deg); }
.side-b { bottom: -1px; transform-origin: 50% 100%; transform: rotateX(90deg); }
.phone-side i { position: absolute; left: 22%; width: 56%; border-radius: 3px; background: linear-gradient(90deg, #26272A, #6A6D72 50%, #26272A); box-shadow: 0 0 0 1px rgba(0,0,0,0.25); }
.side-l .b1 { top: 9%; height: 7%; } .side-l .b2 { top: 21%; height: 13%; } .side-l .b3 { top: 37%; height: 13%; }
.side-r .b1 { top: 25%; height: 18%; }
.phone-ply { position: absolute; inset: -1px; border-radius: var(--pr); background: var(--frame); }
.phone-ply.p1 { transform: translateZ(calc(var(--pd) * -0.12)); } .phone-ply.p2 { transform: translateZ(calc(var(--pd) * -0.24)); }
.phone-ply.p3 { transform: translateZ(calc(var(--pd) * -0.36)); } .phone-ply.p4 { transform: translateZ(calc(var(--pd) * -0.48)); }
.phone-ply.p5 { transform: translateZ(calc(var(--pd) * -0.6)); } .phone-ply.p6 { transform: translateZ(calc(var(--pd) * -0.72)); }
.phone-ply.p7 { transform: translateZ(calc(var(--pd) * -0.84)); } .phone-ply.p8 { transform: translateZ(calc(var(--pd) * -0.96)); }
/* The back, facing away: frosted dark glass and the camera island (sized in em, from the width). */
.phone-back { position: absolute; inset: -1px; border-radius: var(--pr); font-size: calc(var(--pw) / 26); background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.07), rgba(255,255,255,0) 60%), linear-gradient(160deg, #2C2D30 0%, #1C1D1F 55%, #141516 100%); box-shadow: inset 0 0 0 1px #45474B; transform: translateZ(calc(var(--pd) * -1)) rotateY(180deg); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.plateau { position: absolute; left: 1.3em; top: 1.3em; width: 11.2em; height: 11.2em; border-radius: 3em; background: linear-gradient(160deg, #3A3C40 0%, #26272A 70%); box-shadow: inset 0 0.1em 0.2em rgba(255,255,255,0.16), 0 0 0 0.08em #4C4E53, 0 0.3em 0.7em rgba(0,0,0,0.5); }
.lens { position: absolute; width: 4.6em; height: 4.6em; border-radius: 50%; background: radial-gradient(circle at 42% 40%, #3B4660 0 0.35em, #090B11 0.5em 1.1em, #1A1F2B 1.2em 1.45em, #050608 1.55em 1.85em, #55585E 1.9em 2.05em, #1A1B1D 2.1em 2.3em); box-shadow: 0 0 0 0.22em #2A2B2E, 0 0 0 0.3em #55585E, 0 0.2em 0.5em rgba(0,0,0,0.5); }
.lens.l1 { left: 1em; top: 1em; } .lens.l2 { left: 1em; top: 5.6em; } .lens.l3 { left: 5.6em; top: 3.3em; }
.flash { position: absolute; right: 1.2em; top: 1.5em; width: 1.6em; height: 1.6em; border-radius: 50%; background: radial-gradient(circle, #FFF6E8 0 0.4em, #E8D9C4 0.5em 0.8em); box-shadow: 0 0 0 0.12em #55585E; }
.lidar { position: absolute; right: 1.35em; bottom: 1.4em; width: 1.3em; height: 1.3em; border-radius: 50%; background: #0A0A0B; box-shadow: 0 0 0 0.12em #55585E; }
.mic { position: absolute; right: 1.85em; top: 5.4em; width: 0.4em; height: 0.4em; border-radius: 50%; background: #0A0A0B; }
.screens, .phone-sheen { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.phone-sheen { position: absolute; inset: var(--bz); border-radius: calc(var(--pr) - var(--bz)); pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 72%, rgba(255,255,255,0.04) 100%); }
.phone-floor { position: relative; width: 210px; height: 0; margin-top: -16px; }
.phone-floor::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,0.7), rgba(0,0,0,0)); animation: floor-lift 7s ease-in-out infinite alternate; }
@keyframes drift-lift { from { translate: 0 0; } to { translate: 0 -10px; } }
@keyframes drift-sway { from { rotate: y -17deg; } to { rotate: y -7deg; } }
@keyframes drift-zoom { from { scale: 1; } to { scale: 1.035; } }
@keyframes floor-lift { from { transform: scale(1); opacity: 1; } to { transform: scale(0.82); opacity: 0.6; } }
/* The turn: a full circle, fastest when side on, with a little dip on the way round; at its middle, the phone's back to
   you, the reel jumps to the next feature. */
.stage.turn-next .phone-turn { animation: spin-next 1.4s cubic-bezier(0.65, 0, 0.35, 1), spin-dip 1.4s ease-in-out; }
.stage.turn-back .phone-turn { animation: spin-back 1.4s cubic-bezier(0.65, 0, 0.35, 1), spin-dip 1.4s ease-in-out; }
@keyframes spin-next { from { transform: rotateY(0); } to { transform: rotateY(-360deg); } }
@keyframes spin-back { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }
@keyframes spin-dip { 50% { scale: 0.94; } }
/* The reel in the phone: one video, all the clips; it jumps between them while the phone's back is to you (landing.js). */
/* The screen, its glass and the camera hole lie a pixel or two in front of the phone's body: in one plane with its
   black background, Safari's depth sorting let the body cover the screen for a frame as a turn began or ended. */
.phone .screens { transform: translateZ(1px); }
.phone .phone-sheen { transform: translateZ(1.5px); }
.phone .punch { transform: translateZ(2px); }
/* No background of its own: Safari (iOS and Mac) paints it over the playing video inside the 3D phone; the phone's
   black body shows through until a clip's first frame. */
.screens { position: relative; width: 100%; height: 100%; border-radius: calc(var(--pr) - var(--bz)); overflow: hidden; }
/* The video rounds its own corners too: Firefox on Android (a Galaxy A34, 12 Oct) drew it as a flat rectangle over the
   phone's bezel, past the screen's clip and off its tilt, unless the video itself carried the clip. */
.screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; clip-path: inset(0 round calc(var(--pr) - var(--bz))); }
/* While a jump loads: the new clip's first frame over the video, a ring when it takes a while (landing.js). */
.screen-still { position: absolute; inset: 0; background: var(--night) 0 0 / 600% 300% no-repeat; opacity: 0; pointer-events: none; }
.screens.waiting .screen-still { opacity: 1; }
.screens::after { content: ""; position: absolute; left: 50%; bottom: 18%; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; border: 3px solid rgba(244,241,239,0.25); border-top-color: var(--tangerine); opacity: 0; pointer-events: none; transition: opacity .2s; }
.screens.slow::after { opacity: 1; animation: reel-wait 0.9s linear infinite; }
@keyframes reel-wait { to { transform: rotate(360deg); } }
/* The words slide out to the side the phone turns and the next ones slide in from the other (landing.js). */
.stage-title, .stage-text { transition: transform .38s cubic-bezier(0.2, 0.7, 0.2, 1), opacity .38s ease; }
.stage-text { transition-delay: .05s; }
.stage-copy.out-next .stage-title, .stage-copy.out-next .stage-text { transform: translateX(-48px); opacity: 0; transition-duration: .26s; transition-timing-function: ease-in; }
.stage-copy.out-back .stage-title, .stage-copy.out-back .stage-text { transform: translateX(48px); opacity: 0; transition-duration: .26s; transition-timing-function: ease-in; }
.stage-copy.in-next .stage-title, .stage-copy.in-next .stage-text { transform: translateX(48px); opacity: 0; transition: none; }
.stage-copy.in-back .stage-title, .stage-copy.in-back .stage-text { transform: translateX(-48px); opacity: 0; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .stage-title, .stage-text { transition: none; }
  .phone, .phone-floor::before, .stage .phone-turn { animation: none !important; }
}
/* A fixed height (the title and three lines of text), so the phone never moves when it changes; clear of its shadow. */
.stage-copy { width: 100%; height: 110px; margin-top: 14px; overflow: hidden; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; text-align: center; }
.stage-title { font-size: 26px; line-height: 1.05; }
.stage-text { max-width: 340px; font-size: 15px; line-height: 1.45; color: var(--muted); text-wrap: balance; }

/* The tiles: each a brand colour (or a photo) and a drawing of its feature's own moment. The playing one fills from
   the left as its clip plays. */
.t-dark  { --bg: var(--card); --fg: var(--bone); --mu: var(--muted); --ac: var(--tangerine); --pa: rgba(244,241,239,0.07); --on: var(--night); --edge: var(--line); }
.t-night { --bg: var(--night); --fg: var(--bone); --mu: var(--faint); --ac: var(--tangerine); --pa: rgba(244,241,239,0.06); --on: var(--night); --edge: #241D1A; }
.t-char  { --bg: var(--char); --fg: var(--bone); --mu: #D4ADA0; --ac: var(--tangerine); --pa: rgba(244,241,239,0.09); --on: var(--night); --edge: #4A2210; }
.t-photo { --bg: var(--card); --fg: var(--bone); --mu: var(--clay); --ac: var(--tangerine); --pa: rgba(10,8,7,0.55); --on: var(--night); --edge: var(--line); }
.t-tang  { --bg: var(--tangerine); --fg: var(--night); --mu: rgba(10,8,7,0.66); --ac: var(--night); --pa: rgba(10,8,7,0.1); --on: var(--tangerine); --edge: var(--tangerine); }
.t-bone  { --bg: var(--bone); --fg: var(--night); --mu: #6E625D; --ac: var(--tangerine); --pa: rgba(10,8,7,0.06); --on: var(--night); --edge: var(--bone); }
.t-clay  { --bg: var(--clay); --fg: var(--night); --mu: #5E504A; --ac: var(--char); --pa: rgba(10,8,7,0.08); --on: var(--clay); --edge: var(--clay); }
.tile { --wash: rgba(255,95,31,0.09); --lead: rgba(255,95,31,0.16); }
.t-tang, .t-bone, .t-clay { --wash: rgba(10,8,7,0.1); --lead: rgba(10,8,7,0.16); }

.tile { position: relative; overflow: hidden; padding: 0; border-radius: 22px; border: 1px solid var(--edge); background: var(--bg); color: var(--fg); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.tile:hover { border-color: rgba(255,95,31,0.6); }
.tile:focus-visible, .store:focus-visible, .nav a:focus-visible { outline: 2px solid var(--tangerine); outline-offset: 3px; }
.tile:focus-visible { outline-color: var(--bone); outline-offset: 4px; }
/* The playing tile: a ring just outside it, over the page, so it shows on every tile's colour (orange ones too). */
.tile.on { border-color: var(--tangerine); outline: 2px solid var(--tangerine); outline-offset: 4px; box-shadow: 0 18px 60px rgba(255,95,31,0.22); }
.tile-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.6) saturate(1.1); }
.tile-shade { position: absolute; inset: 0; background: linear-gradient(rgba(10,8,7,0.5), rgba(10,8,7,0.5)), linear-gradient(to top, rgba(10,8,7,0.9) 0%, rgba(10,8,7,0) 60%); }
.f-guide .tile-shade { background: linear-gradient(to top, rgba(10,8,7,0.94) 0%, rgba(10,8,7,0.55) 40%, rgba(10,8,7,0.1) 75%); }
.tile-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--wash) 0%, var(--wash) calc(100% - 90px), var(--lead) 100%); transform: translateX(-100%); will-change: transform; }
.tile-body { position: relative; z-index: 1; height: 100%; padding: 16px 16px 15px; display: flex; flex-direction: column; gap: 12px; }
.tile-name { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; line-height: 1.2; }
.tile-name svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--ac); }
.tile-sub { margin-top: -9px; font-size: 13px; line-height: 1.35; color: var(--mu); text-wrap: balance; }

/* Where each sits: row / column / row span / column span; the phone takes columns 3–4, rows 1–4. */
.f-curvy { grid-area: 1 / 1 / span 2 / auto; }
.f-night { grid-area: 1 / 2; }
.f-offline { grid-area: 2 / 2; }
.f-guide { grid-area: 3 / 1 / span 2 / span 2; }
.f-justride { grid-area: 5 / 1 / span 2 / auto; }
.f-pins { grid-area: 5 / 2; }
.f-home { grid-area: 6 / 2; }
.f-cameras { grid-area: 5 / 3; }
.f-trips { grid-area: 5 / 4; }
.f-wild { grid-area: 6 / 3 / auto / span 2; }
.f-rain { grid-area: 1 / 5 / auto / span 2; }
.f-group { grid-area: 2 / 5 / span 2 / auto; }
.f-search { grid-area: 2 / 6; }
.f-comingup { grid-area: 3 / 6; }
.f-gravel { grid-area: 4 / 5 / auto / span 2; }
.f-lanes { grid-area: 5 / 5; }
.f-cockpit { grid-area: 5 / 6; }
.f-ridepanel { grid-area: 6 / 5 / auto / span 2; }

/* The moments. Icons are strokes in the text colour; the drawings' parts take the tile's colours by class. */
:where(.tile-name, .mo) svg:where(:not(.art, .wave)) { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:where(.art) path:where(:not([class*="f-"])) { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.s-ac { stroke: var(--ac); } .s-mu { stroke: var(--mu); } .s-pa { stroke: var(--pa); }
.f-fg { fill: var(--fg); } .f-ac { fill: var(--ac); } .f-mu { fill: var(--mu); } .f-bg { fill: var(--bg); }
.dim { stroke-opacity: 0.55; } .dash { fill: none; stroke-dasharray: 3 5; stroke-opacity: 0.45; }
.art { display: block; width: 100%; min-height: 0; overflow: visible; }
.art text { font: 600 12px Barlow, sans-serif; text-anchor: middle; }
.mo { flex: 1; min-height: 0; display: flex; flex-direction: column; font-size: 12px; font-weight: 600; line-height: 1.2; }
.mo small { font-size: 12px; font-weight: 500; color: var(--mu); }
.mo .two { display: flex; flex-direction: column; gap: 2px; }
.mo .big { font-family: Anybody, "Arial Black", sans-serif; font-style: italic; font-weight: 800; font-stretch: 115%; font-size: 40px; line-height: 0.92; white-space: nowrap; }
.mo .big + small { margin-top: 2px; font-size: 13px; font-weight: 400; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--pa); color: var(--fg); font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill.on { background: var(--ac); color: var(--on); }
.pill svg { width: 13px; height: 13px; }
.pills { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.seg { display: flex; padding: 3px; border-radius: 12px; background: var(--pa); font-size: 13px; }
.seg span { flex: 1; padding: 7px 0; border-radius: 9px; text-align: center; color: var(--mu); }
.seg .on { background: var(--ac); color: var(--on); }
.ends { position: relative; display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; color: var(--mu); }

.mo-curvy, .mo-justride { justify-content: space-between; gap: 10px; }
.mo-curvy .art, .mo-justride .art { flex: 1; }
.mo-night { position: relative; margin: -16px -16px 0; overflow: hidden; }
.mo-night .art { position: absolute; inset: 0; height: 100%; }
.mo-night .moon { position: absolute; right: 14px; top: 14px; width: 22px; height: 22px; color: var(--tangerine); stroke-width: 1.8; }
.mo-night .pill { position: absolute; left: 14px; bottom: 8px; padding: 4px 9px; font-size: 12px; }
.mo-list { gap: 4px; }
.mo-list .row { display: flex; align-items: center; justify-content: space-between; padding: 5px 10px; border-radius: 9px; background: var(--pa); }
.mo-list .have { display: flex; align-items: center; gap: 5px; color: var(--mu); }
.mo-list .have svg { width: 13px; height: 13px; color: var(--ac); stroke-width: 3; }
.mo-list .pill { padding: 2px 9px; }
.mo-guide { justify-content: flex-end; gap: 14px; }
.mo-guide .big { font-size: 44px; color: var(--bone); }
.story { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(10,8,7,0.62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.story-play { flex-shrink: 0; width: 40px; height: 40px; border-radius: 20px; background: var(--tangerine); display: flex; align-items: center; justify-content: center; }
.story-play svg { width: 18px; height: 18px; fill: var(--night); stroke: none; }
.story-text { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--bone); }
.wave { width: 170px; height: 22px; }
.wave rect { fill: rgba(244,241,239,0.35); }
.wave .f-ac { fill: var(--tangerine); }
.mo-pins { justify-content: center; }
.mo-pins .art { height: 100px; }
.mo-pins text { font-size: 12px; font-weight: 700; }
.mo-home { justify-content: center; gap: 8px; }
.home-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--pa); }
.home-icon { width: 32px; height: 32px; border-radius: 10px; background: var(--ac); color: var(--on); display: flex; align-items: center; justify-content: center; }
.home-icon svg { width: 18px; height: 18px; }
.home-row .two { font-size: 14px; font-weight: 700; line-height: 1.15; }
.home-row small { font-size: 12px; }
.mo-home .pills { flex-wrap: nowrap; }
.mo-home .then { color: var(--mu); }
.mo-cam { flex-direction: row; align-items: center; gap: 12px; }
.limit { flex-shrink: 0; width: 58px; height: 58px; border-radius: 50%; border: 6px solid #E5484D; background: var(--bone); color: var(--night); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }
.mo-cam .amber { color: #FFB020; }
.mo-cam .big + small { font-size: 12px; font-weight: 600; line-height: 1.3; }
.mo-trips { justify-content: center; gap: 7px; }
.gpx { display: flex; align-items: center; gap: 7px; padding: 5px 9px; border-radius: 9px; background: var(--pa); font-weight: 700; }
.gpx svg { width: 15px; height: 15px; color: var(--ac); }
.gpx small { margin-left: auto; }
.day { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.day-bar { flex: 1; position: relative; height: 8px; border-radius: 4px; background: var(--pa); overflow: hidden; }
.day-bar span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--fg); opacity: 0.85; }
.day-bar .dirt { background: var(--ac); opacity: 1; }
.mo-stat { justify-content: space-between; }
.surface { display: flex; flex-direction: column; gap: 7px; }
.strip { display: flex; height: 9px; border-radius: 5px; overflow: hidden; background: var(--pa); }
.strip .paved { background: var(--fg); opacity: 0.8; }
.strip .loose { background: repeating-linear-gradient(90deg, var(--ac) 0 7px, transparent 7px 10px); }
.mo-stat .seg { border-radius: 11px; font-size: 12px; }
.mo-stat .seg span { padding: 6px 0; border-radius: 8px; }
.ends .mid { position: absolute; left: 24%; width: 34%; text-align: center; }
.mo-rain { flex-direction: row; align-items: flex-end; gap: 20px; }
.mo-rain .two { flex-shrink: 0; }
.radar { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.radar-bars { display: flex; align-items: flex-end; gap: 3px; height: 56px; }
.radar-bars span { flex: 1; border-radius: 3px 3px 1px 1px; background: var(--mu); opacity: 0.55; }
.radar-bars .wet { background: var(--ac); opacity: 1; }
.mo-group { position: relative; }
.mo-group .art { position: absolute; inset: 0; height: 100%; }
.mo-group .road { stroke: rgba(244,241,239,0.18); }
.mo-group .rider { stroke: var(--night); stroke-width: 3; }
.mo-group rect { fill: rgba(10,8,7,0.72); }
.mo-group text { font: 700 12px Barlow, sans-serif; fill: var(--bone); text-anchor: start; }
.mo-group tspan { fill: var(--clay); font-weight: 500; }
.mo-search { gap: 4px; }
.field { display: flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 10px; background: var(--pa); font-size: 13px; }
.field svg { width: 14px; height: 14px; color: var(--mu); stroke-width: 2.2; }
.caret { width: 2px; height: 15px; margin-left: -5px; background: var(--ac); }
.hit { display: flex; flex-direction: column; padding: 4px 2px; border-top: 1px solid var(--pa); }
.mo-comingup { justify-content: center; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--pa); }
.card-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; line-height: 1.15; }
.card-head svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--ac); }
.card .pill { padding: 4px 12px; font-size: 12px; }
.mo-lanes { flex-direction: row; align-items: center; gap: 5px; }
.lane { flex: 1; height: 56px; border-radius: 10px; background: var(--pa); color: var(--mu); display: flex; align-items: center; justify-content: center; }
.lane.on { background: var(--ac); color: var(--on); }
.lane svg { width: 26px; height: 30px; stroke-width: 2.6; }
.mo-cockpit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 5px; }
.cell { display: flex; flex-direction: column; gap: 1px; padding: 6px 7px; border-radius: 10px; background: var(--pa); }
.cell > small { font-size: 12px; }
.cell b { font-size: 19px; font-weight: 700; line-height: 1; white-space: nowrap; }
.cell b small { font-size: 12px; }
.mo-panel { justify-content: space-between; }
.btns { display: flex; gap: 4px; }
.btn { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--mu); }
.btn.on { color: var(--fg); }
.key { width: 46px; height: 46px; border-radius: 14px; background: var(--pa); color: var(--fg); display: flex; align-items: center; justify-content: center; }
.btn.on .key { background: var(--ac); color: var(--on); }
.key svg { width: 22px; height: 22px; stroke-width: 1.9; }
.mo-panel > .pill { align-self: flex-start; padding: 4px 10px; font-size: 12px; }

/* The words for search and for readers: the line above the headline, the feature notes under the bento and the
   questions before the footer (semantic core of 7 Oct). Quiet: the page's type and colours, no cards. */
.hero-kicker { display: block; margin: 0 0 14px; font: 600 13px/1 Barlow, sans-serif; font-style: normal; font-stretch: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--tangerine); }
.notes, .faq { border-top: 1px solid var(--line); }
.notes-inner, .faq-inner { max-width: var(--wide); margin: 0 auto; padding: 96px var(--gutter) 104px; box-sizing: content-box; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 72px; align-items: start; }
.notes-head { display: flex; flex-direction: column; gap: 20px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tangerine); }
.notes h2, .faq h2 { font-size: 42px; line-height: 1; white-space: normal; text-wrap: balance; }
.notes-head p { max-width: 440px; font-size: 18px; line-height: 1.55; color: var(--clay); }
.notes-where { font-size: 14px; color: var(--faint); }
.notes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.note { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); min-width: 0; }
.note h3 { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 18px/1.25 Barlow, sans-serif; font-style: normal; font-stretch: normal; white-space: normal; }
.note svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: var(--tangerine); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.note p { font-size: 16px; line-height: 1.5; color: var(--muted); }
.faq-inner { padding: 88px var(--gutter) 96px; }
.faq-group { margin: 40px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); font: 600 13px/1.5 Barlow, "Helvetica Neue", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--tangerine); }
.faq-group:first-child { margin-top: 6px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--tangerine); }
.faq summary:focus-visible { outline: 2px solid var(--tangerine); outline-offset: 4px; border-radius: 4px; }
.faq-mark { position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #3A3330; }
.faq-mark::before, .faq-mark::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -0.75px 0 0 -5px; background: var(--clay); transition: transform .2s; }
.faq-mark::after { transform: rotate(90deg); }
.faq details[open] .faq-mark::after { transform: rotate(0deg); }
.faq details p { margin: 10px 44px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.faq details ul { margin: 10px 44px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.faq details li::marker { color: var(--tangerine); }
@media (min-width: 760px) and (max-width: 1099px) {
  .faq-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 72px var(--gutter) 80px; }
}
/* The notes' columns would squeeze to 38 characters a line beside the heading: below 1280 the heading goes on top. */
@media (min-width: 760px) and (max-width: 1279px) {
  .notes-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 72px var(--gutter) 80px; }
}

/* Local guide */
.guide { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 30% 50%, var(--char) 0%, var(--night) 58%); }
.guide-inner { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 80px var(--gutter); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
/* The dial with its caption below: the caption overlaps the dial's foot, in the flow, so its language row never spills;
   by a share of the dial's width, so it stays clear of the progress ring's handle at every size. */
.guide-story { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 560px; min-width: 0; }
.dial { position: relative; width: 100%; aspect-ratio: 1; }
.dial-photo { position: absolute; left: 12.5%; top: 12.5%; width: 75%; height: 75%; border-radius: 50%; overflow: hidden; background: var(--card); }
.dial-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.dial-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(10,8,7,0) 30%, rgba(10,8,7,0.55) 100%); }
.dial-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
/* The story sample: the button plays it, the ring round the photo fills as it plays, the caption shows the sentence. */
.dial-progress { position: absolute; left: 8.93%; top: 8.93%; width: 82.14%; height: 82.14%; transform: rotate(-90deg); opacity: 0; transition: opacity .3s; }
.dial.playing .dial-progress, .dial.started .dial-progress { opacity: 1; }
.dial-play { position: absolute; left: 42.1%; top: 42.1%; width: 15.7%; height: 15.7%; padding: 0; border: 0; border-radius: 50%; background: var(--tangerine); color: var(--night); box-shadow: 0 12px 40px rgba(255,95,31,0.45); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .15s; }
.dial-play:hover { transform: scale(1.06); }
.dial-play:focus-visible { outline: 2px solid var(--bone); outline-offset: 4px; }
.dial-play svg { width: 40%; height: 40%; }
.dial-play .icon-play { margin-left: 6%; }
.dial-play .icon-pause, .dial.playing .dial-play .icon-play { display: none; }
.dial.playing .dial-play .icon-pause { display: block; }
.dial-caption { position: relative; margin-top: -7%; width: min(500px, 100%); box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px 14px 14px; border-radius: 14px; background: rgba(10,8,7,0.82); border: 1px solid var(--line); text-align: center; }
.story-words { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.dial-caption strong { font-size: 17px; font-weight: 600; }
.dial-caption span { min-height: 40px; font-size: 14px; line-height: 1.4; color: var(--muted); text-wrap: balance; }
/* The languages the guide tells stories in, each in its own words, four over three: a tap carries the story on in it. */
.story-langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 310px; }
.story-langs button { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: color .15s, border-color .15s; }
.story-langs button:hover { color: var(--bone); border-color: rgba(244,241,239,0.3); }
.story-langs button:focus-visible { outline: 2px solid var(--bone); outline-offset: 2px; }
.story-langs button[aria-pressed="true"] { background: var(--tangerine); border-color: var(--tangerine); color: var(--night); font-weight: 600; }
.guide-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
/* 72 px at 1440 wide, about 50 at 1100: the longer line stays inside its column. */
.guide-copy h2 { font-size: clamp(48px, calc(6.47vw - 21px), 72px); line-height: 0.95; }
.guide-copy > p { max-width: 580px; font-size: 19px; color: var(--clay); text-wrap: balance; }
.points { margin: 8px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.points li { display: flex; flex-direction: column; gap: 6px; padding: 18px 24px 18px 0; }
.points li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.points li:nth-child(even) { padding: 18px 0 18px 24px; border-left: 1px solid var(--line); }
.points strong { font-size: 18px; font-weight: 600; text-wrap: balance; }
.points span { font-size: 15px; line-height: 1.45; color: var(--muted); text-wrap: balance; }

/* Get the app, pricing */
.get { position: relative; overflow: hidden; }
.get-contour { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 60%); mask-image: linear-gradient(to right, transparent 0%, #000 60%); }
.get-inner { position: relative; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 88px var(--gutter) 96px; display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.get-copy { display: flex; flex-direction: column; gap: 26px; }
.get-copy h2 { font-size: clamp(64px, 5.4vw, 80px); line-height: 0.9; }
.get-copy p { font-size: 20px; color: var(--clay); text-wrap: balance; }
.get-copy .stores { gap: 14px; }
.get-qr { display: flex; align-items: center; gap: 16px; font-size: 14px; line-height: 1.4; color: var(--faint); }
.qr { width: 64px; height: 64px; border-radius: 8px; }
/* The plans side by side, each as tall as its list: Free, and Pro with the app's own Pro features (core PlusFeatures:
   the paywall's words). A computer has no buttons in them, the store buttons and QR code are beside them; a line closes
   each plan instead. */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
[data-device="computer"] .plan-cta { display: none; }
[data-device="computer"] .plan-end { display: block; }
.plan-end { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--faint); }
.plan-pro .plan-end { border-top-color: rgba(255,95,31,0.25); }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 28px; border-radius: 24px; background: rgba(22,18,16,0.92); border: 1px solid var(--line); }
.plan-pro { border-color: rgba(255,95,31,0.6); background: radial-gradient(ellipse at 80% 0%, rgba(255,95,31,0.18) 0%, rgba(255,95,31,0) 55%), linear-gradient(180deg, #2A140A 0%, #161210 70%); box-shadow: 0 30px 80px rgba(255,95,31,0.14); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-name { font-family: Anybody, "Arial Black", sans-serif; font-style: italic; font-weight: 800; font-stretch: 115%; font-size: 28px; line-height: 1; }
.plan-pro .plan-name { color: var(--tangerine); }
.trial { padding: 5px 12px; border-radius: 999px; background: var(--tangerine); color: var(--night); font-size: 13px; font-weight: 700; white-space: nowrap; }
.plan-price { display: flex; align-items: flex-end; gap: 10px; }
.price { font-size: 40px; line-height: 1; letter-spacing: -0.07em; white-space: nowrap; }
.plan-per { padding-bottom: 3px; font-size: 14px; line-height: 1.3; color: var(--faint); }
.plan-lede { padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--bone); }
.plan-pro .plan-lede { border-top-color: rgba(255,95,31,0.25); }
.plan-list, .plan-feats { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.plan svg { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plan-list svg { width: 16px; height: 16px; margin-top: 3px; color: var(--clay); }
.plan-feats { gap: 10px; }
.plan-feats li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.plan-feats strong { display: block; font-size: 15px; font-weight: 600; color: var(--bone); }
.feat-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: rgba(255,95,31,0.14); color: var(--tangerine); display: flex; align-items: center; justify-content: center; }
.feat-icon svg { width: 16px; height: 16px; }
.plan-cta { margin-top: auto; display: flex; align-items: center; justify-content: center; height: 50px; border-radius: 12px; background: var(--tangerine); color: var(--night); font-weight: 700; font-size: 16px; text-decoration: none; }
.plan-cta:hover { background: #FF7A42; }
.plan-cta-free { background: none; border: 1px solid rgba(244,241,239,0.3); color: var(--bone); }
.plan-cta-free:hover { background: rgba(244,241,239,0.06); border-color: var(--bone); }

/* The last way to get the app, after the questions. */
.last { border-top: 1px solid var(--line); }
.last-inner { max-width: var(--wide); margin: 0 auto; padding: 56px var(--gutter); box-sizing: content-box; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 48px; }
.last-line { font-family: Anybody, "Arial Black", sans-serif; font-style: italic; font-weight: 800; font-stretch: 115%; font-size: 40px; line-height: 1; }

/* Footer: its rule the page's full width, like the other blocks'. */
.footer { padding: 32px max(var(--gutter), calc((100% - var(--wide)) / 2)) 40px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 14px; }
.footer img { height: 40px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer nav a, .copyright { color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--bone); }
.copyright { color: var(--faint); font-size: 13px; line-height: 1.5; }
.copyright a { color: inherit; }
.copyright a:last-child { white-space: nowrap; }

/* Below 1280 the footer's credit takes a row of its own, under the logo and links. */
@media (max-width: 1279px) {
  .footer { flex-wrap: wrap; }
  .copyright { flex-basis: 100%; }
}
/* Narrow desktops and tablets: the words above the two plan cards. */
@media (min-width: 760px) and (max-width: 1279px) {
  .get-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (min-width: 760px) and (max-width: 899px) {
  .nav-links a:not(.nav-get) { display: none; }
}
/* Below 1366 px the hero's phone reaches over the section title's line: the title starts below it and scales. */
@media (min-width: 760px) and (max-width: 1365px) {
  .ride { padding-top: 128px; }
  .ride-title { font-size: clamp(36px, 5.4vw, 56px); }
}
/* Tablets upright: the hero's phone smaller and lower, clear of the store buttons. */
/* Up to 1199 px the photo is about as wide as the screen: it slides right, past the edge, so the rider and the bike
   stand right of the words. */
@media (min-width: 760px) and (max-width: 1199px) {
  .hero-photo { right: -150px; }
}
@media (min-width: 760px) and (max-width: 1023px) {
  .hero-phone { --pw: 250px; top: calc(100% - var(--pw) * 0.1); }
  .hero-copy { top: 124px; }
}
/* Below 1000 px the Local guide is one column: the dial above its words. */
@media (min-width: 760px) and (max-width: 999px) {
  .guide-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .guide-story { max-width: 420px; margin: 0 auto; }
  .guide-copy h2 { font-size: 56px; }
}

/* Below 1240 px the bento would be too small to read: the showcase's tiles go into a strip above its phone. */
@media (max-width: 1239px) {
  .ride { gap: 24px; }
  .showcase { display: flex; flex-direction: column; gap: 14px; zoom: 1; }
  /* The tiles: a two-row bento, drawn at desktop size and zoomed to 82 %, that swipes sideways (M3b, 7 Oct). */
  .bento { display: block; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 6px 0 8px; }
  .bento::-webkit-scrollbar { display: none; }
  .bento-grid { display: grid; zoom: 0.82; grid-auto-flow: column dense; grid-auto-columns: 207px; grid-template-rows: repeat(2, 174px); gap: 14px; width: max-content; padding: 0 calc(var(--gutter) / 0.82); }
  .bento-grid .tile { grid-area: auto; }
  .bento-grid .f-curvy, .bento-grid .f-justride, .bento-grid .f-group { grid-row: span 2; }
  .bento-grid .f-wild, .bento-grid .f-rain, .bento-grid .f-gravel, .bento-grid .f-ridepanel { grid-column: span 2; }
  .bento-grid .f-guide { grid-row: span 2; grid-column: span 2; }
  .stage { width: 100%; max-width: 560px; align-self: center; padding: 22px 18px 24px; gap: 14px; border-radius: 24px; background: radial-gradient(ellipse at 50% 40%, var(--char) 0%, var(--card) 64%); }
  /* Two lines for a long title, balanced, and four for the words: room for the longest, so the phone never moves. */
  .stage-copy { height: 136px; }
  .stage-title { white-space: normal; text-wrap: balance; }
  .stage-title { font-size: 22px; }
  .stage-text { font-size: 14px; }
}

/* Phones: one column. */
@media (max-width: 759px) {
  :root { --gutter: 20px; }
  /* A cut of the photo (picture source) above the words: the rider, the moon and the bike's headlight, fading into the
     night; the words follow it, so the hero is as tall as they are (one store button on a phone, two elsewhere). */
  .hero { height: auto; }
  .hero-media { background: var(--night); }
  .hero-photo { inset: 0 0 auto 0; width: 100%; height: 500px; object-fit: cover; object-position: 12% 50%;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 96%); mask-image: linear-gradient(180deg, #000 72%, transparent 96%); }
  .hero-shade { background: linear-gradient(180deg, rgba(10,8,7,0.6) 0, rgba(10,8,7,0) 90px); }
  .hero-phone { display: none; }
  .nav { height: 84px; padding: 0 var(--gutter); }
  .nav-logo img { height: 36px; }
  .nav-links a:not(.nav-get) { display: none; }
  .nav-get { height: 40px; font-size: 15px; padding: 0 16px; }
  .hero-copy { position: relative; left: auto; top: auto; padding: 432px var(--gutter) 24px; gap: 12px; }
  .hero-copy .store-also { margin-top: 2px; }
  .hero-copy h1 { font-size: clamp(48px, 14vw, 60px); line-height: 0.9; letter-spacing: -0.01em; }
  .hero-copy p { font-size: 15px; max-width: 307px; }
  .hero-copy .stores { margin-top: 10px; gap: 10px; }
  /* The two badges side by side, smaller, in one row down to a 360 px phone. */
  .store { --sh: 48px; }

  .ride { padding: 40px var(--gutter) 56px; gap: 22px; }
  .ride-title { font-size: clamp(19px, 6.2vw, 24px); line-height: 1.05; }
  .phone { --pw: 222px; --ph: 466px; --pr: 34px; --pd: 24px; --bz: 5px; }
  .phone-floor { width: 180px; }
  .stage { padding: 20px 18px 22px; }

  .guide-inner { grid-template-columns: minmax(0, 1fr); padding: 48px var(--gutter) 52px; gap: 22px; }
  .guide-story { max-width: 350px; margin: 0 auto 8px; }
  .dial-caption { margin-top: 4px; padding: 0; background: none; border: 0; }
  .guide-copy { gap: 22px; }
  .guide-copy h2 { font-size: clamp(30px, 9.6vw, 36px); }
  .guide-copy > p { font-size: 16px; }
  .points { grid-template-columns: minmax(0, 1fr); }
  .points li, .points li:nth-child(even) { padding: 13px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .points span { display: none; }
  .points strong { font-size: 15px; }

  .get-inner { grid-template-columns: minmax(0, 1fr); padding: 56px var(--gutter) 64px; gap: 40px; }
  .get-copy { gap: 16px; }
  .get-copy h2 { font-size: clamp(40px, 13vw, 64px); }
  .get-copy p { font-size: 17px; }
  .get-copy .stores { margin-top: 10px; gap: 10px; }
  .get-qr { display: none; }
  .plans { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .plan { padding: 28px 24px 26px; gap: 16px; }
  .price { font-size: 34px; }
  .plan-lede { padding-top: 18px; }
  .plan-list { gap: 12px; }
  .plan-feats { gap: 16px; }
  .plan-cta { margin-top: 8px; }

  .hero-kicker { margin-bottom: 10px; font-size: 11px; letter-spacing: .09em; }
  .notes-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 48px var(--gutter) 52px; }
  .notes-head { gap: 14px; }
  .notes h2, .faq h2 { font-size: 30px; }
  .notes-head p { font-size: 16px; }
  .notes-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .note { padding-top: 16px; }
  .note h3 { font-size: 17px; }
  .note p { font-size: 15px; }
  .faq-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 44px var(--gutter) 48px; }
  .faq details { padding: 16px 0; }
  .faq summary { font-size: 16px; }
  .faq details p, .faq details ul { font-size: 15px; margin-right: 0; }

  .last-inner { flex-direction: column; align-items: stretch; padding: 44px var(--gutter) 48px; gap: 18px; }
  .last-line { font-size: 30px; }
  .last .stores { gap: 10px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px var(--gutter) 32px; }
  .footer img { height: 32px; }
  /* Links in two columns, each a 44 px row to tap. */
  .footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; width: 100%; }
  .footer nav a { min-height: 44px; display: flex; align-items: center; }
}
