/* ═══════════════════════════════════════════════════════════════════
   PARTPILOT AI — design system
   Deep black · pure white · electric lime · graphite · soft silver
   Light and dark are both first-class. Lime is never used as text on
   light backgrounds (it fails contrast) — it carries fills, borders
   and glows, and text sitting on lime is always near-black.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  color-scheme: light dark;

  /* brand constants — identical in both themes */
  --lime: #c2f53c;
  --lime-bright: #d4ff4f;
  --lime-deep: #5c7a00;          /* lime dark enough to be text on white */
  --on-lime: #0a0c08;

  /* motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --fast: .18s;
  --med: .34s;
  --slow: .6s;

  /* shape */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 48px);

  /* type */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ── light (default) ── */
:root, :root[data-theme="light"] {
  --bg: #ffffff;
  --bg-2: #f6f7f5;
  --bg-3: #eceee9;
  --surface: rgba(255, 255, 255, .72);
  --surface-solid: #ffffff;
  --line: rgba(12, 14, 10, .10);
  --line-2: rgba(12, 14, 10, .16);
  --text: #0b0d09;
  --text-2: rgba(11, 13, 9, .66);
  --text-3: rgba(11, 13, 9, .44);
  --accent-text: var(--lime-deep);
  --shadow-sm: 0 1px 2px rgba(12,14,10,.06), 0 4px 12px rgba(12,14,10,.05);
  --shadow: 0 2px 6px rgba(12,14,10,.06), 0 14px 38px rgba(12,14,10,.09);
  --shadow-lg: 0 4px 12px rgba(12,14,10,.07), 0 30px 70px rgba(12,14,10,.13);
  --glow: 0 0 0 rgba(0,0,0,0);
  --grid-line: rgba(12,14,10,.055);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #080a07;
    --bg-2: #0e120c;
    --bg-3: #151a12;
    --surface: rgba(255, 255, 255, .045);
    --surface-solid: #11150f;
    --line: rgba(255, 255, 255, .10);
    --line-2: rgba(255, 255, 255, .17);
    --text: #f2f5ee;
    --text-2: rgba(242, 245, 238, .64);
    --text-3: rgba(242, 245, 238, .40);
    --accent-text: var(--lime);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.5);
    --shadow: 0 2px 8px rgba(0,0,0,.45), 0 18px 48px rgba(0,0,0,.5);
    --shadow-lg: 0 4px 14px rgba(0,0,0,.5), 0 40px 90px rgba(0,0,0,.6);
    --glow: 0 0 60px rgba(194, 245, 60, .13);
    --grid-line: rgba(255,255,255,.045);
  }
}

:root[data-theme="dark"] {
  --bg: #080a07;
  --bg-2: #0e120c;
  --bg-3: #151a12;
  --surface: rgba(255, 255, 255, .045);
  --surface-solid: #11150f;
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .17);
  --text: #f2f5ee;
  --text-2: rgba(242, 245, 238, .64);
  --text-3: rgba(242, 245, 238, .40);
  --accent-text: var(--lime);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.5);
  --shadow: 0 2px 8px rgba(0,0,0,.45), 0 18px 48px rgba(0,0,0,.5);
  --shadow-lg: 0 4px 14px rgba(0,0,0,.5), 0 40px 90px rgba(0,0,0,.6);
  --glow: 0 0 60px rgba(194, 245, 60, .13);
  --grid-line: rgba(255,255,255,.045);
}

/* ── reset ── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "cv02", "cv03", "cv04", "ss01";
  transition: background var(--med) var(--ease), color var(--med) var(--ease);
}
img, svg, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ── a11y ── */
.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: absolute; left: 50%; transform: translate(-50%, -200%);
  z-index: 200; background: var(--lime); color: var(--on-lime);
  padding: 12px 22px; border-radius: 0 0 var(--r) var(--r); font-weight: 600;
  transition: transform var(--fast) var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }
:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── layout ── */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(72px, 11vw, 148px); }

/* ── type ── */
h1, h2, h3, h4 {
  line-height: 1.04;
  letter-spacing: -.03em;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7.4vw, 5.4rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: -.022em; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.05rem, 1.9vw, 1.3rem); color: var(--text-2); line-height: 1.55; max-width: 62ch; }
.muted { color: var(--text-2); }
.mono { font-family: var(--mono); font-variant-ligatures: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-2);
  padding: 7px 14px; border: 1px solid var(--line-2);
  border-radius: 999px; background: var(--surface);
  backdrop-filter: blur(10px);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 10px var(--lime); flex: none;
}
.section-head { max-width: 700px; margin-bottom: clamp(40px, 6vw, 68px); }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 { margin-bottom: 18px; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease),
              background var(--fast) var(--ease), border-color var(--fast) var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--lime); color: var(--on-lime); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--lime-bright); box-shadow: 0 8px 26px rgba(194,245,60,.34); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-2); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--text-3); box-shadow: var(--shadow-sm); }
.btn-sm { padding: 11px 20px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ── nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid transparent;
  transition: border-color var(--med) var(--ease), background var(--med) var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 600; letter-spacing: -.03em; font-size: 1.06rem; }
.brand-mark { width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--lime); display: grid; place-items: center; box-shadow: 0 0 22px rgba(194,245,60,.4); }
.brand-mark svg { width: 17px; height: 17px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 9px 14px; border-radius: 999px; font-size: .93rem; color: var(--text-2);
  transition: color var(--fast) var(--ease), background var(--fast) var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--bg-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--surface); display: grid; place-items: center; cursor: pointer;
  transition: border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.icon-btn:hover { border-color: var(--text-3); transform: translateY(-1px); }
.icon-btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.icon-btn svg { width: 17px; height: 17px; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun, .theme-btn.is-dark .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon, .theme-btn.is-dark .moon { display: block; }
.menu-btn { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .nav-inner { height: 60px; }
}
@media (max-width: 560px) {
  /* The wordmark broke onto two lines at 375px and shoved the nav off its
     baseline. It never wraps. */
  .brand { white-space: nowrap; font-size: .98rem; gap: 9px; }
  .brand-mark { width: 27px; height: 27px; }
  /* The sticky bar already carries "Get my quote" on phones — two of the same
     button competing in one viewport is noise, not emphasis. */
  .nav-actions > .btn-primary { display: none; }
}

/* mobile sheet */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: var(--gutter); transform: translateY(-100%);
  transition: transform var(--med) var(--ease-out); visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu a { font-size: 1.7rem; font-weight: 600; letter-spacing: -.03em; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 26px; }

/* ═══ HERO ═══ */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 110px) clamp(64px, 10vw, 130px); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.hero-fade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 0%, transparent 30%, var(--bg) 78%),
    linear-gradient(to bottom, transparent 60%, var(--bg) 100%);
}
/* When the film runs, the fade must not wash the footage out to nothing —
   the grade layer inside .hero-media does the legibility work instead, and
   it is directional (heavy left, clear right) rather than a flat dim. */
.has-film .hero-fade {
  background:
    radial-gradient(140% 120% at 78% 20%, transparent 8%, color-mix(in srgb, var(--bg) 55%, transparent) 55%, var(--bg) 92%),
    linear-gradient(to bottom, transparent 62%, var(--bg) 100%);
}

/* ═══ HERO FILM ═══════════════════════════════════════════════════════
   Five captioned scenes on desktop; a single poster everywhere else.
   Both <video> elements are stacked and cross-faded — see app.js for why
   there are exactly two.
   ══════════════════════════════════════════════════════════════════ */
.hero-media {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background-size: cover; background-position: 62% 50%; background-repeat: no-repeat;
}
.hero-vid {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 50%;
  opacity: 0; transition: opacity 1s var(--ease-out);
  /* Nudged so the moving subject sits right of the headline column. */
}
.hero-vid.on { opacity: 1; }
/* Until the first frame is genuinely playing, the poster shows through and
   the videos stay invisible — no black flash on a slow connection. */
.hero-media.is-poster .hero-vid { display: none; }

.hero-grade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(100deg, var(--bg) 6%, color-mix(in srgb, var(--bg) 72%, transparent) 40%, transparent 72%),
    linear-gradient(to top, var(--bg) 2%, transparent 42%);
}
/* Light mode gets a heavier veil: dark footage under near-black text is
   unreadable, and the fix is more scrim, not smaller type. */
:root[data-theme="light"] .hero-media,
:root:not([data-theme="dark"]) .hero-media { filter: none; }
:root[data-theme="light"] .hero-grade {
  background:
    linear-gradient(100deg, var(--bg) 10%, color-mix(in srgb, var(--bg) 88%, transparent) 48%, color-mix(in srgb, var(--bg) 42%, transparent) 78%),
    linear-gradient(to top, var(--bg) 2%, transparent 46%);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .hero-grade {
    background:
      linear-gradient(100deg, var(--bg) 10%, color-mix(in srgb, var(--bg) 88%, transparent) 48%, color-mix(in srgb, var(--bg) 42%, transparent) 78%),
      linear-gradient(to top, var(--bg) 2%, transparent 46%);
  }
}

/* The caption is what turns stock footage into a claim: it names the
   complaint on screen, which is the thing the visitor came here about. */
.hero-caption {
  /* Pinned top-right, under the nav — NOT bottom-right. The hero runs ~830px
     tall and a laptop viewport is ~760, so a bottom-anchored caption sat
     below the fold: the one element that explains what the footage is was
     the one element nobody saw. */
  position: absolute; right: clamp(20px, 4vw, 46px); top: clamp(86px, 13vh, 124px);
  display: flex; align-items: center; gap: 12px; z-index: 3;
  padding: 9px 15px 9px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 62%, transparent);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px) saturate(1.2);
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--slow) var(--ease-out), transform var(--slow) var(--ease-out);
}
.hero-media.is-live .hero-caption { opacity: 1; transform: none; }
.hero-cap-rec {
  width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex: none;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--lime) 70%, transparent);
  animation: rec 2.4s var(--ease-out) infinite;
}
@keyframes rec {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lime) 60%, transparent); }
  70%, 100% { box-shadow: 0 0 0 9px transparent; }
}
.hero-cap-text {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text); white-space: nowrap;
}
.hero-dots { display: flex; gap: 5px; margin-left: 2px; }
.hero-dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--text-3);
  transition: background var(--med) var(--ease), transform var(--med) var(--ease);
}
.hero-dot.on { background: var(--lime); transform: scale(1.35); }
@media (prefers-reduced-motion: reduce) {
  .hero-cap-rec { animation: none; }
  .hero-vid { transition: none; }
}
@media (max-width: 899px) { .hero-caption { display: none; } }
.hero-inner { position: relative; z-index: 2; }
.hero h1 { margin: 26px 0 24px; max-width: 15ch; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--text) 20%, var(--accent-text) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 56px);
  margin-top: clamp(48px, 7vw, 80px); padding-top: 30px; border-top: 1px solid var(--line);
}
.hero-stat .k { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 7px; }
.hero-stat .v { font-size: 1.35rem; font-weight: 600; letter-spacing: -.03em; }

/* ═══ reveal-on-scroll ═══ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--slow) var(--ease-out), transform var(--slow) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ═══ cards ═══ */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
  backdrop-filter: blur(14px);
  transition: transform var(--med) var(--ease), border-color var(--med) var(--ease), box-shadow var(--med) var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }

/* ═══ HOW IT WORKS ═══ */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before {
  content: ""; position: absolute; left: 23px; top: 34px; bottom: 34px; width: 2px;
  background: var(--line); border-radius: 2px;
}
.timeline-fill {
  position: absolute; left: 23px; top: 34px; width: 2px; border-radius: 2px;
  background: linear-gradient(to bottom, var(--lime), color-mix(in srgb, var(--lime) 30%, transparent));
  height: 0; transition: height 1.1s var(--ease-out);
  box-shadow: 0 0 16px rgba(194,245,60,.5);
}
.step { display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding-block: 20px; position: relative; }
.step-dot {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--line); font-family: var(--mono);
  font-size: .82rem; font-weight: 700; color: var(--text-3); z-index: 1;
  transition: all var(--med) var(--ease);
}
.step.lit .step-dot { border-color: var(--lime); background: var(--lime); color: var(--on-lime); box-shadow: 0 0 26px rgba(194,245,60,.45); }
.step-body h3 { margin-bottom: 6px; }
.step-body p { color: var(--text-2); font-size: .97rem; max-width: 56ch; }

/* ═══ DEMO ═══ */
.demo-shell {
  border: 1px solid var(--line-2); border-radius: var(--r-xl);
  background: var(--surface-solid); box-shadow: var(--shadow-lg), var(--glow);
  overflow: hidden;
}
.demo-bar {
  display: flex; align-items: center; gap: 10px; padding: 14px 20px;
  border-bottom: 1px solid var(--line); background: var(--bg-2);
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.demo-title { font-family: var(--mono); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-3); }
.demo-badge {
  margin-left: auto; font-family: var(--mono); font-size: .64rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--on-lime); background: var(--lime);
  padding: 4px 11px; border-radius: 999px; font-weight: 700;
}
.demo-body { padding: clamp(22px, 4vw, 38px); }
.demo-form { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.demo-form .full { grid-column: 1 / -1; }

.field label {
  display: block; font-size: .8rem; font-weight: 500; color: var(--text-2);
  margin-bottom: 7px; letter-spacing: -.005em;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--bg);
  color: var(--text); font-size: .97rem; outline: none;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 26%, transparent);
}
.field textarea { resize: vertical; min-height: 84px; }
.field .hint { font-size: .78rem; color: var(--text-3); margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e5484d; }

/* demo output */
.demo-out { margin-top: 26px; display: grid; gap: 14px; }
.demo-out:empty { margin-top: 0; }
.think {
  display: flex; align-items: center; gap: 11px; font-family: var(--mono);
  font-size: .8rem; color: var(--text-2);
}
.think .spin {
  width: 15px; height: 15px; border-radius: 50%; flex: none;
  border: 2px solid var(--line-2); border-top-color: var(--lime);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.msg {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 20px; background: var(--bg-2);
  animation: rise .45s var(--ease-out) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.msg-head {
  display: flex; align-items: center; gap: 9px; margin-bottom: 9px;
  font-family: var(--mono); font-size: .67rem; letter-spacing: .14em; text-transform: uppercase;
}
.msg-head .tag { padding: 3px 9px; border-radius: 999px; font-weight: 700; }
.msg.ask { border-left: 2px solid var(--lime); }
.msg.ask .tag { background: var(--lime); color: var(--on-lime); }
.msg.block { border-left: 2px solid #f5a524; }
.msg.block .tag { background: rgba(245,165,36,.16); color: #b46e00; }
:root[data-theme="dark"] .msg.block .tag, html:not([data-theme="light"]) .msg.block .tag { color: #f5a524; }
.msg.ok { border-left: 2px solid var(--lime); }
.msg.ok .tag { background: color-mix(in srgb, var(--lime) 24%, transparent); color: var(--accent-text); }
.msg p { font-size: .95rem; color: var(--text-2); }
.msg p + p { margin-top: 9px; }
.msg strong { color: var(--text); font-weight: 600; }

.meter { display: grid; gap: 8px; margin-top: 14px; }
.meter-row { display: flex; align-items: center; gap: 12px; font-size: .84rem; }
.meter-row .lbl { width: 132px; flex: none; color: var(--text-2); }
.meter-track { flex: 1; height: 7px; border-radius: 99px; background: var(--bg-3); overflow: hidden; }
.meter-bar { height: 100%; border-radius: 99px; background: var(--lime); width: 0; transition: width .9s var(--ease-out); }
.meter-row .val { width: 46px; text-align: right; font-family: var(--mono); font-size: .8rem; color: var(--text-2); }

.ladder { display: grid; gap: 5px; margin-top: 14px; }
.rung { display: flex; align-items: center; gap: 10px; font-size: .87rem; color: var(--text-2); }
.rung i { width: 17px; height: 17px; border-radius: 5px; display: grid; place-items: center; font-size: .68rem; font-weight: 700; flex: none; }
.rung.yes i { background: var(--lime); color: var(--on-lime); }
.rung.no i { background: var(--bg-3); color: var(--text-3); border: 1px solid var(--line-2); }

.offers { display: grid; gap: 12px; margin-top: 6px; }
.offer {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--bg); transition: border-color var(--fast) var(--ease);
}
.offer.pick { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime), 0 8px 30px rgba(194,245,60,.14); }
.offer-name { font-weight: 600; font-size: .98rem; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.offer-price { font-size: 1.28rem; font-weight: 600; letter-spacing: -.03em; font-family: var(--mono); }
.offer-meta { grid-column: 1 / -1; font-size: .84rem; color: var(--text-3); }
.pill { font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--bg-3); color: var(--text-2); font-weight: 700; }
.pill.lime { background: var(--lime); color: var(--on-lime); }

.qbtns { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.qbtn {
  padding: 9px 17px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--bg); cursor: pointer; font-size: .9rem; font-weight: 500;
  transition: all var(--fast) var(--ease);
}
.qbtn:hover { border-color: var(--lime); background: color-mix(in srgb, var(--lime) 12%, transparent); transform: translateY(-1px); }

.disclaimer {
  margin-top: 20px; padding: 14px 17px; border-radius: var(--r);
  background: var(--bg-2); border: 1px dashed var(--line-2);
  font-size: .84rem; color: var(--text-2);
}

/* ═══ SERVICES ═══ */
.svc { display: grid; gap: 14px; position: relative; overflow: hidden; }
.svc-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--bg-3); display: grid; place-items: center; transition: background var(--med) var(--ease); }
.svc-ico svg { width: 21px; height: 21px; stroke: var(--text); }
.svc:hover .svc-ico { background: var(--lime); }
.svc:hover .svc-ico svg { stroke: var(--on-lime); }
.svc h3 { font-size: 1.1rem; }
.svc p { font-size: .93rem; color: var(--text-2); }
.svc-more {
  font-size: .88rem; font-weight: 600; color: var(--accent-text);
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
  background: none; border: 0; cursor: pointer; text-align: left;
  /* padded to a 44px row rather than hugging the text — negative left margin
     keeps it optically flush with the paragraph above it */
  padding: 11px 0; margin-left: 0; min-height: 44px;
}
.svc-more svg { width: 14px; height: 14px; transition: transform var(--fast) var(--ease); }
.svc-more:hover svg { transform: translateX(3px); }
.svc-more:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.svc-detail { font-size: .9rem; color: var(--text-2); border-top: 1px solid var(--line); padding-top: 13px; margin-top: 2px; }
.svc-detail[hidden] { display: none; }

/* ═══ COMPARISON ═══ */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }
.comp-col { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.comp-col.win { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime), var(--shadow); }
.comp-head { padding: 20px 24px; border-bottom: 1px solid var(--line); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.comp-col.win .comp-head { background: var(--lime); color: var(--on-lime); border-bottom-color: transparent; }
.comp-list { padding: 8px 0; }
.comp-item { display: flex; align-items: center; gap: 13px; padding: 14px 24px; font-size: .96rem; }
.comp-item + .comp-item { border-top: 1px solid var(--line); }
.comp-item i { width: 19px; height: 19px; border-radius: 6px; display: grid; place-items: center; flex: none; font-size: .72rem; font-weight: 700; }
.comp-item.bad i { background: var(--bg-3); color: var(--text-3); }
.comp-item.good i { background: var(--lime); color: var(--on-lime); }
.comp-item.bad { color: var(--text-2); }

/* ═══ TRUST ═══ */
.trust-slot {
  border: 1px dashed var(--line-2); border-radius: var(--r-lg);
  padding: 26px; background: var(--bg-2);
}
.trust-slot .slot-tag {
  display: inline-block; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-3); border: 1px solid var(--line-2);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.trust-slot h3 { font-size: 1.02rem; margin-bottom: 8px; }
.trust-slot p { font-size: .9rem; color: var(--text-2); }

/* ═══ BOOKING ═══ */
.book-shell { border: 1px solid var(--line-2); border-radius: var(--r-xl); background: var(--surface-solid); box-shadow: var(--shadow-lg); overflow: hidden; }
.progress { padding: 22px clamp(20px, 4vw, 34px); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.progress-track { height: 5px; border-radius: 99px; background: var(--bg-3); overflow: hidden; margin-bottom: 13px; }
.progress-bar { height: 100%; border-radius: 99px; background: var(--lime); width: 25%; transition: width var(--med) var(--ease-out); box-shadow: 0 0 14px rgba(194,245,60,.5); }
.progress-steps { display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.progress-steps span.on { color: var(--accent-text); font-weight: 700; }
.book-body { padding: clamp(24px, 4vw, 38px); }
.book-step { display: none; animation: rise .4s var(--ease-out) both; }
.book-step.on { display: grid; gap: 18px; }
.book-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.book-nav { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.book-nav .btn { flex: 1; min-width: 140px; }
.review-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.review-row { display: grid; grid-template-columns: 148px 1fr; gap: 16px; padding: 13px 18px; font-size: .92rem; }
.review-row + .review-row { border-top: 1px solid var(--line); }
.review-row dt { color: var(--text-3); font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
.review-row dd { color: var(--text); }
@media (max-width: 560px) { .review-row { grid-template-columns: 1fr; gap: 3px; } }
.consent { display: flex; align-items: flex-start; gap: 11px; font-size: .86rem; color: var(--text-2); line-height: 1.55; cursor: pointer; }
.consent input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: var(--lime-deep); }
.consent-link { margin: 10px 0 0 28px; font-size: .84rem; }
.consent-link a {
  color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px;
  display: inline-flex; align-items: center; min-height: 44px;
}

.book-done { text-align: center; padding: 30px 10px; }
.done-ring {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center; background: var(--lime);
  animation: pop .5s var(--ease-out) both;
}
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 60% { transform: scale(1.06); } 100% { transform: scale(1); opacity: 1; } }
.done-ring svg { width: 32px; height: 32px; stroke: var(--on-lime); stroke-width: 3; }
.done-ring svg path { stroke-dasharray: 32; stroke-dashoffset: 32; animation: draw .45s .25s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.book-fail {
  display: none; border: 1px solid rgba(229,72,77,.4); background: rgba(229,72,77,.07);
  border-radius: var(--r); padding: 17px 19px; margin-top: 4px;
}
.book-fail h4 { font-size: .98rem; color: #e5484d; margin-bottom: 7px; }
.book-fail p { font-size: .89rem; color: var(--text-2); margin-bottom: 6px; }
.book-fail a { color: var(--accent-text); font-weight: 600; }
.book-fail .why { font-family: var(--mono); font-size: .76rem; color: var(--text-3); }

/* ═══ DASHBOARD PREVIEW ═══ */
.dash-frame {
  border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface-solid); box-shadow: var(--shadow-lg);
}
.dash-top { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.dash-body { padding: 22px; display: grid; gap: 16px; }
.dash-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.dash-tile { border: 1px solid var(--line); border-radius: var(--r); padding: 15px 17px; background: var(--bg); }
.dash-tile .k { font-family: var(--mono); font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-3); margin-bottom: 7px; }
.dash-tile .v { font-size: 1.16rem; font-weight: 600; letter-spacing: -.02em; }
.dash-track { display: flex; gap: 6px; margin-top: 4px; }
.dash-track i { height: 5px; border-radius: 99px; background: var(--bg-3); flex: 1; }
.dash-track i.on { background: var(--lime); }

/* ═══ CTA / FOOTER ═══ */
.cta-band {
  border-radius: var(--r-xl); padding: clamp(38px, 6vw, 72px);
  background: var(--bg-2); border: 1px solid var(--line);
  text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { margin-bottom: 16px; position: relative; z-index: 2; }
.cta-band .lead { margin-inline: auto; position: relative; z-index: 2; }
.cta-band .hero-cta { justify-content: center; position: relative; z-index: 2; }

/* ── photographic CTA ── */
.cta-band.has-photo { border-color: var(--line-2); }
.cta-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 42%; z-index: 0;
}
.cta-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(90% 130% at 50% 50%, color-mix(in srgb, var(--bg) 74%, transparent), var(--bg) 88%),
    linear-gradient(to top, var(--bg), transparent 60%);
}
/* Light mode needs far more veil than dark: the photograph is dark and the
   type is near-black, which is the one combination that cannot be rescued
   by a smaller gradient. */
:root[data-theme="light"] .cta-scrim { background:
    radial-gradient(95% 140% at 50% 50%, color-mix(in srgb, var(--bg) 90%, transparent), var(--bg) 82%); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .cta-scrim { background:
    radial-gradient(95% 140% at 50% 50%, color-mix(in srgb, var(--bg) 90%, transparent), var(--bg) 82%); }
}
/* The band keeps its DIRECTIONAL scrim in light mode rather than inheriting
   the CTA's centred radial — the radial washed the photograph out to nothing
   across the whole panel, when only the left third has text over it. */
:root[data-theme="light"] .band-scrim { background:
    linear-gradient(95deg, var(--bg) 6%, color-mix(in srgb, var(--bg) 92%, transparent) 44%, color-mix(in srgb, var(--bg) 34%, transparent) 88%); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .band-scrim { background:
    linear-gradient(95deg, var(--bg) 6%, color-mix(in srgb, var(--bg) 92%, transparent) 44%, color-mix(in srgb, var(--bg) 34%, transparent) 88%); }
}
/* In light mode the photo itself is also lifted, so the scrim has less to do
   and the image survives instead of turning into a grey smear. */
:root[data-theme="light"] .cta-img,
:root[data-theme="light"] .band-img { filter: brightness(1.35) contrast(.92); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .cta-img,
  :root:not([data-theme="dark"]) .band-img { filter: brightness(1.35) contrast(.92); }
}

/* ═══ FULL-BLEED BAND ═════════════════════════════════════════════════
   One photograph, edge to edge, carrying the argument that the expensive
   mistake happens before the repair does. The copy sits in a scrimmed
   column and is readable with the image missing entirely — an <img> that
   404s must not take a paragraph with it.
   ══════════════════════════════════════════════════════════════════ */
.band {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(84px, 13vw, 168px);
  margin-block: clamp(10px, 2vw, 26px);
  background: var(--bg-3);
}
.band-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 46%; z-index: 0;
}
.band-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(95deg, var(--bg) 4%, color-mix(in srgb, var(--bg) 78%, transparent) 46%, color-mix(in srgb, var(--bg) 22%, transparent) 82%),
    linear-gradient(to bottom, color-mix(in srgb, var(--bg) 40%, transparent), transparent 30%, color-mix(in srgb, var(--bg) 55%, transparent));
}
.band-inner { position: relative; z-index: 2; max-width: 720px; margin-inline: 0; }
.band-inner h2 { margin: 20px 0 18px; letter-spacing: -.035em; }
.band-inner .lead { margin-bottom: 30px; }
@media (max-width: 700px) {
  .band-inner h2 br { display: none; }
  .band-img { object-position: 62% 46%; }
}

footer { border-top: 1px solid var(--line); padding-block: 54px 40px; margin-top: clamp(60px, 9vw, 110px); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; margin-bottom: 44px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-col h4 { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 15px; font-weight: 500; }
.foot-col a, .foot-col p { display: block; font-size: .92rem; color: var(--text-2); padding-block: 5px; }
.foot-col a:hover { color: var(--text); }
/* Legal links sit on one line under the contact block. The separator is a
   ::before rather than a literal " · " in the markup, because .foot-col a is
   display:block — a text-node separator between two block links renders as a
   dot stranded on its own row. */
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.foot-legal a { display: inline-flex; align-items: center; min-height: 34px; }
.foot-legal a + a::before { content: "·"; color: var(--text-3); margin: 0 9px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--text-3); }

/* ═══ STICKY MOBILE CTA ═══ */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 10px; padding: 11px var(--gutter) calc(11px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(18px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform var(--med) var(--ease-out);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { flex: 1; padding-block: 14px; }
@media (max-width: 900px) { .sticky-cta { display: flex; } body { padding-bottom: 76px; } }

/* ═══ misc ═══ */
.note-band {
  border: 1px solid var(--line-2); border-left: 3px solid var(--lime);
  border-radius: var(--r); padding: 18px 22px; background: var(--bg-2);
  font-size: .92rem; color: var(--text-2);
}
.note-band strong { color: var(--text); }

/* ═══════════════════════════════════════════════════════════════════
   GUIDED PICKER — tap, don't type
   Everything the demo needs can be chosen. Free text is the escape
   hatch, not the front door.
   ═══════════════════════════════════════════════════════════════════ */
.picker { display: grid; gap: 20px; }
.picker-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.picker-head h3 { font-size: 1.22rem; }
.picker-head .step-of { font-family: var(--mono); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-3); }
.picker-sub { font-size: .93rem; color: var(--text-2); margin-top: -8px; }

.tiles { display: grid; gap: 12px; }
.tiles-veh { grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); }
.tiles-make { grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); }
.tiles-sym { grid-template-columns: repeat(auto-fit, minmax(236px, 1fr)); }
.tiles-part { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); }
.tiles-year { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }

.tile {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  gap: 10px; padding: 16px; border-radius: var(--r);
  border: 1px solid var(--line-2); background: var(--bg);
  cursor: pointer; text-align: left; font: inherit; color: inherit;
  transition: transform var(--fast) var(--ease), border-color var(--fast) var(--ease),
              box-shadow var(--fast) var(--ease);
  overflow: hidden; min-height: 56px;
}
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 125%, color-mix(in srgb, var(--lime) 24%, transparent), transparent 62%);
  opacity: 0; transition: opacity var(--med) var(--ease);
}
.tile:hover { transform: translateY(-3px); border-color: var(--lime); box-shadow: var(--shadow); }
.tile:hover::after { opacity: 1; }
.tile:active { transform: translateY(-1px); }
.tile[aria-pressed="true"] { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime), 0 10px 30px rgba(194,245,60,.16); }
.tile[aria-pressed="true"]::after { opacity: 1; }
.tile .t-name { font-weight: 600; font-size: .97rem; letter-spacing: -.015em; position: relative; }
.tile .t-sub { font-size: .82rem; color: var(--text-2); line-height: 1.45; position: relative; }
.tile svg { position: relative; }

.tile-veh { align-items: center; text-align: center; padding: 20px 14px; gap: 12px; }
.tile-veh svg {
  width: 82px; height: 42px; fill: none; stroke: var(--text); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round; transition: stroke var(--fast) var(--ease);
}
.tile-veh:hover svg, .tile-veh[aria-pressed="true"] svg { stroke: var(--accent-text); }

/* ── MAKE TILES ──────────────────────────────────────────────────────
   The wordmark is the hero of the tile; the silhouette is oversized,
   bleeds off the right edge, and sits at ~9% opacity as texture. On
   hover it steps forward and slides — the drawing is the reward for
   pointing at the tile, not the thing you have to read.
   ─────────────────────────────────────────────────────────────────── */
.tile-make {
  align-items: flex-start; justify-content: flex-end; text-align: left;
  padding: 15px 15px 14px; gap: 3px; min-height: 104px; isolation: isolate;
}
.tile-make .m-art {
  /* Anchored to the top-right and sized to sit ABOVE the wordmark rather
     than behind it — a silhouette running through the type reads as a
     printing fault, not as depth. It bleeds off the right edge only. */
  position: absolute; right: -7%; top: 4px; width: 78%; z-index: -1;
  pointer-events: none; color: var(--text);
  opacity: .13;
  transition: opacity var(--med) var(--ease), transform var(--med) var(--ease), color var(--med) var(--ease);
}
.tile-make .m-art svg { width: 100%; height: auto; display: block; }
.tile-make:hover .m-art,
.tile-make:focus-visible .m-art,
.tile-make[aria-pressed="true"] .m-art {
  opacity: .42; color: var(--lime); transform: translateX(-8px);
}
.tile-make .m-name {
  font-size: 1.06rem; font-weight: 600; letter-spacing: -.028em; line-height: 1.12;
  position: relative; transition: color var(--fast) var(--ease);
}
.tile-make .m-note {
  font-size: .7rem; color: var(--text-3); letter-spacing: .005em; line-height: 1.35;
  position: relative;
}
.tile-make:hover .m-name, .tile-make[aria-pressed="true"] .m-name { color: var(--accent-text); }
/* Mercedes-Benz is the only name that wraps; let it, rather than shrinking
   every other tile's type to accommodate one. */
@media (max-width: 420px) {
  .tile-make { min-height: 92px; padding: 13px; }
  .tile-make .m-name { font-size: .97rem; }
  .tile-make .m-note { font-size: .66rem; }
}

.tile-year { align-items: center; justify-content: center; padding: 13px 8px; min-height: 46px; }
.tile-year .t-name { font-family: var(--mono); font-size: .95rem; }

.tile-sym { flex-direction: row; align-items: flex-start; gap: 14px; padding: 17px 18px; }
.tile-sym .s-ico {
  width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center;
  background: var(--bg-3); transition: background var(--fast) var(--ease); position: relative;
}
.tile-sym .s-ico svg {
  width: 22px; height: 22px; fill: none; stroke: var(--text); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; transition: stroke var(--fast) var(--ease);
}
.tile-sym:hover .s-ico, .tile-sym[aria-pressed="true"] .s-ico { background: var(--lime); }
.tile-sym:hover .s-ico svg, .tile-sym[aria-pressed="true"] .s-ico svg { stroke: var(--on-lime); }
.tile-sym .s-text { display: grid; gap: 3px; }

.picker-nav { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.link-btn {
  background: none; border: 0; padding: 12px 0; min-height: 44px; cursor: pointer; font: inherit; font-size: .9rem;
  color: var(--text-2); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--line-2); transition: color var(--fast) var(--ease);
}
.link-btn:hover { color: var(--accent-text); }

.chosen { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chosen:empty { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 13px;
  border-radius: 999px; border: 1px solid var(--lime); font-size: .85rem; font-weight: 500;
  background: color-mix(in srgb, var(--lime) 13%, transparent);
}
.chip button {
  width: 19px; height: 19px; border-radius: 50%; border: 0; cursor: pointer;
  background: color-mix(in srgb, var(--lime) 42%, transparent); color: var(--text);
  display: grid; place-items: center; font-size: .72rem; line-height: 1; padding: 0;
  transition: background var(--fast) var(--ease);
  position: relative;
}
/* The dot stays 19px because a bigger one would dominate the chip — but
   removing a choice is a primary action in this flow, and a 19px target on a
   phone is a target you miss. The pseudo-element gives it a real 44px hit
   area without changing a pixel of what you see. */
.chip button::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; transform: translate(-50%, -50%);
}
.chip button:hover { background: var(--lime); color: var(--on-lime); }
.chip button:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.free-text { display: grid; gap: 12px; }
.free-text[hidden] { display: none; }

/* ═══ DASHBOARD WARNING LIGHTS ═══ */
.lights { display: grid; grid-template-columns: repeat(auto-fit, minmax(126px, 1fr)); gap: 12px; }
.light {
  display: flex; flex-direction: column; align-items: center; gap: 11px;
  padding: 20px 12px; border-radius: var(--r); border: 1px solid var(--line-2);
  background: var(--bg); cursor: pointer; font: inherit; text-align: center;
  transition: transform var(--fast) var(--ease), border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.light:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: currentColor; }
.light svg { width: 42px; height: 42px; }
.light .l-name { font-size: .82rem; font-weight: 500; color: var(--text-2); line-height: 1.35; }
.light[aria-pressed="true"] { border-color: currentColor; box-shadow: 0 0 0 1px currentColor, var(--shadow); }
.light.sev-stop { color: #e5484d; }
.light.sev-soon { color: #b46e00; }
.light.sev-info { color: var(--accent-text); }
:root[data-theme="dark"] .light.sev-soon { color: #f5a524; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .light.sev-soon { color: #f5a524; } }

.light-out { margin-top: 18px; }
.light-out:empty { margin: 0; }
.verdict {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 13px;
}
.verdict.stop { background: rgba(229,72,77,.15); color: #e5484d; }
.verdict.soon { background: rgba(245,165,36,.18); color: #b46e00; }
:root[data-theme="dark"] .verdict.soon { color: #f5a524; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .verdict.soon { color: #f5a524; } }
.verdict.info { background: color-mix(in srgb, var(--lime) 22%, transparent); color: var(--accent-text); }

/* ═══ MAKES MARQUEE ═══ */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); padding-block: 17px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 44px; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--mono); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ═══ FAQ ═══
   Native <details>/<summary>: no JavaScript, keyboard-operable and
   screen-reader-correct for free, and the answer text is in the DOM whether
   or not it is open — which is what makes the FAQPage markup in <head> an
   honest description of the page rather than a claim about hidden text.
   ═══ */
.faq {
  border-top: 1px solid var(--line);
  max-width: 860px;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 21px 44px 21px 0;
  position: relative;
  font-size: 1.03rem;
  font-weight: 500;
  letter-spacing: -.011em;
  transition: color var(--fast) var(--ease);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-text); }
.faq-item summary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}
/* the +/− is drawn, not typed, so it never inherits a font that lacks it */
.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 13px;
  height: 2px;
  background: var(--text-3);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: transform var(--med) var(--ease), background var(--fast) var(--ease);
}
.faq-item summary::after { transform: translateY(-50%) rotate(90deg); }
.faq-item[open] summary { color: var(--accent-text); }
.faq-item[open] summary::before,
.faq-item[open] summary::after { background: var(--lime); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(0deg); }
.faq-a {
  padding: 0 52px 24px 0;
  animation: faqIn var(--med) var(--ease) both;
}
.faq-a p { color: var(--text-2); font-size: .96rem; max-width: 68ch; }
.faq-a strong { color: var(--text); font-weight: 600; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .faq-a { animation: none; } }
@media (max-width: 560px) {
  .faq-item summary { font-size: .97rem; padding-right: 38px; }
  .faq-a { padding-right: 8px; }
}
