/* FuelMap marketing site
   Direction: "night drive". The site wears the app's own dark theme:
   charcoal ground, mint-green accent, amber price pills, real app screens.
   Motion: calm entrances, one scroll-synced phone, a live route that draws itself. */

:root {
  --bg: #0b0c0e;
  --bg-2: #101114;
  --card: #16171b;
  --card-2: #1f1f23;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f9f5f8;
  --muted: #b3afb7;
  --dim: #7d7881;
  --mint: #9cff93;
  --mint-soft: rgba(156, 255, 147, 0.14);
  --mint-ink: #15180f;
  --amber: #fe9400;
  --amber-soft: rgba(254, 148, 0, 0.16);
  --blue: #679cff;
  --font-display: "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius-card: 28px;
  --shell: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 17px/1.6 var(--font-body);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 em,
h2 em {
  font-style: normal;
  color: var(--mint);
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 8px;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.shell {
  width: min(100% - var(--gutter) * 2, var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--mint-ink);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--mint);
  font: 600 0.78rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-lede {
  margin-top: 20px;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem);
}

.fine {
  margin-top: 16px;
  color: var(--dim);
  font-size: 0.82rem;
  line-height: 1.55;
}

.text-link {
  color: var(--mint);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* ---------- Buttons ---------- */

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--mint-ink);
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out),
    background-color 200ms;
}

.pill-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -12px rgba(156, 255, 147, 0.6);
}

.pill-button--small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.pill-button--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
}

.pill-button--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-row--center {
  justify-content: center;
}

.store-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 22px 0 18px;
  border-radius: 18px;
  background: var(--text);
  color: #0b0c0e;
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 250ms var(--ease-out),
    box-shadow 250ms var(--ease-out);
}

.store-button:nth-child(2) {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.store-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 700ms var(--ease-soft);
  pointer-events: none;
}

.store-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(156, 255, 147, 0.55);
}

.store-button:hover::after {
  transform: translateX(120%);
}

.store-button .icon {
  width: 26px;
  height: 26px;
  stroke: none;
}

.store-button span {
  display: flex;
  flex-direction: column;
  font: 800 1.12rem/1.1 var(--font-display);
  letter-spacing: -0.02em;
}

.store-button small {
  font: 600 0.7rem/1.2 var(--font-body);
  letter-spacing: 0;
  opacity: 0.75;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition:
    background-color 300ms,
    backdrop-filter 300ms,
    box-shadow 300ms;
}

.site-header.is-scrolled {
  background: rgba(11, 12, 14, 0.72);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 1.2rem/1 var(--font-display);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    color 200ms,
    background-color 200ms;
}

.nav-links a:hover,
.nav-links a.is-current {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  place-items: center;
  align-content: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 300ms var(--ease-out);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

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

.hero {
  position: relative;
  min-height: min(100svh, 980px);
  padding: 120px 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-streets {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 60% 45%, #000 35%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 75% at 60% 45%, #000 35%, transparent 85%);
}

.streets-minor path,
.streets-major path {
  fill: none;
  stroke-linecap: round;
}

.streets-minor path {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 10;
}

.streets-major path {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 22;
}

.hero-route {
  fill: none;
  stroke: var(--mint);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 10px rgba(156, 255, 147, 0.55));
  opacity: 0.85;
}

.hero-route-dot {
  fill: #fff;
  stroke: var(--mint);
  stroke-width: 4;
  filter: drop-shadow(0 0 12px rgba(156, 255, 147, 0.9));
}

.hero-glow {
  position: absolute;
  inset: -10% -10% auto auto;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(156, 255, 147, 0.16), transparent 62%);
  filter: blur(10px);
  animation: glow-drift 14s ease-in-out infinite alternate;
}

@keyframes glow-drift {
  to {
    transform: translate(-8%, 10%) scale(1.08);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--mint);
  animation: ping 2s var(--ease-out) infinite;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}

.hero-title {
  font-size: clamp(3rem, 1.2rem + 5.6vw, 6.2rem);
  line-height: 0.95;
  white-space: nowrap;
  letter-spacing: -0.05em;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.hero-title [data-word] {
  display: inline-block;
}

.hero-title em {
  font-style: italic;
  background: linear-gradient(100deg, var(--mint) 0%, #d8ffd3 45%, var(--mint) 70%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 100% 0;
  }
  50% {
    background-position: 0 0;
  }
}

.hero-lede {
  margin-top: 26px;
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
}

.hero .store-row {
  margin-top: 34px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  color: var(--dim);
  font: 500 0.8rem/1.4 var(--font-mono);
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.8;
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 600px;
  --px: 0;
  --py: 0;
}

.stage-orbit {
  position: absolute;
  width: 115%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(156, 255, 147, 0.16);
  animation: spin 80s linear infinite;
}

.stage-orbit::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

[data-depth] {
  transform: translate3d(
    calc(var(--px) * var(--depth, 1) * 10px),
    calc(var(--py) * var(--depth, 1) * 10px),
    0
  );
  transition: transform 600ms var(--ease-soft);
}

.phone {
  position: relative;
  border-radius: 54px;
  padding: 10px;
  background: linear-gradient(145deg, #3a3b40, #141518 40%, #2a2b30);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 60px 120px -40px rgba(0, 0, 0, 0.9),
    0 30px 80px -40px rgba(156, 255, 147, 0.25);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 44px;
  aspect-ratio: 603 / 1311;
  background: #111;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone--hero {
  width: min(330px, 74vw);
  --depth: 0.6;
}

.phone--hero .phone-screen img {
  animation: map-breathe 18s ease-in-out infinite alternate;
  transform-origin: 45% 40%;
}

@keyframes map-breathe {
  to {
    transform: scale(1.06);
  }
}

.float-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: rgba(22, 23, 27, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font: 700 1rem/1 var(--font-mono);
  white-space: nowrap;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.9);
}

.float-pill > * {
  animation: none;
}

.float-pill--best {
  --depth: 1.6;
  top: 16%;
  left: -4%;
  border: 2px solid var(--mint);
  color: var(--text);
}

.float-pill--amber {
  --depth: 1.2;
  top: 6%;
  right: 0;
  border: 2px solid var(--amber);
  color: var(--text);
  opacity: 0.92;
}

.fp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(156, 255, 147, 0.22), 0 0 12px var(--mint);
}

.float-pill--amber .fp-dot {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(254, 148, 0, 0.22), 0 0 12px var(--amber);
}

.fp-tag {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--mint-ink);
  font: 800 0.68rem/1 var(--font-body);
  letter-spacing: 0;
}

.float-card {
  --depth: 2;
  position: absolute;
  right: -6%;
  bottom: 12%;
  display: grid;
  gap: 4px;
  width: 230px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(22, 23, 27, 0.9);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.95);
}

.fc-label {
  color: var(--muted);
  font: 600 0.72rem/1.2 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fc-value {
  color: var(--mint);
  font: 800 2.4rem/1 var(--font-display);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.fc-note {
  color: var(--dim);
  font-size: 0.78rem;
}

.fc-bar {
  display: block;
  height: 6px;
  margin-top: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.fc-bar span {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4fd84a, var(--mint));
  transform-origin: left;
}

.stage-caption {
  margin-top: 28px;
  color: var(--dim);
  font: 500 0.74rem/1.4 var(--font-mono);
  text-align: right;
}

/* Floating bob: applied to an inner wrapper via animation on pseudo-free elements */
.js .float-pill,
.js .float-card {
  animation: bob 6s ease-in-out infinite;
}

.js .float-pill--amber {
  animation-duration: 7.5s;
  animation-delay: -2s;
}

.js .float-card {
  animation-duration: 8s;
  animation-delay: -4s;
}

@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

/* ---------- Load choreography ---------- */

.js [data-word] {
  transform: translateY(105%);
}

.js [data-rise] {
  opacity: 0;
  transform: translateY(18px);
}

.js .phone--hero {
  opacity: 0;
  scale: 0.94;
}

.js .float-pill,
.js .float-card {
  opacity: 0;
  scale: 0.8;
}

.js .hero-route {
  stroke-dashoffset: 1;
}

.js.is-ready [data-word] {
  transform: none;
  transition: transform 1100ms var(--ease-out);
}

.js.is-ready .hero-title .line:nth-child(1) [data-word]:nth-child(2) {
  transition-delay: 80ms;
}
.js.is-ready .hero-title .line:nth-child(2) [data-word]:nth-child(1) {
  transition-delay: 160ms;
}
.js.is-ready .hero-title .line:nth-child(2) [data-word]:nth-child(2) {
  transition-delay: 240ms;
}

.js.is-ready [data-rise] {
  opacity: 1;
  transform: none;
  transition:
    opacity 800ms var(--ease-out),
    transform 800ms var(--ease-out);
}

.js.is-ready .hero-copy > [data-rise]:nth-child(1) {
  transition-delay: 0ms;
}
.js.is-ready .hero-lede {
  transition-delay: 380ms;
}
.js.is-ready .hero .store-row {
  transition-delay: 480ms;
}
.js.is-ready .hero-proof {
  transition-delay: 580ms;
}

.js.is-ready .phone--hero {
  opacity: 1;
  scale: 1;
  transition:
    opacity 1000ms var(--ease-out) 200ms,
    scale 1200ms var(--ease-out) 200ms,
    transform 600ms var(--ease-soft);
}

.js.is-ready .float-pill,
.js.is-ready .float-card {
  opacity: 1;
  scale: 1;
  transition:
    opacity 500ms var(--ease-out),
    scale 700ms var(--ease-pop),
    transform 600ms var(--ease-soft);
}

.js.is-ready .float-pill--amber {
  transition-delay: 800ms, 800ms, 0ms;
}
.js.is-ready .float-pill--best {
  transition-delay: 1000ms, 1000ms, 0ms;
}
.js.is-ready .float-card {
  transition-delay: 1250ms, 1250ms, 0ms;
}

.js.is-ready .float-pill--amber {
  opacity: 0.92;
}

.js.is-ready .hero-route {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2400ms var(--ease-soft) 400ms;
}

.js .fc-bar span {
  scale: 0 1;
}

.js.is-ready .fc-bar span {
  scale: 1 1;
  transition: scale 1200ms var(--ease-out) 1500ms;
}

/* ---------- Scroll reveals ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 800ms var(--ease-out),
    transform 800ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

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

.marquee ul {
  display: flex;
  flex: none;
}

.marquee li {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  color: var(--muted);
  font: 700 clamp(1.1rem, 0.9rem + 0.8vw, 1.6rem) / 1 var(--font-display);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.marquee li::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.7;
}

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

/* ---------- Story (sticky phone) ---------- */

.story {
  padding: clamp(96px, 12vw, 160px) 0 clamp(64px, 8vw, 120px);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
}

.story-step {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  opacity: 0.28;
  transition: opacity 600ms var(--ease-out);
}

.story-step:first-child {
  min-height: 60vh;
  justify-content: flex-start;
  padding-top: 8vh;
}

.story-step.is-active {
  opacity: 1;
}

.no-js .story-step,
html:not(.js) .story-step {
  opacity: 1;
}

.step-index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--mint);
  font: 700 0.85rem/1 var(--font-mono);
}

.step-index::after {
  content: "";
  width: 48px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  transform-origin: left;
  transition: width 600ms var(--ease-out);
}

.story-step.is-active .step-index::after {
  width: 96px;
}

.story-step h3 {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.story-step p {
  margin-top: 18px;
  max-width: 460px;
  color: var(--muted);
  font-size: 1.06rem;
}

.ticks {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.ticks li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315180f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E")
      center / 13px no-repeat,
    var(--mint);
}

.step-shot {
  display: none;
  margin: 32px 0 0;
}

.story-stage {
  position: relative;
}

.story-sticky {
  position: sticky;
  top: max(96px, calc(50vh - 340px));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.phone--story {
  width: min(320px, 100%);
}

.phone--story .phone-screen img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04) translateY(12px);
  transition:
    opacity 700ms var(--ease-out),
    transform 900ms var(--ease-out);
}

.phone--story .phone-screen img.is-active {
  opacity: 1;
  transform: none;
}

.phone--story::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background: radial-gradient(circle, rgba(156, 255, 147, 0.14), transparent 60%);
}

.story-dots {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.story-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition:
    height 400ms var(--ease-out),
    background-color 300ms;
}

.story-dots button.is-active {
  height: 36px;
  background: var(--mint);
}

.story-dots button::before {
  content: "";
  display: block;
  margin: -17px;
  width: 44px;
  height: 44px;
}

/* ---------- Savings ---------- */

.savings {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 50%, rgba(156, 255, 147, 0.07), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}

.savings-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font: 600 0.82rem/1 var(--font-mono);
}

.equation span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
}

.equation b {
  color: var(--dim);
}

.equation .eq-result {
  background: var(--mint-soft);
  border-color: rgba(156, 255, 147, 0.3);
  color: var(--mint);
}

.calc {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-card);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 50px 100px -60px rgba(0, 0, 0, 0.9);
}

.calc-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.calc-tag {
  color: var(--dim);
  font: 600 0.72rem/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.segmented {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.segmented button {
  position: relative;
  z-index: 1;
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 300ms;
}

.segmented button[aria-pressed="true"] {
  color: var(--mint-ink);
}

.segmented-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--mint);
  transition: transform 400ms var(--ease-out);
}

.segmented[data-active="diesel"] .segmented-thumb {
  transform: translateX(100%);
}

html:not(.js) .segmented-thumb {
  display: none;
}

html:not(.js) .segmented button[aria-pressed="true"] {
  background: var(--mint);
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-weight: 700;
}

.calc-label output {
  color: var(--text);
  font: 800 2rem/1 var(--font-display);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.calc-label output span {
  color: var(--dim);
  font: 600 0.9rem var(--font-body);
  letter-spacing: 0;
}

input[type="range"] {
  --p: 38.46%;
  width: 100%;
  height: 32px;
  margin: 18px 0 6px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--mint) var(--p), rgba(255, 255, 255, 0.1) 0);
}

input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--mint) var(--p), rgba(255, 255, 255, 0.1) 0);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -10px;
  border-radius: 50%;
  background: #fff;
  border: 6px solid var(--mint);
  box-shadow: 0 0 0 6px rgba(156, 255, 147, 0.18);
  transition: box-shadow 200ms;
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 6px solid var(--mint);
  box-shadow: 0 0 0 6px rgba(156, 255, 147, 0.18);
}

input[type="range"]:active::-webkit-slider-thumb {
  box-shadow: 0 0 0 12px rgba(156, 255, 147, 0.2);
}

.range-scale {
  display: flex;
  justify-content: space-between;
  color: var(--dim);
  font: 500 0.75rem/1 var(--font-mono);
}

.calc-rows {
  display: grid;
  gap: 4px;
  margin-top: 26px;
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.calc-row-label {
  display: grid;
  gap: 2px;
  font-weight: 700;
}

.calc-row-label small {
  color: var(--dim);
  font: 500 0.78rem/1.3 var(--font-mono);
}

.calc-row-value {
  font: 700 1.15rem/1 var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.calc-row--best .calc-row-value {
  color: var(--mint);
}

.calc-row--drive .calc-row-value {
  color: var(--amber);
}

.calc-bar {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.calc-bar span {
  display: block;
  height: 100%;
  width: var(--w, 100%);
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.35);
  transition: width 600ms var(--ease-out);
}

.calc-row--best .calc-bar span {
  background: var(--mint);
}

.calc-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: 22px;
  background: var(--mint);
  color: var(--mint-ink);
  transition: background-color 400ms;
}

.calc-result.is-negative {
  background: var(--amber);
}

.calc-result.is-bump {
  animation: bump 500ms var(--ease-pop);
}

@keyframes bump {
  40% {
    transform: scale(1.025);
  }
}

.calc-result-label {
  display: block;
  font-weight: 800;
}

.calc-result-msg {
  display: block;
  font-size: 0.85rem;
  opacity: 0.75;
}

.calc-result-value {
  font: 800 clamp(2rem, 1.5rem + 2vw, 2.8rem) / 1 var(--font-display);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Navigation ---------- */

.navsec {
  padding: clamp(96px, 12vw, 160px) 0;
}

.navsec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hud {
  position: relative;
  margin: 0;
  aspect-ratio: 520 / 620;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow:
    0 60px 120px -60px rgba(0, 0, 0, 0.95),
    0 0 80px -30px rgba(156, 255, 147, 0.18);
}

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

.hud-water {
  fill: #1a2330;
}

.hud-blocks path {
  fill: none;
  stroke: #26272c;
  stroke-width: 12;
  stroke-linecap: round;
}

.hud-route-base {
  fill: none;
  stroke: rgba(156, 255, 147, 0.18);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hud-route {
  fill: none;
  stroke: var(--mint);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 8px rgba(156, 255, 147, 0.6));
}

.hud-stop-ring {
  fill: rgba(156, 255, 147, 0.18);
  stroke: var(--mint);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: stop-pulse 2.4s var(--ease-out) infinite;
}

@keyframes stop-pulse {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.hud-stop-core {
  fill: var(--mint);
}

.hud-stop-pill {
  fill: #16171b;
  stroke: var(--mint);
  stroke-width: 2;
}

.hud-stop text {
  fill: #fff;
  font: 700 15px var(--font-mono);
}

.hud-car path {
  fill: #fff;
}

.hud-car-halo {
  fill: var(--blue);
  stroke: #fff;
  stroke-width: 3;
  filter: drop-shadow(0 0 10px rgba(103, 156, 255, 0.8));
}

.hud-banner {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 22px;
  background: rgba(22, 23, 27, 0.92);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hud-turn {
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: 14px;
  background: var(--mint);
  fill: none;
  stroke: var(--mint-ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 500ms var(--ease-out);
}

.hud-turn.is-left {
  transform: scaleX(-1);
}

.hud-banner strong {
  display: block;
  font: 800 1.6rem/1 var(--font-display);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.hud-banner span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.hud-banner [data-hud-street].is-swap {
  animation: swap 500ms var(--ease-out);
}

@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.hud-chip {
  position: absolute;
  right: 18px;
  top: 118px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(22, 23, 27, 0.92);
  border: 1px solid var(--line-2);
  color: var(--mint);
  font: 700 0.8rem/1 var(--font-body);
}

.hud-chip .icon {
  width: 18px;
  height: 18px;
}

.hud-bottom {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 22px;
  background: rgba(22, 23, 27, 0.92);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hud-bottom strong {
  display: block;
  font: 800 1.5rem/1 var(--font-display);
  letter-spacing: -0.03em;
}

.hud-bottom span {
  display: block;
  margin-top: 4px;
  color: var(--dim);
  font: 500 0.78rem/1.3 var(--font-mono);
}

.hud-next {
  text-align: right;
}

.hud-next strong {
  color: var(--mint);
  font: 700 0.92rem/1.2 var(--font-body);
}

.hud-next span {
  margin: 0 0 4px;
}

.hud-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  color: var(--dim);
  font: 500 0.7rem/1.3 var(--font-mono);
  text-align: center;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 40px;
}

.feature-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  transition:
    border-color 300ms,
    transform 300ms var(--ease-out);
}

.feature-list li:hover {
  border-color: rgba(156, 255, 147, 0.3);
  transform: translateX(6px);
}

.feature-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--mint-soft);
  color: var(--mint);
}

.feature-list h3 {
  font-size: 1.08rem;
}

.feature-list p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.95rem;
}

.note-card {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px dashed var(--line-2);
  color: var(--dim);
  font-size: 0.88rem;
}

/* ---------- Bento ---------- */

.bento-sec {
  padding: clamp(64px, 8vw, 120px) 0 clamp(96px, 12vw, 160px);
}

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

.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--card);
  border: 1px solid var(--line);
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 50%;
  transition:
    border-color 300ms,
    opacity 800ms var(--ease-out),
    transform 800ms var(--ease-out);
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(156, 255, 147, 0.1), transparent 45%);
  opacity: 0;
  transition: opacity 300ms;
  pointer-events: none;
}

.tile:hover {
  border-color: rgba(156, 255, 147, 0.25);
}

.tile:hover::before {
  opacity: 1;
}

.tile--insights {
  grid-column: span 3;
  grid-row: span 2;
}

.tile--stations,
.tile--choice {
  grid-column: span 3;
}

.tile--mini {
  grid-column: span 2;
  padding: 26px;
}

.tile--insights,
.tile--stations,
.tile--choice {
  display: grid;
}

.tile--insights {
  grid-template-rows: auto 1fr;
}

.tile--stations,
.tile--choice {
  grid-template-columns: 1fr 1fr;
  min-height: 300px;
}

.tile-copy {
  position: relative;
  z-index: 1;
  padding: 28px;
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--mint-soft);
  color: var(--mint);
}

.tile h3 {
  font-size: 1.4rem;
}

.tile p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.96rem;
}

.tile-shot {
  position: relative;
  overflow: hidden;
}

.tile-shot img {
  width: 78%;
  margin: 0 auto;
  border-radius: 32px 32px 0 0;
  border: 6px solid #2a2b30;
  border-bottom: 0;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
  transform: translateY(var(--lift, 30px));
  transition: transform 800ms var(--ease-out);
}

.tile--insights .tile-shot {
  display: flex;
  align-items: flex-start;
  max-height: 520px;
}

.tile--insights .tile-shot img {
  width: 64%;
}

.tile--stations .tile-shot,
.tile--choice .tile-shot {
  align-self: end;
  height: 280px;
  padding-top: 24px;
}

.tile--stations .tile-shot img,
.tile--choice .tile-shot img {
  width: 86%;
}

.tile-shot--bottom img {
  object-fit: cover;
  object-position: bottom;
  aspect-ratio: 603 / 760;
  transform: translateY(var(--lift, 30px));
}

.tile:hover .tile-shot img {
  --lift: 6px;
}

.tile--mini h3 {
  font-size: 1.12rem;
}

/* ---------- Coverage ---------- */

.coverage {
  position: relative;
  padding: clamp(96px, 12vw, 160px) 0 clamp(64px, 8vw, 100px);
  background:
    radial-gradient(ellipse 50% 60% at 75% 40%, rgba(156, 255, 147, 0.08), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.country-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.country-chips li {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    background-color 300ms,
    border-color 300ms,
    color 300ms,
    opacity 600ms var(--ease-out),
    transform 600ms var(--ease-pop);
  transition-delay: 0ms, 0ms, 0ms, calc(var(--i, 0) * 45ms), calc(var(--i, 0) * 45ms);
}

.country-chips li:hover {
  background: var(--mint-soft);
  border-color: rgba(156, 255, 147, 0.35);
  color: var(--mint);
}

.js .country-chips:not(.is-in) li {
  opacity: 0;
  transform: translateY(10px) scale(0.9);
}

.disclosure {
  margin-top: 28px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}

.disclosure summary,
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}

.disclosure summary::-webkit-details-marker,
.faq-list summary::-webkit-details-marker {
  display: none;
}

.disclosure summary {
  padding: 20px 22px;
  font-weight: 800;
}

.disclosure summary small {
  display: block;
  color: var(--dim);
  font: 500 0.78rem/1.3 var(--font-mono);
}

details i {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  transition:
    transform 400ms var(--ease-out),
    background-color 300ms;
}

details i::before,
details i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--text);
}

details i::after {
  transform: rotate(90deg);
  transition: transform 400ms var(--ease-out);
}

details[open] i {
  transform: rotate(180deg);
  background: var(--mint);
}

details[open] i::before,
details[open] i::after {
  background: var(--mint-ink);
}

details[open] i::after {
  transform: rotate(0deg);
}

.disclosure-body,
.faq-body {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

details[open] > .disclosure-body,
details[open] > .faq-body {
  animation: open-body 500ms var(--ease-out);
}

@keyframes open-body {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.disclosure-body {
  padding: 0 22px 22px;
}

.disclosure-body a,
.faq-body a {
  color: var(--mint);
}

.atlas {
  margin: 0;
}

.atlas-frame {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, 0.95);
}

.atlas-frame img {
  width: 100%;
}

.atlas-pings span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
}

.atlas-pings span::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--mint);
  opacity: 0;
  animation: atlas-ping 4.2s var(--ease-out) infinite;
  animation-delay: calc(var(--d) * 300ms);
}

@keyframes atlas-ping {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  45%,
  100% {
    transform: scale(3.4);
    opacity: 0;
  }
}

.atlas figcaption {
  margin-top: 10px;
  color: var(--dim);
  font: 500 0.7rem/1 var(--font-mono);
  text-align: right;
}

.price-notice {
  display: flex;
  gap: 18px;
  margin-top: clamp(56px, 7vw, 96px);
  padding: 26px 28px;
  border-radius: 24px;
  background: var(--amber-soft);
  border: 1px solid rgba(254, 148, 0, 0.35);
}

.notice-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--amber);
  color: #1b1206;
  font: 800 1rem/1 var(--font-display);
}

.price-notice h2 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.price-notice p {
  margin-top: 6px;
  color: #f3dcc0;
}

.price-notice strong {
  color: var(--text);
}

/* ---------- FAQ ---------- */

.faq {
  padding: clamp(96px, 12vw, 160px) 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.faq-head {
  position: sticky;
  top: 120px;
}

.faq-head .pill-button {
  margin-top: 32px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  transition:
    border-color 300ms,
    background-color 300ms,
    opacity 800ms var(--ease-out),
    transform 800ms var(--ease-out);
}

.faq-list details:hover {
  border-color: var(--line-2);
}

.faq-list details[open] {
  border-color: rgba(156, 255, 147, 0.28);
  background: #18191d;
}

.faq-list summary {
  padding: 22px 24px;
  font: 700 1.06rem/1.35 var(--font-display);
  letter-spacing: -0.015em;
}

.faq-body {
  padding: 0 24px 24px;
}

/* ---------- Download ---------- */

.download {
  padding: 0 0 clamp(96px, 12vw, 160px);
}

.download-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 8vw, 110px) 24px;
  border-radius: 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(156, 255, 147, 0.22), transparent 65%),
    var(--card);
  border: 1px solid rgba(156, 255, 147, 0.2);
}

.download-card .section-lede {
  margin-inline: auto;
}

.download-card .store-row {
  margin-top: 36px;
}

.download-icon {
  margin: 0 auto 28px;
  border-radius: 28px;
  box-shadow: 0 24px 60px -20px rgba(156, 255, 147, 0.5);
  animation: bob 6s ease-in-out infinite;
}

.download-rings {
  position: absolute;
  left: 50%;
  top: clamp(112px, calc(8vw + 56px), 166px);
  z-index: -1;
}

.download-rings span {
  position: absolute;
  left: -60px;
  top: -60px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(156, 255, 147, 0.4);
  animation: ring 6s var(--ease-out) infinite;
}

.download-rings span:nth-child(2) {
  animation-delay: 2s;
}

.download-rings span:nth-child(3) {
  animation-delay: 4s;
}

@keyframes ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(8);
    opacity: 0;
  }
}

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

.site-footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

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

.footer-brand p {
  margin-top: 14px;
  max-width: 300px;
  color: var(--dim);
  font-size: 0.92rem;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--dim);
  font: 600 0.74rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer nav a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 200ms;
}

.site-footer nav a:hover {
  color: var(--mint);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font: 500 0.76rem/1.5 var(--font-mono);
}

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    border-radius: 24px;
    background: rgba(22, 23, 27, 0.97);
    border: 1px solid var(--line-2);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 300ms var(--ease-out),
      transform 300ms var(--ease-out),
      visibility 0s 300ms;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      opacity 300ms var(--ease-out),
      transform 300ms var(--ease-out);
  }

  .nav-links a {
    padding: 14px 16px;
    font-size: 1.02rem;
  }

  .nav-cta {
    margin-left: auto;
  }

  .menu-toggle {
    display: grid;
  }

  html:not(.js) .nav-links {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    background: none;
    border: 0;
    box-shadow: none;
  }

  html:not(.js) .menu-toggle {
    display: none;
  }

  html:not(.js) .nav {
    height: auto;
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .hero-grid,
  .savings-grid,
  .navsec-grid,
  .coverage-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 112px;
  }

  .hero-stage {
    min-height: 0;
    padding: 40px 0 10px;
  }

  .stage-caption {
    text-align: center;
  }

  .faq-head {
    position: static;
  }

  .hud {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
    order: 2;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .tile--insights,
  .tile--stations,
  .tile--choice {
    grid-column: span 2;
    grid-row: auto;
  }

  .tile--mini {
    grid-column: span 1;
  }

  .tile--mini:last-child {
    grid-column: span 2;
  }

  .tile--insights .tile-shot {
    max-height: 420px;
  }

  .tile--insights .tile-shot img {
    width: min(64%, 300px);
  }
}

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

  /* Phones: the phone stays pinned under the header while the steps scroll
     up beneath it, and its screen follows the active step. */
  .story-stage {
    order: -1;
    align-self: start;
    position: sticky;
    top: 64px;
    z-index: 2;
    margin-inline: calc(var(--gutter) * -1);
    padding: 10px var(--gutter) 34px;
    background: linear-gradient(var(--bg) 78%, rgba(11, 12, 14, 0));
  }

  .story-sticky {
    position: static;
    gap: 16px;
  }

  .phone--story {
    width: min(44vw, 21svh, 210px);
    border-radius: 34px;
    padding: 6px;
  }

  .phone--story .phone-screen {
    border-radius: 28px;
  }

  .story-dots button.is-active {
    height: 28px;
  }

  .story-step,
  .story-step:first-child {
    min-height: 62svh;
    justify-content: flex-start;
    padding: 12px 0 40px;
  }

  .story-step:last-child {
    min-height: 48svh;
  }

  .story-step h3 {
    font-size: clamp(1.5rem, 1.1rem + 2vw, 2rem);
  }

  .ticks {
    margin-top: 18px;
  }

  html:not(.js) .story-stage {
    display: none;
  }

  html:not(.js) .step-shot {
    display: block;
  }

  html:not(.js) .step-shot img {
    width: min(300px, 78%);
    margin: 0 auto;
    border-radius: 40px;
    border: 8px solid #2a2b30;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .nav {
    height: 64px;
    gap: 12px;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .store-button {
    flex: 1 1 200px;
    justify-content: center;
  }

  .float-pill {
    font-size: 0.86rem;
    padding: 8px 12px 8px 10px;
  }

  .float-pill--best {
    left: 0;
    top: 22%;
  }

  .float-pill--amber {
    right: 0;
    top: 6%;
  }

  .fp-tag {
    display: none;
  }

  .float-card {
    right: 0;
    bottom: 8%;
    width: 190px;
    padding: 14px 16px;
  }

  .fc-value {
    font-size: 1.9rem;
  }

  .phone {
    border-radius: 44px;
    padding: 8px;
  }

  .phone-screen {
    border-radius: 36px;
  }

  .calc-label {
    flex-direction: column;
    align-items: flex-start;
  }

  .calc-result {
    flex-direction: column;
    align-items: flex-start;
  }

  .tile--stations,
  .tile--choice {
    grid-template-columns: 1fr;
  }

  .tile--stations .tile-shot,
  .tile--choice .tile-shot {
    height: 260px;
  }

  .tile--stations .tile-shot img,
  .tile--choice .tile-shot img {
    width: min(70%, 260px);
  }

  .tile--mini,
  .tile--mini:last-child {
    grid-column: span 2;
  }

  .hud-banner {
    top: 12px;
    left: 12px;
    right: 12px;
    padding: 12px 14px;
  }

  .hud-banner strong {
    font-size: 1.3rem;
  }

  .hud-turn {
    width: 38px;
    height: 38px;
  }

  .hud-chip {
    top: 96px;
    right: 12px;
  }

  .hud-bottom {
    left: 12px;
    right: 12px;
    bottom: 46px;
    padding: 12px 14px;
  }

  .hud-bottom strong {
    font-size: 1.2rem;
  }

  .price-notice {
    flex-direction: column;
    padding: 22px;
  }

  .download-card {
    border-radius: 30px;
  }

  .footer-base {
    flex-direction: column;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .live-dot::after,
  .atlas-pings span::after,
  .download-rings span,
  .hud-stop-ring {
    display: none;
  }

  .js [data-word],
  .js [data-rise],
  .js [data-reveal],
  .js .phone--hero,
  .js .float-pill,
  .js .float-card,
  .js .country-chips:not(.is-in) li {
    opacity: 1;
    transform: none;
    scale: 1;
  }

  .js .hero-route {
    stroke-dashoffset: 0;
  }

  .js .fc-bar span {
    scale: 1 1;
  }

  [data-depth] {
    transform: none !important;
  }
}
