/* ==========================================================================
   Vetted Auto Inspections — site styles (v2)
   Design system from ui-ux-pro-max: Minimalism & Swiss style, hero-centric
   pattern, DM Sans, subtle motion. Brand orange replaces the generator's red.
   Every text/background pair below is checked to WCAG 2.2 AA.
   ========================================================================== */

:root {
  /* Light surfaces */
  --bg:        #f8fafc;
  --card:      #ffffff;
  --muted:     #eef2f6;
  --border:    #e2e8f0;
  --border-2:  #cbd5e1;
  --fg:        #0f172a;   /* 17.9:1 on --bg */
  --fg-2:      #475569;   /*  7.2:1 on --bg */
  --fg-3:      #64748b;   /*  4.6:1 on --bg, small labels only */

  /* Dark bands */
  --ink:       #0b0f17;
  --ink-line:  #263041;
  --on-ink:    #f1f5f9;   /* 17.4:1 on --ink */
  --on-ink-2:  #b6c0cf;   /*  9.9:1 on --ink */

  /* Brand */
  --orange:       #e8601c; /* accents on dark (5.6:1 on --ink) */
  --orange-deep:  #c2410c; /* text/fills on light; white text on it 5.1:1 */
  --orange-hover: #9a3412;
  --orange-tint:  #fff7ed;

  --danger: #b91c1c;        /* 6.5:1 on white */
  --ok:     #15803d;

  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 3rem);
  --section-y: clamp(4.5rem, 2.5rem + 7vw, 8.5rem);
  --hdr-h: 76px;
  --ease: cubic-bezier(.2,.7,.2,1);

  /* Spacing + type scale (also used by inline styles in page templates) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem;   --s-7: 3rem;  --s-8: 4rem;   --s-9: 6rem; --s-10: 8rem;
  --t-xs: .8125rem; --t-sm: .9375rem; --t-base: 1.0625rem; --t-lg: 1.125rem;
  --t-xl: clamp(1.25rem, 1.15rem + .4vw, 1.4rem);
  --t-2xl: clamp(1.5rem, 1.3rem + .9vw, 2rem);
  --t-3xl: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  --t-4xl: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  --t-5xl: clamp(2.75rem, 1.5rem + 5vw, 5.25rem);
  --r-sm: 10px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px;

  /* Legacy names -> v2 values, so older page templates restyle automatically */
  --c-bg: var(--bg); --c-surface: var(--card); --c-surface-2: var(--muted);
  --c-line: var(--border); --c-line-strong: var(--border-2);
  --c-ink: var(--fg); --c-ink-2: #334155; --c-ink-mute: var(--fg-2); --c-ink-faint: var(--fg-3);
  --c-orange: var(--orange-deep);
  --f-display: var(--font); --f-body: var(--font); --f-mono: var(--font);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font); font-size: var(--t-base); line-height: 1.6;
  color: var(--fg-2); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
/* <picture> only swaps in WebP; it should never affect layout */
picture { display: contents; }
picture > source { display: none; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
[id] { scroll-margin-top: calc(var(--hdr-h) + 16px); }
.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: 1rem; top: -100px; z-index: 300; background: var(--fg); color: #fff; padding: .75rem 1.25rem; border-radius: var(--r-sm); font-weight: 500; }
.skip-link:focus { top: 1rem; }
.break-any { overflow-wrap: anywhere; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { color: var(--fg); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: var(--t-5xl); letter-spacing: -0.04em; line-height: 1; }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25; }
h4 { font-size: 1.125rem; }
p { text-wrap: pretty; }
strong { font-weight: 700; }
.lede, .lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--fg-2); max-width: 60ch; }
.muted { color: var(--fg-2); }
.eyebrow, .kicker { display: block; font-size: .875rem; font-weight: 500; color: var(--orange-deep); margin-bottom: 1rem; letter-spacing: 0; text-transform: none; }
.eyebrow--center { text-align: center; }
.tlink { color: var(--orange-deep); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tlink:hover { color: var(--orange-hover); }

/* Dark contexts */
.dark, .cta-band { background: var(--ink); color: var(--on-ink-2); }
.dark h1, .dark h2, .dark h3, .cta-band h2 { color: var(--on-ink); }
.dark .lede, .dark .lead, .cta-band .lede { color: var(--on-ink-2); }
.dark .eyebrow, .dark .kicker, .cta-band .eyebrow { color: var(--orange); }
.dark .tlink, .cta-band .tlink { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: .75rem 1.5rem; border-radius: 999px;
  font-weight: 500; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--primary, .btn--onpaper { background: var(--orange-deep); color: #fff; }
.btn--primary:hover, .btn--onpaper:hover { background: var(--orange-hover); }
.btn--ghost, .btn--line { background: var(--card); color: var(--fg); border-color: var(--border-2); }
.btn--ghost:hover, .btn--line:hover { border-color: var(--fg); }
.btn--dark { background: var(--fg); color: #fff; }
.btn--dark:hover { background: #1e293b; }
.btn--glass, .dark .btn--ghost, .cta-band .btn--ghost, .hero .btn--ghost, .panel .btn--ghost {
  background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.35);
}
.btn--glass:hover, .dark .btn--ghost:hover, .cta-band .btn--ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); }
.btn--lg { min-height: 54px; padding: .85rem 1.75rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn-row, .btns { display: flex; flex-wrap: wrap; gap: .75rem; }

.arrow-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; color: var(--fg); text-decoration: none; }
.arrow-link svg { transition: transform .2s var(--ease); }
.arrow-link:hover svg { transform: translateX(3px); }
.dark .arrow-link { color: var(--on-ink); }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,250,252,.92); backdrop-filter: blur(12px);
  color: var(--fg); border-bottom: 1px solid var(--border);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.hdr--overlay { position: fixed; inset: 0 0 auto; background: transparent; color: #fff; border-color: transparent; backdrop-filter: none; }
.hdr--overlay.is-solid { background: rgba(248,250,252,.92); backdrop-filter: blur(12px); color: var(--fg); border-color: var(--border); }
.hdr__bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--hdr-h); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; min-height: 44px; flex-shrink: 0; }
.brand svg { width: 34px; height: 34px; }
.brand__name { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand__name span { font-weight: 400; opacity: .78; }
.hdr__cta .btn { white-space: nowrap; min-height: 46px; padding: .6rem 1.25rem; }

/* Desktop nav: each item = page link + chevron button that opens its section menu */
.nav__list { display: flex; gap: .1rem; list-style: none; padding: 0; margin: 0; }
.nav__item { position: relative; display: flex; align-items: center; border-radius: 999px; transition: background-color .2s var(--ease); }
.nav__item:hover, .nav__item.is-open { background: rgba(127,127,127,.12); }
.nav__link { padding: .55rem .15rem .55rem .7rem; text-decoration: none; font-size: .95rem; font-weight: 500; line-height: 1.2; white-space: nowrap; opacity: .88; }
.nav__item:hover .nav__link, .nav__item.is-open .nav__link { opacity: 1; }
.nav__link[aria-current="page"] { opacity: 1; color: var(--orange-deep); }
.hdr--overlay:not(.is-solid) .nav__link[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.nav__toggle { display: grid; place-items: center; width: 26px; height: 40px; margin-right: .3rem; border-radius: 999px; opacity: .75; }
.nav__toggle:hover { opacity: 1; }
.nav__toggle svg { transition: transform .2s var(--ease); }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 120; min-width: 230px;
  background: var(--card); color: var(--fg); border: 1px solid var(--border); border-radius: 14px;
  padding: .4rem; box-shadow: 0 12px 32px rgba(15,23,42,.14), 0 2px 6px rgba(15,23,42,.06);
}
.nav__item:nth-last-child(-n+2) .nav__menu { left: auto; right: 0; }
/* Invisible bridge so the menu doesn't close while the pointer crosses the gap */
.nav__menu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__menu ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
/* Wide menu (Coverage): cities in two columns, overview + out-of-state rows span both */
.nav__menu--wide { min-width: 400px; }
.nav__menu--wide ul { grid-template-columns: 1fr 1fr; }
.nav__menu--wide .nav__menu-full { grid-column: 1 / -1; }
.nav__menu--wide .nav__menu-full:first-child { border-bottom: 1px solid var(--border); padding-bottom: 2px; margin-bottom: 2px; }
.nav__menu--wide .nav__menu-full:last-child { border-top: 1px solid var(--border); padding-top: 2px; margin-top: 2px; }
.nav__menu a {
  display: flex; align-items: center; min-height: 44px; padding: .55rem .85rem; border-radius: 9px;
  color: var(--fg); text-decoration: none; font-size: .95rem; font-weight: 500; white-space: nowrap;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav__menu a:hover, .nav__menu a:focus-visible { background: var(--muted); color: var(--orange-deep); }
@media (prefers-reduced-motion: no-preference) {
  .nav__menu:not([hidden]) { animation: menuIn .16s var(--ease); }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}

/* Mobile drawer: same sections as expandable lists */
.drawer__group { border-bottom: 1px solid var(--border); }
.drawer__row { display: flex; align-items: center; justify-content: space-between; }
.drawer__link { flex: 1; display: flex; align-items: center; min-height: 54px; font-size: 1.0625rem; font-weight: 500; text-decoration: none; color: var(--fg); }
.drawer__link[aria-current="page"] { color: var(--orange-deep); }
.drawer__toggle { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; color: var(--fg); }
.drawer__toggle:hover { background: var(--muted); }
.drawer__toggle svg { transition: transform .2s var(--ease); }
.drawer__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer__sub { list-style: none; padding: 0 0 .75rem .25rem; margin: 0; display: grid; gap: 2px; }
.drawer__sub[hidden] { display: none; }
.drawer__sub a { display: flex; align-items: center; min-height: 44px; padding: .4rem .75rem; border-radius: 9px; color: var(--fg-2); text-decoration: none; font-size: .98rem; }
.drawer__sub a:hover { background: var(--muted); color: var(--fg); }
.drawer__actions { display: grid; gap: .6rem; padding-top: 1.25rem; }
.hdr__cta { display: flex; align-items: center; gap: .5rem; }
.hdr__phone { font-weight: 500; text-decoration: none; padding: .6rem .8rem; white-space: nowrap; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 999px; align-items: center; justify-content: center; }
.menu-btn:hover { background: rgba(127,127,127,.12); }
.drawer { display: block; padding-bottom: 1.5rem; max-height: calc(100dvh - var(--hdr-h)); overflow-y: auto; overscroll-behavior: contain; color: var(--fg); }
.drawer[hidden] { display: none; }
/* The header runs a little wider than page content so the menus + phone + CTA fit. */
.hdr > .wrap { max-width: 1360px; }
@media (max-width: 1399px) { .hdr__phone { display: none; } }
@media (max-width: 1180px) { .nav { display: none; } .menu-btn { display: inline-flex; } }
@media (max-width: 640px) { .hdr__cta .btn { display: none; } }
/* Very small screens (320px, or iPhone "Display Zoom"): keep logo + menu button inside the screen */
@media (max-width: 359px) {
  .hdr__bar { gap: .5rem; }
  .brand { gap: .45rem; }
  .brand svg { width: 28px; height: 28px; }
  .brand__name { font-size: .95rem; }
  .menu-btn { width: 44px; height: 44px; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero__img::after {
  content: ''; position: absolute; inset: 0;
  /* Text sits over a white vehicle, so the overlay must be dark enough from ~35% down
     for the small kicker line to keep >= 4.5:1 (measured ~7:1 at its darkest point). */
  background: linear-gradient(180deg, rgba(11,15,23,.55) 0%, rgba(11,15,23,.5) 22%, rgba(11,15,23,.76) 42%, rgba(11,15,23,.95) 100%);
}
.hero__body { position: relative; width: 100%; padding-block: 9rem 4rem; }
.hero h1 { color: #fff; max-width: 12ch; margin-bottom: 1.25rem; }
.hero .lead { color: rgba(255,255,255,.88); margin-bottom: 2rem; }
.hero .kicker { color: rgba(255,255,255,.9); }

/* ---------- Interior page header ---------- */
.page-head { padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); border-bottom: 1px solid var(--border); }
.page-head h1 { font-size: var(--t-4xl); max-width: 20ch; margin-bottom: 1.25rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin-bottom: 2rem; font-size: .875rem; color: var(--fg-3); }
.breadcrumb a { color: var(--fg-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--fg); text-decoration: underline; }
.breadcrumb li::after { content: '/'; margin-left: .5rem; color: var(--border-2); }
.breadcrumb li:last-child::after { content: none; }

/* ---------- Section heads + grids ---------- */
.section-head, .head { max-width: 760px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head h2, .head h2 { margin-bottom: 1rem; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .lede { margin-inline: auto; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2rem; transition: border-color .2s var(--ease); }
.card:hover { border-color: var(--border-2); }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--fg-2); font-size: var(--t-sm); }
.card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.25rem; background: var(--orange-tint); color: var(--orange-deep); }

.item-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.5rem; display: flex; gap: 1rem; }
.item-card__num { font-size: .875rem; font-weight: 700; color: var(--orange-deep); padding-top: .15rem; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.item-card h3 { font-size: 1.0625rem; margin-bottom: .35rem; }
.item-card p { font-size: var(--t-sm); color: var(--fg-2); }

.check-list { list-style: none; padding: 0; display: grid; gap: 1.1rem; }
.check-list li { display: flex; gap: .85rem; align-items: flex-start; }
.check-list svg { color: var(--orange-deep); flex-shrink: 0; margin-top: .2rem; }
.check-list strong { color: var(--fg); display: block; font-weight: 500; margin-bottom: .1rem; }
.check-list span { font-size: var(--t-sm); color: var(--fg-2); }
.dark .check-list svg { color: var(--orange); }

.checks { list-style: none; padding: 0; display: grid; gap: .9rem; margin-top: 1.5rem; }
.checks li { display: flex; gap: .75rem; align-items: flex-start; color: var(--fg-2); }
.checks svg { flex-shrink: 0; color: var(--orange-deep); margin-top: .3rem; }
/* One checkmark size everywhere, so a wrapped line never squeezes the icon */
.checks svg, .check-list svg { width: 18px; height: 18px; }
.checks--sm { margin-top: 0; gap: .75rem; }
.checks--sm li { font-size: var(--t-sm); }
.checks--sm svg { margin-top: .2rem; }
.checks--cols { grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); }

/* ---------- Split ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 5rem; } .split--reverse .split__media { order: 2; } }
.split__media img, .split > img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Full-width photo panel ---------- */
.panel { position: relative; min-height: min(85svh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.panel__img { position: absolute; inset: 0; }
.panel__img img { width: 100%; height: 100%; object-fit: cover; }
.panel__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,23,.1) 20%, rgba(11,15,23,.9) 100%); }
.panel__body { position: relative; width: 100%; padding-block: 3.5rem; }
.panel h2 { color: #fff; max-width: 16ch; margin-bottom: 1rem; }
.panel p { color: rgba(255,255,255,.88); max-width: 48ch; margin-bottom: 1.75rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 2.5rem 2rem; }
.stat { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.stat__num { font-size: clamp(3rem, 2rem + 3.5vw, 4.75rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; }
.stat__num small { font-size: .45em; letter-spacing: -0.02em; margin-left: .1em; }
.stat__label { margin-top: .75rem; }

/* Gold rating stars. Bright gold alone is ~1.8:1 on light backgrounds, so an amber
   outline keeps the shape above the 3:1 non-text contrast minimum. */
.stars { display: flex; gap: 2px; }
.stars svg, .star-gold { fill: #fbbc04; stroke: #a16207; stroke-width: 1.2; stroke-linejoin: round; }
.dark .star-gold, .hero .star-gold { stroke: none; }
.stat__star { display: inline-block; width: .55em; height: .55em; margin-left: .15em; vertical-align: .05em; }
.inline-star { display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; margin-inline: .15em; }

/* ---------- Photo cards ---------- */
.pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 1.5rem; }
.pcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.pcard__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--muted); margin-bottom: 1.1rem; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.035); }
.pcard h3 { margin-bottom: .4rem; }
.pcard p { font-size: .98rem; margin-bottom: .9rem; }
.pcard .arrow-link { margin-top: auto; font-size: .95rem; }

/* ---------- Tabs ---------- */
.tabs__list { display: flex; gap: .35rem; flex-wrap: wrap; padding: .35rem; border-radius: 999px; background: var(--muted); width: fit-content; max-width: 100%; margin-bottom: 2.5rem; }
@media (max-width: 640px) { .tabs__list { border-radius: var(--r-lg); } }
.tabs__tab { min-height: 44px; padding: .55rem 1.1rem; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--fg-2); transition: background-color .2s var(--ease), color .2s var(--ease); }
.tabs__tab:hover { color: var(--fg); }
.tabs__tab[aria-selected="true"] { background: var(--card); color: var(--fg); box-shadow: 0 1px 2px rgba(15,23,42,.08); }
.tabs__panel { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 880px) { .tabs__panel { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
.tabs__panel[hidden] { display: none; }
.tabs__panel img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--border); padding-top: 1.5rem; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-weight: 700; color: var(--orange-deep); margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: .5rem; }

/* ---------- Saves ---------- */
.save-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.save-card__vehicle { font-size: .875rem; font-weight: 500; color: var(--orange-deep); }
.save-card h3 { font-size: 1.25rem; }
.save-card__outcome { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--border); display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.save-card__figure { font-size: var(--t-3xl); font-weight: 700; letter-spacing: -0.04em; color: var(--fg); line-height: 1; }
.save-card__label { font-size: .9rem; color: var(--fg-2); }
/* Warning outcome: red text (6.5:1 on white) plus a flag icon, so colour isn't the only cue. */
.save-card__figure--alert { color: var(--danger); display: inline-flex; align-items: center; gap: .4rem; }
/* Positive outcome: green (5.0:1 on white) plus a check icon, mirroring the red flag. */
.save-card__figure--good { color: var(--ok); display: inline-flex; align-items: center; gap: .4rem; }
.save-card__figure--alert svg, .save-card__figure--good svg { width: .8em; height: .8em; flex-shrink: 0; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 1.5rem; }
.review { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.review blockquote { color: var(--fg); font-size: 1.05rem; line-height: 1.55; }
.review figcaption, .review footer { margin-top: auto; font-size: .95rem; }
.review figcaption strong, .review footer strong { color: var(--fg); font-weight: 500; }

/* ---------- Coverage list ---------- */
.area-list { list-style: none; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.area-list a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 60px; padding: .75rem 1.25rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); text-decoration: none; color: var(--fg); font-weight: 500; transition: border-color .2s var(--ease); }
.area-list a:hover { border-color: var(--fg); }
.area-list svg { color: var(--fg-3); flex-shrink: 0; transition: transform .2s var(--ease); }
.area-list a:hover svg { transform: translateX(3px); color: var(--fg); }

/* ---------- Packages ---------- */
.pkg { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2rem; display: flex; flex-direction: column; gap: .5rem; }
.pkg--featured { border: 2px solid var(--orange-deep); }
.pkg__badge { position: absolute; top: -.85rem; left: 2rem; background: var(--orange-deep); color: #fff; font-size: .8125rem; font-weight: 500; padding: .2rem .75rem; border-radius: 999px; }
.pkg__label { font-size: .95rem; font-weight: 500; color: var(--fg-2); letter-spacing: 0; }
.pkg__from { font-size: var(--t-sm); color: var(--fg-2); margin: .75rem 0 -.25rem; }
.pkg__price { font-size: clamp(2.75rem, 2rem + 3vw, 3.75rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; }
.pkg__per { font-size: var(--t-sm); color: var(--fg-2); min-height: 2.6em; }
.pkg__list { list-style: none; padding: 1rem 0 0; margin: .5rem 0 1.5rem; border-top: 1px solid var(--border); display: grid; gap: .5rem; font-size: var(--t-sm); color: var(--fg-2); }
.pkg__list li { padding-left: 1.5rem; position: relative; }
.pkg__list li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 9px; height: 5px; border-left: 2px solid var(--orange-deep); border-bottom: 2px solid var(--orange-deep); transform: rotate(-45deg); }
.pkg .btn { margin-top: auto; }

.price-band { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .price-band { grid-template-columns: auto 1fr auto; } }
.price-band__figure { font-size: clamp(3.5rem, 2rem + 6vw, 5.5rem); font-weight: 700; letter-spacing: -0.05em; line-height: .9; color: var(--fg); }
.price-band__figure sup { font-size: .4em; vertical-align: super; color: var(--orange-deep); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
/* FAQ topic groups: clear space and a hairline between topics, so each heading
   reads as the start of its group rather than the end of the one above. */
.faq-groups { display: grid; gap: clamp(2rem, 1.5rem + 1.5vw, 3rem); max-width: 900px; }
.faq-group + .faq-group { border-top: 1px solid var(--border); padding-top: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.faq-group__title { font-size: var(--t-2xl); margin-bottom: 1.5rem; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); transition: border-color .2s var(--ease); }
.faq details[open] { border-color: var(--border-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; min-height: 64px; cursor: pointer; list-style: none; font-weight: 500; font-size: 1.0625rem; color: var(--fg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex-shrink: 0; width: 10px; height: 10px; border-right: 2px solid var(--fg-3); border-bottom: 2px solid var(--fg-3); transform: rotate(45deg) translate(-2px,-2px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px,-2px); }
.faq__body { padding: 0 1.5rem 1.5rem; color: var(--fg-2); max-width: 75ch; }
.faq__body p + p { margin-top: 1rem; }

/* ---------- Forms ---------- */
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem); }
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.25rem; }
.field > label { font-size: .95rem; font-weight: 500; color: var(--fg); }
.field .req { color: var(--orange-deep); }
.field .opt { font-weight: 400; color: var(--fg-3); font-size: .875rem; margin-left: .15rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .75rem 1rem;
  background: var(--card); color: var(--fg);
  border: 1px solid var(--border-2); border-radius: var(--r-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--fg-3); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange-deep); box-shadow: 0 0 0 3px rgba(194,65,12,.15); outline: none; }
.field .hint { font-size: .875rem; color: var(--fg-3); }
.field .err { font-size: .9rem; color: var(--danger); font-weight: 500; display: none; }
.field[data-invalid="true"] .err, .consent[data-invalid="true"] .err { display: block; }
.field[data-invalid="true"] input, .field[data-invalid="true"] select, .field[data-invalid="true"] textarea { border-color: var(--danger); }
.fleet-callout {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.25rem; padding: 1rem 1.25rem; min-height: 60px;
  background: var(--orange-tint); border: 1px solid #fed7aa; border-radius: var(--r-md);
  color: var(--fg); text-decoration: none; font-size: .95rem;
  transition: border-color .2s var(--ease);
}
.fleet-callout:hover { border-color: var(--orange-deep); }
.fleet-callout svg { flex-shrink: 0; color: var(--orange-deep); transition: transform .2s var(--ease); }
.fleet-callout:hover svg { transform: translateX(3px); }
.choice-group { border: 0; padding: 0; min-width: 0; }
.choice-group legend { font-size: .95rem; font-weight: 500; color: var(--fg); margin-bottom: .5rem; padding: 0; }
.choices { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
.choice {
  display: flex; align-items: center; gap: .65rem; min-height: 48px; padding: .6rem .9rem;
  border: 1px solid var(--border-2); border-radius: var(--r-sm); background: var(--card);
  color: var(--fg); font-size: .95rem; cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.choice:hover { border-color: var(--fg-3); }
.choice input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--orange-deep); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--orange-deep); background: var(--orange-tint); }
.choice:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.field-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.consent { display: flex; flex-wrap: wrap; gap: .85rem; align-items: flex-start; padding: 1rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm); margin-bottom: 1.25rem; }
.consent input[type="checkbox"] { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; accent-color: var(--orange-deep); cursor: pointer; }
.consent label { flex: 1; min-width: 200px; font-size: .95rem; color: var(--fg-2); cursor: pointer; }
.consent .err { width: 100%; font-size: .9rem; color: var(--danger); font-weight: 500; display: none; }
.form-error-summary { display: none; padding: 1rem 1.25rem; margin-bottom: 1.25rem; background: #fef2f2; border: 1px solid #fca5a5; border-radius: var(--r-sm); color: var(--fg); }
.form-error-summary[data-show="true"] { display: block; }
.form-error-summary h3 { font-size: 1rem; color: var(--danger); margin-bottom: .4rem; }
.form-error-summary ul { padding-left: 1.25rem; font-size: .95rem; }
.form-error-summary a { color: var(--fg); }
.form-status { display: none; padding: 1.25rem; border-radius: var(--r-sm); margin-top: 1.25rem; font-size: .95rem; color: var(--fg); }
.form-status[data-state="success"] { display: block; background: #f0fdf4; border: 1px solid #86efac; }
.form-status[data-state="error"] { display: block; background: #fef2f2; border: 1px solid #fca5a5; }

/* ---------- Contact rows ---------- */
.contact-list { list-style: none; padding: 0; display: grid; gap: .75rem; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 1rem; min-height: 64px; padding: 1rem 1.25rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); text-decoration: none; transition: border-color .2s var(--ease); }
.contact-list a:hover { border-color: var(--fg); }
.contact-list svg { color: var(--orange-deep); flex-shrink: 0; }
.contact-list .k { display: block; font-size: .8125rem; color: var(--fg-3); }
.contact-list .v { color: var(--fg); font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band__inner { padding-block: clamp(4rem, 2.5rem + 6vw, 7.5rem); display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
.cta { text-align: center; }
.cta h2 { max-width: 17ch; margin: 0 auto 1.25rem; }
.cta .lead { margin: 0 auto 2.25rem; }
.cta .btns { justify-content: center; }

/* ---------- Placeholder notes (content still to supply) ---------- */
.placeholder { border: 1px dashed #fdba74; background: var(--orange-tint); border-radius: var(--r-md); padding: 1.25rem 1.5rem; font-size: .95rem; color: var(--fg); }
.placeholder__tag { display: block; margin-bottom: .35rem; font-size: .8125rem; font-weight: 700; color: var(--orange-hover); }

/* ---------- Sample report ---------- */
.report-pages { display: grid; gap: 3rem; max-width: 900px; margin-inline: auto; }
.report-page img { width: 100%; border-radius: var(--r-md); border: 1px solid var(--border-2); background: #fff; }
.report-page figcaption { margin-top: .75rem; text-align: center; font-size: .875rem; color: var(--fg-3); }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--on-ink-2); padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem) 2.5rem; font-size: .95rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--on-ink); text-decoration: underline; text-underline-offset: 3px; }
.foot__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); margin-bottom: 3rem; }
.foot .brand { color: var(--on-ink); margin-bottom: 1rem; }
.foot h2 { font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--on-ink); margin-bottom: .75rem; }
.foot ul { list-style: none; padding: 0; display: grid; gap: .1rem; }
.foot li a { display: inline-flex; align-items: center; min-height: 40px; }
.foot__seal { margin-top: 1.25rem; }
.foot__seal a { display: inline-block; line-height: 0; }
.foot__seal img { max-width: 100%; height: auto; }
.foot__bottom { border-top: 1px solid var(--ink-line); padding-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; font-size: .875rem; }
.foot__bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.foot__disclaimer { margin-top: 1.5rem; font-size: .8125rem; color: var(--on-ink-2); max-width: 90ch; }

/* ---------- Motion: subtle reveal (skill: opacity + 12px, ~350ms) ----------
   Hidden only while JS runs AND the visitor hasn't asked for reduced motion,
   so content is never invisible to crawlers or no-JS visitors. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }
  .hero__img img { animation: settle 1.6s var(--ease) both; }
  @keyframes settle { from { transform: scale(1.05); } to { transform: scale(1); } }
  .js .tabs__panel:not([hidden]) { animation: fadeIn .35s var(--ease); }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .hdr, .foot, .cta-band, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
