/* Spree, onspree.co
   Tokens are the apps' own (spree_palette.dart, spree_accent.dart, rider_palette.dart).
   Red marks only what you act on or are asked to trust. The Rider section has no red;
   green there means money confirmed. The -6deg shear of the Interlock is the one motif. */

:root {
  --paper: #FBF7F3;
  --surface: #F2EAE3;
  --photo: #EAE0D7;
  --ink: #1A120E;
  --ink-2: #3A3029;
  --muted: #6E645C;
  --faint: #968C84;
  --line: rgba(26, 18, 14, .12);

  --night: #0C0A09;
  --night-2: #1A1614;
  --night-3: #241E1B;
  --night-text: #F4F1EE;
  --night-muted: #8E8781;
  --night-line: rgba(244, 241, 238, .12);

  --red: #E01C14;
  --red-ink: #C21309;
  --go: #4ED07A;

  --shear: -6deg;
  --ease: cubic-bezier(.2, .7, 0, 1);

  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.fig { font-family: var(--mono); font-feature-settings: "zero" 0; letter-spacing: -.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Type: expanded Archivo for display, normal width for reading. */
.h2, .display, .hero__title {
  font-family: var(--sans);
  font-stretch: 118%;
  font-weight: 850;
  letter-spacing: -.025em;
  line-height: .95;
  text-wrap: balance;
}
.h2 { font-size: clamp(2.1rem, 5.2vw, 4.4rem); }
.display { font-size: clamp(3.2rem, 11vw, 9.5rem); line-height: .86; }
.h3 { font-size: 1.45rem; font-weight: 750; font-stretch: 108%; letter-spacing: -.01em; line-height: 1.15; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 36ch; margin-top: 1.25rem; }
.kicker { font-size: .95rem; font-weight: 700; color: var(--muted); margin-bottom: 1rem; }

/* Buttons and store badges */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--sm { font-size: .82rem; padding: .6rem 1rem; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.stores--center { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  min-width: 172px;
  padding: 10px 18px 10px 14px;
  border-radius: 14px;
  background: var(--ink); color: var(--paper);
  line-height: 1.1; font-weight: 700; font-size: 1.12rem; font-stretch: 105%;
}
.store svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.store small { display: block; font-size: .68rem; font-weight: 500; opacity: .72; font-stretch: 100%; margin-bottom: 2px; }

/* Brand lockup */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__tile { width: 34px; height: 34px; border-radius: 9px; background: var(--ink); display: grid; place-items: center; }
.brand__tile svg { width: 22px; height: 22px; fill: var(--paper); }
.brand__word { font-weight: 850; font-stretch: 112%; font-size: 1.3rem; letter-spacing: -.02em; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s var(--ease), box-shadow .4s var(--ease); }
.nav.is-solid { background: rgba(251, 247, 243, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }
.nav__cta { margin-left: 8px; text-decoration: none; font-weight: 700; font-size: .88rem; background: var(--ink); color: var(--paper); border-radius: 999px; padding: .55rem 1rem; }
.nav, .nav .brand__tile, .nav__links a, .nav__cta { transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.nav.is-dark { background: rgba(12, 10, 9, .82); box-shadow: 0 1px 0 var(--night-line); color: var(--night-text); }
.nav.is-dark .brand__tile { background: var(--night-text); }
.nav.is-dark .brand__tile svg { fill: var(--night); }
.nav.is-dark .nav__links a { color: #DAD4CF; }
.nav.is-dark .nav__links a:hover { color: var(--night-text); }
.nav.is-dark .nav__cta { background: var(--night-text); color: var(--night); }
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}

/* Phone: drawn in CSS so the real screenshots sit in a believable device. */
.phone {
  position: relative;
  width: 100%;
  padding: 2.6%;
  border-radius: 13% / 6%;
  background: linear-gradient(160deg, #2a2421, #0d0b0a 45%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    0 2px 4px rgba(26, 18, 14, .12),
    0 30px 60px -20px rgba(26, 18, 14, .45);
}
.phone__screen { position: relative; overflow: hidden; border-radius: 10.5% / 4.8%; background: var(--photo); aspect-ratio: 1080 / 2424; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone__screen::after { /* punch-hole camera */
  content: ""; position: absolute; top: 1.1%; left: 50%; width: 3.2%; aspect-ratio: 1; border-radius: 50%;
  transform: translateX(-50%); background: #050404; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06);
}

/* ---------- Arrival ---------- */
.arrival { display: none; }
.js .arrival {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 100;
  background: var(--night);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  animation: arrival-failsafe 0s linear 3s forwards;
}
.js.arrived .arrival { display: none; }
.arrival__mark { position: relative; width: 112px; aspect-ratio: 136 / 124; }
.arrival__half { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--paper); }
@keyframes arrival-failsafe { to { visibility: hidden; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 112px; overflow: clip; }
.hero__seam {
  position: absolute; z-index: -1;
  top: 0; bottom: 120px; right: -12vw; width: 54vw;
  background: var(--surface);
  transform: skewX(var(--shear));
  transform-origin: bottom;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; min-height: min(760px, calc(100svh - 160px)); }
.hero__title { font-size: clamp(3rem, 7.6vw, 7.4rem); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: block; }
.hero__lede { font-size: clamp(1.1rem, 1.6vw, 1.32rem); color: var(--ink-2); max-width: 34ch; margin-top: 1.6rem; }

.hero__stage { position: relative; justify-self: center; width: min(100%, 340px); padding-block: 40px; }
.phone--hero { transform: rotate(3deg); }

.float {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .94);
  border-radius: 18px;
  padding: 10px 14px 10px 10px;
  box-shadow: 0 1px 0 rgba(26, 18, 14, .05), 0 18px 40px -14px rgba(26, 18, 14, .35);
  will-change: transform;
}
.float img { border-radius: 12px; object-fit: cover; flex: none; }
.float__k { font-size: .8rem; font-weight: 700; line-height: 1.25; }
.float__s { font-size: .74rem; color: var(--muted); }
.float__v { font-size: .95rem; font-weight: 700; display: flex; gap: 8px; align-items: baseline; }
.float__left { font-size: .72rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.float--price { top: 12%; left: -34%; }
.float--price img { width: 48px; height: 60px; }
.float--rider { bottom: 24%; right: -30%; }
.float--rider img { width: 40px; height: 40px; border-radius: 50%; }
.float--code { flex-direction: column; align-items: flex-start; gap: 8px; bottom: 2%; left: -22%; padding: 12px 14px; }
.float__trust { font-size: .72rem; font-weight: 700; color: var(--red-ink); }

.tiles { display: flex; gap: 6px; }
.tiles > span {
  display: grid; place-items: center;
  width: 2.3em; height: 2.7em; border-radius: 10px;
  font-family: var(--mono); font-weight: 700; font-size: 1.15rem;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  transform: skewX(var(--shear));
}
.tiles--sm > span { font-size: .95rem; width: 2.1em; height: 2.5em; border-radius: 8px; }

.proof {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px; margin-bottom: 0;
}
.proof li { padding: 22px 24px 26px 0; font-weight: 600; color: var(--ink-2); font-size: 1rem; border-top: 1px solid var(--line); }
.proof li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.proof .fig { font-weight: 700; color: var(--ink); }

@media (max-width: 899px) {
  .hero { padding-top: 92px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; min-height: 0; }
  .hero__seam { top: auto; bottom: 0; height: 58%; width: 120vw; right: -10vw; }
  .hero__stage { width: min(62vw, 300px); margin-top: 8px; }
  .float { max-width: 76%; }
  .float--price { left: -26%; top: 10%; }
  .float--rider { right: -22%; }
  .float--code { left: -22%; }
  .proof { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .proof li, .proof li + li { padding: 14px 0; border-left: 0; }
  .proof li:last-child { border-bottom: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .hero__stage { width: 56vw; }
  .float { transform-origin: center; padding: 8px 10px 8px 8px; gap: 8px; border-radius: 14px; }
  .float { max-width: 88%; }
  .float--price { left: -28%; }
  .float--rider { right: -26%; bottom: 30%; }
  .float--rider .float__s { display: none; }
  .float--code { left: -26%; }
  .float__k { font-size: .72rem; }
  .store { min-width: 0; flex: 1 1 150px; }
}

/* ---------- The old way ---------- */
.dm { padding-block: clamp(96px, 14vw, 180px); }
.dm__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.dm__copy .lede { max-width: 40ch; }

.thread { position: relative; background: #fff; border-radius: 28px; padding: 18px 18px 22px; box-shadow: 0 30px 60px -30px rgba(26, 18, 14, .35), inset 0 0 0 1px var(--line); max-width: 460px; justify-self: end; width: 100%; }
.thread__head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.thread__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: 800; color: var(--muted); }
.thread__name { font-weight: 700; font-size: .95rem; }
.thread__sub { font-size: .78rem; color: var(--muted); }
.thread__msgs { display: flex; flex-direction: column; gap: 8px; }
.msg { align-self: flex-start; max-width: 78%; background: var(--surface); border-radius: 18px 18px 18px 6px; padding: 9px 14px 7px; }
.msg p { font-size: .95rem; line-height: 1.35; }
.msg time { display: block; font-size: .66rem; color: var(--muted); margin-top: 2px; text-align: right; }
.msg--me { align-self: flex-end; background: var(--ink); color: var(--paper); border-radius: 18px 18px 6px 18px; }
.msg--me time { color: rgba(251, 247, 243, .55); }
.msg--seen { background: none; align-self: flex-end; padding: 0 4px; display: flex; gap: 6px; align-items: baseline; }
.msg--seen p { font-size: .75rem; color: var(--muted); }
.msg--seen time { margin: 0; }
.thread__strike {
  position: absolute; left: 6%; right: 6%; top: 42%; height: 4px; border-radius: 4px;
  background: var(--ink); opacity: 0;
}

.spreecard {
  display: flex; align-items: center; gap: 14px;
  margin-top: 18px; padding: 12px; border-radius: 20px;
  background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink);
}
.spreecard img { width: 56px; height: 72px; object-fit: cover; border-radius: 10px; flex: none; }
.spreecard__body { flex: 1; min-width: 0; }
.spreecard__shop { font-size: .74rem; color: var(--muted); font-weight: 600; }
.spreecard__name { font-weight: 700; font-size: .98rem; line-height: 1.2; }
.spreecard__row { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .78rem; color: var(--muted); margin-top: 3px; }
.spreecard__row .fig { color: var(--ink); font-weight: 700; font-size: .9rem; }

@media (max-width: 899px) {
  .dm__grid { grid-template-columns: minmax(0, 1fr); }
  .thread { justify-self: stretch; max-width: none; }
}
@media (max-width: 400px) {
  .spreecard { flex-wrap: wrap; }
  .spreecard .btn { width: 100%; }
}

/* ---------- A day on Spree ---------- */
.day { padding-bottom: clamp(80px, 10vw, 140px); }
.day__title { margin-bottom: clamp(24px, 4vw, 48px); }
.day__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); }
.day__pin { position: sticky; top: 88px; align-self: start; height: calc(100svh - 120px); max-height: 900px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; }
.day__clock { align-self: start; padding-top: 12px; }
.day__clocklabel { font-size: .85rem; font-weight: 700; color: var(--muted); }
.odo--clock { font-size: clamp(2.4rem, 4.4vw, 4rem); font-weight: 700; line-height: 1; margin-top: 4px; }
.dayline { position: relative; width: 6px; height: 220px; margin-top: 24px; border-radius: 3px; background: var(--surface); overflow: hidden; transform: skewY(var(--shear)); }
.dayline__fill { position: absolute; inset: 0; background: var(--ink); transform-origin: top; transform: scaleY(.18); transition: transform 1s var(--ease); }
.phone--day { width: min(100%, calc((100svh - 140px) * .43), 360px); justify-self: center; }

.swap img { position: absolute; inset: 0; clip-path: polygon(0 112%, 100% 100%, 100% 112%, 0 112%); transition: clip-path .9s var(--ease); }
.swap img.is-on { clip-path: polygon(0 0, 100% -12%, 100% 112%, 0 112%); }

.steps { display: flex; flex-direction: column; }
.step { min-height: 88svh; display: flex; flex-direction: column; justify-content: center; max-width: 30rem; transition: opacity .6s var(--ease); }
.js .step { opacity: .28; }
.js .step.is-on { opacity: 1; }
.step p:not(.step__time) { color: var(--ink-2); margin-top: .9rem; font-size: 1.08rem; }
.step__time { font-size: .95rem; font-weight: 700; color: var(--muted); margin-bottom: .6rem; }
.phone--inline { display: none; }

@media (max-width: 899px) {
  .day__grid { grid-template-columns: minmax(0, 1fr); }
  .day__pin { display: none; }
  .step, .js .step { min-height: 0; opacity: 1; padding-block: 28px 44px; border-top: 1px solid var(--line); }
  .phone--inline { display: block; width: min(66vw, 280px); margin: 8px auto 28px; transform: rotate(-2deg); }
  .step:nth-child(even) .phone--inline { transform: rotate(2deg); }
}

/* ---------- Money track ---------- */
.money { padding-block: clamp(80px, 10vw, 140px) clamp(48px, 6vw, 80px); background: var(--surface); position: relative; }
.money::before, .money::after { /* sheared seams in and out */
  content: ""; position: absolute; left: 0; right: 0; height: 64px; background: inherit; transform: skewY(-1.6deg);
}
.money::before { top: -32px; }
.money::after { bottom: -32px; z-index: 1; }
.money__lede { max-width: 44ch; }
.track { position: relative; margin-top: clamp(48px, 7vw, 88px); }
.track__rail { position: absolute; left: 0; right: 0; top: 14px; height: 4px; border-radius: 4px; background: rgba(26, 18, 14, .1); }
.track__fill { position: absolute; inset: 0; background: var(--ink); border-radius: inherit; transform-origin: left; transform: scaleX(0); }
.track__parcel { position: absolute; top: 50%; left: 0; width: 26px; height: 22px; margin: -11px 0 0 -13px; border-radius: 5px; background: var(--ink); transform: skewX(var(--shear)); box-shadow: 0 6px 14px -4px rgba(26, 18, 14, .5); }
.track__parcel::after { content: ""; position: absolute; left: 0; right: 0; top: 45%; height: 2px; background: rgba(251, 247, 243, .55); }
.track__stops { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.stop { position: relative; padding-top: 44px; opacity: .4; transition: opacity .5s var(--ease); }
.stop::before { content: ""; position: absolute; top: 8px; left: 0; width: 16px; height: 16px; border-radius: 4px; background: var(--surface); box-shadow: inset 0 0 0 3px rgba(26, 18, 14, .25); transform: skewX(var(--shear)); transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.stop.is-on { opacity: 1; }
.stop.is-on::before { background: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); }
.stop--trust.is-on::before { background: var(--red); box-shadow: inset 0 0 0 3px var(--red); }
.stop__k { font-weight: 800; font-stretch: 108%; font-size: 1.08rem; line-height: 1.2; }
.stop--trust .stop__k { color: var(--red-ink); }
.stop__v { font-size: .9rem; color: var(--ink-2); margin-top: .4rem; }
.stop .tiles { margin-top: .6rem; }
.stop .tiles > span { font-size: 1rem; width: 2em; height: 2.4em; }

@media (max-width: 899px) {
  .track { padding-left: 34px; }
  .track__rail { left: 6px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .track__fill { transform-origin: top; transform: scaleY(0); }
  .track__parcel { left: 50%; top: 0; margin: -11px 0 0 -13px; }
  .track__stops { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .stop { padding: 0 0 34px; }
  .stop::before { left: -34px; top: 2px; }
}

/* ---------- Night sections ---------- */
.night { background: var(--night); color: var(--night-text); }
.night .lede { color: #CBC4BE; }
.night .phone { background: linear-gradient(160deg, #3a332f, #161210 45%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -30px rgba(0, 0, 0, .8); }
.kicker--night { color: var(--night-muted); }

/* Gbanjo */
.gbanjo { padding-block: clamp(110px, 13vw, 180px) clamp(80px, 11vw, 160px); position: relative; overflow: clip; }
.gbanjo__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.gbanjo .display { font-size: clamp(3.6rem, 8.4vw, 8.4rem); }
.counter { margin-top: 2.6rem; }
.counter__n { display: flex; align-items: baseline; gap: 14px; }
.odo--count { font-size: clamp(3.6rem, 8vw, 6rem); font-weight: 700; line-height: 1; }
.counter__of { font-size: 1.1rem; font-weight: 600; color: var(--night-muted); }
.counter__gone { margin-top: .8rem; font-weight: 700; font-size: 1.1rem; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.counter.is-gone .counter__gone { opacity: 1; transform: none; }
.gsteps { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--night-line); }
.gsteps li { display: flex; gap: 10px; align-items: baseline; font-weight: 600; }
.gsteps .fig { color: var(--night-muted); font-size: .85rem; }
.phone--gbanjo { width: min(100%, 340px); justify-self: center; transform: rotate(-3deg); }
@media (max-width: 899px) {
  .gbanjo__grid { grid-template-columns: minmax(0, 1fr); }
  .phone--gbanjo { width: min(70vw, 300px); margin-top: 24px; }
}

/* ---------- For shops ---------- */
.sell { padding-block: clamp(100px, 13vw, 180px) clamp(72px, 9vw, 120px); overflow: clip; }
.sell__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.chores { margin-top: 2rem; display: grid; gap: 12px; }
.chores li { font-weight: 600; color: var(--ink-2); font-size: 1.05rem; }
.chores li span { position: relative; }
.chores li span::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 2px; background: var(--ink); transform: scaleX(var(--strike, 1)); transform-origin: left; transition: transform .7s var(--ease); }
.chores li.is-off span { color: var(--faint); }

.fan { position: relative; height: clamp(440px, 52vw, 640px); }
.phone--fan { position: absolute; top: 50%; left: 50%; width: clamp(180px, 20vw, 260px); margin-left: calc(clamp(180px, 20vw, 260px) / -2); transform: translateY(-50%); }
.phone--fan[data-fan-i="0"] { transform: translate(-58%, -48%) rotate(-9deg); }
.phone--fan[data-fan-i="1"] { transform: translate(0, -52%); z-index: 2; }
.phone--fan[data-fan-i="2"] { transform: translate(58%, -46%) rotate(9deg); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(56px, 8vw, 96px); }
.fact { padding: 28px 28px 8px 0; border-top: 1px solid var(--line); }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact dt { font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.fact dt small { font-family: var(--sans); font-size: .36em; font-weight: 700; letter-spacing: 0; margin-left: .15em; color: var(--muted); }
.fact dd { margin-top: .9rem; color: var(--ink-2); max-width: 30ch; }

@media (max-width: 899px) {
  .sell__grid { grid-template-columns: minmax(0, 1fr); }
  .fan {
    height: auto; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 12px var(--gutter) 28px; scrollbar-width: none;
  }
  .fan::-webkit-scrollbar { display: none; }
  .phone--fan, .phone--fan[data-fan-i] { position: relative; top: auto; left: auto; margin: 0; transform: none !important; flex: 0 0 min(62vw, 240px); scroll-snap-align: center; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact, .fact + .fact { padding: 24px 0; border-left: 0; }
}

/* ---------- Rider ---------- */
.rider { padding-block: clamp(110px, 13vw, 180px) clamp(80px, 10vw, 140px); overflow: clip; }
.rider__head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "mark mark" "title lede"; column-gap: clamp(32px, 5vw, 72px); align-items: end; }
.rider__brand { grid-area: mark; display: flex; align-items: center; gap: 16px; margin-bottom: 2rem; }
.rider__brand .kicker { margin: 0; font-size: 1.1rem; color: var(--night-text); }
.rider__mark { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 0 0 1px var(--night-line); }
.display--rider { grid-area: title; font-size: clamp(3.2rem, 8vw, 7.6rem); }
.rider__head .lede { grid-area: lede; max-width: 40ch; margin: 0 0 .6rem; }
@media (max-width: 899px) {
  .rider__head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "mark" "title" "lede"; }
  .rider__head .lede { margin-top: 1.4rem; }
}
.rider__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(48px, 7vw, 88px); align-items: center; }

.calc { background: var(--night-2); border-radius: 28px; padding: clamp(20px, 3vw, 32px); box-shadow: inset 0 0 0 1px var(--night-line); }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; }
.calc__row label, .calc__row span { color: #DAD4CF; }
.calc__out { font-size: 1.3rem; font-weight: 700; }
.calc__row--drops { margin-top: 22px; align-items: center; }
.calc input[type=range] { width: 100%; margin: 18px 0 4px; accent-color: var(--night-text); height: 28px; cursor: grab; }
.calc input[type=range]:active { cursor: grabbing; }
.stepper { display: flex; align-items: center; gap: 6px; background: var(--night-3); border-radius: 999px; padding: 4px; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--night-text); font: 600 1.3rem/1 var(--sans); cursor: pointer; }
.stepper button:hover { background: rgba(255, 255, 255, .06); }
.stepper output { min-width: 2ch; text-align: center; font-size: 1.1rem; font-weight: 700; }
.calc__lines { margin-top: 22px; border-radius: 16px; overflow: hidden; background: var(--night-3); }
.calc__lines > div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 16px; font-size: .95rem; }
.calc__lines > div + div { border-top: 1px solid var(--night-line); }
.calc__lines dt { color: #DAD4CF; }
.calc__drop dt, .calc__drop dd { font-weight: 700; color: var(--night-text); }
.calc__total { margin-top: 24px; }
.calc__total p:first-child { font-weight: 600; color: #DAD4CF; }
.calc__big { margin-top: 4px; }
.odo--money { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 700; line-height: 1; color: var(--go); }
.calc__note { margin-top: 18px; font-size: .9rem; color: var(--night-muted); }

.rider__phones { position: relative; display: flex; justify-content: center; gap: 0; }
.phone--rider { width: min(46%, 250px); transform: rotate(-4deg) translateY(20px); }
.phone--rider-up { transform: rotate(4deg) translate(-14%, -24px); z-index: 2; }

.rider__need::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--night-line); }
.rider__need { position: relative; margin-top: clamp(64px, 8vw, 110px); padding-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 48px; }
.rider__need ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.rider__need li { padding-left: 22px; position: relative; color: #DAD4CF; }
.rider__need li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 2px; background: var(--night-text); transform: skewX(var(--shear)); }
.rider__check { grid-column: 2; color: var(--night-muted); font-size: .92rem; }

@media (max-width: 899px) {
  .rider__grid { grid-template-columns: minmax(0, 1fr); }
  .rider__phones { order: -1; }
  .rider__need { grid-template-columns: minmax(0, 1fr); }
  .rider__check { grid-column: 1; }
}
@media (max-width: 520px) {
  .rider__need ul { grid-template-columns: minmax(0, 1fr); }
  .phone--rider { width: 52%; }
}

/* ---------- Close ---------- */
.close { padding-block: clamp(110px, 14vw, 200px) clamp(80px, 10vw, 140px); text-align: center; overflow: clip; }
.close__in { display: flex; flex-direction: column; align-items: center; }
.close__mark { position: relative; width: clamp(96px, 12vw, 150px); aspect-ratio: 136 / 124; margin-bottom: 2rem; }
.close__half { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--ink); }
.close__title { font-size: clamp(3.4rem, 12vw, 10rem); }
.close__lede { margin-inline: auto; max-width: 40ch; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 28px calc(28px + env(safe-area-inset-bottom)); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.brand--foot .brand__tile { width: 28px; height: 28px; border-radius: 7px; }
.brand--foot .brand__tile svg { width: 18px; height: 18px; }
.brand--foot .brand__word { font-size: 1.1rem; }
.foot__links { display: flex; gap: 22px; }
.foot__links a { text-decoration: none; font-weight: 600; color: var(--ink-2); font-size: .92rem; }
.foot__small { margin-left: auto; font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) { .foot__small { margin-left: 0; width: 100%; } }

/* ---------- "Read more" links into the search pages ---------- */
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 1.4rem; font-weight: 700; font-size: .98rem; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.more::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg) skewX(var(--shear)); transition: transform .3s var(--ease); }
.more:hover::after { transform: translateX(3px) rotate(45deg) skewX(var(--shear)); }
.more--night { color: var(--night-text); border-color: var(--night-text); }
.more--inline { margin: 0 0 0 10px; }
.step .more { align-self: flex-start; }

/* ---------- Footer: every page links to every search page ---------- */
.foot__explore { width: 100%; display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.foot__explore a { font-size: .86rem; color: var(--muted); text-decoration: none; }
.foot__explore a:hover, .foot__explore a[aria-current] { color: var(--ink); }

/* ---------- Search pages (site/<slug>/) ---------- */
.h1page { font-family: var(--sans); font-stretch: 118%; font-weight: 850; letter-spacing: -.025em; line-height: .95; text-wrap: balance; font-size: clamp(2.5rem, 5.6vw, 5.2rem); }
.h2sm { font-stretch: 112%; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; font-size: clamp(1.6rem, 3vw, 2.4rem); text-wrap: balance; }

.page-hero { position: relative; overflow: clip; padding: 120px 0 clamp(56px, 8vw, 100px); }
.page-hero.night .lede { color: #CBC4BE; }
.page-hero.night .hero__seam { background: var(--night-2); }
.page-hero.night .store { background: var(--night-text); color: var(--night); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.page-hero .lede { max-width: 40ch; }
.crumbs { display: flex; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.night .crumbs { color: var(--night-muted); }
.night .crumbs a:hover { color: var(--night-text); }
.phone--page { width: min(100%, 320px); justify-self: center; transform: rotate(3deg); }

.prose { padding-block: clamp(56px, 8vw, 110px) 0; }
.prose__body { max-width: 46rem; }
.block + .block { margin-top: clamp(48px, 6vw, 80px); }
.block p { margin-top: 1rem; color: var(--ink-2); max-width: 64ch; font-size: 1.08rem; }
.block ul, .block ol { margin-top: 1.2rem; display: grid; gap: 14px; }
.block li { position: relative; color: var(--ink-2); font-size: 1.05rem; max-width: 62ch; }
.block li strong { color: var(--ink); }
.ticks li { padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 2px; background: var(--ink); transform: skewX(var(--shear)); }
.ticks--off li { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--ink); }
.ticks--off li::before { background: var(--faint); }
.numbered { counter-reset: n; }
.numbered li { counter-increment: n; padding-left: 44px; }
.numbered li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .1em; font-family: var(--mono); font-size: .9rem; font-weight: 700; color: var(--muted); }

.figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 1.4rem; }
.figs > div { border-top: 1px solid var(--line); padding-top: 18px; }
.figs .figs__n { font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--ink); margin: 0; }
.figs p:not(.figs__n) { margin-top: .7rem; font-size: 1rem; }

.paytable { width: 100%; max-width: 30rem; margin-top: 1.4rem; border-collapse: collapse; font-size: 1rem; }
.paytable th { text-align: left; font-weight: 700; font-size: .88rem; color: var(--muted); padding: 0 0 10px; }
.paytable td { padding: 12px 0; border-top: 1px solid var(--line); font-weight: 700; }
.paytable td + td, .paytable th + th { text-align: right; }

.faq { padding-block: clamp(64px, 8vw, 110px) 0; }
.faq__list { max-width: 46rem; margin-top: 1.4rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 1.08rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.4rem; font-weight: 500; line-height: 1; color: var(--muted); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 62ch; }

.close--page { padding-block: clamp(80px, 10vw, 140px) clamp(56px, 7vw, 96px); }
.close--page .h2 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(56px, 7vw, 88px); text-align: left; }
.related a { display: block; padding: 22px 22px 24px; border-radius: 20px; background: var(--surface); text-decoration: none; transition: background-color .3s var(--ease); }
.related a:hover { background: var(--photo); }
.related strong { display: block; font-stretch: 108%; font-size: 1.1rem; }
.related span { display: block; margin-top: .4rem; font-size: .92rem; color: var(--ink-2); }

@media (max-width: 899px) {
  .page-hero { padding-top: 96px; }
  .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .phone--page { width: min(66vw, 280px); margin-top: 16px; }
  .related { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .figs { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Odometer digits ---------- */
.odo { display: inline-flex; font-family: var(--mono); letter-spacing: -.03em; }
.odo__c { display: inline-block; }
/* Each digit cell is 1.2em tall so a glyph never shows a sliver of its neighbour. */
.odo__d { display: inline-block; height: 1.2em; overflow: hidden; line-height: 1.2; margin-block: -.1em; }
.odo__strip { display: flex; flex-direction: column; transition: transform .9s var(--ease); }
.odo__strip span { height: 1.2em; line-height: 1.2; }

/* ---------- Reduced motion: everything readable, nothing moving ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .arrival { display: none; }
  .float { will-change: auto; }
}
