/* RideGo landing page — tokens + components */

:root {
  --bg: #FBF7F4;
  --surface: #FFFFFF;
  --surface-subtle: #F8F5F2;
  --surface-sunken: #F1E5DC;
  --text: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --border-soft: #E9DDD0;
  --primary: #FF6B00;
  --primary-dark: #E05E00;
  --primary-soft: #FFF3EA;
  --on-primary: #FFFFFF;
  --success: #16A34A;
  --success-soft: #DCFCE7;
  --warning: #B45309;
  --warning-soft: #FEF3C7;
  --purple: #7C3AED;
  --purple-soft: #EDE6FB;
  --shadow-color: 21 20% 30%;
  --shadow-sm: 0 1px 2px hsl(var(--shadow-color) / 0.06), 0 1px 1px hsl(var(--shadow-color) / 0.04);
  /* Layered: a tight contact shadow plus a soft diffuse one underneath —
     reads as a physically-lifted surface rather than a flat drop-shadow. */
  --shadow-md: 0 2px 6px -2px hsl(var(--shadow-color) / 0.14), 0 16px 28px -14px hsl(var(--shadow-color) / 0.22);
  --shadow-lg: 0 4px 10px -4px hsl(var(--shadow-color) / 0.16), 0 32px 56px -20px hsl(var(--shadow-color) / 0.26);

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* "Expo out" — starts fast, settles in slowly. Reads as weightier and
     more deliberate than the browser's default eases; used for anything
     that should feel considered rather than snappy. */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fixed-dark scope for the hero band — deliberately dark regardless of
   viewer theme, reusing the same palette as the dark-mode tokens below. */
.hero-dark {
  --bg: #0B0E15;
  --surface: #131826;
  --surface-subtle: #161C2C;
  --surface-sunken: #1B2233;
  --text: #F4F1EC;
  --text-secondary: #B9C2D6;
  --text-muted: #7C87A0;
  --border: rgba(255, 255, 255, 0.10);
  --border-soft: rgba(255, 255, 255, 0.08);
  --primary: #FF7A24;
  --primary-dark: #FFA35C;
  --primary-soft: rgba(255, 107, 0, 0.16);
  --on-primary: #1A0E00;
  --shadow-color: 220 60% 3%;
  background:
    radial-gradient(900px 480px at 16% -8%, color-mix(in srgb, var(--primary) 24%, transparent), transparent 62%),
    radial-gradient(700px 420px at 96% 18%, color-mix(in srgb, #7C3AED 16%, transparent), transparent 60%),
    var(--bg);
  color: var(--text);
  position: relative;
  isolation: isolate;
}

/* Faint film-grain over the dark band — the kind of texture that only
   registers as "this doesn't feel flat" rather than as a visible pattern. */
.hero-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hero-dark > * { position: relative; z-index: 1; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0E15;
    --surface: #131826;
    --surface-subtle: #161C2C;
    --surface-sunken: #1B2233;
    --text: #F4F1EC;
    --text-secondary: #B9C2D6;
    --text-muted: #7C87A0;
    --border: rgba(255, 255, 255, 0.10);
    --border-soft: rgba(255, 255, 255, 0.08);
    --primary: #FF7A24;
    --primary-dark: #FFA35C;
    --primary-soft: rgba(255, 107, 0, 0.16);
    --on-primary: #1A0E00;
    --success: #34D399;
    --success-soft: rgba(52, 211, 153, 0.14);
    --warning: #FBBF24;
    --warning-soft: rgba(251, 191, 36, 0.14);
    --purple: #A78BFA;
    --purple-soft: rgba(124, 58, 237, 0.20);
    --shadow-color: 220 60% 3%;
  }
}

:root[data-theme="dark"] {
  --bg: #0B0E15;
  --surface: #131826;
  --surface-subtle: #161C2C;
  --surface-sunken: #1B2233;
  --text: #F4F1EC;
  --text-secondary: #B9C2D6;
  --text-muted: #7C87A0;
  --border: rgba(255, 255, 255, 0.10);
  --border-soft: rgba(255, 255, 255, 0.08);
  --primary: #FF7A24;
  --primary-dark: #FFA35C;
  --primary-soft: rgba(255, 107, 0, 0.16);
  --on-primary: #1A0E00;
  --success: #34D399;
  --success-soft: rgba(52, 211, 153, 0.14);
  --warning: #FBBF24;
  --warning-soft: rgba(251, 191, 36, 0.14);
  --purple: #A78BFA;
  --purple-soft: rgba(124, 58, 237, 0.20);
  --shadow-color: 220 60% 3%;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (max-width: 640px) {
  .container { padding-inline: 20px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex: none;
}

.section {
  padding-block: 96px;
}

@media (max-width: 780px) {
  .section { padding-block: 64px; }
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head.center { margin-inline: auto; text-align: center; align-items: center; }

.section-title { font-size: clamp(28px, 3.6vw, 40px); }

.section-lede {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 60ch;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 220ms var(--ease-premium), box-shadow 220ms var(--ease-premium), background-color 220ms var(--ease-premium), border-color 220ms var(--ease-premium);
  white-space: nowrap;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 14px 28px -10px color-mix(in srgb, var(--primary) 55%, transparent);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, color-mix(in srgb, white 35%, transparent) 45%, transparent 60%);
  transform: translateX(-120%);
  pointer-events: none;
}

.btn-primary:hover::before {
  transform: translateX(120%);
  transition: transform 700ms var(--ease-premium);
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary::before { display: none; }
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -10px color-mix(in srgb, var(--primary) 65%, transparent);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dark); transform: translateY(-2px); }

.btn-block { width: 100%; }

.btn-sm { padding: 10px 18px; font-size: 13.5px; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-premium), background-color 200ms var(--ease-premium);
}

.site-header[data-scrolled="true"] {
  border-bottom-color: var(--border-soft);
  box-shadow: var(--shadow-sm);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand img { height: 42px; width: auto; border-radius: 10px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background-color 160ms ease, color 160ms ease;
}

.main-nav a:hover { background: var(--surface-subtle); color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.header-actions .btn-ghost { display: inline-flex; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}

.nav-toggle .icon { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-actions .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0 20px;
  border-top: 1px solid var(--border-soft);
}

.mobile-nav[data-open="true"] { display: flex; }

.mobile-nav a {
  padding: 12px 6px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text);
}

.mobile-nav a:hover { background: var(--surface-subtle); }

.mobile-nav .btn { margin-top: 8px; }

/* ---------- Hero ---------- */

.hero {
  padding-block: 64px 88px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }

.hero-title {
  font-size: clamp(40px, 6.2vw, 66px);
  max-width: 13ch;
  letter-spacing: -0.03em;
}

.hero-title .hl {
  background: linear-gradient(100deg, var(--primary) 15%, #FFB347 50%, var(--primary) 85%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 18.5px;
  color: var(--text-secondary);
  max-width: 44ch;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.store-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  line-height: 1.2;
  transition: border-color 160ms ease, transform 160ms ease;
}

.store-badge:hover { border-color: var(--primary); transform: translateY(-1px); }

.store-badge .icon { width: 22px; height: 22px; color: var(--text); }

.store-badge b { display: block; font-size: 14.5px; font-weight: 700; }
.store-badge span { display: block; color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }

/* Hero phone mockup + live fare estimator */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding-block: 12px;
}

.hero-glow {
  position: absolute;
  inset: -6% -6% 0%;
  background: radial-gradient(300px 300px at 50% 30%, color-mix(in srgb, var(--primary) 22%, transparent), transparent 74%);
  z-index: 0;
  pointer-events: none;
}

.phone-mock {
  position: relative;
  z-index: 1;
  width: min(320px, 84vw);
  aspect-ratio: 320 / 652;
  border-radius: 42px;
  background: var(--text);
  padding: 12px;
  /* The lit edge on top of the normal drop shadow — a thin inset rim that
     reads as light catching a metal/glass edge, the thing that separates a
     "photo of a phone" from a flat rounded rectangle. */
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: float-phone 7s var(--ease-premium) infinite;
}

@keyframes float-phone {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(0.8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .phone-mock { animation: none; }
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: var(--surface-subtle);
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: var(--text);
  border-radius: 0 0 14px 14px;
  z-index: 5;
}

.phone-map {
  position: relative;
  flex: 1;
  min-height: 0;
  background: linear-gradient(165deg, var(--primary-soft), var(--surface-subtle) 62%);
  overflow: hidden;
}

.phone-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.phone-sheet {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  margin-top: -22px;
  padding: 16px 15px 18px;
  box-shadow: 0 -10px 24px hsl(var(--shadow-color) / 0.10);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-stops { display: flex; flex-direction: column; }

.phone-stop-row { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--text-secondary); font-weight: 600; }

.phone-stop-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex: none; }
.phone-stop-dot--end { background: var(--text); border-radius: 2px; }
.phone-stop-line { width: 1px; height: 14px; background: var(--border); margin-left: 3px; }

.ride-chip-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 1px;
  scrollbar-width: none;
}

.ride-chip-row::-webkit-scrollbar { display: none; }

.ride-chip {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 7px 11px;
  border-radius: 13px;
  border: 1.5px solid var(--border-soft);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-secondary);
}

.ride-chip .icon { width: 17px; height: 17px; }

.ride-chip:hover { transform: translateY(-1px); }

.ride-chip[data-active="true"] {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.fare-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.fare-info { display: flex; flex-direction: column; }

.fare-label { font-size: 10.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }

.fare-value {
  font-family: var(--font-display);
  font-size: 23px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  transition: opacity 160ms ease;
}

.fare-eta { font-size: 11.5px; color: var(--text-secondary); }

/* ---------- Trust strip ---------- */

.trust-strip {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface-subtle);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: 32px;
}

@media (max-width: 780px) {
  .trust-row { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}

.trust-item { display: flex; flex-direction: column; gap: 4px; }

.trust-num {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.trust-label { font-size: 13.5px; color: var(--text-muted); font-weight: 600; }

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 220ms var(--ease-premium), box-shadow 220ms var(--ease-premium), border-color 220ms var(--ease-premium);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.service-card--accent .service-icon { background: var(--purple-soft); color: var(--purple); }

.service-icon .icon { width: 24px; height: 24px; }

.service-card h3 { font-size: 18px; }

.service-card p { color: var(--text-secondary); font-size: 14.5px; }

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 18px;
  border-top: 2px solid var(--border-soft);
}

.step-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.step h3 { font-size: 17px; }

.step p { color: var(--text-secondary); font-size: 14.5px; }

/* ---------- Features ---------- */

.section-alt {
  background: var(--surface-subtle);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 220ms var(--ease-premium), box-shadow 220ms var(--ease-premium), border-color 220ms var(--ease-premium);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

@media (max-width: 900px) {
  .feature-card { grid-column: span 1; }
}

.feature-card--lg {
  grid-column: span 3;
  background: linear-gradient(135deg, var(--primary-soft), var(--surface) 68%);
}

@media (max-width: 900px) {
  .feature-card--lg { grid-column: span 2; }
}

@media (max-width: 560px) {
  .feature-card--lg { grid-column: span 1; }
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  border: 1px solid var(--border-soft);
  color: var(--primary-dark);
  flex: none;
}

.feature-card--lg .feature-icon { width: 50px; height: 50px; background: var(--surface); }

.feature-icon .icon { width: 20px; height: 20px; }

.feature-card--lg .feature-icon .icon { width: 24px; height: 24px; }

.feature-card h3 { font-size: 15.5px; }

.feature-card--lg h3 { font-size: 19px; }

.feature-card p { font-size: 13.6px; color: var(--text-secondary); }

/* ---------- Driver band ---------- */

.driver-band {
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-lg);
  margin-inline: 24px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1180px) {
  .driver-band { margin-inline: auto; max-width: var(--container); }
}

@media (max-width: 780px) {
  .driver-band { grid-template-columns: 1fr; padding: 36px 24px; margin-inline: 20px; }
}

.driver-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 260px at 82% 20%, color-mix(in srgb, var(--primary) 30%, transparent), transparent 70%);
  pointer-events: none;
}

.driver-copy { position: relative; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

.driver-band h2 { color: var(--bg); font-size: clamp(26px, 3.2vw, 34px); max-width: 16ch; }

.driver-band p { color: color-mix(in srgb, var(--bg) 72%, transparent); font-size: 16px; max-width: 46ch; }

.driver-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.driver-band .btn-ghost {
  border-color: color-mix(in srgb, var(--bg) 30%, transparent);
  color: var(--bg);
}

.driver-band .btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.driver-stats {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--bg) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--bg) 16%, transparent);
}

.driver-stat { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }

.driver-stat b {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.driver-stat span { font-size: 13.5px; color: color-mix(in srgb, var(--bg) 65%, transparent); }

.earnings-calc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid color-mix(in srgb, var(--bg) 16%, transparent);
}

.earnings-calc-label { font-size: 12.5px; color: color-mix(in srgb, var(--bg) 70%, transparent); font-weight: 600; }

.earnings-figure {
  font-family: var(--font-display);
  font-size: 27px;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.earnings-slider {
  width: 100%;
  height: 5px;
  accent-color: var(--primary);
  cursor: pointer;
}

.earnings-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: color-mix(in srgb, var(--bg) 55%, transparent);
}

.earnings-sub { font-size: 12px; color: color-mix(in srgb, var(--bg) 65%, transparent); }

/* ---------- Cities ---------- */

.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

.city-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  flex: none;
}

.city-chip .icon { width: 15px; height: 15px; color: var(--primary); }

.city-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ---------- App download ---------- */

.download-panel {
  background: linear-gradient(135deg, var(--primary-soft), var(--surface) 60%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 52px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 780px) {
  .download-panel { grid-template-columns: 1fr; padding: 32px 24px; }
}

.download-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

.download-copy h2 { font-size: clamp(24px, 3vw, 32px); max-width: 16ch; }

.download-copy p { color: var(--text-secondary); font-size: 15.5px; max-width: 44ch; }

.qr-block {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
}

@media (max-width: 780px) {
  .qr-block { justify-self: start; }
}

.qr-box {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  display: grid;
  place-items: center;
  flex: none;
}

.qr-box svg { width: 76px; height: 76px; }

.qr-text { font-size: 13px; color: var(--text-secondary); max-width: 20ch; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding-block: 64px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer-brand img { height: 40px; width: auto; border-radius: 9px; margin-bottom: 14px; }

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 30ch;
  margin-bottom: 18px;
}

.social-row { display: flex; gap: 10px; }

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  transition: border-color 160ms ease, color 160ms ease;
}

.social-link:hover { border-color: var(--primary); color: var(--primary-dark); }

.social-link .icon { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col ul { display: flex; flex-direction: column; gap: 11px; }

.footer-col a { font-size: 14.5px; color: var(--text-secondary); transition: color 160ms ease; }

.footer-col a:hover { color: var(--primary-dark); }

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 620ms var(--ease-premium), transform 620ms var(--ease-premium);
  }
  .reveal.is-visible { opacity: 1; transform: none; }

  .stagger > *:nth-child(1) { transition-delay: 0ms; }
  .stagger > *:nth-child(2) { transition-delay: 70ms; }
  .stagger > *:nth-child(3) { transition-delay: 140ms; }
  .stagger > *:nth-child(4) { transition-delay: 210ms; }
  .stagger > *:nth-child(5) { transition-delay: 280ms; }
  .stagger > *:nth-child(6) { transition-delay: 350ms; }
  .stagger > *:nth-child(7) { transition-delay: 420ms; }
  .stagger > *:nth-child(8) { transition-delay: 490ms; }
}

/* ---------- Count-up numbers ---------- */

.count-target { font-variant-numeric: tabular-nums; }
