/* ============================================================
   Let's Just Drive — marketing one-pager
   Bold editorial road-trip system
   ============================================================ */
:root {
  --ink: #080b14;
  --ink-2: #0e1424;
  --ink-3: #161e34;
  --paper: #f5f6f8;
  --paper-2: #ffffff;
  --brand: #0d5cab;
  --accent: #f97316;            /* tweakable */
  --accent-soft: color-mix(in oklab, var(--accent) 16%, transparent);
  --on-dark: #eef2f8;
  --on-dark-mute: #93a1bd;
  --on-dark-line: rgba(255, 255, 255, 0.1);
  --on-light: #0a0e1a;
  --on-light-mute: #57617a;
  --on-light-line: #e4e7ee;
  --green: #16a34a;
  --amber: #ca8a04;
  --red: #dc2626;
  --font-display: "Archivo", system-ui, sans-serif;   /* tweakable */
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--on-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; margin: 0; line-height: 1.02; letter-spacing: -0.025em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
}
.eyebrow--center { justify-content: center; }

/* ---------------- buttons + store badges ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 13px;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s;
}
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 10px 28px -10px var(--accent); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px var(--accent); }
.btn--ghost { background: transparent; color: var(--on-dark); border: 1.5px solid var(--on-dark-line); }
.btn--ghost:hover { border-color: var(--accent); color: #fff; }
.btn--lg { font-size: 17px; padding: 16px 26px; border-radius: 14px; }
.btn--lg svg { width: 19px; height: 19px; }
.btn--accent .btn__arrow { transition: transform .2s ease; }
.btn--accent:hover .btn__arrow { transform: translateX(4px); }

/* primary web-app CTA + inline link */
.cta-lead { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cta-or { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--on-dark-mute); margin: 22px 0 14px; display: flex; align-items: center; gap: 10px; }
.cta-or::after { content: ""; flex: 1; height: 1px; background: var(--on-dark-line); }
.lnk { color: var(--accent); font-weight: 700; border-bottom: 1px solid color-mix(in oklab, var(--accent) 45%, transparent); white-space: nowrap; }
.lnk:hover { border-bottom-color: currentColor; }
body.hero-b .cta-lead, body.hero-b .cta-or { align-items: center; }
body.hero-b .cta-or { justify-content: center; }
body.hero-b .cta-or::after, body.hero-b .cta-or::before { content: ""; flex: 1; height: 1px; background: var(--on-dark-line); }
@media (max-width: 920px) { .cta-lead { align-items: center; } .cta-or { justify-content: center; } .cta-or::before { content: ""; flex: 1; height: 1px; background: var(--on-dark-line); } }

.badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px 11px 15px;
  border-radius: 14px;
  background: #fff;
  color: #0a0e1a;
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0,0,0,.5); }
.store__ic { width: 26px; height: 26px; flex-shrink: 0; }
.store__t { display: flex; flex-direction: column; line-height: 1.15; }
.store__t small { font-size: 10px; letter-spacing: .04em; color: #5a6478; font-family: var(--font-mono); }
.store__t b { font-size: 16px; font-weight: 800; font-family: var(--font-display); letter-spacing: -.02em; }
.store--soon { background: rgba(255,255,255,.06); color: var(--on-dark); border: 1px solid var(--on-dark-line); cursor: default; }
.store--soon:hover { transform: none; box-shadow: none; }
.store--soon .store__t small { color: var(--accent); }
.store--soon .store__t b { color: var(--on-dark); }
.store--soon .store__ic { opacity: .9; }
.store__tag {
  position: absolute;
  top: -9px; right: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 2px 7px;
  border-radius: 6px;
}
.badges__note { font-family: var(--font-mono); font-size: 12px; color: var(--on-dark-mute); letter-spacing: .03em; }

/* ---------------- nav ---------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck { background: color-mix(in oklab, var(--ink) 78%, transparent); backdrop-filter: blur(14px); border-bottom-color: var(--on-dark-line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark { width: 30px; height: 30px; border-radius: 8px; display: block; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.03em; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 14.5px; font-weight: 600; color: var(--on-dark-mute); transition: color .15s; }
.nav__links a:hover { color: var(--on-dark); }
.nav__cta { font-size: 14px; padding: 10px 18px; }
@media (max-width: 820px) { .nav__links a:not(.nav__cta) { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: 132px;
  padding-bottom: 90px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% -10%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 55%),
    radial-gradient(90% 70% at 0% 110%, color-mix(in oklab, var(--accent) 13%, transparent), transparent 60%),
    var(--ink);
}
.hero__lanes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero__in { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero__copy { max-width: 620px; }
.hero h1 {
  font-size: clamp(40px, 6.6vw, 82px);
  line-height: 0.96;
  margin: 22px 0 0;
  letter-spacing: -0.035em;
}
.hero h1 .em { color: var(--accent); }
.hero__sub {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--on-dark-mute);
  margin-top: 22px;
  max-width: 30em;
  text-wrap: pretty;
}
.hero__cta { margin-top: 34px; }
.hero__note { margin-top: 16px; }
.hero__phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
}
.hero__glow {
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

/* hero stat strip */
.hero__stats {
  display: flex;
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid var(--on-dark-line);
  border-bottom: 1px solid var(--on-dark-line);
}
.hero__stat { flex: 1; padding: 20px 4px; }
.hero__stat + .hero__stat { border-left: 1px solid var(--on-dark-line); padding-left: 22px; }
.hero__stat b { display: block; font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.03em; }
.hero__stat span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-mute); }
.hero__stat .em { color: var(--accent); }

/* layout B — centered poster */
body.hero-b .hero__in { grid-template-columns: 1fr; text-align: center; gap: 40px; }
body.hero-b .hero__copy { max-width: 820px; margin: 0 auto; }
body.hero-b .hero__sub { margin-left: auto; margin-right: auto; }
body.hero-b .hero .eyebrow { justify-content: center; }
body.hero-b .hero__cta .badges { justify-content: center; }
body.hero-b .hero__note { text-align: center; }
body.hero-b .hero h1 { font-size: clamp(44px, 8.5vw, 110px); }
body.hero-b .hero__stats { max-width: 720px; margin-left: auto; margin-right: auto; }

@media (max-width: 920px) {
  .hero__in { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .hero__copy { max-width: 100%; }
  .hero .eyebrow, body .hero__cta .badges { justify-content: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--light { background: var(--paper); color: var(--on-light); }
.section--light .eyebrow { color: var(--brand); }
.section--light .eyebrow::before { background: var(--brand); }
.section__head { max-width: 760px; }
.section__head h2 { font-size: clamp(32px, 4.6vw, 58px); margin-top: 18px; }
.section__head p { margin-top: 20px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--on-light-mute); text-wrap: pretty; }
.section--dark .section__head p { color: var(--on-dark-mute); }
.section--center .section__head { max-width: 820px; margin: 0 auto; text-align: center; }
.section--center .eyebrow { justify-content: center; }

/* ============================================================
   PROBLEM — route comparison
   ============================================================ */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 60px; }
.routecard {
  border-radius: 22px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
}
.routecard--bad { background: #fff; border: 1px solid var(--on-light-line); }
.routecard--good { background: var(--ink); color: var(--on-dark); }
.routecard__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}
.routecard--bad .routecard__tag { color: var(--red); }
.routecard--good .routecard__tag { color: var(--accent); }
.routecard h3 { font-size: 26px; margin-top: 12px; }
.routecard--bad h3 { color: var(--on-light); }
.routecard p { margin-top: 12px; font-size: 15px; line-height: 1.5; }
.routecard--bad p { color: var(--on-light-mute); }
.routecard--good p { color: var(--on-dark-mute); }
.routecard__viz { margin-top: auto; padding-top: 26px; }
.routecard__viz svg { width: 100%; height: auto; display: block; }
.routecard__metric { margin-top: 18px; font-family: var(--font-mono); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.routecard--bad .routecard__metric { color: var(--red); }
.routecard--good .routecard__metric { color: var(--green); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 64px; }
.step { display: flex; flex-direction: column; }
.step__phone { display: flex; justify-content: center; margin-bottom: 30px; }
.step__n {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: .1em;
}
.step h3 { font-size: 24px; margin-top: 12px; }
.step p { margin-top: 12px; font-size: 15.5px; line-height: 1.55; color: var(--on-light-mute); }
.phone--mini { --screen-w: 230px; --screen-h: 496px; border-radius: 32px; padding: 9px; }
.phone--mini .phone__notch { top: 9px; width: 82px; height: 18px; }
.phone--mini .phone__screen { border-radius: 24px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 56px; max-width: 420px; margin-inline: auto; } }

/* ============================================================
   FEATURES
   ============================================================ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 64px; background: var(--on-dark-line); border: 1px solid var(--on-dark-line); border-radius: 22px; overflow: hidden; }
.feat { background: var(--ink); padding: 34px 30px 38px; display: flex; flex-direction: column; min-height: 230px; }
.feat__ic { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 20px; }
.feat__ic svg { width: 22px; height: 22px; }
.feat h3 { font-size: 21px; letter-spacing: -.02em; }
.feat p { margin-top: 11px; font-size: 14.5px; line-height: 1.55; color: var(--on-dark-mute); }
.feat--live { position: relative; }
.feat__spark { margin-top: 16px; }
.feat__spark .ph-spark__plot { border-bottom-color: var(--on-dark-line); }
.feat__spark .ph-spark__axis { border-left-color: var(--on-dark-line); }
@media (max-width: 920px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ============================================================
   NETWORKS — marquee
   ============================================================ */
.net { overflow: hidden; }
.net__track { display: flex; gap: 18px; width: max-content; animation: marquee 32s linear infinite; }
.net:hover .net__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.net__chip {
  display: flex; align-items: center; gap: 13px;
  padding: 16px 26px 16px 16px;
  background: var(--paper-2);
  border: 1px solid var(--on-light-line);
  border-radius: 16px;
  flex-shrink: 0;
}
.net__logo { width: 40px; height: 40px; border-radius: 9px; overflow: hidden; flex-shrink: 0; line-height: 0; }
.net__logo svg { width: 40px; height: 40px; }
.net__chip b { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.02em; white-space: nowrap; }
.net__chip span { display: block; font-family: var(--font-mono); font-size: 10.5px; color: var(--on-light-mute); letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }
.net__fade { position: relative; }
.net__fade::before, .net__fade::after { content: ""; position: absolute; top: 0; bottom: 0; width: 14%; z-index: 2; pointer-events: none; }
.net__fade::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.net__fade::after { right: 0; background: linear-gradient(270deg, var(--paper), transparent); }

/* ============================================================
   COVERAGE
   ============================================================ */
.cov { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; margin-top: 24px; }
.cov__stats { display: flex; flex-direction: column; gap: 0; margin-top: 36px; }
.cov__stat { padding: 22px 0; border-top: 1px solid var(--on-dark-line); display: flex; align-items: baseline; gap: 16px; }
.cov__stat:last-child { border-bottom: 1px solid var(--on-dark-line); }
.cov__stat b { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; min-width: 2.4em; }
.cov__stat b .em { color: var(--accent); }
.cov__stat span { font-size: 15px; color: var(--on-dark-mute); line-height: 1.4; }
.cov__map {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--on-dark-line);
  background: #0b1322;
  aspect-ratio: 4 / 3.4;
}
.cov__map svg { width: 100%; height: 100%; display: block; }
.cov__route { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; }
.cov.is-in .cov__route { animation: ph-draw 3s ease forwards; }
.cov__chip {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(8,11,20,.86);
  border: 1px solid var(--on-dark-line);
  color: var(--on-dark);
  padding: 6px 10px;
  border-radius: 9px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
@media (max-width: 880px) { .cov { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final .cta-lead { align-items: center; }
.final .cta-or { justify-content: center; max-width: 460px; margin-left: auto; margin-right: auto; }
.final .cta-or::before { content: ""; flex: 1; height: 1px; background: var(--on-dark-line); }
.final { text-align: center; position: relative; overflow: hidden; background: radial-gradient(80% 120% at 50% 0%, color-mix(in oklab, var(--accent) 20%, transparent), transparent 60%), var(--ink); }
.final__in { position: relative; z-index: 2; }
.final h2 { font-size: clamp(48px, 10vw, 132px); line-height: 0.92; letter-spacing: -.04em; }
.final h2 .em { color: var(--accent); }
.final p { margin: 24px auto 0; max-width: 32em; font-size: clamp(16px,1.5vw,19px); color: var(--on-dark-mute); line-height: 1.5; }
.final .badges { justify-content: center; margin-top: 40px; }
.final__lanes { position: absolute; inset: 0; opacity: .35; pointer-events: none; }

/* ---------------- footer ---------------- */
.footer { border-top: 1px solid var(--on-dark-line); padding: 50px 0 60px; background: var(--ink); }
.footer__in { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.footer__tag { font-family: var(--font-mono); font-size: 13px; color: var(--on-dark-mute); letter-spacing: .03em; }
.footer__links { display: flex; gap: 26px; font-size: 14px; color: var(--on-dark-mute); }
.footer__links a:hover { color: var(--on-dark); }
.footer__legal { width: 100%; margin-top: 8px; font-family: var(--font-mono); font-size: 11.5px; color: #4d5872; letter-spacing: .03em; }

/* ---------------- scroll reveal ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
