/* =========================================================
   DriveSmooth — static landing page
   Hand-written CSS. No frameworks.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --accent: #c9ff3d;
  --accent-strong: #d9ff6a;
  --accent-graphic: #b9f52c;
  --accent-contrast: #090b05;
  --orange: #ff8a1f;

  --radius-xl: 32px;
  --radius-lg: 22px;

  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

:root[data-theme="dark"] {
  --bg: #07080b;
  --bg-elevated: #0a0c10;
  --surface: #10131a;
  --surface-2: #151a22;
  --surface-3: #1e242f;
  --text: #f2f4f7;
  --text-2: #b7bfc9;
  --muted: #8a94a1;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.17);
  --chip-bg: rgba(255, 255, 255, 0.045);
  --glass: rgba(13, 16, 22, 0.74);
  --nav-bg: rgba(7, 8, 11, 0.78);
  --grid-line: rgba(255, 255, 255, 0.05);
  --glow: rgba(201, 255, 61, 0.16);
  --accent-ink: #c9ff3d;
  --shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.9);
  --danger: #ff6a5e;
  --points: #ffa04a;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f4f5ed;
  --bg-elevated: #eceee4;
  --surface: #ffffff;
  --surface-2: #f5f6ee;
  --surface-3: #e6e8dd;
  --text: #0c0e12;
  --text-2: #3d444d;
  --muted: #626a75;
  --border: rgba(12, 14, 18, 0.1);
  --border-strong: rgba(12, 14, 18, 0.2);
  --chip-bg: rgba(12, 14, 18, 0.045);
  --glass: rgba(255, 255, 255, 0.82);
  --nav-bg: rgba(244, 245, 237, 0.82);
  --grid-line: rgba(12, 14, 18, 0.07);
  --glow: rgba(132, 185, 0, 0.2);
  --accent-ink: #4a7400;
  --accent-graphic: #5d8f00;
  --shadow: 0 26px 50px -30px rgba(25, 35, 8, 0.3);
  --danger: #b92c20;
  --points: #b45309;
  color-scheme: light;
}

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 22px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--accent);
  color: var(--accent-contrast);
}

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border-radius: 99px;
  border: 3px solid var(--bg);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -70px;
  left: 16px;
  z-index: 200;
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.25s var(--ease);
}
.skip-link:focus {
  top: 14px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Utilities ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--glow);
  animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 255, 61, 0.45);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(201, 255, 61, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(201, 255, 61, 0);
  }
}

.section {
  position: relative;
  padding: clamp(74px, 8.5vw, 124px) 0;
}

.section-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2.8rem, 5.2vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}

.accent-text {
  color: var(--accent-ink);
}

.lede {
  color: var(--text-2);
  font-size: clamp(1rem, 1.15vw, 1.06rem);
  line-height: 1.72;
  max-width: 48ch;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(36px, 5vw, 62px);
}

.section-head__lede {
  justify-self: end;
  max-width: 40ch;
  padding-bottom: 6px;
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 1.7;
}

.section-head--row {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.section-head__actions {
  display: flex;
  align-items: flex-end;
  gap: 30px;
}

.section-head__note {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: right;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.25s,
    border-color 0.25s, color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 10px 30px -14px rgba(201, 255, 61, 0.55);
}
.btn--primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 16px 38px -14px rgba(201, 255, 61, 0.7);
}

.btn--sm {
  padding: 11px 17px;
  font-size: 0.83rem;
}
.btn--sm .icon {
  width: 14px;
  height: 14px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-2);
  background: transparent;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s,
    transform 0.25s var(--ease);
}
.icon-btn:hover {
  background: var(--chip-bg);
  border-color: var(--border-strong);
  color: var(--text);
}
.icon-btn .icon {
  width: 18px;
  height: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.25s, gap 0.25s var(--ease);
}
.text-link:hover {
  color: var(--accent-ink);
  gap: 10px;
}
.text-link .icon {
  width: 15px;
  height: 15px;
}

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

.store {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 174px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: #0b0c0f;
  color: #ffffff;
  box-shadow: 0 14px 30px -20px rgba(0, 0, 0, 0.85);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.store:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 255, 61, 0.55);
  box-shadow: 0 18px 38px -18px rgba(0, 0, 0, 0.9), 0 0 34px -16px rgba(201, 255, 61, 0.5);
}
.store__icon {
  width: 25px;
  height: 25px;
}
.store__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.store__text small {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #b7bdc6;
}
.store__text strong {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

body.menu-open {
  overflow: hidden;
}

/* ---------- Progress ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: 2px;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--accent-ink);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.site-header.is-scrolled {
  background: var(--nav-bg);
  border-bottom-color: var(--border);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

body.menu-open .site-header {
  background: var(--bg);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
}

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

.logo img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.logo__word {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  line-height: 1;
}
.logo__word span {
  color: var(--accent-ink);
}

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

.nav a {
  position: relative;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.25s;
}
.nav a:hover {
  color: var(--text);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: var(--accent-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover::after {
  transform: scaleX(1);
}

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

.theme-toggle .icon--moon {
  display: none;
}
:root[data-theme="light"] .theme-toggle .icon--sun {
  display: none;
}
:root[data-theme="light"] .theme-toggle .icon--moon {
  display: block;
}

.menu-btn {
  display: none;
}
.menu-btn .icon--close {
  display: none;
}
.menu-btn[aria-expanded="true"] .icon--menu {
  display: none;
}
.menu-btn[aria-expanded="true"] .icon--close {
  display: block;
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 22px) 24px 32px;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s;
  overflow-y: auto;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
}
.mobile-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
}
.mobile-link span:last-child {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.mobile-menu__foot {
  margin-top: 36px;
}
.mobile-menu__foot .store-row {
  flex-direction: column;
}
.mobile-menu__foot .store {
  width: 100%;
}
.micro {
  margin-top: 16px;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  padding: clamp(44px, 6vh, 78px) 0 clamp(66px, 8vw, 108px);
  background: radial-gradient(900px 620px at 84% 4%, var(--glow), transparent 62%),
    radial-gradient(680px 480px at 2% 96%, rgba(255, 138, 31, 0.055), transparent 66%),
    var(--bg);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(ellipse 85% 72% at 52% 28%, #000 20%, transparent 76%);
  mask-image: radial-gradient(ellipse 85% 72% at 52% 28%, #000 20%, transparent 76%);
  pointer-events: none;
}

.hero__streaks {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: repeating-linear-gradient(
    113deg,
    transparent 0 54px,
    var(--grid-line) 54px 55px
  );
  -webkit-mask-image: linear-gradient(118deg, transparent 42%, #000 78%, transparent 100%);
  mask-image: linear-gradient(118deg, transparent 42%, #000 78%, transparent 100%);
  opacity: 0.55;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}

.hero .eyebrow {
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--text-2);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  gap: 10px;
}
.hero .eyebrow__dot {
  width: 5px;
  height: 5px;
}

.hero__title {
  margin-top: 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(3.4rem, 7.4vw, 7rem);
  line-height: 0.85;
  letter-spacing: 0.002em;
  text-transform: uppercase;
}

.hero__line {
  display: block;
}

.hero__line--accent {
  color: var(--accent-ink);
  text-shadow: 0 0 42px var(--glow);
}

.hero__lede {
  margin-top: 26px;
  max-width: 33rem;
  color: var(--text-2);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.68;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 32px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  max-width: 34rem;
  font-size: 0.76rem;
  color: var(--text-2);
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero__trust .icon {
  width: 13px;
  height: 13px;
  color: var(--accent-ink);
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: end;
  width: 100%;
  max-width: 560px;
  perspective: 1200px;
}

.hero__orbit,
.hero__arc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 104%;
  aspect-ratio: 1;
  border-radius: 50%;
  translate: -50% -50%;
  pointer-events: none;
}

.hero__orbit {
  border: 1px dashed var(--border-strong);
  opacity: 0.7;
}

.hero__arc {
  background: conic-gradient(
    from 0deg,
    transparent 0deg 205deg,
    var(--accent-graphic) 252deg,
    transparent 296deg 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  opacity: 0.5;
  animation: spin 26s linear infinite;
  z-index: 0;
}

@keyframes spin {
  to {
    rotate: 360deg;
  }
}

.phone {
  position: relative;
  z-index: 2;
  width: clamp(250px, 25vw, 334px);
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(155deg, #3a404b, #0a0c10 26%, #1b202a 68%, #404752);
  box-shadow: 0 56px 100px -46px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.07), 0 0 100px -34px var(--glow);
  transform: rotate(2.2deg) rotateX(calc(var(--my, 0) * -4deg))
    rotateY(calc(var(--mx, 0) * 6deg));
  transform-style: preserve-3d;
  transition: transform 0.3s ease-out;
  will-change: transform;
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 35px;
}

.phone::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 3;
  border-radius: 35px;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.12), transparent 30%);
  pointer-events: none;
}

.phone::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 3;
  border-radius: 35px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 13px 15px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.85);
  animation: bob 7s ease-in-out infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

.float-card__label {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.float-card strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.25;
}

.float-card small {
  display: block;
  margin-top: 2px;
  font-size: 0.62rem;
  color: var(--muted);
  line-height: 1.3;
}

.float-card--score {
  left: -2%;
  top: 12%;
}
.float-card--score .float-card__score {
  display: flex;
  align-items: center;
  gap: 11px;
}
.float-card--score strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 0.9;
}

.mini-ring {
  width: 46px;
  height: 46px;
  flex: none;
  transform: rotate(-90deg);
}
.mini-ring__bg {
  fill: none;
  stroke: var(--surface-3);
  stroke-width: 4.5;
}
.mini-ring__fg {
  fill: none;
  stroke: var(--accent-graphic);
  stroke-width: 4.5;
  stroke-linecap: round;
}

.float-card--trip {
  left: 0;
  bottom: 8%;
  animation-delay: -2.4s;
}
.float-card__trip {
  display: flex;
  align-items: center;
  gap: 10px;
}
.float-card__trip > .icon {
  width: 21px;
  height: 21px;
  color: var(--accent-ink);
}

.float-card--streak {
  right: -1%;
  top: 53%;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  animation-delay: -4.1s;
}
.float-card--streak > .icon {
  width: 20px;
  height: 20px;
  color: var(--orange);
}

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 15px 0;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 38s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
}

.ticker__item {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.3vw, 1.95rem);
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__item--outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--muted);
}

.ticker__star {
  font-size: 0.7rem;
  color: var(--accent-ink);
  line-height: 1;
}

@keyframes ticker {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ---------- Feature bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color 0.3s, transform 0.35s var(--ease), box-shadow 0.35s;
}

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

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    var(--glow),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.card:hover::before {
  opacity: 0.75;
}

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

.card--score {
  grid-column: span 7;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 26px;
}
.card--auto {
  grid-column: span 5;
}
.card--map,
.card--mileage,
.card--rewards {
  grid-column: span 4;
}
.card--leaderboard {
  grid-column: span 7;
}
.card--offline {
  grid-column: span 5;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--chip-bg);
  color: var(--accent-ink);
}
.card__icon .icon {
  width: 21px;
  height: 21px;
}

.card__kicker {
  display: block;
  margin-bottom: 9px;
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.card h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.4rem, 1.8vw, 1.62rem);
  line-height: 1;
  letter-spacing: 0.008em;
  text-transform: uppercase;
}

.card p {
  color: var(--text-2);
  font-size: 0.85rem;
  line-height: 1.62;
}

/* Score ring */
.score-ring {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1;
}
.score-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.score-ring__bg {
  fill: none;
  stroke: var(--surface-3);
  stroke-width: 8;
}
.score-ring__fg {
  fill: none;
  stroke: var(--accent-graphic);
  stroke-width: 8;
  stroke-linecap: round;
}
.js .score-ring__fg {
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.4s var(--ease) 0.15s;
}
.js .card.is-visible .score-ring__fg {
  stroke-dashoffset: calc(100 - var(--score));
}
.score-ring__value {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 0.9;
  text-align: center;
}
.score-ring__value small {
  display: block;
  margin-top: 7px;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: 0.54rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Meters */
.meter-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.meter {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 10px;
  font-size: 0.67rem;
  color: var(--text-2);
}
.meter b {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.86rem;
  text-align: right;
  color: var(--text);
}
.meter__track {
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--surface-3);
}
.meter__track i {
  display: block;
  height: 100%;
  width: calc(var(--v) * 1%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-graphic), var(--accent-ink));
  transition: width 1.05s var(--ease) 0.2s;
}
.js .meter__track i {
  width: 0;
}
.js .card.is-visible .meter__track i {
  width: calc(var(--v) * 1%);
}

/* Auto-detect visuals */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-2);
}
.toggle-row__text strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
}
.toggle-row__text small {
  font-size: 0.66rem;
  color: var(--muted);
}
.toggle-pill {
  position: relative;
  flex: none;
  width: 44px;
  height: 24px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.toggle-pill::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-contrast);
}
.detect-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 7px 12px;
  border: 1px dashed var(--border-strong);
  border-radius: 99px;
  font-size: 0.66rem;
  color: var(--text-2);
}
.detect-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(201, 255, 61, 0.5);
  animation: pulse 2.2s ease-out infinite;
}

/* Mini map */
.mini-map {
  position: relative;
  height: 132px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
}
.mini-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 26px 26px;
}
.mini-map svg {
  position: relative;
  width: 100%;
  height: 100%;
}
.mini-map__route {
  fill: none;
  stroke: var(--accent-graphic);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 5 4;
  animation: routeDash 14s linear infinite;
}
@keyframes routeDash {
  to {
    stroke-dashoffset: -180;
  }
}
.mini-map__start {
  fill: var(--text-2);
}
.mini-map__pin {
  fill: var(--accent-graphic);
  stroke: var(--surface);
  stroke-width: 2;
}
.mini-map__pin--warn {
  fill: var(--orange);
}
.mini-map__label {
  position: absolute;
  top: 9px;
  left: 10px;
  padding: 3px 7px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Mileage */
.file-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.file-chip {
  padding: 7px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text);
}
.file-chip--muted {
  border-style: dashed;
  border-color: var(--border);
  color: var(--muted);
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 0.63rem;
  letter-spacing: 0.02em;
}
.log-list {
  margin-top: 12px;
}
.log-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.7rem;
  color: var(--text-2);
}
.log-row:last-child {
  border-bottom: 0;
}
.tag {
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: var(--chip-bg);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-2);
}
.tag--soft {
  color: var(--muted);
}

/* Rewards */
.badge-row {
  display: flex;
  gap: 9px;
  margin-top: 22px;
}
.badge {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--muted);
}
.badge .icon {
  width: 20px;
  height: 20px;
}
.badge--earned {
  border-color: transparent;
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 10px 24px -12px var(--glow);
}

/* Community */
.compare {
  display: grid;
  gap: 11px;
  margin-top: 22px;
}
.compare__row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  color: var(--text-2);
}
.compare__row b {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  text-align: right;
  color: var(--text);
}
.compare__track {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--surface-3);
}
.compare__fill {
  display: block;
  width: var(--v);
  height: 100%;
  border-radius: inherit;
  background: var(--muted);
  transition: width 1.15s var(--ease) 0.25s;
}
.compare__fill--you {
  background: var(--accent);
}
.js .compare__fill {
  width: 0;
}
.js .card.is-visible .compare__fill {
  width: var(--v);
}
.compare__note {
  margin-top: 2px;
  font-size: 0.64rem;
  font-weight: 500;
  color: var(--accent-ink);
}

/* Offline */
.sync-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.67rem;
  color: var(--muted);
}
.sync-row > .icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.sync-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--text-2);
}
.sync-chip--done {
  border-color: var(--accent);
  color: var(--accent-ink);
  background: transparent;
}
.sync-chip--done .icon {
  width: 12px;
  height: 12px;
}

/* ---------- Score demo ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  align-items: center;
  gap: clamp(40px, 6vw, 82px);
}

.split__copy .lede {
  margin-top: 20px;
}

.split__copy .section-title {
  margin-top: 6px;
}

.tick-list {
  display: grid;
  gap: 11px;
  margin-top: 26px;
}
.tick-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-2);
}
.tick-list .icon {
  width: 16px;
  height: 16px;
  color: var(--accent-ink);
}

.fine-note {
  margin-top: 26px;
  padding-left: 12px;
  border-left: 2px solid var(--border-strong);
  font-size: 0.69rem;
  color: var(--muted);
  max-width: 40ch;
}

.score-demo {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow);
}

.score-demo::before {
  content: "";
  position: absolute;
  top: -130px;
  right: -110px;
  z-index: 0;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 68%);
  pointer-events: none;
}

.score-demo > * {
  position: relative;
  z-index: 1;
}

.score-demo__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.score-demo__label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted);
}

.score-demo__status {
  margin-top: 5px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1;
  text-transform: uppercase;
  transition: color 0.3s;
}

.demo-gauge {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 148px;
  height: 148px;
}

.demo-gauge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.demo-gauge circle {
  fill: none;
  stroke-width: 8;
}

.demo-gauge__bg {
  stroke: var(--surface-3);
}

.demo-gauge__fg {
  stroke: var(--accent-graphic);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--score, 87));
  transition: stroke-dashoffset 0.55s var(--ease), stroke 0.35s ease;
  filter: drop-shadow(0 0 7px rgba(201, 255, 61, 0.3));
}

.score-demo[data-tier="warn"] .demo-gauge__fg {
  stroke: var(--orange);
  filter: drop-shadow(0 0 7px rgba(255, 138, 31, 0.3));
}
.score-demo[data-tier="bad"] .demo-gauge__fg {
  stroke: var(--danger);
  filter: drop-shadow(0 0 7px rgba(255, 97, 87, 0.3));
}

.demo-gauge__value {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 2.9rem;
  line-height: 0.9;
  text-align: center;
}
.demo-gauge__value small {
  display: block;
  margin-top: 5px;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: 0.48rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.switch-list {
  display: grid;
  margin-top: 6px;
}

.switch-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.switch-row:last-child {
  border-bottom: 0;
}

.switch-row__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--chip-bg);
  color: var(--accent-ink);
}
.switch-row__icon .icon {
  width: 18px;
  height: 18px;
}

.switch-row__text {
  flex: 1;
  min-width: 0;
}
.switch-row__text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}
.switch-row__text small {
  font-size: 0.7rem;
  color: var(--muted);
}

.switch-row__points {
  min-width: 27px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1rem;
  text-align: right;
  color: var(--points);
}

.switch {
  position: relative;
  flex: none;
  width: 46px;
  height: 26px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: var(--surface-3);
  transition: background-color 0.3s, border-color 0.3s;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.switch-row input:checked ~ .switch {
  border-color: var(--accent);
  background: var(--accent);
}
.switch-row input:checked ~ .switch::after {
  background: var(--accent-contrast);
  transform: translateX(20px);
}
.switch-row input:focus-visible ~ .switch {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
}

.score-demo__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- Screens gallery ---------- */
.section--screens {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.gallery-controls {
  display: flex;
  gap: 8px;
}
.gallery-controls .icon-btn:disabled {
  opacity: 0.32;
  cursor: default;
  transform: none;
}
.gallery-controls .icon-btn:disabled:hover {
  background: transparent;
  border-color: var(--border);
  color: var(--text-2);
}

.gallery {
  display: flex;
  gap: 20px;
  padding: 6px 3px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar {
  display: none;
}

.screen-card {
  flex: 0 0 clamp(232px, 24vw, 288px);
  scroll-snap-align: start;
}

.screen-card__shot {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: #0a0c10;
  box-shadow: 0 34px 60px -34px rgba(0, 0, 0, 0.9);
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s;
}
.screen-card:hover .screen-card__shot {
  transform: translateY(-6px);
  border-color: rgba(201, 255, 61, 0.35);
  box-shadow: 0 46px 74px -34px rgba(0, 0, 0, 0.95);
}

.screen-card img {
  width: 100%;
  aspect-ratio: 700 / 1408;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s var(--ease);
}
.screen-card:hover img {
  transform: scale(1.015);
}

.screen-card figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 11px;
  padding: 15px 4px 0;
}

.screen-card__num {
  grid-row: span 2;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent-ink);
  opacity: 0.75;
}

.screen-card figcaption strong {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

.screen-card figcaption span:last-child {
  grid-column: 2;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

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

.step {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.step__num {
  position: absolute;
  top: 8px;
  right: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 4.6rem;
  line-height: 1;
  color: var(--accent-graphic);
  opacity: 0.15;
}

.step .card__icon {
  margin-bottom: 20px;
}

.step h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
}

.step p {
  max-width: 29ch;
  color: var(--text-2);
  font-size: 0.85rem;
  line-height: 1.65;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: clamp(40px, 6vw, 88px);
}

.faq__aside {
  position: sticky;
  top: calc(var(--nav-h) + 30px);
}

.faq__aside .lede {
  margin-top: 20px;
  max-width: 34ch;
}

.support-card {
  display: flex;
  gap: 14px;
  max-width: 360px;
  margin-top: 32px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.support-card .card__icon {
  flex: none;
  width: 40px;
  height: 40px;
  margin: 0;
}
.support-card strong {
  font-size: 0.88rem;
  font-weight: 600;
}
.support-card p {
  margin: 2px 0 8px;
  font-size: 0.76rem;
  color: var(--muted);
}
.support-card .text-link {
  font-size: 0.76rem;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 21px 2px;
  font-size: 0.96rem;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  transition: color 0.25s;
}
.faq-q:hover {
  color: var(--accent-ink);
}

.faq-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text-2);
  transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s,
    border-color 0.3s;
}
.faq-icon .icon {
  width: 14px;
  height: 14px;
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  border-color: transparent;
  background: var(--accent);
  color: var(--accent-contrast);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}
.faq-a__inner {
  overflow: hidden;
}
.faq-a p {
  max-width: 58ch;
  padding: 0 36px 22px 2px;
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.7;
}
.faq-a a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- CTA ---------- */
.cta {
  padding: 0 0 clamp(70px, 8vw, 110px);
}

.cta__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6.5vw, 82px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  background: #080a0e;
  color: #f2f4f7;
  box-shadow: 0 44px 100px -50px rgba(0, 0, 0, 0.9);
}

.cta__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 420px at 88% -10%, rgba(201, 255, 61, 0.17), transparent 62%);
  pointer-events: none;
}

.cta__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    115deg,
    transparent 0 56px,
    rgba(255, 255, 255, 0.035) 56px 57px
  );
  -webkit-mask-image: linear-gradient(90deg, transparent 42%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 42%, #000 100%);
  pointer-events: none;
}

.cta__rings {
  position: absolute;
  top: 50%;
  right: -170px;
  width: 580px;
  aspect-ratio: 1;
  border: 1px solid rgba(201, 255, 61, 0.2);
  border-radius: 50%;
  translate: 0 -50%;
  pointer-events: none;
}
.cta__rings::before,
.cta__rings::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(201, 255, 61, 0.13);
  border-radius: 50%;
}
.cta__rings::before {
  inset: 62px;
}
.cta__rings::after {
  inset: 128px;
  border-style: dashed;
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.eyebrow--on-dark {
  color: #c9ff3d;
}

.cta__panel .section-title {
  margin-top: 8px;
  color: #f6f8f3;
}

.cta__panel .accent-text {
  color: #c9ff3d;
}

.cta__lede {
  max-width: 52ch;
  margin-top: 20px;
  color: #b7bfc9;
  font-size: 1rem;
  line-height: 1.7;
}

.cta__panel .store-row {
  margin-top: 30px;
}

.cta__micro {
  margin-top: 18px;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: #8a94a1;
}

/* ---------- Footer ---------- */
.footer {
  padding: clamp(48px, 6vw, 72px) 0 26px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr 0.8fr 0.8fr;
  gap: 36px;
}

.footer__brand p {
  max-width: 290px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.65;
}

.footer__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.footer__store {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--chip-bg);
  font-size: 0.73rem;
  color: var(--text-2);
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.footer__store:hover {
  border-color: var(--border-strong);
  color: var(--text);
}
.footer__store .icon {
  width: 15px;
  height: 15px;
}

.footer__links h3 {
  margin-bottom: 12px;
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__links a,
.footer__meta {
  display: block;
  padding: 5px 0;
  font-size: 0.8rem;
  color: var(--text-2);
}
.footer__links a {
  transition: color 0.25s;
}
.footer__links a:hover {
  color: var(--accent-ink);
}
.footer__meta {
  color: var(--muted);
  font-size: 0.74rem;
}

.footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 0.69rem;
  color: var(--muted);
}
.footer__disclaimer {
  max-width: 58ch;
  text-align: right;
  line-height: 1.6;
}

/* ---------- Theme change crossfade ---------- */
html.theme-anim :where(body, header, main, section, footer, .card, .step,
  .score-demo, .support-card, .screen-card__shot, .store, .icon-btn, .mobile-menu,
  .nav, .ticker, .footer__store, .faq-icon) {
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .hero__title {
    font-size: clamp(3.4rem, 7.8vw, 5.8rem);
  }
  .float-card--score {
    left: -4%;
  }
  .float-card--streak {
    right: -3%;
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: grid;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .hero__copy {
    max-width: 640px;
  }
  .hero__visual {
    justify-self: center;
    max-width: 520px;
  }
  .phone {
    width: clamp(250px, 44vw, 320px);
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .section-head__lede {
    justify-self: start;
    max-width: 52ch;
  }
  .section-head--row {
    grid-template-columns: 1fr;
  }
  .section-head__actions {
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .section-head__note {
    text-align: left;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .card--score,
  .card--auto,
  .card--map,
  .card--mileage,
  .card--rewards,
  .card--leaderboard {
    grid-column: span 1;
  }
  .card--score,
  .card--leaderboard,
  .card--offline {
    grid-column: span 2;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split__copy {
    max-width: 640px;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq__aside {
    position: static;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer__brand {
    grid-column: span 3;
  }
  .footer__brand p {
    max-width: 44ch;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100% - 36px));
  }

  .header__cta {
    display: none;
  }
  .header__inner {
    height: 68px;
  }
  :root {
    --nav-h: 68px;
  }
  .logo img {
    width: 34px;
    height: 34px;
  }
  .logo__word {
    font-size: 1.15rem;
  }

  .hero {
    padding-top: 34px;
  }
  .hero__title {
    margin-top: 20px;
  }
  .hero__lede {
    margin-top: 20px;
  }
  .hero__actions {
    margin-top: 26px;
  }
  .hero__trust {
    gap: 8px 16px;
    font-size: 0.72rem;
  }

  .float-card--trip {
    display: none;
  }
  .float-card--score {
    top: 7%;
    left: -2%;
  }
  .float-card--streak {
    top: auto;
    right: 0;
    bottom: 4%;
  }

  .card--score {
    grid-template-columns: 1fr;
  }
  .score-ring {
    max-width: 150px;
    margin-top: 4px;
  }
  .score-ring__value {
    font-size: 2.9rem;
  }

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

  .score-demo__head {
    gap: 12px;
  }
  .demo-gauge {
    width: 124px;
    height: 124px;
  }
  .demo-gauge__value {
    font-size: 2.4rem;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: span 2;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 14px;
  }
  .footer__disclaimer {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .hero__title {
    font-size: clamp(3.1rem, 13.5vw, 5rem);
  }
  .hero .eyebrow {
    font-size: 0.55rem;
    letter-spacing: 0.12em;
    padding: 7px 11px;
  }
  .hero__actions .store-row {
    width: 100%;
  }
  .hero__actions .store {
    flex: 1 1 150px;
    min-width: 0;
  }
  .hero__visual {
    max-width: 420px;
  }
  .phone {
    width: min(74vw, 300px);
  }
  .float-card--score {
    left: -1%;
    top: 5%;
    padding: 11px 13px;
  }
  .float-card--streak {
    display: none;
  }
  .float-card--score strong {
    font-size: 1.5rem;
  }
  .mini-ring {
    width: 40px;
    height: 40px;
  }

  .section-title {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }
  .section-head__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .gallery-controls {
    align-self: flex-end;
  }

  .bento {
    grid-template-columns: 1fr;
  }
  .card--score,
  .card--leaderboard,
  .card--offline {
    grid-column: span 1;
  }
  .card {
    padding: 22px;
  }

  .score-demo {
    padding: 20px;
  }
  .score-demo__status {
    font-size: 1.5rem;
  }
  .demo-gauge {
    width: 108px;
    height: 108px;
  }
  .demo-gauge__value {
    font-size: 2.1rem;
  }
  .switch-row {
    gap: 10px;
  }
  .switch-row__icon {
    width: 34px;
    height: 34px;
  }
  .switch-row__points {
    font-size: 0.9rem;
  }
  .switch {
    width: 42px;
    height: 24px;
  }
  .switch::after {
    width: 16px;
    height: 16px;
  }
  .switch-row input:checked ~ .switch::after {
    transform: translateX(18px);
  }

  .screen-card {
    flex-basis: min(72vw, 260px);
  }

  .step {
    padding: 24px;
  }

  .faq-q {
    font-size: 0.9rem;
    padding: 18px 0;
  }
  .faq-a p {
    padding-right: 20px;
  }

  .cta__panel {
    padding: 30px 22px;
    border-radius: 24px;
  }
  .cta__rings {
    right: -260px;
    opacity: 0.6;
  }
  .cta__panel .store-row .store {
    flex: 1 1 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer__brand {
    grid-column: span 1;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .ticker__track {
    animation: none;
  }
  .hero__arc,
  .card::before {
    animation: none;
  }
  .float-card {
    animation: none;
  }
  .phone {
    transform: rotate(2.2deg);
  }
}
