/* =========================================================
   Riding · ridinghq.com
   ========================================================= */

:root {
  --ink: #05060A;
  --ink-2: #0B0D13;
  --ink-3: #11141C;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F3F5F8;
  --muted: #A0A8B8;
  --dim: #7C8499;
  /* Brand accent: Electric blue (chosen 2026-11-30). To change the site's color, change these
     six lines and the two colors in assets/img/favicon.svg. */
  --accent: #4C9BFF;                 /* main accent */
  --accent-rgb: 76, 155, 255;        /* the same color as r, g, b, for glows */
  --accent-deep: #2F7BFF;            /* a deeper shade, for gradients */
  --accent-ink: #00122E;             /* text and logo marks drawn on the accent */
  --accent-alt: #B57CFF;             /* second accent: map destination, gradient end */
  --accent-alt-rgb: 181, 124, 255;
  --rose: #FF5A6E;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* Decorative pieces (orbit rings, the tilted band) poke past the edges; clip them so the page never scrolls sideways. */
main { overflow-x: clip; }
p { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-style: normal; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.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;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }

/* ---------- Backdrop ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 100%);
}
.bg-noise {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.site-header.scrolled {
  background: rgba(5, 6, 10, .72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 25px/1 var(--font-display); letter-spacing: -.04em;
}
.brand-mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 15px; color: var(--muted); }
.nav-links a:not(.btn) { transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line);
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; white-space: nowrap;
  font: 600 15px/1 var(--font-body); padding: 14px 22px;
  transition: transform .2s var(--ease), box-shadow .25s, background .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-accent {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 10px 30px -10px rgba(var(--accent-rgb), .6);
}
.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .12), 0 14px 40px -10px rgba(var(--accent-rgb), .7);
}
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); transform: translateY(-1px); }
.btn-lg { padding: 18px 28px; font-size: 16px; }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
.display { font-size: clamp(48px, 7vw, 100px); font-weight: 700; letter-spacing: -.05em; line-height: .95; }
h2 { font-size: clamp(38px, 5vw, 68px); }
h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
.lead { font-size: clamp(17px, 1.45vw, 20px); color: var(--muted); max-width: 34em; margin-top: 28px; }
.lead em { color: var(--text); font-weight: 500; }
.sub { color: var(--muted); font-size: 18px; max-width: 38em; margin-top: 22px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font: 600 13px/1 var(--font-display); text-transform: uppercase; letter-spacing: .16em; color: var(--accent);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.accent-text { color: var(--accent); text-shadow: 0 0 40px rgba(var(--accent-rgb), .35); }
.grad-text {
  background: linear-gradient(100deg in oklab, var(--accent) 10%, var(--accent-alt) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(var(--accent-rgb), .25));
}
.dim { color: #5D6577; }
.footnote { font-size: 13px; color: var(--dim); margin-top: 18px; line-height: 1.5; }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 100vh; padding: 140px 0 90px; }
.hero-glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.hero-glow::before, .hero-glow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(40px);
  animation: drift 16s ease-in-out infinite alternate;
}
.hero-glow::before {
  width: 760px; height: 760px; right: -160px; top: -120px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .20), transparent 62%);
}
.hero-glow::after {
  width: 620px; height: 620px; left: -220px; bottom: -220px;
  background: radial-gradient(circle, rgba(var(--accent-alt-rgb), .13), transparent 62%);
  animation-delay: -8s;
}
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.12); } }

.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px;
  padding: 8px 15px 8px 12px; border-radius: 999px;
  background: rgba(var(--accent-rgb), .08); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .25);
  color: color-mix(in srgb, var(--accent) 55%, #fff); font-size: 14px; font-weight: 500;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .6); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* store badges: Apple's and Google's official artwork, used as-is (never recolor, crop or redraw them) */
.store-badges { --badge-h: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.store-badges-lg { --badge-h: 48px; margin-top: 32px; }
.store-badge { display: block; border-radius: 9px; transition: transform .25s var(--ease); }
.store-badge:hover { transform: translateY(-2px); }
.store-badge:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.store-badge img { display: block; height: var(--badge-h); width: auto; }
/* Google's PNG has 41 px of clear space (of 250) on every side. Cancel it so both badges show at the same height. */
.store-badge-play img { height: calc(var(--badge-h) * 250 / 168); margin: calc(var(--badge-h) * -41 / 168); }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 44px;
  margin: 54px 0 0; padding-top: 30px; border-top: 1px solid var(--line);
}
.hero-stats > div { display: flex; flex-direction: column-reverse; gap: 8px; }
.hero-stats dd { margin: 0; font: 700 42px/1 var(--font-display); letter-spacing: -.045em; }
.hero-stats > div:first-child dd { color: var(--accent); }
.hero-stats dt { font-size: 13px; color: var(--muted); max-width: 13em; line-height: 1.35; }
.hero-note { font-size: 12px; color: var(--dim); margin-top: 16px; }

/* entrance */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.js .hero-copy > * { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 100ms); }

/* phone stage */
.hero-visual { display: flex; justify-content: center; }
.stage { position: relative; width: 300px; perspective: 1400px; }
.stage::before {
  content: ""; position: absolute; left: -30%; right: -30%; bottom: -50px; height: 140px; z-index: -1;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), .32), transparent);
  filter: blur(24px);
}
.orbit {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: -1;
  border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .08);
  animation: spin 60s linear infinite;
}
.orbit i {
  position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 14px var(--accent);
}
.orbit-1 { width: 520px; height: 520px; }
.orbit-2 { width: 700px; height: 700px; border-style: solid; border-color: rgba(255, 255, 255, .04); animation-duration: 90s; animation-direction: reverse; }
.orbit-2 i { background: var(--accent-alt); box-shadow: 0 0 14px var(--accent-alt); left: auto; right: -4px; }
@keyframes spin { to { transform: rotate(360deg); } }

.js .phone-wrap { animation: phoneIn 1.3s var(--ease) both .35s; }
@keyframes phoneIn { from { opacity: 0; transform: translateY(60px) scale(.96); } to { opacity: 1; transform: none; } }

.phone {
  position: relative; width: 300px; height: 620px; padding: 11px; border-radius: 48px;
  background: linear-gradient(160deg, #2A3040, #0B0D13 42%, #161B26);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .12),
    inset 0 0 0 2px rgba(0, 0, 0, .6),
    0 50px 120px -30px rgba(0, 0, 0, .9),
    0 0 120px -20px rgba(var(--accent-rgb), .22);
  transform: rotateY(-12deg) rotateX(5deg);
  transition: transform .8s var(--ease);
  will-change: transform;
}
.screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #0A0D12; }
.map { position: absolute; inset: 0; width: 100%; height: 100%; }
/* The accent-colored parts of the inline SVGs follow the color settings above. */
.brand-mark rect { fill: var(--accent); }
.brand-mark path { stroke: var(--accent-ink); }
.brand-mark circle { fill: var(--accent-ink); }
#routeGrad stop:first-child { stop-color: var(--accent); }
#routeGrad stop:last-child { stop-color: var(--accent-alt); }
.map .ping, .map .car-glow, .map .car-body { fill: var(--accent); }
.map .dest-pin { fill: var(--accent-alt); }
.map-tag rect { fill: rgba(5, 6, 10, .85); stroke: rgba(255, 255, 255, .14); }
.map-tag text { fill: #F3F5F8; font: 600 10px/1 var(--font-body); }
.r-dash { stroke-dasharray: 1 9; animation: dash 1.1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -10; } }
.ping { transform-box: fill-box; transform-origin: center; animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.8); opacity: .55; } to { transform: scale(2.6); opacity: 0; } }

.island { position: absolute; top: 10px; left: 50%; translate: -50% 0; z-index: 4; width: 92px; height: 27px; border-radius: 20px; background: #000; }
.status {
  position: absolute; top: 15px; left: 28px; right: 22px; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  font: 600 13px/1 var(--font-body);
}
.st-icons { display: flex; gap: 6px; align-items: center; }
.st-icons svg { fill: currentColor; }
.ph-top { position: absolute; top: 50px; left: 12px; right: 12px; z-index: 2; }
.ph-chip {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 9px; border-radius: 16px;
  background: rgba(10, 12, 18, .85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.ph-chip .av {
  width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt)); color: var(--ink);
  font: 700 11px/1 var(--font-display);
}
.ph-chip b { display: block; font-size: 12px; font-weight: 600; line-height: 1.3; }
.ph-chip small { display: block; font-size: 10.5px; color: var(--muted); line-height: 1.3; }
.ph-chip .eta {
  margin-left: auto; padding: 6px 8px; border-radius: 8px;
  background: rgba(var(--accent-rgb), .12); color: var(--accent); font: 700 11.5px/1 var(--font-display);
}
.sheet {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2;
  padding: 10px 16px 16px; border-radius: 30px;
  background: rgba(14, 17, 24, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 -20px 40px rgba(0, 0, 0, .4);
}
.handle { display: block; width: 36px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .18); margin: 0 auto 12px; }
.sh-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.sh-title b { display: block; font: 600 15px/1.25 var(--font-display); }
.sh-title small { font-size: 10.5px; color: var(--muted); }
.sh-title strong { font: 700 26px/1 var(--font-display); letter-spacing: -.03em; }
.sh-label { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.sh-split { display: flex; gap: 3px; height: 10px; margin-bottom: 10px; }
.sh-split i { border-radius: 6px; background: var(--accent); box-shadow: 0 0 12px rgba(var(--accent-rgb), .5); }
.sh-split i:nth-child(2) { background: #7C8499; min-width: 4px; box-shadow: none; }
.sh-split i:nth-child(3) { background: #fff; min-width: 3px; box-shadow: none; }
.sh-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 12.5px; color: var(--muted); }
.sh-row b { color: var(--text); font-weight: 600; }
.sw { display: inline-block; width: 8px; height: 8px; border-radius: 3px; margin-right: 8px; background: var(--accent); vertical-align: 0; }
.sw.fee { background: #7C8499; }
.sw.white { background: #fff; }
.sh-btn {
  display: grid; place-items: center; height: 42px; margin-top: 10px; border-radius: 16px;
  background: var(--accent); color: var(--accent-ink); font: 600 14px/1 var(--font-body);
}

.chip {
  position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 6px;
  padding: 14px 18px; border-radius: 18px; font-size: 12px; color: var(--muted); white-space: nowrap;
  background: rgba(17, 20, 28, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 50px -20px rgba(0, 0, 0, .85);
}
.js .chip { animation: rise .9s var(--ease) both 1s, bob 6s ease-in-out 1.9s infinite; }
.chip strong { font: 700 26px/1 var(--font-display); letter-spacing: -.03em; color: var(--text); }
.chip-a { top: 104px; left: -104px; }
.chip-a strong { color: var(--rose); text-decoration: line-through; text-decoration-thickness: 2px; }
.chip-b { bottom: 176px; right: -92px; }
.js .chip-b { animation-delay: 1.15s, 4.9s; }
.chip-b strong { color: var(--accent); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Marquee band ---------- */
.band {
  position: relative; overflow: hidden; padding: 22px 0; margin: 10px 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(var(--accent-rgb), .07), rgba(var(--accent-alt-rgb), .05));
  transform: rotate(-1.5deg) scale(1.03);
}
.band-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.band-group {
  display: flex; align-items: center; gap: 40px; padding-right: 40px;
  font: 600 clamp(20px, 2.4vw, 30px)/1 var(--font-display); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap;
}
.band-group i { color: var(--accent); font-style: normal; font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(96px, 12vw, 160px) 0; }
.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.card {
  position: relative; border-radius: 28px; padding: clamp(24px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  box-shadow: inset 0 0 0 1px var(--line);
}

/* cursor spotlight */
.spot { position: relative; overflow: hidden; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -30%), rgba(var(--accent-rgb), .10), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.spot:hover::before { opacity: 1; }

/* segmented toggle */
.seg-toggle {
  display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line);
}
.seg-toggle button {
  border: 0; background: transparent; padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--muted);
  transition: background .25s, color .25s;
}
.seg-toggle button:hover { color: var(--text); }
.seg-toggle button[aria-pressed="true"] { background: var(--text); color: var(--ink); }

/* ---------- The math ---------- */
.money-rows { display: grid; gap: 36px; margin: 44px 0 40px; }
.mrow { display: grid; grid-template-columns: 210px 1fr; gap: 10px 28px; align-items: center; }
.mrow-label strong { display: block; font: 600 19px/1.2 var(--font-display); letter-spacing: -.02em; }
.mrow-label span { font-size: 14px; color: var(--muted); }
.mrow-label b { color: var(--text); font-weight: 600; }
.mbar {
  height: 66px; padding: 5px; border-radius: 17px;
  background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line);
}
.mfill {
  --on: 1;
  display: flex; gap: 4px; height: 100%;
  width: calc(var(--total, 100%) * var(--on));
  transition: width 1.4s var(--ease);
}
.js .mfill { --on: 0; }
.js .in .mfill { --on: 1; }
.mseg {
  flex: 1 1 0; min-width: 0; overflow: hidden; white-space: nowrap;
  display: flex; align-items: center; padding: 0 16px; border-radius: 12px;
  font-size: 14px; font-weight: 500;
  transition: flex-grow 1s var(--ease);
}
.mseg b { font-weight: 700; font-family: var(--font-display); font-size: 16px; }
.mbar .seg-driver { background: linear-gradient(90deg, #262D3C, #323A4D); color: var(--text); }
.mbar .seg-cut { background: linear-gradient(90deg, #E8445C, #FF7A59); color: #fff; }
.mbar.riding .seg-driver { background: linear-gradient(90deg, var(--accent-deep), var(--accent)); color: var(--accent-ink); box-shadow: 0 0 30px -6px rgba(var(--accent-rgb), .6); }
.mbar.riding .seg-card { background: #7C8499; min-width: 5px; padding: 0; }
.mbar.riding .seg-cut { background: #fff; min-width: 4px; padding: 0; }
.mrow.has-note { padding-bottom: 30px; }
.mfill { position: relative; }
.mnote {
  position: absolute; right: 0; top: calc(100% + 16px);
  white-space: nowrap; font-size: 13px; color: var(--muted);
}
.mnote::before {
  content: ""; position: absolute; right: 1px; bottom: calc(100% + 2px);
  width: 1px; height: 11px; background: rgba(255, 255, 255, .5);
}
.mnote b { color: var(--text); }
.js .mnote { opacity: 0; transition: opacity .5s 1.1s; }
.js .in .mnote { opacity: 1; }
.money-result {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px;
  padding-top: 34px; border-top: 1px solid var(--line);
}
.big-result { font: 600 clamp(30px, 3.6vw, 48px)/1.08 var(--font-display); letter-spacing: -.035em; }
.money-explain { max-width: 30em; color: var(--muted); }
.money-foot {
  margin-top: 30px; padding: 18px 22px; border-radius: 16px; color: var(--muted);
  background: rgba(var(--accent-rgb), .06); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .18);
}
.money-foot strong { color: var(--text); font-weight: 600; }

/* ---------- Riders bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  padding: 30px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .042), rgba(255, 255, 255, .012));
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .3s, opacity .9s var(--ease), transform .9s var(--ease);
}
.tile:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.tile h3 { margin-bottom: 10px; }
.tile p { color: var(--muted); font-size: 15.5px; }
.ico {
  width: 46px; height: 46px; margin-bottom: 24px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(var(--accent-rgb), .1); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .22);
}
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile-xl {
  grid-column: span 2; grid-row: span 2; min-height: 440px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(var(--accent-rgb), .10), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
}
.tile-xl > div:first-child { max-width: 430px; }
.tile-xl h3 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; line-height: 1.05; margin-bottom: 14px; }
.tile-xl p { font-size: 17px; }
.tile-xl::after {
  content: "2%"; position: absolute; right: -6px; top: -36px; z-index: -1; pointer-events: none;
  font: 700 240px/1 var(--font-display); letter-spacing: -.07em;
  color: transparent; -webkit-text-stroke: 1px rgba(var(--accent-rgb), .2);
}
.cc { display: grid; gap: 16px; }
.cc-cap { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.cc-row { display: grid; grid-template-columns: 84px 1fr 72px; gap: 16px; align-items: center; font-size: 15px; color: var(--muted); }
.cc-row b { text-align: right; font: 700 22px/1 var(--font-display); letter-spacing: -.03em; color: var(--text); }
.cc-bar { height: 14px; border-radius: 99px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.cc-bar i {
  --on: 1;
  display: block; height: 100%; border-radius: inherit; min-width: 6px;
  width: calc(var(--w) * var(--on));
  background: linear-gradient(90deg, #E8445C, #FF7A59);
  transition: width 1.4s .25s var(--ease);
}
.js .cc-bar i { --on: 0; }
.js .in .cc-bar i { --on: 1; }
.cc-bar.accent i { background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.cc-foot { font-size: 13px; color: var(--dim); }

/* ---------- Drivers ---------- */
.drivers::before {
  content: ""; position: absolute; left: -10%; top: 10%; width: 60%; height: 80%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), .08), transparent);
}
.drivers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 34px 0 40px; display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 38px; color: var(--muted); }
.checks li b { color: var(--text); font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(var(--accent-rgb), .12);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .3);
}
.checks li::after {
  content: ""; position: absolute; left: 9px; top: 8px; width: 5px; height: 10px;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.calc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 30px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px;
  font-size: 12px; font-weight: 600; color: var(--accent); background: rgba(var(--accent-rgb), .08);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .22); white-space: nowrap; flex: none;
}
.badge .pulse { width: 6px; height: 6px; }
.range-field { margin-bottom: 26px; }
.range-field label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px;
  font-size: 14px; color: var(--muted);
}
.range-field output { font: 600 22px/1 var(--font-display); letter-spacing: -.02em; color: var(--text); }

input[type="range"] {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 6px; margin: 0;
  border-radius: 99px; outline-offset: 8px; cursor: pointer;
  background: linear-gradient(90deg, var(--accent) var(--p, 50%), rgba(255, 255, 255, .1) var(--p, 50%));
}
input[type="range"].range-rose { background: linear-gradient(90deg, var(--rose) var(--p, 50%), rgba(255, 255, 255, .1) var(--p, 50%)); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--text); border: 6px solid var(--accent);
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .14), 0 4px 14px rgba(0, 0, 0, .5);
  transition: transform .2s var(--ease);
}
input[type="range"]::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--text); border: 6px solid var(--accent);
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .14), 0 4px 14px rgba(0, 0, 0, .5);
}
input[type="range"].range-rose::-webkit-slider-thumb { border-color: var(--rose); box-shadow: 0 0 0 6px rgba(255, 90, 110, .14), 0 4px 14px rgba(0, 0, 0, .5); }
input[type="range"].range-rose::-moz-range-thumb { border-color: var(--rose); box-shadow: 0 0 0 6px rgba(255, 90, 110, .14), 0 4px 14px rgba(0, 0, 0, .5); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }

.calc-out { display: grid; gap: 20px; padding: 26px 0; margin-top: 6px; border-block: 1px solid var(--line); }
.co { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: baseline; }
.co span { font-size: 14px; color: var(--muted); }
.co strong { font: 600 26px/1 var(--font-display); letter-spacing: -.03em; }
.co-bar { grid-column: 1 / -1; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.co-bar i { display: block; height: 100%; width: var(--w, 50%); border-radius: inherit; background: #3A4254; transition: width .5s var(--ease); }
.co.accent strong { color: var(--accent); }
.co.accent .co-bar i { background: linear-gradient(90deg, var(--accent-deep), var(--accent)); box-shadow: 0 0 18px rgba(var(--accent-rgb), .5); }
.calc-delta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.calc-delta > div {
  padding: 18px 20px; border-radius: 18px;
  background: rgba(var(--accent-rgb), .07); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .2);
}
.calc-delta span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.calc-delta strong { font: 700 clamp(26px, 2.8vw, 36px)/1 var(--font-display); letter-spacing: -.035em; color: var(--accent); }

/* ---------- How it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  padding: 30px 28px 32px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .042), rgba(255, 255, 255, .012));
  box-shadow: inset 0 0 0 1px var(--line);
}
.step-n {
  display: inline-block; margin-bottom: 64px; padding: 7px 12px; border-radius: 99px;
  font: 600 13px/1 var(--font-display); letter-spacing: .14em; color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .3);
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; }
.manifesto-text {
  max-width: 17em; margin: 0 auto;
  font: 600 clamp(32px, 4.6vw, 66px)/1.12 var(--font-display); letter-spacing: -.04em;
}
.manifesto-text em { color: var(--accent); }
.js .manifesto-text .w { opacity: .16; transition: opacity .35s, text-shadow .35s; }
.js .manifesto-text .w.on { opacity: 1; }
.js .manifesto-text .w.hl.on { text-shadow: 0 0 40px rgba(var(--accent-rgb), .35); }

/* ---------- The app ---------- */
.join-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: 36px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(var(--accent-rgb), .14), transparent 50%),
    radial-gradient(100% 120% at 100% 100%, rgba(var(--accent-alt-rgb), .12), transparent 50%),
    var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 120px -40px rgba(var(--accent-rgb), .25);
}
.join-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; color: var(--muted); }
.join-points li { display: flex; align-items: center; gap: 12px; }
.join-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex: none; }
.app-sides { display: grid; gap: 16px; }
.app-side {
  padding: 24px 26px; border-radius: 22px;
  background: rgba(5, 6, 10, .6); box-shadow: inset 0 0 0 1px var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.app-side h3 { margin-bottom: 16px; }
.app-side .join-points { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  border-radius: 20px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line);
  transition: background .25s, box-shadow .25s;
}
.faq details[open] { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px; border-radius: 20px;
  font: 600 18px/1.3 var(--font-display); letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 30px; height: 30px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-2);
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M6 1.5v9M1.5 6h9' stroke='%23F3F5F8' stroke-width='1.6' stroke-linecap='round'/></svg>") center / 11px no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: rgba(var(--accent-rgb), .15); }
.faq .ans { padding: 0 26px 24px; color: var(--muted); max-width: 46em; }
.faq .ans a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { padding: 80px 0 0; border-top: 1px solid var(--line); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-tag { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 22em; }
.footer-grid h4 {
  margin-bottom: 18px; color: var(--dim);
  font: 600 12px/1 var(--font-display); text-transform: uppercase; letter-spacing: .16em;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-grid ul a { color: var(--muted); font-size: 15px; transition: color .2s; }
.footer-grid ul a:hover { color: var(--text); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px;
  margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--dim);
}
.footer-bottom p + p { max-width: 62em; }
.footer-trademarks { flex-basis: 100%; }
.footer-word {
  margin-top: 40px; margin-bottom: -0.2em; text-align: center; user-select: none;
  font: 700 clamp(96px, 24vw, 340px)/.8 var(--font-display); letter-spacing: -.075em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Legal pages (privacy.html) ---------- */
.legal { padding: 150px 0 100px; }
.legal-wrap { max-width: 760px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 14px; }
.legal-meta { color: var(--dim); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 24px; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 14px 0; padding-left: 22px; display: grid; gap: 8px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 13px; color: var(--dim); }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .3s;
  transition-delay: calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), 0s;
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero { min-height: 0; padding: 130px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 80px; }
  .hero-visual { padding-bottom: 20px; }
}

@media (max-width: 980px) {
  .drivers-grid, .join-card { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .step-n { margin-bottom: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-xl { grid-column: span 2; grid-row: auto; min-height: 0; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 72px; left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    border-radius: 18px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px rgba(0, 0, 0, .6);
    font-size: 16px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.btn) { padding: 13px 14px; border-radius: 10px; }
  .nav-links a:not(.btn):hover { background: rgba(255, 255, 255, .05); }
  .nav-links .btn { margin-top: 6px; padding: 15px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: min(var(--max), 100% - 36px); }
  .hero { padding-top: 116px; }
  .hero-stats { gap: 22px; grid-template-columns: repeat(3, 1fr); }
  .hero-stats dd { font-size: 32px; }
  .hero-stats dt { font-size: 12px; }
  .cta-row .btn { flex: 1 1 100%; }
  .stage { transform: scale(.86); margin: -44px 0; }
  .chip-a { left: -26px; top: 176px; }
  .chip-b { right: -26px; bottom: 262px; }
  .orbit-1 { width: 420px; height: 420px; }
  .orbit-2 { width: 560px; height: 560px; }
  .section-head { margin-bottom: 40px; }
  .sub { font-size: 17px; }
  .mrow { grid-template-columns: 1fr; }
  .mbar { height: 58px; }
  .mseg { padding: 0 12px; }
  .mseg em { display: none; }
  .seg-toggle button { padding: 10px 14px; }
  .bento { grid-template-columns: 1fr; }
  .tile-xl { grid-column: auto; }
  .tile-xl::after { font-size: 170px; top: -20px; }
  .cc-row { grid-template-columns: 70px 1fr 64px; gap: 12px; }
  .calc-delta { grid-template-columns: 1fr; }
  .join-card { padding: 26px 18px 18px; border-radius: 28px; }
  .store-badges-lg { --badge-h: 44px; }
  .app-side { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .manifesto-text .w { opacity: 1; }
}
