/* LaneSyncPilot — simplified landing page */

:root {
  --bg: #09090d;
  --bg2: #111118;
  --card: #16161f;
  --border: rgba(255,255,255,.08);
  --text: #f2f2f7;
  --muted: #8b8b9a;
  --dim: #55556a;
  --accent: #00d4aa;
  --accent-dim: rgba(0,212,170,.12);
  --accent-glow: rgba(0,212,170,.35);
  --radius: 12px;
  --nav-h: 64px;
  --font: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 680px; }

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

/* Logo mark */
.logo-mark {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  position: relative;
  flex-shrink: 0;
}
.logo-mark::before, .logo-mark::after {
  content: '';
  position: absolute;
  background: var(--accent);
}
.logo-mark::before { width: 2px; height: 14px; top: 5px; left: 50%; transform: translateX(-50%); }
.logo-mark::after { width: 14px; height: 2px; top: 50%; left: 5px; transform: translateY(-50%); }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: .9rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: .2s;
  font-family: var(--font);
}
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-primary { background: var(--accent); color: #041510; }
.btn-primary:hover { background: #00eebb; box-shadow: 0 0 24px var(--accent-glow); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: var(--card); }

.text-link { color: var(--accent); font-weight: 600; font-size: .9rem; }
.text-link:hover { text-decoration: underline; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(9,9,13,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: .875rem; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 48px) 0 64px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, var(--accent-dim), transparent),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  mask-image: linear-gradient(black 60%, transparent);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.eyebrow a { text-decoration: underline; text-underline-offset: 3px; }
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.lead { font-size: 1.05rem; color: var(--muted); max-width: 480px; margin-bottom: 28px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-pills span {
  font-size: .75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
}

/* Hero panel */
.hero-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,.4), 0 0 48px var(--accent-dim);
}
.panel-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 8px;
}
.dot-live {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 0 6px transparent; }
}
.panel-mode { margin-left: auto; color: var(--muted); font-weight: 600; }
.panel-speed {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
}
.panel-speed small { font-size: .9rem; color: var(--dim); font-weight: 600; }
.panel-nav, .panel-v2i {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg2);
  border-radius: 8px;
  font-size: .85rem;
  margin-bottom: 8px;
}
.panel-turn { font-size: 1.25rem; color: var(--accent); }
.panel-nav b, .panel-v2i b { display: block; font-size: .95rem; }
.panel-bar {
  height: 4px;
  background: var(--bg2);
  border-radius: 2px;
  margin-top: 12px;
  overflow: hidden;
}
.panel-bar div {
  height: 100%;
  width: 75%;
  background: linear-gradient(90deg, var(--accent), #00ffcc);
  border-radius: 2px;
  transition: width 1s;
}

/* Stats */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  background: var(--bg2);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.stats-row strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}
.stats-row span { font-size: .8rem; color: var(--muted); }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg2); }
.section-head { text-align: center; max-width: 520px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: .95rem; }

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tab {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}
.tab:hover { color: var(--text); border-color: rgba(255,255,255,.15); }
.tab.active { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }

.tab-panel { display: none; animation: fadeIn .3s; }
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 32px;
}
.panel-text h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.panel-text p { color: var(--muted); font-size: .9rem; margin-bottom: 20px; line-height: 1.65; }

.check-list li {
  position: relative;
  padding-left: 22px;
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.check-list li strong { color: var(--text); font-weight: 600; }

/* Mini mocks */
.mini-mock {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: .85rem;
}
.mock-row span { font-size: 1.5rem; color: var(--accent); }
.mock-row b { display: block; font-size: 1rem; }
.mock-row.muted { color: var(--dim); font-size: .8rem; border-top: 1px solid var(--border); }
.mock-map {
  height: 100px;
  background:
    linear-gradient(135deg, transparent 40%, var(--accent-dim) 40%, var(--accent-dim) 42%, transparent 42%),
    var(--bg2);
  margin: 0 16px;
  border-radius: 8px;
  border: 1px dashed var(--border);
}

.signal-lights {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: #111;
  border-radius: 8px;
  border: 2px solid #333;
}
.light {
  width: 22px; height: 22px; border-radius: 50%;
  background: #222; border: 2px solid #333;
}
.light.red.active { background: #ef4444; box-shadow: 0 0 12px rgba(239,68,68,.5); }
.light.yellow.active { background: #eab308; box-shadow: 0 0 12px rgba(234,179,8,.5); }
.light.green.active { background: #22c55e; box-shadow: 0 0 12px rgba(34,197,94,.5); }

/* V2I mock scene */
.v2i-scene {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  min-height: 120px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.v2i-pole { text-align: center; }
.v2i-pole-label { display: block; font-size: .65rem; color: var(--dim); margin-top: 6px; font-weight: 600; letter-spacing: .06em; }
.v2i-waves {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
  position: relative;
  height: 40px;
}
.v2i-waves span {
  position: absolute;
  width: 20px; height: 20px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: v2iWave 2s ease-out infinite;
}
.v2i-waves span:nth-child(1) { animation-delay: 0s; }
.v2i-waves span:nth-child(2) { animation-delay: .5s; }
.v2i-waves span:nth-child(3) { animation-delay: 1s; }
@keyframes v2iWave {
  0% { transform: scale(.5); opacity: .7; }
  100% { transform: scale(3); opacity: 0; }
}
.v2i-car-icon { color: var(--accent); width: 56px; }
.v2i-car-icon svg { width: 100%; height: auto; }

/* openpilot core mock */
.op-mock { padding-bottom: 0; }
.op-device {
  padding: 20px;
  background: var(--bg2);
  text-align: center;
}
.op-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 8px;
}
.op-speed {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
}
.op-speed small { font-size: .75rem; color: var(--dim); font-weight: 600; }
.op-lanes { height: 56px; margin-bottom: 12px; }
.op-lanes svg { width: 100%; height: 100%; }
.op-lane { fill: none; stroke: var(--dim); stroke-width: 2; stroke-dasharray: 6 4; opacity: .6; }
.op-car { fill: var(--accent); }
.op-bar {
  height: 4px;
  background: var(--bg);
  border-radius: 2px;
  overflow: hidden;
  max-width: 200px;
  margin: 0 auto;
}
.op-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #00ffcc);
  border-radius: 2px;
}
.op-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  justify-content: center;
}
.op-tags span {
  font-size: .65rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--muted);
}

.v2i-feed { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.feed-item {
  padding: 10px 12px;
  background: var(--bg2);
  border-radius: 6px;
  font-size: .8rem;
  color: var(--dim);
  border: 1px solid transparent;
}
.feed-item b { color: var(--muted); margin-right: 6px; }
.feed-item.active { border-color: rgba(0,212,170,.3); background: var(--accent-dim); color: var(--text); }

/* Companion App */
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.app-copy .eyebrow { margin-bottom: 12px; }
.app-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.app-lead { max-width: none; margin-bottom: 24px; }
.app-copy .check-list { margin-bottom: 24px; }

.e2e-badge {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid rgba(0,212,170,.25);
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.e2e-badge svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.e2e-badge strong { display: block; font-size: .9rem; margin-bottom: 4px; }
.e2e-badge span { font-size: .8rem; color: var(--muted); line-height: 1.5; }

.retention-badge {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: rgba(234, 179, 8, .06);
  border: 1px solid rgba(234, 179, 8, .25);
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.retention-badge svg { color: #eab308; flex-shrink: 0; margin-top: 2px; }
.retention-badge strong { display: block; font-size: .9rem; margin-bottom: 4px; }
.retention-badge span { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.retention-badge em { color: var(--text); font-style: normal; font-weight: 600; }

.store-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: flex;
  flex-direction: column;
  padding: 10px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  min-width: 150px;
  transition: .2s;
}
.store-btn:hover { border-color: var(--accent); }
.store-label { font-size: .65rem; color: var(--muted); }
.store-btn strong { font-size: 1rem; font-weight: 700; }

/* Phone mock */
.phone-mock { display: flex; justify-content: center; }
.phone-frame {
  width: 260px;
  background: #1a1a22;
  border: 3px solid #2a2a34;
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 32px 64px rgba(0,0,0,.5), 0 0 48px var(--accent-dim);
}
.phone-notch {
  width: 80px; height: 6px;
  background: #2a2a34;
  border-radius: 3px;
  margin: 0 auto 10px;
}
.phone-screen {
  background: var(--bg);
  border-radius: 22px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  font-weight: 700;
  font-size: .95rem;
  border-bottom: 1px solid var(--border);
}
.phone-lock {
  font-size: .7rem;
  font-weight: 600;
  color: var(--accent);
  padding: 4px 8px;
  background: var(--accent-dim);
  border-radius: 6px;
}
.drive-list { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.drive-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.drive-thumb {
  width: 48px; height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent-dim), var(--bg2));
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.drive-thumb.alt { background: linear-gradient(135deg, rgba(99,102,241,.2), var(--bg2)); }
.drive-info { flex: 1; min-width: 0; }
.drive-info strong { display: block; font-size: .8rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drive-info span { font-size: .7rem; color: var(--muted); }
.drive-dl {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--accent);
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
  font-family: var(--font);
}
.drive-dl:hover { border-color: var(--accent); background: var(--accent-dim); }
.drive-item-warn { border-color: rgba(234, 179, 8, .3); background: rgba(234, 179, 8, .04); }
.drive-expiry { color: #eab308 !important; font-weight: 500; }
.drive-save {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(234, 179, 8, .4);
  background: rgba(234, 179, 8, .1);
  color: #eab308;
  font-size: .9rem;
  cursor: pointer;
  flex-shrink: 0;
  font-family: var(--font);
}
.drive-save:hover { background: rgba(234, 179, 8, .2); }
.phone-footer {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  font-size: .75rem;
  color: var(--muted);
}
.phone-stat b { color: var(--text); }
.phone-stat.free { color: var(--accent); font-weight: 600; }
.phone-stat.warn { color: #eab308; font-weight: 600; font-size: .7rem; }

.fork-stack { text-align: center; }
.stack-item {
  padding: 16px 24px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg2);
}
.stack-item small { display: block; font-size: .7rem; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.stack-item b { font-size: 1.1rem; }
.stack-item.ours { background: var(--accent-dim); border-color: rgba(0,212,170,.3); }
.stack-item.ours b { color: var(--accent); }
.stack-arrow { padding: 8px; color: var(--dim); font-size: 1.25rem; }

/* Chips */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.chip {
  font-size: .75rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: .2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* Compare table */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.compare-table th, .compare-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }
.compare-table thead { background: var(--card); }
.compare-table th { font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: rgba(255,255,255,.02); }
.yes { color: var(--accent); font-weight: 700; }
.yes.highlight { background: var(--accent-dim); padding: 2px 8px; border-radius: 4px; }
.no { color: var(--dim); }
.compare-note { text-align: center; margin-top: 20px; font-size: .8rem; color: var(--dim); }

/* Steps */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.step-card span {
  display: inline-flex;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 800;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: .9rem;
}
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.step-card p { font-size: .85rem; color: var(--muted); line-height: 1.5; }

.install-cmd {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto 20px;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.install-cmd code {
  flex: 1;
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--accent);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.copy-btn {
  padding: 8px 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: .2s;
  flex-shrink: 0;
}
.copy-btn:hover { color: var(--accent); border-color: var(--accent); }
.copy-btn.copied { color: var(--accent); }

.install-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.install-links a { font-size: .85rem; color: var(--muted); font-weight: 500; }
.install-links a:hover { color: var(--accent); }

/* Cars */
.search-wrap { position: relative; max-width: 480px; margin: 0 auto 32px; }
.search-wrap input {
  width: 100%;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: .95rem;
  transition: .2s;
}
.search-wrap input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.search-wrap input::placeholder { color: var(--dim); }

.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-height: 260px;
  overflow-y: auto;
  z-index: 50;
  display: none;
}
.search-results.active { display: block; }
.search-result-item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-size: .875rem;
}
.search-result-item:hover { background: var(--bg2); }
.search-result-item strong { display: block; font-weight: 600; }
.search-result-item span { font-size: .8rem; color: var(--muted); }
.search-no-results { padding: 16px; text-align: center; color: var(--dim); font-size: .875rem; }

.car-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.car-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  transition: .2s;
}
.car-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.car-card h4 { font-size: .9rem; font-weight: 600; margin-bottom: 2px; }
.car-card span { font-size: .75rem; color: var(--muted); }
.car-more { text-align: center; margin-top: 20px; font-size: .85rem; color: var(--dim); }

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  padding: 20px 0;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.25rem; color: var(--dim); font-weight: 300; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq p {
  padding-bottom: 20px;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
}
.faq a { color: var(--accent); }

/* CTA band */
.cta-band {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--accent-dim), transparent);
  border-top: 1px solid var(--border);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.cta-inner p { color: var(--muted); font-size: .9rem; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-inner { text-align: center; }
.footer-brand { margin-bottom: 20px; }
.footer-brand .logo { justify-content: center; margin-bottom: 8px; }
.footer-brand p { font-size: .8rem; color: var(--dim); }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-links a { font-size: .85rem; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: .75rem; color: var(--dim); }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-pills { justify-content: center; }
  .panel-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .app-copy { text-align: center; }
  .app-copy .check-list { text-align: left; max-width: 400px; margin-left: auto; margin-right: auto; }
  .e2e-badge { text-align: left; }
  .retention-badge { text-align: left; }
  .store-btns { justify-content: center; }
  .steps-row { grid-template-columns: 1fr; }
  .car-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-btns { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 16px 20px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: .25s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .nav-actions .btn-primary { display: none; }
}

@media (max-width: 480px) {
  .car-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
