/* Car Warranty quiz v2 - Comparisons.org (M-061). Base = v1 styles; the v2 car look is the block at the end (.theme-car).
   Design: home-warranty-v3 (= our windows page 26700070). Questions: Alex's draft (29/11).
   CSS only: hidden radios + :has(). JS only for the one-time redirect (end of index.html). */

:root{
  /* v2 colors (30/11): all-white page, white answer buttons with border + shadow, dark blue-gray text, Comparisons green accent */
  --primary:#047857;
  --primary-light:#E7F3EC;
  --primary-dark:#065f46;
  --ink:#17232D;
  --muted:#475569;
  --soft:#64748b;
  --line:#D8DCD9;
  --bg:#FFFFFF;
  --dash-edge:#D3DCE6;  /* progress track + divider */
  --accent:#1D4E89;     /* v2 highlights + progress - trust / protection blue (Shahar, 30/11). Only the CTAs stay Comparisons green. */
  --accent-light:#E6EEF7;
  --white:#fff;
  --hairline:rgba(60,60,67,.12);
  --fill:rgba(118,118,128,.12);
  --radius-card:20px;
  --radius-btn:14px;
  --ease:cubic-bezier(.25,.1,.25,1);
  --pad:16px;
  /* Clear shadow on answer options (Alex) */
  --option-shadow:0 1px 2px rgba(15,23,42,.06),0 6px 18px rgba(15,23,42,.09);
  --card-shadow:0 1px 2px rgba(15,23,42,.05);
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{background:var(--bg);scroll-behavior:smooth}
body{
  /* Same font stack as v3 / our windows page (26700070) */
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,sans-serif;
  background:var(--bg);color:var(--ink);
  font-size:17px;line-height:1.4;
  -webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;
}
img,svg{display:block}
ul,ol{list-style:none}
a{color:inherit}
.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}

/* ---------- Header ---------- */
.header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px var(--pad);height:52px}
.logo{height:30px;width:auto}
.disclosure-link{flex:none;font-size:11px;color:rgba(100,116,139,.8);text-decoration:underline;text-decoration-color:rgba(100,116,139,.35);text-underline-offset:2px;cursor:pointer;white-space:nowrap}
/* Advertiser Disclosure - step 1 only */
body:not(:has(#q1-none:checked)) .disclosure-link{visibility:hidden}

/* ---------- Main + steps ---------- */
/* min-height keeps the footer out of the first screen on every step (AGENTS.md) */
.main{padding:0 var(--pad);min-height:calc(100svh - 52px);overflow-x:clip}
.screen-container{width:100%;max-width:560px;margin:0 auto}

.step{display:none;flex-direction:column;padding-bottom:14px}
/* Each step = all earlier questions answered + this one not yet. Back unwinds one step at a time. */
body:has(#q1-none:checked) .step--1,
body:has(#q1-none:not(:checked)):has(#q2-none:checked) .step--2,
body:has(#q2-none:not(:checked)):has(#q3-none:checked) .step--3,
body:has(#q2-none:not(:checked)):has(#q3-none:not(:checked)) .step--4{display:flex;animation:stepIn .35s var(--ease)}
/* Guard: a later step only when every earlier answer is set (Back always clears the later ones) */
body:has(#q1-none:checked) .step:not(.step--1){display:none}
/* After "See If I Qualify" (ZIP step): straight to Loading -> Result, on this same page (no exit animation, AGENTS.md) */
.step-loading{display:none!important}
body:has(#q4-done:checked) .step-loading{display:grid!important}
body:has(#q4-done:checked) .step{display:none!important}
body:has(#q4-done:checked) .disclosure-link{visibility:hidden}
@keyframes stepIn{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:none}}

/* ---------- Quiz nav (Back + progress + step) ---------- */
.quiz-nav{padding:10px 0 10px;margin-bottom:20px;border-bottom:.5px solid var(--hairline)}
.quiz-nav-row{display:flex;align-items:center;justify-content:center;gap:14px;min-height:30px}
.quiz-back-btn{display:flex;align-items:center;gap:2px;font-size:16px;color:var(--primary);cursor:pointer;padding:4px 0}
.quiz-back-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.step:not(.step--1) .quiz-nav-row{justify-content:space-between}
.step:not(.step--1) .quiz-progress-bar{flex:1;max-width:160px}
.quiz-progress-bar{width:110px;height:4px;background:var(--fill);border-radius:100px;overflow:hidden}
.quiz-progress-fill{display:block;height:100%;background:var(--primary);border-radius:100px}
.quiz-step-text{font-size:12px;font-weight:600;letter-spacing:.6px;color:var(--soft);text-transform:uppercase;white-space:nowrap}
.step-num{color:var(--primary);font-weight:700}

/* ---------- Headings ---------- */
.screen-header{margin-bottom:16px}
.eyebrow{font-size:18px;font-weight:600;letter-spacing:.2px;line-height:1.35;text-transform:uppercase;color:var(--primary);margin-bottom:28px;text-wrap:balance} /* 18px + space above the title (Alex, 15/11) */
/* Step 1: Alex's headline (the promise) above the first question */
/* Same weight as the home-warranty-v3 title (lighter than before - Shahar, 30/11) */
.headline{font-size:28px;font-weight:700;letter-spacing:-.5px;line-height:1.2;margin-bottom:18px;text-wrap:balance}
.headline-offer{display:block}
.screen-title{font-size:30px;font-weight:700;letter-spacing:-.5px;line-height:1.2;margin-bottom:4px;text-wrap:balance}
/* Step 1 question sits under the headline - smaller and not bold, so the headline leads (Shahar, 30/11) */
.screen-title--q1{font-size:21px;font-weight:500;letter-spacing:-.3px;color:var(--ink)}
.first-fold{padding-top:clamp(12px,4dvh,48px)}

/* ---------- Answer options: one full-width card per answer ---------- */
.options{display:grid;grid-template-columns:1fr;gap:12px}
.option{
  position:relative;display:flex;align-items:center;justify-content:center;text-align:center;
  min-height:72px;padding:14px 48px;background:var(--white);
  border:2px solid transparent;border-radius:var(--radius-card);box-shadow:var(--option-shadow);
  cursor:pointer;transition:border-color .2s var(--ease),transform .15s var(--ease),box-shadow .2s var(--ease);
}
.option:hover{border-color:rgba(4,120,87,.35)}
.option:active{transform:scale(.97)}
/* 20px answer text on all steps (Alex, 15/11) */
.option-title{display:block;font-size:20px;font-weight:600;letter-spacing:-.2px;line-height:1.25;text-wrap:balance}
.option-check{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:20px;height:24px}
.option-check svg{width:20px;height:24px}
.shield-outline{fill:none;stroke:#c7ccd4;stroke-width:1.8;transition:fill .2s,stroke .2s}

/* ---------- Trust tags ---------- */
.trust-row{display:flex;flex-wrap:nowrap;justify-content:center;gap:5px;row-gap:6px;margin-top:18px}
.trust-item{display:flex;align-items:center;gap:4px;font-size:14px;font-weight:500;letter-spacing:0;text-transform:uppercase;color:var(--primary-dark);background:rgba(4,120,87,.08);padding:5px 7px;border-radius:6px;white-space:nowrap}
.trust-item svg{width:15px;height:15px;fill:none;stroke:var(--primary);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
/* Steps 2-3: trust row on desktop only (as in v3) */
.trust-row--steps{display:none;margin-top:28px}
@media (min-width:768px){.trust-row--steps{display:flex}}

/* ---------- Buttons ---------- */
.btn-find{
  width:100%;height:70px;display:flex;align-items:center;justify-content:center;gap:10px;
  font-size:22px;font-weight:600;letter-spacing:-.2px;color:#fff;text-decoration:none;
  background:var(--primary);border-radius:var(--radius-btn);transition:transform .15s var(--ease),background .2s;cursor:pointer;
}
.btn-find:hover{background:var(--primary-dark)}
.btn-find:active{transform:scale(.97)}
.btn-find svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Below the quiz (step 1 only) ---------- */
/* ~72px mobile / ~96px desktop between the quiz and the content (AGENTS.md) */
.below{margin-top:72px;display:flex;flex-direction:column;gap:56px}
.sec-title{font-size:22px;font-weight:700;letter-spacing:-.4px;line-height:1.25;text-align:center;margin-bottom:16px;text-wrap:balance}

/* FAQ - <details>, no JS (AGENTS.md) */
.faq{display:flex;flex-direction:column;gap:10px}
.faq-item{background:var(--white);border-radius:16px;box-shadow:var(--card-shadow)}
.faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;font-size:16px;font-weight:600;cursor:pointer;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary svg{flex:none;width:18px;height:18px;fill:none;stroke:var(--primary);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.faq-item[open] summary svg{transform:rotate(180deg)}
.faq-item p{padding:0 18px 16px;font-size:15px;color:var(--muted);line-height:1.55}

/* Closing CTA */
.closing-cta{height:auto;min-height:64px;padding:12px 18px;font-size:20px;text-align:center}
.closing-cta svg{flex-shrink:0}

/* ---------- Footer (approved, always at the bottom - margin-top 150px) ---------- */
.footer{margin-top:150px;background:var(--bg);border-top:1px solid var(--line);padding:28px var(--pad) 40px;text-align:center}
.footer__inner{max-width:820px;margin:0 auto}
.footer__copy{font-size:13px;color:var(--soft);margin-bottom:14px}
.footer__legal{font-size:11.5px;line-height:1.6;color:var(--soft);margin-bottom:16px}
.footer__links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 16px}
.footer__links a{font-size:12.5px;color:var(--primary);text-decoration:none}
.footer__links a:hover{text-decoration:underline}

/* ---------- Advertiser Disclosure modal (CSS only) ---------- */
.modal{position:fixed;inset:0;z-index:100;display:none;align-items:flex-end;justify-content:center}
body:has(#disclosure-toggle:checked) .modal{display:flex}
/* The toggle sits at the end of the page - keep it pinned to the top, so clicking "Advertiser Disclosure" does not scroll to the footer (Alex, 25/11) */
#disclosure-toggle{position:fixed;top:0;left:0}
.modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.4);backdrop-filter:blur(4px);cursor:pointer}
.modal__box{position:relative;background:#fff;border-radius:20px 20px 0 0;padding:28px 20px 34px;max-width:560px;width:100%}
.modal__title{font-size:17px;font-weight:600;margin-bottom:10px;padding-right:36px}
.modal__box p{font-size:14px;color:var(--muted);line-height:1.5}
.modal__close{position:absolute;top:14px;right:14px;width:30px;height:30px;border-radius:50%;background:var(--fill);display:flex;align-items:center;justify-content:center;font-size:20px;line-height:1;color:var(--soft);cursor:pointer}

/* ---------- Loading ---------- */
.step-loading{display:grid;min-height:calc(100svh - 52px);place-items:center;padding:20px 0 40px;position:relative;overflow:clip}
.loading{display:flex;flex-direction:column;align-items:center;text-align:center}
.radar{position:absolute;left:50%;top:50%;width:280px;height:280px;transform:translate(-50%,-50%);pointer-events:none}
.radar span{position:absolute;inset:0;border:1.5px solid rgba(4,120,87,.12);border-radius:50%;animation:radar 2s var(--ease) 2;opacity:0}
.radar span:nth-child(2){animation-delay:.5s}
.radar span:nth-child(3){animation-delay:1s}
@keyframes radar{from{transform:scale(.3);opacity:.8}to{transform:scale(1.5);opacity:0}}
.shield-loader{position:relative;width:72px;height:82px;margin-bottom:22px}
.shield-loader svg{width:100%;height:100%}
.shield-loader .s-path{fill:none;stroke:var(--primary);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100;stroke-dashoffset:100;animation:drawShield 1.8s var(--ease) forwards}
.shield-loader .s-check{fill:none;stroke:var(--primary);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100;stroke-dashoffset:100;animation:drawCheck .4s var(--ease) 1.8s forwards}
@keyframes drawShield{60%{stroke-dashoffset:0;fill:transparent}to{stroke-dashoffset:0;fill:rgba(4,120,87,.08)}}
@keyframes drawCheck{to{stroke-dashoffset:0}}
.loading-title{position:relative;font-size:21px;font-weight:700;letter-spacing:-.4px;margin-bottom:14px;text-wrap:balance}
.verify-list{position:relative;display:flex;flex-direction:column;gap:12px;text-align:left}
.verify-row{display:flex;align-items:center;gap:10px;opacity:.35;animation:rowOn .3s var(--ease) forwards}
.verify-row:nth-child(1){animation-delay:.3s}
.verify-row:nth-child(2){animation-delay:1.5s}
.verify-row:nth-child(3){animation-delay:2.7s}
@keyframes rowOn{to{opacity:1}}
.verify-dot{width:22px;height:22px;border-radius:50%;background:var(--fill);display:flex;align-items:center;justify-content:center;flex-shrink:0;animation:dotDone .25s var(--ease) forwards}
.verify-row:nth-child(1) .verify-dot{animation-delay:1.3s}
.verify-row:nth-child(2) .verify-dot{animation-delay:2.5s}
.verify-row:nth-child(3) .verify-dot{animation-delay:3.7s}
@keyframes dotDone{to{background:var(--primary)}}
.verify-dot svg{width:12px;height:12px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.verify-text{font-size:14.5px;font-weight:500;color:var(--muted)}
.scan-progress{position:relative;width:220px;height:4px;background:var(--fill);border-radius:100px;overflow:hidden;margin-top:20px}
.scan-progress span{display:block;height:100%;width:0;background:var(--primary);border-radius:100px;animation:fill 4s linear .2s forwards}
@keyframes fill{to{width:100%}}

/* ---------- Result: Loading -> Result (4.5s) -> redirect (9s) ---------- */
.step-loading > *{grid-area:1/1}
.loading--out{animation:loadingOut .3s var(--ease) 4.2s forwards}
@keyframes loadingOut{to{opacity:0;visibility:hidden}}
/* Same design as v3 (our windows page 26700070): one white panel, bordered partner card, redirect bar, privacy line */
.result{width:100%;max-width:480px;background:var(--white);padding:26px 24px;border-radius:24px;box-shadow:0 24px 60px -16px rgba(15,23,42,.35);opacity:0;visibility:hidden;animation:resultIn .4s var(--ease) 4.5s forwards}
@keyframes resultIn{from{opacity:0;visibility:visible;transform:translateY(12px)}to{opacity:1;visibility:visible;transform:none}}
.result-title{font-size:22px;font-weight:700;letter-spacing:-.4px;text-align:center;margin-bottom:16px}
.result-card{position:relative;background:var(--white);border:.5px solid var(--hairline);border-radius:var(--radius-card);padding:26px 22px 26px;margin-bottom:14px;text-align:center}
/* Partner logo sits directly on the card (transparent file, no box) */
.result-logo{display:block;width:200px;height:auto;margin:6px auto 14px}
/* Offer as a "coupon": big dark text on a warm light-yellow box with a dashed border (v3) */
.result-offer{display:inline-block;margin-top:6px;padding:12px 20px;font-size:21px;font-weight:800;letter-spacing:-.2px;line-height:1.2;color:var(--ink);background:#fff8e6;border:1.5px dashed #f2b544;border-radius:14px;text-wrap:balance}
@media (max-width:380px){.result-offer{font-size:19px;padding:11px 14px}}
.result-points{display:flex;flex-direction:column;gap:8px;margin:18px 0 0;text-align:left}
.result-points li{display:flex;align-items:flex-start;gap:8px;font-size:14px;color:var(--muted);line-height:1.4}
.result-points svg{width:16px;height:16px;flex-shrink:0;margin-top:1px;fill:none;stroke:var(--primary);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
/* CTA to the partner - hidden on the first visit, shown only after Back from the partner (script adds .is-return) */
.result-cta{display:none;margin-bottom:12px}
.is-return .result-cta{display:flex}
/* Back from the partner: no loading, Result shown at once, no countdown */
.is-return .loading{display:none}
.is-return .result{animation:none;opacity:1;visibility:visible}
.is-return .redirect-box{display:none}
.redirect-box{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;height:44px;width:100%;max-width:320px;margin:0 auto;background:var(--fill);border-radius:var(--radius-btn);overflow:hidden;text-decoration:none}
.redirect-icon{width:24px;height:24px;border-radius:50%;background:rgba(4,120,87,.12);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.redirect-icon svg{width:12px;height:12px;fill:none;stroke:var(--primary);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;animation:spin 1.5s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.redirect-text{font-size:14px;font-weight:500;color:var(--muted);white-space:nowrap}
/* 4-3-2-1 countdown, CSS only: one digit visible at a time - stops on 1, redirect at 9s */
.count{display:inline-block;height:1.2em;line-height:1.2em;overflow:hidden;vertical-align:bottom}
.count span{display:block;animation:countDown 3s steps(3,end) 4.6s forwards}
@keyframes countDown{to{transform:translateY(-300%)}}
.redirect-progress{position:absolute;left:0;right:0;bottom:0;height:2.5px}
.redirect-progress span{display:block;height:100%;width:0;background:var(--primary);animation:fill 4.3s linear 4.7s forwards}
.result .privacy-seal{display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px;color:var(--soft);margin-top:12px}
.result .privacy-seal svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2}
@media (max-width:380px){.result{padding:20px 16px}.result-card{padding:22px 16px 22px}}
/* Mobile: the whole result (up to the countdown) fits in one screen (Alex, 24/11) */
@media (max-width:767px){
  .step-loading{padding:12px 0 16px}
  .result{padding:18px 16px}
  .result-title{margin-bottom:14px}
  .result-card{padding:20px 16px 16px;margin-bottom:12px}
  .result-logo{width:180px;margin:4px auto 10px}
  .result-offer{margin-top:2px;padding:10px 14px}
  .result-points{gap:6px;margin-top:14px}
  .result .privacy-seal{margin-top:10px}
}

/* ---------- Responsive ---------- */
@media (min-width:640px){
  :root{
  /* v2 colors (30/11): all-white page, white answer buttons with border + shadow, dark blue-gray text, Comparisons green accent */--pad:32px}
  .header{height:58px;padding:12px 32px}
  .main{min-height:calc(100svh - 58px)}
  .logo{height:34px}
  .screen-container{max-width:620px}
  .headline{font-size:34px}
  .option{min-height:76px}
  .modal{align-items:center;padding:20px}
  .modal__box{border-radius:20px;padding:28px 24px}
  .step-loading{min-height:calc(100svh - 58px)}
}
@media (min-width:1024px){
  .first-fold{padding-top:40px}
  .below{margin-top:96px}
}
/* Mobile, step 1: tighter top spacing so the headline + all 4 answers fit the first screen */
@media (max-width:767px){
  .step--1 .quiz-nav{margin-bottom:8px}
  .step--1 .first-fold{padding-top:8px}
  .step--1 .option{min-height:60px;padding:10px 48px}
  .step--1 .trust-row{margin-top:14px}
}
@media (max-width:380px){
  .headline{font-size:25px}
  .screen-title{font-size:28px}
  .screen-title--q1{font-size:19px}
  .options{gap:10px}
  .option{padding:12px 44px}
}
@media (max-width:340px){
  .trust-item{font-size:12px;padding:4px 5px}.trust-row{gap:4px}
  /* 320: "100,000 - 150,000 miles" stays on one line at 20px */
  .option,.step--1 .option{padding-left:34px;padding-right:38px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition:none!important}
}

/* =====================================================================
   v2 - car look (.theme-car). Everything above = v1 (colors changed in :root). Same content and flow, design only.
   ===================================================================== */
/* Headline: two tiers - "Find Out If Your Vehicle Qualifies" small, the offer big and bold, "$400 Off" in green */
.theme-car .headline-lead{display:block;font-size:24px;font-weight:400;letter-spacing:0;color:var(--ink);margin-bottom:2px} /* 30/11: bigger + dark so it reads as the start of the sentence; the offer stays the biggest */
@media (max-width:400px){.theme-car .headline-lead{font-size:22px}}
@media (max-width:340px){.theme-car .headline-lead{font-size:20px}}
.theme-car .headline{font-weight:500;letter-spacing:-.3px} /* not bold (Shahar, 30/11) - the green $400 Off carries the emphasis */
.theme-car .hl{color:var(--primary)}
.theme-car .screen-title--q1{font-weight:500}

/* Progress bar with a small car that drives from the previous step to this one (CSS only) */
.theme-car .quiz-nav-row{gap:16px}
.theme-car .quiz-progress-bar{position:relative;overflow:visible;height:6px;background:#E4E6E1;width:auto;flex:1;max-width:220px;margin-right:14px} /* room for the car at 100% */
.theme-car .step:not(.step--1) .quiz-progress-bar{max-width:200px}
.theme-car .quiz-progress-fill{width:var(--to);animation:fillTo .6s var(--ease)}
.theme-car .progress-car{position:absolute;top:50%;left:var(--to);width:26px;height:15px;transform:translate(-50%,-62%);animation:carTo .6s var(--ease)}
.theme-car .progress-car svg{width:26px;height:15px;overflow:visible}
.theme-car .car-body{fill:var(--ink)} /* dark, so it shows on the green fill too */
.theme-car .car-window{fill:#fff;opacity:.85}
.theme-car .car-wheel{fill:var(--ink);stroke:#fff;stroke-width:1.2}
@keyframes fillTo{from{width:var(--from)}to{width:var(--to)}}
@keyframes carTo{from{left:var(--from)}to{left:var(--to)}}

/* Answers: icon on the left, text left-aligned, 1px border + a firm bottom edge so each one reads as a button (ChatGPT idea, Alex likes a clear shadow) */
.theme-car .option{justify-content:flex-start;text-align:left;gap:14px;min-height:64px;padding:12px 16px;border:1px solid var(--line);box-shadow:0 3px 0 #D1D9D5,0 5px 10px rgba(23,35,45,.10)}
.theme-car .option:hover{border-color:var(--primary)}
.theme-car .option:active{transform:translateY(2px);box-shadow:0 1px 0 #D1D9D5,0 2px 5px rgba(23,35,45,.10)}
.theme-car .option-title{text-wrap:balance}
/* Alex's text unchanged - the part in brackets just starts its own line */
.theme-car .opt-note{display:block}
.theme-car .option-icon{flex:none;width:42px;height:42px;border-radius:12px;background:var(--primary-light);color:var(--primary);display:flex;align-items:center;justify-content:center}
.theme-car .option-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.theme-car .step--1 .option{min-height:56px;padding:8px 14px}
.theme-car .trust-item{background:var(--primary-light)}

/* Photo by the closing CTA. PLACEHOLDER box until the photo arrives (remove .closing-photo--placeholder then). */
.theme-car .closing-photo{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:20px;margin-bottom:24px}
.theme-car .closing-photo--placeholder{display:flex;align-items:center;justify-content:center;background:#ECEAE3;border:1.5px dashed #C9C6BB;color:var(--soft);font-size:14px;font-weight:500}

@media (min-width:640px){
  .theme-car .option{min-height:70px}
}
/* Mobile step 1: headline + 4 answers + tags on the first screen (375x667) */
@media (max-width:639px){
  .theme-car .headline{font-size:26px;margin-bottom:12px}
  .theme-car .step--1 .options{gap:8px}
}
@media (max-width:380px){
  .theme-car .option{gap:12px;padding:10px 12px}
  .theme-car .option-icon{width:38px;height:38px}
}
/* 320: longest answer ("100,000 - 150,000 miles") stays on one line at 20px */
@media (max-width:340px){
  .theme-car .option,.theme-car .step--1 .option{gap:10px;padding:9px 10px}
  .theme-car .option-icon{width:32px;height:32px;border-radius:10px}
  .theme-car .option-icon svg{width:22px;height:22px}
}
/* ---------- v2, round 4 (30/11): "dashboard" quiz card on a white page, Barlow, centered header, 2x2 mileage ---------- */
.theme-car{font-family:"Barlow",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
.theme-car .screen-title{font-weight:600;letter-spacing:-.3px}
.theme-car .screen-title.screen-title--q1{font-weight:500} /* step 1 question under the headline - not bold (Shahar) */
.theme-car .option-title{font-weight:500}
.theme-car .eyebrow{font-weight:600;letter-spacing:.6px}
.theme-car .btn-find{font-weight:600}

/* All-white page (Shahar, 30/11 - after trying a cream band, a blue-gray card and a blue-gray band). No background zones.
   Progress bar + car stay at the top on every step (Back stays top-left - Alex). */
.theme-car .quiz-card{padding:2px 0 8px}
.theme-car .quiz-progress-bar{background:var(--dash-edge)}
.theme-car .quiz-nav{border-bottom-color:var(--dash-edge)}
.theme-car .trust-item{background:var(--primary-light)}

/* Step 1: centered header */
.theme-car .step--1 .screen-header{text-align:center}

/* Step 1: mileage answers in a 2x2 grid - gauge on top, range, then "miles". 20px answer text (Alex), clear shadow kept. */
.theme-car .step--1 .options{grid-template-columns:1fr 1fr;gap:10px}
.theme-car .step--1 .option{flex-direction:column;justify-content:center;text-align:center;gap:6px;min-height:112px;padding:12px 6px}
.theme-car .step--1 .option-icon{width:40px;height:40px}
.theme-car .mi-range,.theme-car .mi-unit{display:block}
.theme-car .mi-unit{color:var(--muted)}

/* White page below: FAQ cards need a thin border to show on white */
.theme-car .faq-item{border:1px solid var(--line)}
/* Car photo by the closing CTA */
.theme-car .closing-photo{background:#ECEAE3}

@media (min-width:640px){
  .theme-car .quiz-card{padding:8px 0 8px}
  .theme-car .step--1 .option{min-height:128px}
}
@media (max-width:639px){
  .theme-car .main{padding:0 12px}
  /* 375: "100,000 - 150,000" stays on one line at 20px (on 320 it breaks after the dash) */
  .theme-car .step--1 .option{padding:12px 2px}
}
@media (max-width:380px){
  .theme-car .step--1 .options{gap:8px}
}
/* Car-in-shield mark above the eyebrow (step 1) */
.theme-car .hero-mark{display:block;width:52px;height:52px;margin:0 auto 10px}
.theme-car .hero-mark svg{width:100%;height:100%;overflow:visible}
.theme-car .hm-shield{fill:var(--primary-light);stroke:var(--primary);stroke-width:2.2;stroke-linejoin:round}
.theme-car .hm-car{fill:none;stroke:var(--primary);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.theme-car .hm-wheel{fill:var(--primary)}
/* Mobile step 1: room for the mark - headline + 4 answers + tags still on the first screen (375x667) */
@media (max-width:639px){
  .theme-car .step--1 .quiz-nav{margin-bottom:6px}
  .theme-car .step--1 .first-fold{padding-top:4px}
  .theme-car .hero-mark{width:46px;height:46px;margin-bottom:8px}
  .theme-car .step--1 .screen-header{margin-bottom:12px}
  .theme-car .headline{margin-bottom:8px}
  .theme-car .step--1 .options{gap:8px}
  .theme-car .step--1 .option{min-height:100px;gap:4px;padding:10px 2px}
  .theme-car .step--1 .option-icon{width:36px;height:36px}
  .theme-car .step--1 .trust-row{margin-top:12px}
}
/* Blue highlights (30/11): eyebrow, $400 Off, car-in-shield mark, answer icons, tags, FAQ arrows.
   Comparisons green stays on the CTAs and the progress bar. Result screen unchanged (same as the windows example). */
.theme-car .eyebrow{color:var(--accent)}
.theme-car .hl{color:var(--accent)}
.theme-car .hm-shield{fill:var(--accent-light);stroke:var(--accent)}
.theme-car .hm-car{stroke:var(--accent)}
.theme-car .hm-wheel{fill:var(--accent)}
.theme-car .option-icon{background:var(--accent-light);color:var(--accent)}
.theme-car .option:hover{border-color:var(--accent)}
.theme-car .trust-item{background:var(--accent-light);color:var(--accent)}
.theme-car .trust-item svg{stroke:var(--accent)}
.theme-car .faq-item summary svg{stroke:var(--accent)}/* Progress bar, step number and Back in blue too (30/11) - green is left only on the CTA buttons */
.theme-car .quiz-progress-fill{background:var(--accent)}
.theme-car .step-num{color:var(--accent)}
.theme-car .quiz-back-btn{color:var(--accent)}/* Loading screen in blue too (30/11) - it continues the quiz. The result screen stays as in the windows example (green CTA + checks, yellow coupon). */
.theme-car .shield-loader .s-path,.theme-car .shield-loader .s-check{stroke:var(--accent)}
.theme-car .radar span{border-color:rgba(29,78,137,.12)}
.theme-car .scan-progress span{background:var(--accent)}
.theme-car .verify-dot{animation-name:dotDoneBlue}
@keyframes dotDoneBlue{to{background:var(--accent)}}
@keyframes drawShieldBlue{60%{stroke-dashoffset:0;fill:transparent}to{stroke-dashoffset:0;fill:rgba(29,78,137,.08)}}
.theme-car .shield-loader .s-path{animation-name:drawShieldBlue}

/* Less flat, more "click me" (30/11 - feedback: too white, buttons don't pop). Same structure, stronger surfaces:
   light blue-gray page so the white answer buttons stand out, blue 3D edge + filled blue icons, yellow marker on the $400 Off. */
.theme-car{--bg:#EEF3F9}
.theme-car .option{background:#fff;border:1.5px solid #C5D4E6;box-shadow:0 0 0 1px rgba(29,78,137,.04),0 0 14px rgba(29,78,137,.14),0 4px 0 #B3C5DB,0 10px 18px rgba(29,78,137,.16)} /* soft shadow all around (Alex likes a clear shadow) + blue edge underneath */
.theme-car .option:hover{border-color:var(--accent);box-shadow:0 0 14px rgba(29,78,137,.18),0 4px 0 var(--accent),0 10px 18px rgba(29,78,137,.22)}
.theme-car .option:active{transform:translateY(3px);box-shadow:0 1px 0 #B3C5DB,0 3px 6px rgba(29,78,137,.14)}
.theme-car .option-icon{background:var(--accent);color:#fff}
.theme-car .hl{color:var(--accent);font-weight:700} /* no marker (yellow / green didn't fit, Shahar 30/11) - bold blue */
.theme-car .trust-item{background:#fff;border:1px solid #C5D4E6}
.theme-car .faq-item{border-color:#D3DEEB}
/* Closing image = transparent flat car illustration (ChatGPT, 30/11) instead of the photo - sits right on the page background */
.theme-car .closing-photo--illus{background:none;border-radius:0;object-fit:contain;aspect-ratio:612/278;max-width:270px;margin:0 auto 18px} /* 30/11: smaller on mobile, PNG cropped to the car so there's no empty gap above it */

/* Desktop only (30/11, idea from BestMoney's hero, cleaner): soft hills + the car in the empty side space behind step 1.
   Mobile keeps the quiz clean (no room - the 4 answers fill the screen); there the car stays by the closing CTA. */
@media (min-width:1024px){
  .theme-car .main{position:relative;--car-w:min(255px,calc(50vw - 280px - 56px))}
  .theme-car .screen-container{position:relative;z-index:1}
  /* Car on the left, driving toward the quiz (tried right + mirrored on 30/11 - Shahar chose left) */
  .theme-car .main::after{
    content:"";position:absolute;left:calc(50% - 280px - 32px - var(--car-w));top:calc(max(100svh - 52px,600px) - 40px - var(--car-w) * 278 / 612);
    width:var(--car-w);aspect-ratio:612/278;background:url("assets/closing-car.png") center / contain no-repeat;pointer-events:none;display:none}
  .theme-car:has(#q1-none:checked) .main::after{display:block}
  .theme-car .main::before{
    content:"";position:absolute;left:0;right:0;top:0;height:calc(100svh - 52px);min-height:600px;pointer-events:none;display:none;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'%3E%3Cpath fill='%23DCE6F2' d='M0 120C180 40 340 50 520 110S880 150 1040 80 1320 20 1440 60V220H0z'/%3E%3Cpath fill='%23CCDAEB' d='M0 170C220 120 420 130 640 165S1060 190 1240 140 1400 120 1440 130V220H0z'/%3E%3C/svg%3E") center bottom / 100% 220px no-repeat}
  .theme-car:has(#q1-none:checked) .main::before{display:block}
  .theme-car .closing-photo--illus{display:none} /* the car is already up top on desktop */
}

/* ===== Alex's fixes (30/11) ===== */
/* 1. Less space between the progress bar and the shield icon */
.theme-car .step--1 .quiz-nav{margin-bottom:10px}
.theme-car .step--1 .first-fold{padding-top:18px} /* a bit more than the first cut (Shahar: too tight) */
@media (max-width:639px){.theme-car .step--1 .first-fold{padding-top:10px}}
/* 3-5. One black sentence (was eyebrow + lead), then the whole offer line in blue */
.theme-car .headline-lead{font-size:22px;line-height:1.3;margin-bottom:6px;color:var(--ink)}
@media (max-width:400px){.theme-car .headline-lead{font-size:20px}}
@media (max-width:340px){.theme-car .headline-lead{font-size:18px}}
.theme-car .headline-offer{color:var(--accent)}
/* 6. Step 1 question 22px */
.theme-car .screen-title.screen-title--q1{font-size:22px}
/* 7. Answer icons: no blue box, just the icon in blue */
.theme-car .option-icon{background:none;color:var(--accent)}
.theme-car .option-icon svg{width:30px;height:30px;stroke-width:1.9}
.theme-car .step--1 .option-icon svg{width:32px;height:32px}
/* 9. "Most Popular" ribbon on the first step 3 answer */
.theme-car .option--popular{border-color:var(--accent)}
.theme-car .opt-ribbon{position:absolute;top:-11px;left:14px;padding:3px 9px;border-radius:6px;background:var(--accent);color:#fff;font-size:12px;font-weight:600;letter-spacing:.5px;line-height:1.3;text-transform:uppercase;pointer-events:none}
.theme-car .step--3 .options{padding-top:6px}
/* 10. ZIP step (as in home-warranty-v3: field ~86px / 22px, CTA 70px / 22px, ~28px air) */
.theme-car .step--4 .screen-header{margin-bottom:28px}
.zip-wrapper{position:relative;margin-bottom:12px}
.zip-privacy-note{display:flex;align-items:center;gap:6px;text-wrap:balance;font-size:14px;font-weight:500;color:var(--soft);margin:0 0 28px;padding-left:4px}
.zip-privacy-note svg{width:13px;height:13px;flex-shrink:0;fill:none;stroke:var(--accent);stroke-width:2.2}
.zip-icon{position:absolute;left:20px;top:50%;transform:translateY(-50%);color:var(--accent);pointer-events:none}
.zip-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8}
.zip-input{width:100%;height:86px;padding:0 20px 0 60px;font-family:inherit;font-size:22px;font-weight:600;color:var(--ink);background:#fff;border:2px solid #C5D4E6;border-radius:20px;outline:none;appearance:none;box-shadow:0 0 14px rgba(29,78,137,.12);transition:border-color .2s,box-shadow .2s}
.zip-input::placeholder{color:var(--soft);font-weight:400}
.zip-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(29,78,137,.15)}
.zip-input:valid{border-color:var(--accent)}
.zip-form:has(.zip-input:invalid) .btn-find{background:#c7ccd4;pointer-events:none}
/* 13. Result: "Congratulations!" + "qualifies" line, both green */
.theme-car .result-title--win{color:var(--primary);margin-bottom:4px}
.theme-car .result-sub{text-align:center;font-size:17px;font-weight:600;color:var(--primary);margin-bottom:16px}