/* ═══════════════════════════════════════════════════════════════════════
   CycleEarn

   A cycling app before it is anything else, so the page is dressed like
   cycling, not like finance: race-programme paper, tarmac black, and one
   colour — the app's ride green. It never carries text on paper (it cannot
   hold contrast there); on paper it is always a fill behind ink. On tarmac
   it is free to be text, lines and figures.

   Type is a single family, Mona Sans, used across its width axis: display
   set narrow and heavy the way kit and race numbers are lettered, body at
   normal width. Figures are deliberately NOT tabular: Mona Sans' tabular
   set swaps in a slashed zero and a slab 1 that read as code, not sport.
   Numbers that tick instead get a fixed box, so their units never jitter.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --paper: #f3f1ec;
  --paper-2: #eae7e0;
  --card: #ffffff;
  --ink: #0e0f0e;
  --ink-2: #4b504c;
  --ink-3: #6a6f6b;
  --line: rgba(14, 15, 14, 0.12);
  --line-2: rgba(14, 15, 14, 0.07);

  --tarmac: #111312;
  --tarmac-2: #181b19;
  --tarmac-3: #212522;
  --chalk: #f3f1ec;
  --chalk-2: #aab0ab;
  --chalk-3: #7c827d;
  --rule-d: rgba(243, 241, 236, 0.1);

  /* The one colour: the app's ride green. */
  --jersey: #d4f34a;
  --jersey-soft: rgba(212, 243, 74, 0.12);

  --sans: 'Mona Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --gut: clamp(20px, 4.4vw, 64px);
  --maxw: 1320px;
  --bar-h: 72px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  /* Runs a hair past the target and settles: the "pop". */
  --ease-pop: cubic-bezier(0.22, 1.28, 0.42, 1);

  /* One transition list for everything that both reveals and reacts to
     hover. A single list, because transition is not additive: any rule
     that set its own would silently drop the others. */
  --motion:
    opacity 0.8s var(--ease),
    transform 1s var(--ease-pop),
    filter 0.9s var(--ease),
    scale 0.5s var(--ease-pop),
    rotate 0.5s var(--ease-pop),
    box-shadow 0.5s var(--ease-out),
    border-color 0.3s linear,
    background-color 0.3s linear,
    color 0.3s linear;

  /* Pin holes on a race bib are punched through to whatever is behind. */
  --hole: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 430;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: var(--jersey); color: var(--ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sec--dark :focus-visible { outline-color: var(--jersey); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--ink); color: var(--paper); font-weight: 650;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gut));
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ─── ICONS ──────────────────────────────────────────────────────────── */

.ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--jersey);
}
.ico svg,
.post__verified svg,
.sheet__tick svg,
.rec__btn svg,
.tabs svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico svg { width: 21px; height: 21px; }
.ico--y { background: var(--jersey); color: var(--ink); }

/* ═══ HEADER ═════════════════════════════════════════════════════════════ */

.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: transform 0.45s var(--ease), background-color 0.3s linear,
              box-shadow 0.3s linear;
}
/* Takes a ground only once there is something to scroll under it. */
.bar[data-solid] {
  background: rgba(243, 241, 236, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}
.bar[data-hidden] { transform: translate3d(0, -100%, 0); }

.bar__in {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 36px);
  height: var(--bar-h);
  max-width: calc(var(--maxw) + 2 * var(--gut));
  margin-inline: auto;
  padding-inline: var(--gut);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
/* The mark is the supplied logo as-is: a white C on black. Only the tile is
   ours — rounded, so it sits like an app icon next to the word. */
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__tile { fill: #000; }
.brand__c { fill: #fff; }
.brand__word {
  font-weight: 800;
  font-stretch: 94%;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.nav {
  display: flex;
  gap: clamp(18px, 2.2vw, 32px);
  font-size: 14.5px;
  font-weight: 560;
  color: var(--ink-2);
}
.nav a { position: relative; padding: 6px 0; transition: color 0.2s linear; }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--jersey);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.35s var(--ease-out);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

/* The anchors go first when the bar gets tight: sized for the contract
   address once it is filled in, not for the dash it shows today. */
@media (max-width: 960px) { .nav { display: none; } }

.bar__end { display: flex; align-items: center; gap: 10px; }
/* On a phone the brand, the address and X keep the bar; the download sits
   a thumb away in the hero anyway. */
@media (max-width: 520px) { .bar__end .btn { display: none; } }

/* The X account: a ring the height of the button beside it, filled on
   hover so it answers the pointer the way the button does. */
.social {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: var(--motion);
}
.social svg { width: 15px; height: 15px; fill: currentColor; }

/* The contract address. Same ring as the X link; a dash until it is set. */
.ca {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line);
  font-size: 13.5px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--motion);
}
.ca:disabled { cursor: default; }
.ca__k { font-weight: 760; letter-spacing: 0.04em; color: var(--ink-3); }
.ca.is-copied { background-color: var(--jersey); box-shadow: inset 0 0 0 1.5px var(--ink); }
.social:hover { background-color: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ─── BUTTONS ────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 15px;
  white-space: nowrap;
  transition: var(--motion);
}
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; }

/* Store buttons. Shaped like the official badges so they read at a glance;
   swap in the real badge artwork at launch. */
.store {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 58px;
  padding: 0 24px 0 18px;
  border-radius: 15px;
  background: var(--ink);
  color: #fff;
  transition: var(--motion);
}
a.store:hover { box-shadow: 0 16px 32px -14px rgba(14, 15, 14, 0.6); }

/* Not a link until launch: outlined rather than filled, and it does not
   react, so it can never read as a button that does nothing. */
.store--soon {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(14, 15, 14, 0.24);
  cursor: default;
}
.store--soon small { opacity: 0.62; }
.store svg { width: 25px; height: 25px; fill: currentColor; flex: none; }
.store span {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
  font-size: 18.5px;
  font-weight: 650;
  letter-spacing: -0.012em;
}
.store small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.72;
}

/* ═══ HERO ═══════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100svh, 1000px);
  padding: calc(var(--bar-h) + clamp(24px, 5vh, 60px)) 0 clamp(64px, 9vh, 110px);
  overflow: clip;
}

/* Survey-map contours, dense behind the phone and gone under the type. */
.hero__topo {
  position: absolute;
  inset: 0;
  background: url('../assets/topo.svg') 50% 50% / cover no-repeat;
  -webkit-mask-image: linear-gradient(100deg, transparent 18%, #000 58%);
  mask-image: linear-gradient(100deg, transparent 18%, #000 58%);
}

.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 7px 15px 7px 9px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line-2), 0 6px 18px -10px rgba(14, 15, 14, 0.25);
  font-size: 14px;
  font-weight: 620;
}
.pill__dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--jersey);
  box-shadow: inset 0 0 0 6.5px var(--ink);
}

.hero__h1 {
  margin: clamp(20px, 3vh, 30px) 0 0;
  font-weight: 830;
  font-stretch: 82%;
  font-size: clamp(58px, 9.4vw, 150px);
  line-height: 0.88;
  letter-spacing: -0.045em;
}
.hero__h1 .ln { display: block; }

/* The ride-green stripe behind the promise. Leans forward, like everything
   on a bike does. */
.hl {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}
.hl::before {
  content: '';
  position: absolute;
  z-index: -1;
  /* Measured against Mona Sans' own box, which runs far past the cap
     height and the baseline: this holds the stripe to the letters. */
  left: -0.07em;
  right: -0.09em;
  top: 0.27em;
  bottom: 0.2em;
  border-radius: 0.06em;
  background: var(--jersey);
  transform: skewX(-11deg);
  transform-origin: 0 50%;
}

/* The label on the stripe: what the stocks are. Clipped onto the stripe's
   top-right corner, clear of the line above, and leaning with it. Placed in
   percentages of the word's box, because its own ems are the tag's small
   size, not the headline's. */
.hl__tag {
  position: absolute;
  right: 4%;
  bottom: 74%;
  z-index: 1;
  padding: 0.42em 0.7em 0.36em;
  border-radius: 0.3em;
  background: var(--ink);
  color: var(--jersey);
  font-size: max(11px, 0.118em);
  font-weight: 800;
  font-stretch: 100%;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: skewX(-11deg);
}

.hero__sub {
  margin: clamp(22px, 3vh, 32px) 0 0;
  max-width: 43ch;
  font-size: clamp(17px, 0.45vw + 13.5px, 20px);
  line-height: 1.5;
  color: var(--ink-2);
}
.hero__sub strong,
.lede strong { font-weight: 700; color: var(--ink); }
.sec--dark .lede strong { color: var(--chalk); }

/* ═══ THE TAPE ═══════════════════════════════════════════════════════════
   A scoreboard strip between the hero and the course: what you are paid
   in, on a loop. Pauses under the pointer so it can be read. */

.tape {
  position: relative;
  overflow: hidden;
  background: var(--tarmac);
  color: var(--chalk-2);
}
.tape__track {
  display: flex;
  width: max-content;
  animation: tape 42s linear infinite;
}
.tape:hover .tape__track { animation-play-state: paused; }
@keyframes tape { to { transform: translate3d(-50%, 0, 0); } }

.tape__run {
  display: flex;
  flex: none;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tape__run li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: clamp(18px, 2.4vh, 24px) 0;
  font-size: clamp(17px, 1.5vw, 23px);
  font-weight: 760;
  font-stretch: 84%;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  white-space: nowrap;
}
/* The separator: a small green diamond, like a kilometre marker. */
.tape__run li::after {
  content: '';
  width: 7px; height: 7px;
  margin: 0 clamp(22px, 2.6vw, 38px);
  background: var(--jersey);
  transform: rotate(45deg);
}
.tape__run b { font-weight: 860; color: var(--chalk); }
.tape__run .tape__lead { color: var(--jersey); font-weight: 860; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3.6vh, 38px);
}

.hero__fine {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 560;
  color: var(--ink-2);
}
.hero__fine li { display: inline-flex; align-items: center; gap: 8px; }
.hero__fine li::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23D4F34A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* The right margin is room for the PR card to hang off the phone without
   reaching the edge of the window. */
.hero__stage {
  position: relative;
  margin-inline: clamp(0px, 4vw, 60px) clamp(0px, 11vw, 160px);
}

/* ─── PHONE ──────────────────────────────────────────────────────────────
   One component, two screens. Everything inside the glass is laid out in
   the design's own 390-point grid and scaled with container units, so the
   screen is pixel-identical at any size the phone is drawn. */

.phone {
  --w: clamp(270px, 23.5vw, 336px);
  position: relative;
  width: var(--w);
  padding: calc(var(--w) * 0.03);
  border-radius: calc(var(--w) * 0.165);
  background: linear-gradient(150deg, #34383a 0%, #0c0d0d 30%, #0c0d0d 70%, #2a2d2e 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.1),
    inset 0 0 0 4px #050505,
    0 70px 90px -50px rgba(14, 15, 14, 0.55),
    0 30px 60px -30px rgba(14, 15, 14, 0.35);
}

/* ─── TILT ───────────────────────────────────────────────────────────────
   Both phones are held at an angle, each turned toward the copy it sits
   beside, so they read as objects on the page rather than screenshots.
   The frame's thickness is a stack of hard shadows on the side that faces
   the viewer; it follows the rounded corners for free and, unlike real 3D
   layers, survives the opacity fade on entrance. --dry and --ty are the
   entrance's offsets from the resting pose. */
.phone--hero,
.phone--own {
  transform:
    perspective(1500px)
    translate3d(0, var(--ty, 0px), 0)
    rotateY(calc(var(--ry) + var(--dry, 0deg)))
    rotateX(var(--rx))
    rotateZ(var(--rz));
}
.phone--hero {
  --ry: -26deg; --rx: 9deg; --rz: -3deg;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.1),
    inset 0 0 0 4px #050505,
    1px 0.5px 0 #34383a, 2px 1px 0 #2c2f31, 3px 1.5px 0 #26292a,
    4px 2px 0 #212324, 5px 2.5px 0 #1c1e1f, 6px 3px 0 #18191a,
    7px 3.5px 0 #141516, 8px 4px 0 #121314, 9px 4.5px 0 #101111,
    40px 70px 90px -40px rgba(14, 15, 14, 0.5),
    60px 40px 70px -30px rgba(14, 15, 14, 0.28);
}

.phone__screen {
  position: relative;
  aspect-ratio: 390 / 844;
  border-radius: calc(var(--w) * 0.132);
  overflow: hidden;
  container-type: inline-size;
  background: #0c0d0d;
  /* Keeps the rounded clip from flickering on some GPUs while the map
     inside it animates. */
  isolation: isolate;
}

.app {
  /* One design point. Must be read by children only: on the container
     itself cqw would resolve against the page, not the screen. */
  --u: calc(100cqw / 390);
  --app-card: #161817;
  --app-card-2: #202321;
  --app-line: rgba(255, 255, 255, 0.08);
  --app-t: #f5f4f0;
  --app-t2: #a3a8a4;
  --app-t3: #6f7570;
  color: var(--app-t);
}
.app p { margin: 0; line-height: 1.25; }
.app .k {
  font-size: calc(var(--u) * 11.5);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--app-t3);
}
/* The live values tick; a fixed box keeps each unit where it is. */
[data-stat] { display: inline-block; }
[data-stat='km'] { min-width: 1.72em; }
[data-stat='speed'] { min-width: 1.75em; }
[data-stat='climb'],
[data-stat='hr'] { min-width: 1.55em; }

/* Above the scrim and the sheet: the system's status bar never dims. */
.app__status {
  position: absolute;
  inset: 0 0 auto;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--u) * 54);
  padding: calc(var(--u) * 4) calc(var(--u) * 28) 0 calc(var(--u) * 38);
  font-size: calc(var(--u) * 16);
  font-weight: 650;
}
.app__status::before {
  content: '';
  position: absolute;
  top: calc(var(--u) * 11);
  left: 50%;
  width: calc(var(--u) * 120);
  height: calc(var(--u) * 35);
  transform: translateX(-50%);
  border-radius: calc(var(--u) * 20);
  background: #000;
}
.app__sys { display: flex; align-items: center; gap: calc(var(--u) * 6); }
.app__sys svg { height: calc(var(--u) * 12); width: auto; fill: currentColor; }
.app__sys svg:nth-child(1) { width: calc(var(--u) * 18); }
.app__sys svg:nth-child(2) { width: calc(var(--u) * 16); }
.app__sys svg:nth-child(3) { width: calc(var(--u) * 27); }

.app__home {
  position: absolute;
  z-index: 9;
  left: 50%;
  bottom: calc(var(--u) * 8);
  width: calc(var(--u) * 136);
  height: calc(var(--u) * 5);
  border-radius: 99px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.82);
}

/* ─── MAP (dark, in-app) ─────────────────────────────────────────────── */

.map__ground { fill: #0e1110; }
.map__st { fill: none; stroke: #1d2220; stroke-width: 1.1; }
.map__park { fill: #13211a; }
.map__water { fill: none; stroke: #0f1c26; stroke-width: 16; stroke-linecap: round; }
.map__road { fill: none; stroke: #2a302d; stroke-width: 3.2; stroke-linecap: round; }

.route {
  fill: none;
  stroke: var(--jersey);
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* The planned line, still to ride. */
.route--ghost {
  stroke: rgba(212, 243, 74, 0.3);
  stroke-width: 2.4;
  stroke-dasharray: 0.1 7;
}
.route--glow { stroke-width: 11; stroke: rgba(212, 243, 74, 0.28); filter: blur(4px); }
.route__start { fill: #0e1110; stroke: #fff; stroke-width: 2.6; }

.rider__dot { fill: var(--jersey); stroke: #0e1110; stroke-width: 2.6; }
.rider__halo {
  fill: rgba(212, 243, 74, 0.25);
  transform-box: fill-box;
  transform-origin: center;
  animation: halo 1.8s var(--ease) infinite;
}
@keyframes halo {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ─── SCREEN · RECORDING ─────────────────────────────────────────────── */

.rec__map {
  position: absolute;
  inset: 0 0 auto;
  height: calc(var(--u) * 452);
}
.rec__map svg { width: 100%; height: 100%; }
/* Darkens the top edge under the status bar, the way the OS does. */
.rec__map::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: calc(var(--u) * 120);
  background: linear-gradient(to bottom, rgba(12, 13, 13, 0.85), transparent);
  pointer-events: none;
}

.rec__live,
.rec__name {
  position: absolute;
  top: calc(var(--u) * 62);
  display: inline-flex;
  align-items: center;
  gap: calc(var(--u) * 7);
  height: calc(var(--u) * 32);
  padding: 0 calc(var(--u) * 12);
  border-radius: 99px;
  background: rgba(12, 13, 13, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: calc(var(--u) * 13) !important;
  font-weight: 650;
}
.rec__live { left: calc(var(--u) * 16); color: var(--jersey); }
.rec__name { right: calc(var(--u) * 16); color: var(--app-t); }
.rec__live i {
  width: calc(var(--u) * 8); height: calc(var(--u) * 8);
  border-radius: 50%;
  background: currentColor;
  animation: blink 1.2s steps(2, jump-none) infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

.rec__panel {
  position: absolute;
  inset: calc(var(--u) * 418) 0 0;
  padding: calc(var(--u) * 20) calc(var(--u) * 24) 0;
  border-radius: calc(var(--u) * 30) calc(var(--u) * 30) 0 0;
  background: var(--app-card);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.45);
}

.rec__dist {
  display: flex;
  align-items: baseline;
  gap: calc(var(--u) * 8);
  margin-top: calc(var(--u) * 2) !important;
}
.rec__dist b {
  font-size: calc(var(--u) * 66);
  font-weight: 820;
  font-stretch: 78%;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.rec__dist small { font-size: calc(var(--u) * 19); font-weight: 600; color: var(--app-t2); }

.rec__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: calc(var(--u) * 12);
  border-top: 1px solid var(--app-line);
}
.rec__grid p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 calc(var(--u) * 5);
  padding: calc(var(--u) * 9) 0;
  line-height: 1.1;
  border-bottom: 1px solid var(--app-line);
}
.rec__grid p:nth-child(odd) { border-right: 1px solid var(--app-line); }
.rec__grid p:nth-child(even) { padding-left: calc(var(--u) * 18); }
.rec__grid .k { width: 100%; margin-bottom: calc(var(--u) * 2); }
.rec__grid b {
  font-size: calc(var(--u) * 27);
  font-weight: 760;
  font-stretch: 84%;
  letter-spacing: -0.02em;
}
.rec__grid small { font-size: calc(var(--u) * 13); font-weight: 560; color: var(--app-t2); }

.rec__earn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: calc(var(--u) * 12) !important;
  padding: calc(var(--u) * 10) calc(var(--u) * 16);
  border-radius: calc(var(--u) * 16);
  background: rgba(212, 243, 74, 0.1);
  border: 1px solid rgba(212, 243, 74, 0.24);
}
.rec__earn .k { color: rgba(212, 243, 74, 0.8); }
.rec__earn-v b {
  font-size: calc(var(--u) * 24);
  font-weight: 820;
  color: var(--jersey);
}

.rec__ctrl {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(var(--u) * 24);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--u) * 36);
}
.rec__btn {
  display: grid;
  place-items: center;
  width: calc(var(--u) * 50); height: calc(var(--u) * 50);
  border-radius: 50%;
  background: var(--app-card-2);
  color: var(--app-t2);
}
.rec__btn svg { width: calc(var(--u) * 21); height: calc(var(--u) * 21); stroke-width: 2.2; }
.rec__stop {
  display: grid;
  place-items: center;
  width: calc(var(--u) * 64); height: calc(var(--u) * 64);
  border-radius: 50%;
  background: var(--jersey);
  color: #111;
  box-shadow: 0 0 0 calc(var(--u) * 6) rgba(212, 243, 74, 0.14);
}
.rec__stop svg { width: calc(var(--u) * 24); height: calc(var(--u) * 24); fill: currentColor; }
.rec__stop.is-press { animation: press 0.55s var(--ease-out); }
@keyframes press {
  40% { transform: scale(0.86); box-shadow: 0 0 0 calc(var(--u) * 14) rgba(212, 243, 74, 0.22); }
}

/* ─── SCREEN · THE PAYOUT ────────────────────────────────────────────── */

.sheet {
  position: absolute;
  inset: auto 0 0;
  z-index: 6;
  height: calc(var(--u) * 520);
  padding: calc(var(--u) * 12) calc(var(--u) * 24) 0;
  border-radius: calc(var(--u) * 32) calc(var(--u) * 32) 0 0;
  background: #171918;
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.55);
  text-align: center;
  transform: translate3d(0, 104%, 0);
  transition: transform 0.75s var(--ease-out);
}
.sheet.is-up { transform: none; }
/* The scrim fades in place under the sheet. It was once the sheet's own
   ::before, which carried a hard top edge down the screen on the way out. */
.rec__scrim {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(8, 9, 9, 0.55);
  opacity: 0;
  transition: opacity 0.5s linear;
  pointer-events: none;
}
.app.is-done .rec__scrim { opacity: 1; }

.sheet__grab {
  display: block;
  width: calc(var(--u) * 40); height: calc(var(--u) * 5);
  margin: 0 auto calc(var(--u) * 26);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.2);
}
.sheet__ok {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--u) * 9);
  font-size: calc(var(--u) * 15.5);
  font-weight: 700;
  color: var(--jersey);
}
.sheet__tick {
  display: grid;
  place-items: center;
  width: calc(var(--u) * 26); height: calc(var(--u) * 26);
  border-radius: 50%;
  background: var(--jersey);
  color: #111;
}
.sheet__tick svg { width: calc(var(--u) * 16); height: calc(var(--u) * 16); stroke-width: 2.8; }
.sheet__title {
  margin-top: calc(var(--u) * 16) !important;
  font-size: calc(var(--u) * 25);
  font-weight: 760;
  letter-spacing: -0.015em;
}
.sheet__meta { margin-top: calc(var(--u) * 4) !important; font-size: calc(var(--u) * 14); color: var(--app-t2); }
.sheet__earn {
  margin-top: calc(var(--u) * 22) !important;
  font-size: calc(var(--u) * 86);
  font-weight: 850;
  font-stretch: 78%;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--jersey);
}
.sheet__as {
  margin-top: calc(var(--u) * 10) !important;
  font-size: calc(var(--u) * 15);
  line-height: 1.45;
  color: var(--app-t2);
}
.sheet__as b { color: var(--app-t); font-weight: 700; }
.sheet__checks {
  display: flex;
  justify-content: center;
  gap: calc(var(--u) * 7);
  margin: calc(var(--u) * 22) 0 0;
  padding: 0;
  list-style: none;
}
.sheet__checks li {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--u) * 5);
  padding: calc(var(--u) * 6) calc(var(--u) * 11);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  font-size: calc(var(--u) * 12.5);
  font-weight: 600;
  color: var(--app-t2);
}
.sheet__checks li::before { content: '✓'; color: var(--jersey); font-weight: 800; }
.sheet__act {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--u) * 10);
  margin-top: calc(var(--u) * 24);
}
.abtn {
  display: grid;
  place-items: center;
  height: calc(var(--u) * 50);
  border-radius: calc(var(--u) * 16);
  background: var(--app-card-2);
  font-size: calc(var(--u) * 15.5);
  font-weight: 700;
}
.abtn--y { background: var(--jersey); color: #111; }

/* ─── FLOATING MOMENTS ───────────────────────────────────────────────── */

.float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px 11px 11px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line-2), 0 24px 44px -20px rgba(14, 15, 14, 0.35);
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
  scale: var(--fs, 1);
  animation: bob 6s var(--ease) infinite alternate;
}
.float b { display: block; font-weight: 720; }
.float small { display: block; font-size: 12.5px; color: var(--ink-3); }
/* Anchored by their inner edge, so each overlaps the phone by the same
   amount however wide its text makes it — enough to sit on the glass,
   never enough to cover a number. */
.float--kudos { right: calc(100% - 40px); top: 25%; }
.float--pr { left: calc(100% - 40px); top: 57%; animation-delay: -3s; }
@keyframes bob { to { translate: 0 -10px; } }

.float__badge {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--jersey);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.faces { display: inline-flex; flex: none; }
.faces i {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  margin-left: -9px;
  border-radius: 50%;
  border: 2px solid var(--card);
  background: #e3dfd5;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 760;
}
.faces i:first-child { margin-left: 0; }
.faces i:nth-child(2) { background: #cfc9bc; }
.faces i:nth-child(3) { background: var(--ink); color: var(--jersey); }

/* ═══ SECTIONS ═══════════════════════════════════════════════════════════ */

/* Clipped sideways only: the portfolio glow and the hanging cards may
   spill past the column, never past the window. (clip, not hidden, so the
   FAQ's sticky heading still works.) */
.sec { position: relative; padding: clamp(96px, 13vh, 168px) 0; overflow-x: clip; }

.sec--dark {
  --hole: var(--tarmac);
  background: var(--tarmac);
  color: var(--chalk);
}
.sec--dark .lede,
.sec--dark .feats p { color: var(--chalk-2); }
.sec--dark .ico { background: var(--jersey-soft); color: var(--jersey); }

.head { max-width: 780px; }
.head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 24px 48px;
  max-width: none;
}
.head--split .lede { margin: 0 0 6px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before {
  content: '';
  width: 26px; height: 8px;
  border-radius: 2px;
  background: var(--jersey);
  box-shadow: inset 0 0 0 1.5px var(--ink);
  transform: skewX(-11deg);
}

/* Section numbers are race numbers: a white bib, pinned at the corners. */
.bib {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 22px;
  padding: 9px 20px 8px;
  border-radius: 5px;
  color: var(--ink);
  background:
    radial-gradient(circle at 7px 7px, var(--hole) 2px, transparent 2.6px),
    radial-gradient(circle at calc(100% - 7px) 7px, var(--hole) 2px, transparent 2.6px),
    radial-gradient(circle at 7px calc(100% - 7px), var(--hole) 2px, transparent 2.6px),
    radial-gradient(circle at calc(100% - 7px) calc(100% - 7px), var(--hole) 2px, transparent 2.6px),
    #fff;
  box-shadow: 0 0 0 1px var(--line-2), 0 8px 18px -12px rgba(14, 15, 14, 0.4);
  /* The rotate property, not transform, so the scroll reveal (which owns
     transform) never straightens it. Hover does, on purpose. */
  rotate: -1.5deg;
}
.bib__n {
  font-size: 26px;
  font-weight: 860;
  font-stretch: 76%;
  line-height: 1;
  letter-spacing: -0.02em;
}
.bib__t {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.h2 {
  margin: 0;
  font-weight: 820;
  font-stretch: 84%;
  font-size: clamp(40px, 5.6vw, 86px);
  line-height: 0.94;
  letter-spacing: -0.042em;
}

.lede {
  margin: 22px 0 0;
  max-width: 44ch;
  font-size: clamp(17px, 0.4vw + 14px, 19.5px);
  line-height: 1.52;
  color: var(--ink-2);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 120px);
}
.split--flip .split__art { order: -1; }
.split__art { position: relative; }

.feats {
  display: grid;
  gap: 24px 28px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.feats li { display: flex; align-items: flex-start; gap: 16px; }
.feats h3 { margin: 1px 0 3px; font-size: 17px; font-weight: 740; letter-spacing: -0.01em; }
.feats p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 1100px) { .sec--share .feats { grid-template-columns: 1fr 1fr; } }

/* ═══ HOW IT WORKS · THE STAGE PROFILE ═══════════════════════════════════ */

.how {
  padding: clamp(96px, 13vh, 160px) 0 clamp(80px, 11vh, 130px);
  border-top: 1px solid var(--line);
}

.stage { margin: clamp(56px, 8vh, 88px) 0 0; }
.stage__plot { position: relative; }
.stage__svg { width: 100%; height: auto; overflow: visible; }
.stage__fill { fill: rgba(14, 15, 14, 0.055); }
.stage__drops path {
  fill: none;
  stroke: rgba(14, 15, 14, 0.3);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  vector-effect: non-scaling-stroke;
}
.stage__base { fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
/* The accent never holds a line on paper by itself, so the ridden part of
   the course is a band under the ink line, like a highlighter. */
.stage__prog {
  fill: none;
  stroke: var(--jersey);
  stroke-width: 11;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: var(--off, 100);
}
.stage__line { fill: none; stroke: var(--ink); stroke-width: 2.2; vector-effect: non-scaling-stroke; }

.stage__pin {
  position: absolute;
  left: calc(var(--x) / 1200 * 100%);
  top: calc(var(--y) / 240 * 100%);
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-size: 14px;
  font-weight: 820;
  transition: var(--motion);
}
.stage__pin.is-on { background: var(--jersey); transform: scale(1.1); }
/* The summit: ownership. */
.stage__pin--top.is-on { background: var(--ink); color: var(--jersey); }

.steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.step { padding: 0 12px; text-align: center; }
.step__n {
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.step h3 {
  margin: 4px 0 6px;
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 820;
  font-stretch: 88%;
  letter-spacing: -0.02em;
}
.step p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }

/* ═══ 02 · TRACK ═════════════════════════════════════════════════════════ */

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(48px, 7vh, 76px);
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-height: 380px;
  padding: clamp(22px, 2.2vw, 30px);
  border-radius: 26px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line-2);
  overflow: hidden;
}
.tile--wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: stretch;
  gap: clamp(20px, 2.6vw, 36px);
}
.tile--wide .tile__copy {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.tile h3 {
  margin: 0 0 8px;
  font-size: clamp(21px, 1.6vw, 25px);
  font-weight: 780;
  font-stretch: 92%;
  letter-spacing: -0.022em;
  line-height: 1.12;
}
.tile__copy p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.tile p { margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 6px 11px;
  border-radius: 99px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 620;
  color: var(--ink-2);
}

/* A head unit on the stem, not a chart: black glass, one huge number. */
.viz-live {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 20px;
  border-radius: 20px;
  background: var(--tarmac);
  color: var(--chalk);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.viz-live__v { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.viz-live__v b {
  font-size: clamp(64px, 6.4vw, 96px);
  font-weight: 830;
  font-stretch: 76%;
  line-height: 0.88;
  letter-spacing: -0.045em;
}
.viz-live__v span { font-size: 16px; font-weight: 600; color: var(--chalk-2); }
/* Speed over a real-shaped ride (tools/trace.mjs), drawn over the road it
   rode, with the gridlines and average a head unit would show. Labels are
   HTML on top: text inside a stretched SVG would be stretched with it. */
.viz-live__chart { position: relative; height: 118px; margin: 18px 0 8px; }
.viz-live__trace { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.viz-live__elev { fill: rgba(243, 241, 236, 0.075); }
.viz-live__grid { fill: none; stroke: rgba(243, 241, 236, 0.09); stroke-width: 1; vector-effect: non-scaling-stroke; }
.viz-live__avg {
  fill: none;
  stroke: rgba(212, 243, 74, 0.55);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  vector-effect: non-scaling-stroke;
}
.viz-live__line {
  fill: none;
  stroke: var(--jersey);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.viz-live__g,
.viz-live__a {
  position: absolute;
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.05em;
}
.viz-live__g {
  left: 0;
  padding: 1px 4px 1px 0;
  background: var(--tarmac);
  color: var(--chalk-3);
  transform: translateY(-50%);
}
.viz-live__a {
  left: 30%;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--tarmac);
  color: var(--jersey);
  text-transform: uppercase;
  transform: translateY(-50%);
}
/* Where the rider is now: the end of the trace, and the 32.6 above. */
.viz-live__now {
  position: absolute;
  right: 0;
  width: 9px; height: 9px;
  margin: -4.5px -4.5px 0 0;
  border-radius: 50%;
  background: var(--jersey);
  box-shadow: 0 0 0 4px rgba(212, 243, 74, 0.2);
}
.viz-live__t {
  display: flex;
  justify-content: space-between;
  margin: 0 0 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--chalk-3);
}
.viz-live__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--rule-d);
}
.viz-live__row dt {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chalk-3);
}
.viz-live__row dd {
  margin: 3px 0 0;
  font-size: 17px;
  font-weight: 720;
  white-space: nowrap;
}

.viz-seg,
.viz-week {
  margin-top: auto;
  padding: 18px;
  border-radius: 18px;
  background: var(--paper);
}
.viz-seg__head { display: flex; justify-content: space-between; align-items: flex-start; }
.viz-seg__head b { display: block; font-size: 17px; font-weight: 760; }
.viz-seg__head small { display: block; font-size: 12.5px; color: var(--ink-3); }
.viz-seg__svg { width: 100%; height: 66px; margin: 14px 0 10px; }
.viz-seg__fill { fill: rgba(14, 15, 14, 0.08); }
.viz-seg__line { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.viz-seg__time { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.viz-seg__time b {
  font-size: 32px;
  font-weight: 830;
  font-stretch: 82%;
  letter-spacing: -0.03em;
}
.viz-seg__time span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }

.tag {
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.04em;
}
.tag--y { background: var(--jersey); color: var(--ink); }

/* The printed-map treatment: the only map on paper, so its route is ink
   with a green core rather than green alone. */
.viz-map {
  position: relative;
  margin-top: auto;
  aspect-ratio: 2 / 1;
  border-radius: 18px;
  overflow: hidden;
}
.viz-map svg { width: 100%; height: 100%; }
.lmap__ground { fill: #ebe8e1; }
.lmap__st { fill: none; stroke: #dad6cc; stroke-width: 1.1; }
.lmap__park { fill: #dbe4d0; }
.lmap__water { fill: none; stroke: #cbd9e2; stroke-width: 12; stroke-linecap: round; }
.lmap__road { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.lmap__case { fill: none; stroke: var(--ink); stroke-width: 7.5; stroke-linecap: round; stroke-linejoin: round; }
.lmap__route { fill: none; stroke: var(--jersey); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.lmap__pin { fill: var(--ink); stroke: #fff; stroke-width: 2.5; }
.viz-map__chip {
  position: absolute;
  right: 10px; bottom: 10px;
  margin: 0 !important;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--card);
  box-shadow: 0 4px 14px rgba(14, 15, 14, 0.14);
  font-size: 12.5px !important;
  font-weight: 680;
  color: var(--ink) !important;
  white-space: nowrap;
}

.viz-sensors {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}
.viz-sensors li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: var(--paper);
}
.viz-sensors .ico { width: 38px; height: 38px; border-radius: 11px; margin-right: auto; }
.viz-sensors .ico svg { width: 19px; height: 19px; }
.viz-sensors b {
  font-size: 26px;
  font-weight: 820;
  font-stretch: 82%;
  letter-spacing: -0.02em;
}
.viz-sensors small { width: 3.4em; font-size: 13px; color: var(--ink-3); }

.viz-week__sum { margin: 0; }
.viz-week__sum b {
  font-size: 28px;
  font-weight: 830;
  font-stretch: 82%;
  letter-spacing: -0.02em;
}
.viz-week__sum span { display: block; font-size: 13px; color: var(--ink-3); }
.viz-week__bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  height: 104px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.viz-week__bars li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  height: 100%;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--ink-3);
}
.viz-week__bars i {
  width: 100%;
  height: calc(var(--h) * 0.78px);
  min-height: 5px;
  border-radius: 6px 6px 3px 3px;
  background: var(--ink);
}
.viz-week__bars li[style*="--h:0"] i { background: rgba(14, 15, 14, 0.14); }
.viz-week__bars .is-best i { background: var(--jersey); box-shadow: inset 0 0 0 2px var(--ink); }

/* ═══ 03 · SHARE ═════════════════════════════════════════════════════════ */

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #2a2e2b;
  color: var(--chalk);
  font-size: 14px;
  font-weight: 760;
}
.avatar--sm { width: 36px; height: 36px; font-size: 12.5px; background: var(--ink); color: var(--jersey); }
.avatar--xs { width: 30px; height: 30px; font-size: 10.5px; }

.post {
  position: relative;
  max-width: 480px;
  margin-inline: auto;
  padding: 22px;
  border-radius: 28px;
  background: var(--tarmac);
  color: var(--chalk);
  box-shadow: 0 50px 90px -50px rgba(14, 15, 14, 0.7), 0 0 0 1px rgba(14, 15, 14, 0.1);
}
.post__head { display: flex; align-items: center; gap: 12px; }
.post__who b { display: block; font-size: 15.5px; font-weight: 720; }
.post__who small { display: block; font-size: 12.5px; color: var(--chalk-3); }
.post__more { margin-left: auto; font-size: 13px; letter-spacing: 2px; color: var(--chalk-3); }
.post__title {
  margin: 18px 0 12px;
  font-size: 23px;
  font-weight: 780;
  letter-spacing: -0.018em;
}
.post__stats { display: flex; gap: 28px; margin: 0 0 16px; }
.post__stats dt {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chalk-3);
}
.post__stats dd {
  margin: 2px 0 0;
  font-size: 19px;
  font-weight: 760;
}
.post__map {
  position: relative;
  aspect-ratio: 2 / 1;
  border-radius: 18px;
  overflow: hidden;
}
.post__map svg { width: 100%; height: 100%; }
.post__pr {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--jersey);
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
}
.post__earn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(212, 243, 74, 0.08);
  border: 1px solid rgba(212, 243, 74, 0.2);
  font-size: 14px;
}
.post__verified { display: inline-flex; align-items: center; gap: 8px; color: var(--chalk-2); }
.post__verified svg { width: 19px; height: 19px; stroke: var(--jersey); }
.post__paid { color: var(--chalk-2); }
.post__paid b { color: var(--jersey); font-weight: 780; }
.post__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-d);
  font-size: 14px;
  color: var(--chalk-2);
}
.post__kudos b { color: var(--chalk); }
.post__comments { margin-left: auto; }
.faces--sm i,
.faces--sm i:nth-child(n) {
  width: 28px; height: 28px;
  margin-left: -8px;
  border-color: var(--tarmac);
  background: #2c302d;
  color: var(--chalk);
  font-size: 9.5px;
}
.faces--sm i:first-child { margin-left: 0; }
.faces--sm i:nth-child(3) { background: var(--jersey); color: var(--ink); }

/* Hangs off the card's lower corner, clear of its kudos row. */
.bubble {
  position: absolute;
  right: -4%;
  bottom: -19%;
  display: flex;
  gap: 11px;
  max-width: 300px;
  padding: 14px 16px 14px 14px;
  border-radius: 20px 20px 20px 6px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line-2), 0 24px 44px -22px rgba(14, 15, 14, 0.4);
  animation: bob 7s var(--ease) infinite alternate;
}
.bubble p { margin: 0; font-size: 14px; line-height: 1.42; color: var(--ink-2); }
.bubble b { display: block; color: var(--ink); font-weight: 720; }

/* ═══ 04 · COMPETE ═══════════════════════════════════════════════════════ */

.boards {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}

.board,
.chal {
  padding: 20px;
  border-radius: 24px;
  background: var(--tarmac-2);
  border: 1px solid var(--rule-d);
}
.board { padding-bottom: 12px; }
.board__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.board__head small,
.chal__copy small {
  display: block;
  font-size: 11.5px;
  font-weight: 680;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chalk-3);
}
.board__head b { display: block; font-size: 21px; font-weight: 780; letter-spacing: -0.015em; }
.board__tabs {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 620;
  white-space: nowrap;
}
.board__tabs i { padding: 5px 11px; border-radius: 99px; font-style: normal; color: var(--chalk-2); }
.board__tabs .is-on { background: var(--chalk); color: var(--ink); }

.board__rows { margin: 0; padding: 0; list-style: none; }
.board__rows li {
  display: grid;
  grid-template-columns: 26px 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-top: 1px solid var(--rule-d);
  font-size: 15px;
}
.board__r {
  font-weight: 760;
  text-align: center;
  color: var(--chalk-3);
}
.board__t { font-weight: 720; }
.board__rows .board__gap {
  display: block;
  padding: 2px 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--chalk-3);
}
.board__rows .is-you {
  margin: 6px -8px 4px;
  padding: 11px 16px;
  border-top: 0;
  border-radius: 14px;
  background: var(--jersey);
  color: var(--ink);
}
.is-you .board__r { color: var(--ink); }
.is-you .avatar { background: var(--ink); color: var(--jersey); font-size: 8.5px; letter-spacing: 0.04em; }
.is-you + li, .board__gap + .is-you { border-top: 0; }
.is-you em {
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--ink);
  color: var(--jersey);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 820;
  vertical-align: 2px;
}

/* The leader wears it. */
.jersey {
  width: 30px; height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M22 6h20l14 8-6 12-6-3v35H20V23l-6 3-6-12z' fill='%23D4F34A'/%3E%3Cpath d='M26 6c1.5 4 3.5 6 6 6s4.5-2 6-6' fill='none' stroke='%23111312' stroke-width='3'/%3E%3C/svg%3E") center / 26px no-repeat;
}

.chal { display: flex; align-items: center; gap: 20px; }
.ring { position: relative; flex: none; width: 108px; height: 108px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring__bg { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 9; }
.ring__fg {
  fill: none;
  stroke: var(--jersey);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: calc(100 - var(--p));
  transition: stroke-dashoffset 1.6s var(--ease-out) 0.25s;
}
.js .chal:not(.is-in) .ring__fg { stroke-dashoffset: 100; }
.ring > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.ring b {
  font-size: 28px;
  font-weight: 830;
  font-stretch: 82%;
  line-height: 1;
}
.ring small { font-size: 11px; color: var(--chalk-3); }
.chal__copy b { display: block; margin: 3px 0 6px; font-size: 19px; font-weight: 760; }
.chal__prize { display: block; font-size: 14.5px; color: var(--chalk-2); }
.chal__prize em { font-style: normal; font-weight: 740; color: var(--jersey); }
.chal__meta { display: block; margin-top: 6px; font-size: 12.5px; color: var(--chalk-3); }

.yj {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 24px;
  background: var(--jersey);
  color: var(--ink);
}
.yj__svg { width: 58px; height: 58px; flex: none; }
.yj__body { fill: var(--ink); }
.yj__neck { fill: none; stroke: var(--jersey); stroke-width: 3; }
.yj b { display: block; font-size: 19px; font-weight: 820; letter-spacing: -0.01em; }
.yj p { margin: 3px 0 0; font-size: 14.5px; line-height: 1.45; color: rgba(14, 15, 14, 0.74); }

/* ═══ 05 · EARN ══════════════════════════════════════════════════════════ */

.earn {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(48px, 7vh, 76px);
}

.anat { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.anat li {
  display: grid;
  gap: 6px;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--line);
}
.anat__k {
  font-size: 12.5px;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.anat__v { font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.anat__v b {
  display: block;
  margin-bottom: 2px;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 830;
  font-stretch: 82%;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  padding: clamp(22px, 2.8vw, 36px);
  border-radius: 30px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line-2), 0 50px 90px -60px rgba(14, 15, 14, 0.45);
}
.calc__in { display: flex; flex-direction: column; }
.calc__q { font-size: 15.5px; font-weight: 650; color: var(--ink-2); }
.calc__read { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 14px; }
.calc__read output {
  font-size: clamp(66px, 7vw, 108px);
  font-weight: 850;
  font-stretch: 78%;
  line-height: 0.88;
  letter-spacing: -0.045em;
}
.calc__read span { font-size: 16px; font-weight: 620; color: var(--ink-3); }

.range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 40px;
  margin: 0;
  background: transparent;
  cursor: grab;
}
.range:active { cursor: grabbing; }
.range:focus-visible { outline: none; }
.range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 8px;
  background: linear-gradient(to right, var(--ink) var(--fill, 28%), rgba(14, 15, 14, 0.1) var(--fill, 28%));
}
.range::-moz-range-track {
  height: 8px;
  border-radius: 8px;
  background: linear-gradient(to right, var(--ink) var(--fill, 28%), rgba(14, 15, 14, 0.1) var(--fill, 28%));
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px; height: 30px;
  margin-top: -11px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--jersey);
  box-shadow: 0 4px 10px rgba(14, 15, 14, 0.25);
  transition: transform 0.2s var(--ease-out);
}
.range::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--jersey);
}
.range:hover::-webkit-slider-thumb { transform: scale(1.08); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(14, 15, 14, 0.14); }

.calc__presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.calc__presets button {
  padding: 8px 13px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 13.5px;
  font-weight: 650;
  cursor: pointer;
  transition: var(--motion);
}
.calc__presets button span { margin-left: 3px; font-weight: 500; color: var(--ink-3); }
.calc__presets button:hover { border-color: var(--ink); }
.calc__presets button[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.calc__presets button[aria-pressed='true'] span { color: rgba(243, 241, 236, 0.6); }

.switch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 15px;
  font-weight: 560;
  cursor: pointer;
}
.switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.switch__ui {
  position: relative;
  flex: none;
  width: 48px; height: 28px;
  border-radius: 99px;
  background: rgba(14, 15, 14, 0.16);
  transition: background-color 0.25s linear;
}
.switch__ui::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s var(--ease-out), background-color 0.2s linear;
}
.switch input:checked + .switch__ui { background: var(--ink); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); background: var(--jersey); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--ink); outline-offset: 3px; }
.switch__t em {
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 5px;
  background: var(--jersey);
  color: var(--ink);
  font-size: 13px;
  font-style: normal;
  font-weight: 820;
  white-space: nowrap;
}

/* A year of riding, measured in the only unit cyclists all share. */
.calc__tour {
  margin: auto 0 0;
  padding-top: 26px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}
.calc__tour b { color: var(--ink); font-weight: 780; }
.calc__tour::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 18px;
  background: var(--line);
}

.calc__out {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--tarmac);
  color: var(--chalk);
}
.calc__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 12px;
  border-bottom: 1px solid var(--rule-d);
}
.calc__row span {
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chalk-3);
}
.calc__row b { font-size: 26px; font-weight: 800; }
.calc__row--big { align-items: center; }
.calc__row--big b {
  font-size: clamp(42px, 4.4vw, 62px);
  font-weight: 850;
  font-stretch: 78%;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--jersey);
}

/* Twelve months, cumulative. The scale is fixed to the slider's range, so
   dragging raises the whole year rather than redrawing the same shape. */
.calc__bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 84px;
  margin: 18px 0 0;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--rule-d);
}
.calc__bars i {
  flex: 1 1 0;
  min-width: 0;
  height: 0;
  border-radius: 3px 3px 0 0;
  background: rgba(212, 243, 74, 0.3);
  transition: height 0.45s var(--ease-out);
}
.calc__bars i:last-child { background: var(--jersey); }
.calc__as {
  margin: 16px 0 8px;
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chalk-3);
}
.calc__basket { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.calc__basket li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  color: var(--chalk-2);
}
.calc__basket b { font-weight: 720; color: var(--chalk); }
.calc__basket em { font-style: normal; color: var(--chalk-3); margin-left: 6px; font-size: 13px; }

.note {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3);
}
.calc__note { grid-column: 1 / -1; margin: 0; }

.verify {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(64px, 9vh, 104px);
}
.verify__head h3 {
  margin: 18px 0 6px;
  font-size: clamp(26px, 2.2vw, 32px);
  font-weight: 820;
  font-stretch: 88%;
  letter-spacing: -0.025em;
}
.verify__head p { margin: 0; color: var(--ink-2); }
.verify__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.verify__list li {
  padding: 22px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line-2);
}
.verify__list b { display: flex; align-items: center; gap: 9px; font-size: 16.5px; font-weight: 760; }
.verify__list b::before {
  content: '';
  width: 20px; height: 20px;
  flex: none;
  border-radius: 50%;
  background: var(--jersey) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%230E0F0E' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.verify__list p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

/* ═══ 06 · OWN ═══════════════════════════════════════════════════════════ */

.sec--own .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.split__art--phone { display: grid; place-items: center; }
/* The one light on the dark stretch comes off the portfolio. */
.split__art--phone::before {
  content: '';
  position: absolute;
  inset: 8% -10%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(212, 243, 74, 0.14), transparent 70%);
  pointer-events: none;
}
/* Mirrored: this one sits left of its copy, so it turns right, and its
   edge shows on the left. */
.phone--own {
  --w: clamp(270px, 24vw, 336px);
  --ry: 26deg; --rx: 9deg; --rz: 3deg;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.12),
    inset 0 0 0 4px #050505,
    -1px 0.5px 0 #3a3e40, -2px 1px 0 #313436, -3px 1.5px 0 #2a2d2e,
    -4px 2px 0 #242627, -5px 2.5px 0 #1f2122, -6px 3px 0 #1a1b1c,
    -7px 3.5px 0 #151617, -8px 4px 0 #131415, -9px 4.5px 0 #111212,
    -30px 60px 100px -40px rgba(0, 0, 0, 0.9);
}

.pf {
  position: absolute;
  inset: calc(var(--u) * 54) 0 calc(var(--u) * 86);
  padding: calc(var(--u) * 10) calc(var(--u) * 22) 0;
}
.pf__head { display: flex; align-items: center; justify-content: space-between; }
.pf__head b { font-size: calc(var(--u) * 30); font-weight: 820; letter-spacing: -0.02em; }
.avatar--app { width: calc(var(--u) * 38); height: calc(var(--u) * 38); font-size: calc(var(--u) * 13); }
.pf__val {
  margin-top: calc(var(--u) * 16) !important;
  font-size: calc(var(--u) * 52);
  font-weight: 850;
  font-stretch: 80%;
  line-height: 1;
  letter-spacing: -0.035em;
}
.pf__sub { margin-top: calc(var(--u) * 6) !important; font-size: calc(var(--u) * 14); color: var(--app-t2); }
.pf__chg {
  display: inline-block;
  margin-top: calc(var(--u) * 10) !important;
  padding: calc(var(--u) * 4) calc(var(--u) * 10);
  border-radius: 99px;
  background: rgba(212, 243, 74, 0.1);
  font-size: calc(var(--u) * 13);
  font-weight: 720;
  color: var(--jersey);
}
.pf__chart { position: relative; height: calc(var(--u) * 128); margin-top: calc(var(--u) * 16); }
.pf__chart svg { width: 100%; height: 100%; overflow: visible; }
.pf__line { fill: none; stroke: var(--jersey); stroke-width: 2.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pf__end {
  position: absolute;
  right: 0;
  top: calc(22 / 120 * 100%);
  width: calc(var(--u) * 12); height: calc(var(--u) * 12);
  border-radius: 50%;
  background: var(--jersey);
  box-shadow: 0 0 0 calc(var(--u) * 5) rgba(212, 243, 74, 0.2);
  transform: translate(50%, -50%);
}
.pf__axis {
  display: flex;
  justify-content: space-between;
  margin-top: calc(var(--u) * 8);
  font-size: calc(var(--u) * 11);
  font-weight: 600;
  color: var(--app-t3);
}
.pf__lh {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: calc(var(--u) * 20) 0 calc(var(--u) * 4);
}
.pf__lh b { font-size: calc(var(--u) * 17); font-weight: 760; }
.pf__lh span { font-size: calc(var(--u) * 12); color: var(--app-t3); }
.pf__rows { margin: 0; padding: 0; list-style: none; }
.pf__rows li {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 12);
  padding: calc(var(--u) * 9) 0;
  border-top: 1px solid var(--app-line);
}
.pf__rows li:first-child { border-top: 0; }
.tkr {
  display: grid;
  place-items: center;
  flex: none;
  width: calc(var(--u) * 44); height: calc(var(--u) * 44);
  border-radius: calc(var(--u) * 12);
  background: var(--app-card-2);
  font-size: calc(var(--u) * 10.5);
  font-weight: 820;
  letter-spacing: 0.02em;
}
.pf__n b { display: block; font-size: calc(var(--u) * 15.5); font-weight: 720; }
.pf__n small { display: block; font-size: calc(var(--u) * 12.5); color: var(--app-t3); }
.pf__v {
  margin-left: auto;
  font-size: calc(var(--u) * 15.5);
  font-weight: 720;
}

.tabs {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  height: calc(var(--u) * 86);
  padding: calc(var(--u) * 10) calc(var(--u) * 6) 0;
  border-top: 1px solid var(--app-line);
  background: rgba(12, 13, 13, 0.94);
}
.tabs span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--u) * 4);
  width: calc(var(--u) * 66);
  font-size: calc(var(--u) * 10.5);
  font-weight: 620;
  color: var(--app-t3);
}
.tabs svg { width: calc(var(--u) * 24); height: calc(var(--u) * 24); }
.tabs .is-on { color: var(--jersey); }
.tabs__rec i {
  width: calc(var(--u) * 24); height: calc(var(--u) * 24);
  border-radius: 50%;
  border: calc(var(--u) * 3) solid var(--app-t3);
  box-shadow: inset 0 0 0 calc(var(--u) * 3) #0c0d0d;
  background: var(--jersey);
}

.tickers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.tickers li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 15px 18px;
  border-radius: 16px;
  background: var(--tarmac-2);
  border: 1px solid var(--rule-d);
}
.tickers li:hover { border-color: rgba(212, 243, 74, 0.5); }
.tickers b { font-size: 18px; font-weight: 820; letter-spacing: 0.01em; }
.tickers span { font-size: 13.5px; color: var(--chalk-3); }

.plain {
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(212, 243, 74, 0.06);
  border: 1px solid rgba(212, 243, 74, 0.2);
}
.plain h3 { margin: 0 0 8px; font-size: 17px; font-weight: 760; color: var(--jersey); }
.plain p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--chalk-2); }
.plain strong { font-weight: 720; color: var(--chalk); }

/* ═══ FAQ ════════════════════════════════════════════════════════════════ */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(32px, 5vw, 88px);
}
/* The heading stays pinned while the questions scroll past it. A sticky grid
   item can only travel within its row, so the section's bottom spacing is
   moved inside the row, as the list's margin: the heading then holds until
   the very last answer has gone by, not a padding's height before. */
.faq .head { position: sticky; top: calc(var(--bar-h) + 32px); }
.sec--faq { padding-bottom: 0; }
.faq__list { margin-bottom: clamp(96px, 13vh, 168px); }
.faq .lede a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--jersey); text-decoration-thickness: 3px; text-underline-offset: 3px; }

.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 2px solid var(--ink); }
.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-size: clamp(17.5px, 0.6vw + 13px, 21px);
  font-weight: 720;
  letter-spacing: -0.012em;
  cursor: pointer;
  list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: '';
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat;
  transition: transform 0.35s var(--ease-out), background-color 0.2s linear,
              border-color 0.2s linear;
}
.faq__list summary:hover::after { border-color: var(--ink); }
.faq__list details[open] summary::after {
  transform: rotate(45deg);
  border-color: var(--jersey);
  background-color: var(--jersey);
}
.faq__list details p {
  max-width: 60ch;
  margin: -6px 0 26px;
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-2);
}

/* ═══ FINISH ═════════════════════════════════════════════════════════════
   The page ends where a race does: over a painted finish line, in the
   leader's colour. */

.finish {
  position: relative;
  padding: clamp(120px, 19vh, 210px) 0 clamp(120px, 18vh, 200px);
  overflow: clip;
  background: var(--jersey);
  color: var(--ink);
  text-align: center;
}
.finish::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 20px;
  background: repeating-conic-gradient(var(--ink) 0 25%, transparent 0 50%) 0 0 / 20px 20px;
}
.finish__route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.finish__route path {
  fill: none;
  stroke: rgba(14, 15, 14, 0.9);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.4s var(--ease);
}
.js .finish:not(.is-in) .finish__route path { stroke-dashoffset: 100; }
.finish__in { position: relative; }
.finish__h {
  margin: 0;
  font-weight: 860;
  font-stretch: 80%;
  font-size: clamp(66px, 12.5vw, 204px);
  line-height: 0.86;
  letter-spacing: -0.05em;
}
.finish__p {
  max-width: 36ch;
  margin: 28px auto 0;
  font-size: clamp(17px, 0.6vw + 13px, 21px);
  font-weight: 520;
  color: rgba(14, 15, 14, 0.76);
}
.finish__cta { justify-content: center; margin-top: 34px; }

/* ═══ FOOTER ═════════════════════════════════════════════════════════════ */

.foot {
  padding: 72px 0 44px;
  background: var(--tarmac);
  color: var(--chalk-2);
  font-size: 14.5px;
}
.foot__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--rule-d);
}
/* Black on tarmac needs an edge, or the tile disappears and the C floats. */
.brand--inv .brand__tile { stroke: rgba(243, 241, 236, 0.16); stroke-width: 14; }
.brand--inv .brand__word { color: var(--chalk); }
.foot__brand p { margin: 14px 0 0; font-weight: 600; color: var(--chalk); }
.foot__cols { display: flex; flex-wrap: wrap; gap: 32px clamp(40px, 6vw, 96px); }
.foot__cols h4 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chalk-3);
}
.foot__cols a { display: block; margin: 9px 0; transition: color 0.2s linear; }
.foot__cols a:hover { color: var(--chalk); }
.foot__legal { max-width: 92ch; margin: 32px 0 0; font-size: 12.5px; line-height: 1.65; color: var(--chalk-3); }
.foot__c { margin: 16px 0 0; font-size: 12.5px; color: var(--chalk-3); }

/* ═══ MOTION ═════════════════════════════════════════════════════════════
   Held by a class on <html>, so a scripting failure leaves a complete
   static page rather than a blank one waiting for an entrance.

   Three reveal styles, each played once as it scrolls into view:
     [data-reveal]          cards and blocks: rise, and pop to full size
     [data-reveal='title']  headlines: rise out of a blur
     [data-reveal='soft']   small text: a short fade up
   Reveals own `transform`; hover owns the separate `scale` property, so a
   card can be mid-reveal and hovered at once without either winning. */

.js [data-enter] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.85s var(--ease), transform 1.05s var(--ease-out);
}

[data-reveal] { transition: var(--motion); }
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 38px, 0) scale(0.94);
}
.js [data-reveal='title'] { transform: translate3d(0, 0.3em, 0); filter: blur(12px); }
.js [data-reveal='soft'] { transform: translate3d(0, 18px, 0); }

.js [data-enter].is-in,
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* The portfolio phone swings into its tilt the way the hero phone does. */
.phone--own { transition: opacity 1s var(--ease), transform 1.6s var(--ease-out), scale 0.6s var(--ease-pop); }
.js .phone--own:not(.is-in) { --ty: 70px; --dry: 22deg; opacity: 0; }

/* ─── HOVER ──────────────────────────────────────────────────────────────
   Only where there is a real pointer; on touch a hover is a tap that
   sticks. Everything grows a little and settles with the same pop. */

.ico,
.brand__mark,
.viz-sensors li { transition: var(--motion); }
/* The maps zoom slower than the card around them, like a camera push. */
.viz-map svg,
.post__map svg { transition: scale 1.2s var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .tile:hover,
  .post:hover,
  .board:hover,
  .chal:hover,
  .yj:hover,
  .plain:hover,
  .verify__list li:hover { scale: 1.025; }

  .tile:hover,
  .verify__list li:hover { box-shadow: 0 0 0 1px var(--line-2), 0 34px 60px -34px rgba(14, 15, 14, 0.38); }
  .board:hover,
  .chal:hover { border-color: rgba(243, 241, 236, 0.22); }

  .tickers li:hover,
  .step:hover,
  .viz-sensors li:hover { scale: 1.05; }

  a.store:hover,
  .btn:hover,
  .calc__presets button:hover { scale: 1.05; }
  .social:hover { scale: 1.08; }
  .ca:not(:disabled):hover { scale: 1.05; box-shadow: inset 0 0 0 1.5px var(--ink); }

  .float:hover { scale: calc(var(--fs, 1) * 1.08); }
  .bib:hover { scale: 1.08; rotate: 0deg; }
  .stage__pin:hover { scale: 1.2; }
  .feats li:hover .ico { scale: 1.14; rotate: -8deg; }
  .brand:hover .brand__mark { scale: 1.1; rotate: -8deg; }
  .tile:hover .viz-map svg,
  .post:hover .post__map svg { scale: 1.08; }
  .phone--hero:hover,
  .phone--own:hover { scale: 1.03; }
}

.js .hl::before {
  transform: skewX(-11deg) scaleX(0);
  transition: transform 0.9s var(--ease-out) 0.55s;
}
.js .hl.is-in::before { transform: skewX(-11deg) scaleX(1); }
/* The tag lands just after the stripe has drawn itself under the word. */
.js .hl__tag {
  opacity: 0;
  translate: 0 0.5em;
  transition: opacity 0.5s var(--ease) 1.25s, translate 0.7s var(--ease-pop) 1.25s;
}
.js .hl.is-in .hl__tag { opacity: 1; translate: 0 0; }

/* Swings in from further round and settles into its resting tilt. Only the
   offsets change, so the transform transitions between two poses of the
   same function list. */
.js .hero__stage .phone {
  --ty: 44px;
  --dry: -16deg;
  opacity: 0;
  transition: opacity 1s var(--ease), transform 1.4s var(--ease-out), scale 0.6s var(--ease-pop);
}
.js .hero__stage.is-in .phone { --ty: 0px; --dry: 0deg; opacity: 1; }
.js .hero__stage .float { opacity: 0; transition: opacity 0.8s var(--ease) 0.9s, scale 0.5s var(--ease-pop); }
.js .hero__stage.is-in .float { opacity: 1; }

/* ═══ RESPONSIVE ═════════════════════════════════════════════════════════ */

@media (max-width: 1180px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .earn, .verify { grid-template-columns: 1fr; }
  .anat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}

@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__copy { max-width: 640px; }
  .hero__stage { justify-self: center; margin: 24px 0 0; }
  .hero__topo {
    -webkit-mask-image: linear-gradient(to bottom, transparent 30%, #000 70%);
    mask-image: linear-gradient(to bottom, transparent 30%, #000 70%);
  }

  .head--split { grid-template-columns: 1fr; }
  .head--split .lede { margin: 0; }

  .split,
  .sec--own .split { grid-template-columns: 1fr; }
  .split--flip .split__art { order: 0; }
  .split__art--phone { order: 1; }
  .boards { margin-inline: auto; }

  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; }
  .step { text-align: left; padding: 0 16px 0 0; }

  .faq { grid-template-columns: 1fr; }
  .faq .head { position: static; }
  .verify__list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  /* Less turn on a narrow screen, where the phone is most of the width. */
  .phone--hero { --ry: -18deg; }
  .phone--own { --ry: 18deg; }
  .bento { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .tile--wide { grid-column: auto; flex-direction: column; }
  .tile--wide .tile__copy { align-self: auto; order: -1; }

  .calc { grid-template-columns: 1fr; }
  .anat { grid-template-columns: 1fr; }

  .stage__pin { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: 11.5px; border-width: 1.5px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tickers { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* In flow under the card, overlapping only its bottom padding. */
  .bubble {
    position: relative;
    right: auto; bottom: auto;
    width: fit-content;
    max-width: 88%;
    margin: -16px 0 0 auto;
  }
  /* No margin wide enough for the route to go round the copy. */
  .finish__route { display: none; }
}

@media (max-width: 560px) {
  .hero__h1 { font-size: clamp(58px, 18.5vw, 96px); }
  .store { height: 54px; padding: 0 18px 0 14px; }
  .store span { font-size: 17px; }
  .viz-live__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  /* Label over distance in every chip, so all four are the same height. */
  .calc__presets { display: grid; grid-template-columns: 1fr 1fr; }
  .calc__presets button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 9px 14px;
    border-radius: 14px;
    text-align: left;
  }
  .calc__presets button span { margin: 0; }
  .post { padding: 18px; }
  .post__stats { gap: 18px; }
  .chal { align-items: flex-start; }
  .ring { width: 88px; height: 88px; }
  .ring b { font-size: 23px; }
  .yj { align-items: flex-start; }
  .yj__svg { width: 46px; height: 46px; }
  .board__tabs i:last-child { display: none; }
}

/* Where there is no room for the cards to hang off the phone — small
   screens, and the squeezed two-column hero — both tuck onto the map, the
   one part of the screen that can lose a corner without losing a number. */
@media (max-width: 700px), (min-width: 961px) and (max-width: 1180px) {
  .float { --fs: 0.86; }
  .float--pr { left: auto; right: -22px; top: 13%; transform-origin: 100% 0; }
  .float--kudos { right: auto; left: -22px; top: 31%; transform-origin: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
}
