/* Hitchr marketing site. Tokens from the Hitchr design system (21 October 2026). */
:root {
  --brand: #110b2e;
  --brand-dark: #2a2160;
  --brand-wipe: #4a3fa0;
  --brand-tint: #ebe9f5;
  --navy: #0f172a;
  --amber: #f59e0b;
  --amber-tint: #fef3c7;
  --attention-ink: #8a5300;
  --ink: #1f2937;
  --ink-muted: #5b6474;
  --paper: #f9fafb;
  --surface: #ffffff;
  --line: #e2e6eb;
  --control-border: #c7cdd4;
  --neutral-tint: #eceff3;
  --logo-gold: #e3b700;
  --on-dark-muted: #c9c6dc;
  --font-heading: "Lexend", system-ui, sans-serif;
  --font-body: "Raleway", system-ui, sans-serif;
  --space-8: 8px;
  --space-12: 12px;
  --space-14: 14px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-48: 48px;
  --radius-small: 8px;
  --radius: 12px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lift: 0 2px 4px rgba(15, 23, 42, 0.06), 0 16px 40px rgba(17, 11, 46, 0.12);
  --tap-target: 48px;
  --tap-target-small: 36px;
  --logo-height: 40px;
  --page-width: 1120px;
  color-scheme: light;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 860px) { body { font-size: 1.0625rem; } }
h1, h2, h3 { margin: 0; font-family: var(--font-heading); font-weight: 600; color: var(--navy); line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--brand); color: var(--paper); padding: 12px 16px; border-radius: var(--radius-small); font-family: var(--font-heading); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--page-width); margin: 0 auto; padding: 0 var(--space-16); }
@media (min-width: 600px) { .wrap { padding: 0 var(--space-24); } }

/* Mascot art sits on white; multiply blends it into tinted backgrounds. */
.art { mix-blend-mode: multiply; user-select: none; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { position: relative; display: flex; align-items: center; gap: var(--space-24); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand img { width: var(--logo-height); height: var(--logo-height); border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.button) { font-family: var(--font-heading); font-weight: 500; font-size: 0.95rem; color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: var(--radius-small); }
.nav a:not(.button):hover, .nav a[aria-current="page"] { background: var(--brand-tint); color: var(--brand-dark); }
.nav .button { margin-left: var(--space-12); }
.menu-button { display: none; margin-left: auto; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); color: var(--navy); font: 600 0.95rem var(--font-heading); cursor: pointer; }
.menu-button svg { width: 20px; height: 20px; }
@media (max-width: 859px) {
  .menu-button { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: var(--space-8) var(--space-16) var(--space-16); background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .topbar.is-open .nav { display: flex; animation: fade-in 0.3s ease; }
  .nav a:not(.button) { min-height: var(--tap-target); display: flex; align-items: center; font-size: 1rem; }
  .nav .button { margin: var(--space-8) 0 0; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap-target); padding: 12px var(--space-20); border: 0; border-radius: var(--radius-small); background: var(--brand); color: var(--paper); font: 600 1rem/1.2 var(--font-heading); text-decoration: none; cursor: pointer; transition: background 0.15s ease, transform 0.15s ease; }
.button:hover { background: var(--brand-dark); color: var(--paper); }
.button:active { transform: translateY(1px); }
.button svg { width: 20px; height: 20px; flex: none; }
.button-quiet { background: transparent; color: var(--brand-dark); }
.button-quiet:hover { background: var(--brand-tint); color: var(--brand-dark); }
.button-light { background: var(--paper); color: var(--brand); }
.button-light:hover { background: var(--brand-tint); color: var(--brand); }
.button-small { min-height: var(--tap-target-small); padding: 8px 14px; font-size: 0.9rem; }
.button-large { min-height: 56px; padding: 16px 28px; font-size: 1.05rem; }
.button-row { display: flex; flex-wrap: wrap; gap: var(--space-12); align-items: center; }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 860px) { .section { padding: 104px 0; } }
.section-surface { background: var(--surface); border-block: 1px solid var(--line); }
.section-tint { background: var(--brand-tint); }
.section-head { max-width: 680px; margin-bottom: var(--space-48); }
.overline { margin-bottom: var(--space-12); font-size: 0.8rem; font-weight: 600; line-height: 1.4; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted); }
.section-title { font-size: clamp(1.75rem, 3.6vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; }
.lede { margin-top: var(--space-16); font-size: 1.15rem; color: var(--ink-muted); }
.prose p + p { margin-top: var(--space-16); }

/* Dark bands */
.dark { position: relative; overflow: hidden; background: var(--brand); color: var(--on-dark-muted); }
.dark h2, .dark h3 { color: var(--paper); }
.dark .overline { color: var(--on-dark-muted); }
.dark .button-quiet { color: var(--paper); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.dark .button-quiet:hover { background: rgba(255, 255, 255, 0.1); color: var(--paper); }
.route-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.route-art .glow { stroke: var(--brand-wipe); stroke-width: 14; opacity: 0.25; fill: none; }
.route-art .line { stroke: #6c62c4; stroke-width: 2.5; fill: none; stroke-dasharray: 2 10; stroke-linecap: round; }
.route-art .stop { fill: var(--logo-gold); }
.route-art .stop-ring { fill: none; stroke: var(--logo-gold); stroke-width: 2; opacity: 0.5; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--surface) 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; gap: var(--space-48); align-items: center; padding-block: 56px 72px; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1fr 1fr; padding-block: 88px 104px; } }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.035em; }
.hero h1 .accent { color: var(--brand-wipe); }
.hero .lede { max-width: 34em; font-size: 1.2rem; margin: var(--space-20) 0 32px; }
.hero-note { margin-top: var(--space-16); font-size: 0.9rem; color: var(--ink-muted); }
.chip { display: inline-flex; align-items: center; gap: 8px; margin-bottom: var(--space-20); padding: 4px 12px 4px 8px; border-radius: var(--radius-pill); background: var(--amber-tint); color: var(--attention-ink); font-size: 0.85rem; font-weight: 600; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25); }

.hero-visual { position: relative; min-height: 470px; }
.hero-visual .mascot { position: relative; z-index: 1; width: min(80%, 400px); margin-top: -24px; }
.hero-visual .card { position: absolute; z-index: 2; right: 0; bottom: 0; width: min(68%, 340px); }
@media (max-width: 959px) {
  .hero-visual { min-height: 0; display: flex; flex-direction: column; align-items: center; }
  .hero-visual .mascot { width: 200px; margin: 0 0 -28px; }
  .hero-visual .card { position: relative; width: min(100%, 380px); }
}

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-16); }
.card-lg { padding: var(--space-24); }
.card-lift { box-shadow: var(--shadow-lift); }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-12); margin-bottom: var(--space-16); }
.badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: var(--radius-pill); font-size: 0.8rem; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.badge-progress { background: var(--brand-tint); color: var(--brand-dark); }
.badge-attention { background: var(--amber-tint); color: var(--attention-ink); }
.badge-done { background: var(--navy); color: var(--paper); }

/* Example job (JobRoute) */
.job-goods { display: flex; align-items: center; gap: var(--space-14); margin-bottom: var(--space-20); }
.job-photo { flex: none; width: 64px; height: 64px; border-radius: var(--radius-small); border: 1px dashed var(--control-border); background: var(--paper); display: grid; place-items: center; color: var(--ink-muted); }
.job-photo svg { width: 26px; height: 26px; }
.job-title { font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; color: var(--navy); line-height: 1.3; }
.job-meta { font-size: 0.9rem; color: var(--ink-muted); }
.stops { list-style: none; margin: 0 0 var(--space-20); padding: 0; display: grid; gap: var(--space-14); }
.stop { position: relative; padding-left: 28px; }
.stop::before { content: ""; position: absolute; left: 3px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.stop:first-child::after { content: ""; position: absolute; left: 8px; top: 24px; height: calc(100% - 6px); border-left: 2px dashed var(--brand); opacity: 0.5; }
.stop .overline { margin: 0; }
.stop-place { font-family: var(--font-heading); font-weight: 500; font-size: 1.25rem; line-height: 1.3; color: var(--navy); }
.stop-time { font-size: 0.9rem; color: var(--ink-muted); }
.price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-12); padding-top: var(--space-16); border-top: 1px solid var(--line); }
.price-row small { display: block; font-size: 0.875rem; color: var(--ink-muted); }
.price { font-family: var(--font-heading); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--navy); overflow-wrap: anywhere; text-align: right; }
.offer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); margin-top: var(--space-16); }
.offer-actions span { pointer-events: none; }

/* Benefit strip */
.benefits { display: grid; gap: var(--space-24); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.benefit { display: flex; gap: var(--space-14); align-items: flex-start; }
.icon-tile { flex: none; width: 44px; height: 44px; border-radius: var(--radius-small); background: var(--brand-tint); color: var(--brand-dark); display: grid; place-items: center; }
.icon-tile svg { width: 22px; height: 22px; }
.benefit h3 { font-size: 1.1rem; margin-bottom: 4px; }
.benefit p { color: var(--ink-muted); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-20); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.step-art { position: relative; background: var(--surface); border-bottom: 1px solid var(--line); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.step-art img { width: 78%; margin-top: 8%; transition: transform 0.4s ease; }
.step:hover .step-art img { transform: translateY(-4px) rotate(-1.5deg); }
.step-body { padding: var(--space-20); }
.step-num { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: var(--space-12); border-radius: var(--radius-pill); background: var(--brand); color: var(--paper); font: 600 0.95rem var(--font-heading); }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--ink-muted); }
.steps-plain .step { padding: var(--space-20); }
.footnote { margin-top: 32px; color: var(--ink-muted); }

/* What we move */
.goods { display: grid; gap: var(--space-16); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.goods .card { padding: var(--space-20); transition: border-color 0.15s ease, transform 0.15s ease; }
.goods .card:hover { border-color: var(--brand); transform: translateY(-2px); }
.goods .icon-tile { margin-bottom: var(--space-14); }
.goods h3 { font-size: 1.15rem; margin-bottom: 6px; }
.goods p { color: var(--ink-muted); }
.misfit { display: grid; gap: var(--space-20); align-items: center; margin-top: var(--space-48); grid-template-columns: 1fr; }
@media (min-width: 700px) { .misfit { grid-template-columns: 160px 1fr; } }
.misfit img { width: 160px; margin: 0 auto; }
.notice { padding: var(--space-16) var(--space-20); border-radius: var(--radius-small); border-left: 4px solid var(--brand); background: var(--brand-tint); color: var(--ink); }
.notice-attention { border-left-color: var(--amber); background: var(--amber-tint); color: var(--attention-ink); font-weight: 600; }
.notice strong { color: var(--navy); }

/* Comparison */
.compare { overflow-x: auto; padding: 0; }
.compare table { width: 100%; min-width: 600px; border-collapse: collapse; }
.compare th, .compare td { padding: 18px var(--space-24); text-align: left; vertical-align: top; }
.compare thead th { font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; color: var(--ink-muted); }
.compare thead th.us { background: var(--brand); color: var(--paper); }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare tbody th { font-family: var(--font-heading); font-weight: 600; color: var(--navy); width: 18%; }
.compare td { color: var(--ink-muted); }
.compare td.us { background: var(--brand-tint); color: var(--brand-dark); font-weight: 600; }

/* Pricing */
.split { display: grid; gap: var(--space-48); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }
.factors { list-style: none; margin: 0 0 var(--space-24); padding: 0; }
.factors li { display: flex; justify-content: space-between; gap: var(--space-16); padding: 14px 0; border-bottom: 1px solid var(--line); }
.factors strong { font-family: var(--font-heading); font-weight: 600; color: var(--navy); }
.factors span { color: var(--ink-muted); text-align: right; }
.ruler-aside { display: flex; gap: var(--space-16); align-items: center; margin-top: 32px; }
.ruler-aside img { width: 120px; flex: none; }

/* Feature band (drivers on home, CTA bands) */
.band { display: grid; gap: 40px; align-items: center; padding-block: 80px; position: relative; }
@media (min-width: 860px) { .band { grid-template-columns: 1fr auto; padding-block: 96px; } }
.band .lede { color: var(--on-dark-muted); max-width: 36em; }
.band-art { width: 240px; justify-self: center; border-radius: 50%; background: var(--surface); padding: 16px; box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.06), 0 0 0 22px rgba(255, 255, 255, 0.03); }
.band-art img { border-radius: 50%; }
.band .button-row { margin-top: 32px; }

/* Story */
.story { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .story { grid-template-columns: 280px 1fr; gap: 64px; } }
.story img { width: 260px; margin: 0 auto; }
.story .prose { font-size: 1.15rem; color: var(--ink); }
.story-sign { margin-top: var(--space-24); font-family: var(--font-heading); font-weight: 600; font-size: 1.3rem; color: var(--navy); }

/* FAQ */
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: 280px 1fr; gap: 64px; } }
.faq-side img { width: 220px; margin-top: var(--space-24); }
@media (max-width: 899px) { .faq-side img { display: none; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-16); min-height: var(--tap-target); padding: var(--space-20) 0; cursor: pointer; list-style: none; font: 600 1.1rem/1.35 var(--font-heading); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: var(--radius-pill); background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a2160' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 var(--space-20); color: var(--ink-muted); max-width: 60ch; }

/* Final CTA */
.cta { text-align: center; padding-block: 88px 0; }
.cta h2 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.03em; }
.cta .lede { margin: var(--space-16) auto 32px; max-width: 32em; }
.cta .button-row { justify-content: center; }
.cta-art { width: 220px; margin: 40px auto 0; position: relative; z-index: 1; }

/* Driver page */
.driver-hero .band { padding-block: 72px 80px; }
@media (min-width: 960px) { .driver-hero .band { grid-template-columns: 1.1fr 0.9fr; padding-block: 96px 104px; } }
.driver-hero h1 { color: var(--paper); font-size: clamp(2.3rem, 5.6vw, 3.9rem); line-height: 1.04; letter-spacing: -0.035em; }
.driver-hero .chip { background: rgba(255, 255, 255, 0.1); color: var(--paper); }
.driver-hero .hero-note { color: var(--on-dark-muted); }
.offer-stack { position: relative; display: grid; justify-items: center; }
.offer-stack .card { width: min(100%, 360px); }
.offer-stack .sign { width: 130px; position: absolute; right: -24px; top: -56px; z-index: 3; border-radius: 50%; background: var(--surface); padding: 6px; box-shadow: var(--shadow-lift); }
@media (max-width: 599px) { .offer-stack .sign { display: none; } }
.offer-earn { text-align: right; }
.offer-earn small { display: block; font-size: 0.8rem; color: var(--ink-muted); }
.needs { list-style: none; margin: var(--space-24) 0 0; padding: 0; display: grid; gap: var(--space-12); }
.needs li { display: flex; gap: var(--space-12); align-items: flex-start; }
.needs li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: var(--radius-pill); background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a2160' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.signup-card { display: grid; gap: var(--space-16); text-align: center; justify-items: center; padding: 32px var(--space-24); }
.signup-card img { width: 180px; margin: -8px 0 -4px; }
.signup-card p { color: var(--ink-muted); max-width: 30em; }
.signup-card .small { font-size: 0.875rem; }

/* Footer */
.footer { background: var(--navy); color: var(--on-dark-muted); font-size: 0.95rem; }
.footer-inner { display: grid; gap: 40px; padding: 56px 0; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer .brand { color: var(--paper); margin-bottom: var(--space-12); }
.footer nav, .footer .footer-col { display: flex; flex-direction: column; gap: var(--space-8); }
.footer a { color: #e2e8f0; text-decoration: none; }
.footer a:hover { color: var(--paper); text-decoration: underline; }
.footer-base { border-top: 1px solid #1f2937; padding: var(--space-20) 0; text-align: center; font-size: 0.875rem; }

/* Motion: sections fade up 8px as they appear */
.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .route-art .line { stroke-dashoffset: 0; animation: route-march 1.6s linear infinite; }
@keyframes route-march { to { stroke-dashoffset: -24; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .route-art .line { animation: none; }
  .step-art img, .goods .card, .button { transition: none; }
}

/* Cards inside dark bands keep their light-surface colours */
.dark .card .button-quiet { color: var(--brand-dark); }
.offer-stack { padding-top: 40px; }
@media (max-width: 599px) { .offer-stack { padding-top: 0; } }
