:root {
  --paper: #f4f5f2;
  --white: #ffffff;
  --ink: #1f2428;
  --muted: #5b6670;
  --line: #d5dbe0;
  --steel: #2f5d7c;
  --orange: #ff6a13;
  --orange-dark: #d9540a;
  --red: #e0352b;
  --amber: #f5a623;
  --green: #2f9e5b;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.demo { background: var(--ink); color: #c9d3da; font-size: 13px; text-align: center; padding: 6px 16px; }
.demo a { color: var(--orange); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 12px clamp(16px, 4vw, 48px); background: rgb(255 255 255 / 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand b { display: block; font-size: 22px; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; }
.brand small { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.top nav a:hover { color: var(--ink); }
.status { font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: currentColor; }
.status.is-open { color: var(--green); background: #e3f3e9; }
.status.is-closed { color: var(--muted); background: #e9ecef; }
.call { white-space: nowrap; text-decoration: none; font-weight: 800; color: #fff; background: var(--ink); padding: 10px 16px; border-radius: 10px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 56px clamp(16px, 4vw, 48px) 40px; }
.eyebrow { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--steel); }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 900; margin: 14px 0 20px; }
.lead { font-size: 19px; color: var(--muted); max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border: 2px solid var(--orange); background: var(--orange); color: #fff; font-weight: 800; padding: 14px 22px; border-radius: 12px; cursor: pointer; }
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.link { font-weight: 600; color: var(--muted); }

/* Wizard */
.wizard-section { max-width: 920px; margin: 0 auto; padding: 56px clamp(16px, 4vw, 48px) 80px; }
.wizard-head { text-align: center; margin-bottom: 28px; }
.wizard-head h2 { font-size: clamp(34px, 4.4vw, 48px); font-weight: 900; }
.wizard-head p { color: var(--muted); margin-top: 10px; }
.wizard { background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 50px -30px rgb(31 36 40 / 0.45); overflow: hidden; }
.noscript { padding: 32px; }
.progress { height: 6px; background: #e9ecef; }
.progress span { display: block; height: 100%; background: var(--orange); transition: width 0.3s; }
.step { padding: clamp(22px, 4vw, 40px); }
.step-count { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--steel); }
.step h3 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 900; margin-top: 6px; outline: none; }
.help { color: var(--muted); margin-top: 6px; }
.step > :is(.options, .form-grid, .dash, .car-zones, .chips:first-of-type, .urgency) { margin-top: 24px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-top: 16px; }
.form-grid .field { margin-top: 0; }
.field > span { font-size: 14px; font-weight: 700; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; background: var(--paper); }
.field input:focus, .field textarea:focus { border-color: var(--steel); outline: none; background: #fff; }
.chips { border: 0; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 14px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 14px; border: 2px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.options-icons { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.option { position: relative; display: flex; align-items: center; gap: 12px; text-align: left; padding: 16px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; transition: border-color 0.15s, transform 0.15s; }
.option:hover { border-color: var(--steel); }
.option.has-icon { flex-direction: column; align-items: flex-start; }
.option-icon { display: block; width: 64px; height: 48px; color: var(--steel); }
.option-icon svg { width: 100%; height: 100%; }
.option-text b { display: block; font-weight: 700; line-height: 1.25; }
.option-text small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.option[aria-pressed="true"] { border-color: var(--orange); background: #fff4ec; }
.option[aria-pressed="true"] .option-icon { color: var(--orange); }
.tick { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); }
.option[aria-pressed="true"] .tick { background: var(--orange); border-color: var(--orange); }
.option[aria-pressed="true"] .tick::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* Dashboard with warning lights */
.dash { display: grid; grid-template-columns: 120px 1fr 120px; gap: 20px; align-items: center; padding: 24px; background: linear-gradient(#262c31, #15191c); border-radius: 22px; box-shadow: inset 0 2px 0 #3a4148; }
.gauge { width: 100%; }
.lights { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.light { display: grid; justify-items: center; gap: 6px; padding: 12px 6px 10px; border-radius: 12px; border: 1px solid #343b41; background: #1b2024; color: #4a535b; cursor: pointer; transition: color 0.15s, box-shadow 0.15s; }
.light svg { width: 38px; height: 38px; }
.light span { font-size: 11px; line-height: 1.2; color: #8b959e; text-align: center; }
.light:hover { color: #6d7882; }
.light-red[aria-pressed="true"] { color: #ff3b30; box-shadow: 0 0 18px rgb(255 59 48 / 0.45); border-color: #5a2421; }
.light-amber[aria-pressed="true"] { color: #ffb020; box-shadow: 0 0 18px rgb(255 176 32 / 0.45); border-color: #5a4419; }
.light[aria-pressed="true"] span { color: #e6eaee; }
.secondary-choice { margin-top: 14px; padding: 8px 14px; border: 2px dashed var(--line); border-radius: 999px; background: transparent; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; }
.secondary-choice[aria-pressed="true"] { border-style: solid; border-color: var(--ink); background: var(--ink); color: #fff; }

/* Car seen from above, with clickable zones */
.car-zones { position: relative; max-width: 460px; margin-inline: auto; }
.car-top { display: block; width: 52%; margin: 0 auto; }
.zone { position: absolute; transform: translate(-50%, -50%); padding: 7px 12px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; font-weight: 700; font-size: 13px; line-height: 1.2; cursor: pointer; white-space: nowrap; box-shadow: 0 4px 10px -4px rgb(0 0 0 / 0.35); }
.zone::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--line); vertical-align: 1px; }
.zone[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.zone[aria-pressed="true"]::before { background: #fff; }

/* Navigation */
.nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px clamp(22px, 4vw, 40px); border-top: 1px solid var(--line); background: #fafbfa; }
.step-summary + .nav, .step .nav { border-top: 0; background: transparent; padding: 24px 0 0; }
.back { border: 0; background: transparent; font-weight: 700; color: var(--muted); padding: 10px 4px; cursor: pointer; }
.back:hover { color: var(--ink); }
.next { border: 0; background: var(--orange); color: #fff; font-weight: 800; padding: 12px 24px; border-radius: 10px; cursor: pointer; }
.next:hover { background: var(--orange-dark); }
.next:disabled { background: #c6ccd1; cursor: not-allowed; }

/* Summary */
.urgency { padding: 18px 20px; border-radius: var(--radius); border-left: 6px solid; }
.urgency b { font-size: 20px; }
.urgency p { margin-top: 4px; }
.urgency-stop { background: #fdecea; border-color: var(--red); }
.urgency-soon { background: #fff5e0; border-color: var(--amber); }
.urgency-ok { background: #e6f4ec; border-color: var(--green); }
.summary-text { font: 15px/1.6 var(--mono) !important; resize: vertical; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.disclaimer { margin-top: 14px; font-size: 14px; color: var(--muted); }
.privacy { margin-top: 16px; text-align: center; font-size: 14px; color: var(--muted); }

/* Services and contact */
.services, .contact { max-width: 1100px; margin: 0 auto; padding: 72px clamp(16px, 4vw, 48px); }
.services h2, .contact h2 { font-size: clamp(32px, 4vw, 44px); font-weight: 900; margin-bottom: 28px; }
.services ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.services li { display: grid; gap: 4px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); border-top: 4px solid var(--steel); }
.services li b { font-size: 19px; }
.services li span { color: var(--muted); font-size: 15px; }
.services li em { font-style: normal; font-weight: 800; color: var(--orange-dark); margin-top: 6px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; border-top: 1px solid var(--line); }
address { font-style: normal; font-size: 19px; margin-bottom: 20px; }
table { width: 100%; border-collapse: collapse; }
caption { text-align: left; font-weight: 800; font-size: 20px; margin-bottom: 10px; }
th, td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
td { text-align: right; font-weight: 700; }
footer { background: var(--ink); color: #c9d3da; text-align: center; padding: 24px; font-size: 14px; }

@media (max-width: 900px) {
  .top nav { display: none; }
  .status { margin-left: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 32px; }
  .hero img { max-width: min(480px, 100%); }
  .services ul { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; padding: 16px; }
  .gauge { display: none; }
  .lights { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
}
@media (max-width: 560px) {
  .call { padding: 8px 12px; font-size: 14px; }
  .brand small, .status { display: none; }
  .top { gap: 12px; }
  .call { margin-left: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .services ul { grid-template-columns: 1fr; }
  .options, .options-icons { grid-template-columns: 1fr 1fr; }
  .options:not(.options-icons) { grid-template-columns: 1fr; }
  .option.has-icon { padding: 14px 12px; }
  .car-top { width: 60%; }
  .zone { font-size: 12px; padding: 6px 9px; white-space: normal; max-width: 34%; text-align: center; }
  .actions .btn { width: 100%; }
}
