/* Landing v7 page styles, moved out of LandingV7.cshtml.
   The page is dynamic and never cached, so these ~160KB (33KB compressed) were
   re-downloaded on every visit. As a versioned file (asp-append-version, served
   immutable for a year) they are fetched once; the ?v= hash changes whenever
   this file does, so a visitor can never be served a stale copy.
   The theme :root stays inline in the page because it is filled from Website
   Settings at request time — this file only reads those custom properties. */

/* Lightens the theme accent for the dark stats band while keeping its own
   chroma and hue — mixing toward white (the fallback in :root) lightens but
   desaturates, which left the numerals looking grey. Chrome 119+/Safari 16.4+;
   anything older keeps the fallback. */
@supports (color: oklch(from white l c h)) {
  :root { --stats-band-accent: oklch(from var(--primary) 0.72 c h); }
}

* { box-sizing: border-box; }
.motion-ready [data-motion-item] {
  opacity: 0;
  visibility: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  background: var(--primary);
  color: var(--color-text-inverse);
  font-weight: 700;
  font-size: var(--font-size-base);
  border-radius: 0 0 10px 10px;
  text-decoration: none;
}
.skip-link:focus { top: 0; }
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 3px;
}
body {
  margin: 0;
  font-family: var(--font-family-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
}

.section {
  padding: 56px 0;
}

.section-tight {
  padding: 34px 0;
}

.section-top-compact {
  padding-top: 18px;
}

.section-subtitle {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
  color: var(--muted);
  font-size: var(--font-size-lg);
  line-height: 1.65;
}

.section-subtitle-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.section-subtitle-link:hover {
  text-decoration: underline;
}

.section-note {
  max-width: 760px;
  /* A footnote, spaced and sized like one. At 20px it sat closer to the
     packages than half the distance it kept from the end of the section,
     which read as crowding the last card rather than annotating it — still
     nearer the thing it belongs to, just far enough to be its own line. It
     also ran at body size, so a line of small print carried the same weight
     as the copy above it; --text-xs is the page's own small step, and keeps
     the Terms link big enough to read and to hit. */
  margin: 32px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: var(--text-xs);
  line-height: 1.6;
}

.section-note-flush {
  margin-top: 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head::before,
.section-head::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.section-head h2 {
  margin: 0;
  font-family: var(--public-font-heading);
  font-size: var(--text-section);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: var(--font-weight-extrabold);
  text-align: center;
}

.hero {
  --hero-unit: min(1.306px, 0.0680272vw, calc((100svh - 120px) / 640));
  position: relative;
  overflow: hidden;
  color: var(--color-text-primary);
  background: var(--surface-base);
  max-width: 1920px;
  margin-inline: auto;
  /* One scale for the photograph, copy and controls. Reserve the header
     and benefits before fitting the shared composition into the viewport. */
  /* Fills the viewport rather than stopping at the composition's own
     height. At 744 units the hero came out shorter than the window on
     every desktop size — 176px short at 1470x920 — so the stats cards
     below pushed into view. Cover fits this photograph by its width at
     normal window shapes, so filling costs nothing: the scale, the car's
     margins and the crop are identical, only the tarmac below the car
     grows. The 1150-unit ceiling is for narrow, tall windows, where the
     frame does start scaling by height and the car reaches the right
     edge — better a small peek there than a cropped car. */
  min-height: min(100svh, calc(1150 * var(--hero-unit)));
  display: grid;
  grid-template-rows: auto minmax(min-content, 1fr) auto;
  gap: clamp(8px, calc(20 * var(--hero-unit)), 26px);
  padding-block: var(--public-topbar-offset) clamp(12px, calc(28 * var(--hero-unit)), 36px);
  border-bottom: 1px solid var(--color-border-light);
}

@media (max-height: 850px) {
  /* Reserve screen space for the chips when browser chrome reduces height. */
  .hero { padding-bottom: 16px; }
}

/* The foot wash is anchored to the chip strip, not to the hero, because the
   strip's height is not fixed: it scales from 44px to 56px with the viewport,
   and it ran up to 108px while the chips still carried a second line.
   Against a fixed 120px band that relationship changed at every size — at
   1920 the strip's top sat 25px above the wash on bare photograph while its
   foot was on white, and at 1280 it floated with 17px of plain white beneath
   it. Tied to the strip, the photograph fades the same distance above the
   chips everywhere.

   Full-bleed via 100vw because .hero-chips is inset by the page gutters
   and the wash has to span the hero. .hero clips it. */
.hero-chips::before {
  content: "";
  position: absolute;
  top: -26px;
  bottom: -80px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  /* Resolves to --surface-tint, not white: the stats band below is a faint
     brand tint, and fading the photograph to white left a visible seam
     where the two met. */
  /* A veil, not a lid. Full opacity turned the hero's last stretch into a
     white band with the chips marooned on it — the photograph genuinely
     ended there. Holding at 58% keeps the wet tarmac visible behind the
     strip while lifting it enough to carry the chips' blue titles. */
  background: linear-gradient(180deg,
    transparent 0,
    color-mix(in srgb, var(--surface-tint) 38%, transparent) 26%,
    color-mix(in srgb, var(--surface-tint) 62%, transparent) 48%,
    color-mix(in srgb, var(--surface-tint) 70%, transparent) 70%,
    color-mix(in srgb, var(--surface-tint) 70%, transparent) 100%);
}

/* Left wash only. The photograph runs to the top, the bottom and the right
   edge of the hero untouched — an earlier top fade and a bottom wash were
   both lifted, because together they gave the image a cut-out look. (The
   comment here used to say "bottom wash only", describing a layer that is
   no longer in the rule.) Mixed against --surface-base rather than hard
   white so the admin-configurable theme still drives the tone. */
.hero-overlay {
  position: absolute;
  /* Full hero width, matching .inspection-stage. Sized to the narrower
     scene box it stopped mid-photograph on short, wide windows, and the
     edge of the wash read as a rectangle across the tarmac. */
  inset: 0;
  transform: none;
  background:
    /* Tied to the hero rather than the copy block: as a box around the
       text it read as a patch floating under the words. */
    linear-gradient(90deg,
      color-mix(in srgb, var(--surface-base) 82%, transparent) 0%,
      color-mix(in srgb, var(--surface-base) 82%, transparent) 27%,
      /* Eased rather than linear, and over 16% of the hero instead of 6%.
         A 6% ramp is about 100px at a laptop width, which the eye reads as
         an edge rather than a fade. The curve holds behind the subcopy and
         is spent before the car's front bumper at ~42%.
         Owner's call, 24 Sept: the 22 Sept audit pushed the hold to 33% so
         the subcopy's tail cleared 4.5:1 over the silver cars; it read as a
         white panel, so these are the pre-audit stops again, accepting that
         part of the subcopy sits below 4.5:1 from 1081 to 1470. */
      color-mix(in srgb, var(--surface-base) 74%, transparent) 31%,
      color-mix(in srgb, var(--surface-base) 56%, transparent) 34.5%,
      color-mix(in srgb, var(--surface-base) 34%, transparent) 37.5%,
      color-mix(in srgb, var(--surface-base) 16%, transparent) 40%,
      color-mix(in srgb, var(--surface-base) 5%, transparent) 41.5%,
      transparent 43%
    );
  z-index: 1;
  pointer-events: none;
}
/* Keep the wash out from behind the topbar. The bar is frosted glass, so it
   blurred the whitened sky on its left half and the untouched sunset on its
   right, and read milky on one side only. Clear down to the bar's foot, full
   strength 40px below it; the copy starts at 102px or lower in every layout
   that uses this wash. Portrait has its own top fade and is left alone. */
@media (orientation: landscape), (min-width: 1081px) {
  .hero-overlay {
    --overlay-clear: 68px;
    -webkit-mask-image: linear-gradient(180deg, transparent var(--overlay-clear), #000 calc(var(--overlay-clear) + 40px));
    mask-image: linear-gradient(180deg, transparent var(--overlay-clear), #000 calc(var(--overlay-clear) + 40px));
  }
}
@media (orientation: landscape) and (max-height: 500px) {
  /* The bar is 44px tall here and ends 48px down. */
  .hero-overlay { --overlay-clear: 48px; }
}


.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--color-text-secondary);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

/* Type sizes come from two places: the shared --font-size-* scale
   (design-tokens.css, overridable in Website Settings) and the page's own
   --text-* scale in the inline :root. The two are reconciled there — --text-*
   aliases the shared token wherever the value is the same, and is its own
   value only where the shared scale has nothing that matches. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-button);
  font-weight: 700;
  font-size: var(--font-size-md);
  line-height: 1;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--color-surface);
  box-shadow: var(--btn-raise);
}

.btn-primary:hover {
  background: linear-gradient(180deg, var(--primary-lighter) 0%, var(--primary-dark) 100%);
  transform: translateY(-1px);
  box-shadow: var(--btn-raise-hover);
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
}

.hero-visual { display: none; }

.stats-section {
  --stats-surface-offset: var(--hero-stat-overlap);
  margin-top: calc(-1 * var(--hero-stat-overlap));
  position: relative;
  z-index: 5;
  padding: 0 0 var(--stats-section-padding-bottom);
  background: linear-gradient(
    180deg,
    transparent 0,
    transparent var(--stats-surface-offset),
    var(--surface-tint) var(--stats-surface-offset),
    var(--surface-tint) 100%
  );
}

.stats-section > .container {
  container-type: inline-size;
  container-name: stats-section;
}

.coverage-band {
  background: var(--surface-base);
  border-top: 1px solid rgba(18, 24, 32, 0.04);
  border-bottom: 1px solid rgba(18, 24, 32, 0.06);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  /* The diagonal edges already put --stats-card-slant of horizontal space
     between neighbours, and because the cuts are parallel that offset is
     constant down the full height. Left alone the visible channel is
     gap + slant, which reads as far too much dead space between cards.
     Subtract the slant back out so the channel you actually see is the gap
     the token asks for. Row gap is untouched — stacked rows have no slant
     between them. */
  column-gap: max(6px, calc(var(--stats-grid-gap) - var(--stats-card-slant)));
  row-gap: var(--stats-grid-gap);
  align-items: stretch;
}

.stat-card {
  container-type: inline-size;
  container-name: stat-card;
  min-width: 0;
  position: relative;
  /* The 1px edge the main landing page gets from `border: 1px solid
     var(--line-soft)` cannot be a border here — clip-path strips a border
     from the slanted sides, so it would show on the straight edges and
     vanish on the diagonals. Instead the card is painted in the line colour
     and ::before lays the fill 1px inside using the same clipped shape,
     leaving a true 1px outline that follows the diagonals. The fill travels
     as --stats-card-fill so the per-position colour rules stay one-liners
     rather than each having to target ::before. */
  background: var(--line-soft);
  /* All four cards are white (2026-10-07: the brand-filled end cards went
     too). On white the numeral and rule take the brand colour and the text
     goes dark; the numeral, rule and description read these tokens through
     inheritance, so this one rule colours every card at every breakpoint. */
  --stats-card-fill: #fff;
  --stats-band-accent: var(--primary);
  --stats-band-title: var(--color-text-primary);
  --stats-band-sub: var(--muted);
  border: 0;
  border-radius: var(--stats-card-radius);
  /* Facing edges. The side(s) of a card that face the middle of its row
     slant the full height, top to bottom, so each card is a rounded
     trapezoid: the outer two slant only on their inner side, the middle two
     on both. Top corners sit on the box corners so their border-radius still
     reads; the tapered bottom corners are cut by the polygon. "Inner" depends
     on where a card sits in its ROW, not on its index, so the wrap
     breakpoints below re-assign these. */
  --slant: var(--stats-card-slant);
  /* Every cut runs the same way — top-right to bottom-left — so the dividing
     edges across the row stay parallel and the four cards read as one band
     sliced on the diagonal. That makes the two inner cards parallelograms
     (both edges slanted, parallel), not trapezoids: converging edges would
     pinch each card to a wedge and break the shared rhythm. The group's two
     outermost edges stay vertical. */
  --clip-both: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  --clip-right: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  --clip-left: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
  clip-path: var(--clip-both);
  /* Depth matched to the main landing page's cards, which use
     --shadow (--shadow-lg) = 0 16px 34px rgba(16,24,40,.06). It has to be
     expressed as drop-shadow rather than box-shadow because clip-path clips
     a box-shadow away entirely; drop-shadow follows the clipped silhouette,
     slanted edges included. This only reads the same token values the
     classic page (LandingClassic.cshtml) does. */
  box-shadow: none;
  filter: drop-shadow(0 16px 34px rgba(16, 24, 40, 0.06));
  /* Slanted sides carry an extra --slant of inline padding: the card is
     narrower at the bottom than the top, so uniform padding let the last line
     of the description run into the taper. Padding is added only on the sides
     that actually slant, so an unslanted outer edge still lines up with the
     section gutter. */
  padding: var(--stats-card-padding-block)
           calc(var(--stats-card-padding-inline) + var(--slant))
           var(--stats-card-padding-bottom);
  cursor: default;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  /* Same shape as the parent, resolved against a box 1px smaller — that 1px
     difference is the visible outline. */
  clip-path: inherit;
  background: var(--stats-card-fill);
  transition: background-color 200ms ease;
  z-index: 0;
}

/* Content sits above the fill layer. */
.stat-card > * { position: relative; z-index: 1; }

.stat-card:hover {
  --stats-card-fill: color-mix(in srgb, var(--primary) 6%, #fff);
  /* Same hover depth as the main landing page's stat cards. */
  filter: drop-shadow(0 14px 30px rgba(16, 24, 40, 0.1));
}

/* Rounded version of the three shapes above. polygon() corners are always
   mitred, so where a slanted edge met the top or bottom the card came to a
   sharp point; only the corners sitting exactly on a box corner kept their
   border-radius. shape() can arc between segments, so every corner rounds to
   the same --stats-card-radius as the rest of the page.

   Only the custom properties are redefined — every rule that positions a
   card (end cards, inner cards, and both wrap breakpoints) reads through
   them, so they all pick this up without being restated.

   The corner offsets treat the slanted edges as vertical. At this slant the
   edges are about 8 degrees off vertical, so the error is under 1% of the
   radius — far below anything visible, and it keeps the values readable.

   Chrome 135+/Safari 18.4+. Anything older keeps the polygon fallback and
   simply renders the mitred corners it does today. */
@supports (clip-path: shape(from 0 0, arc to 1px 1px of 1px, close)) {
  .stat-card {
    --r: var(--stats-card-radius);

    /* Parallelogram: both side edges slanted. */
    --clip-both: shape(
      from calc(var(--slant) + var(--r)) 0,
      line to calc(100% - var(--r)) 0,
      arc to 100% var(--r) of var(--r) cw,
      line to calc(100% - var(--slant)) calc(100% - var(--r)),
      arc to calc(100% - var(--slant) - var(--r)) 100% of var(--r) cw,
      line to var(--r) 100%,
      arc to 0 calc(100% - var(--r)) of var(--r) cw,
      line to var(--slant) var(--r),
      arc to calc(var(--slant) + var(--r)) 0 of var(--r) cw,
      close
    );

    /* Left-hand end card: straight left edge, slanted right edge. */
    --clip-right: shape(
      from var(--r) 0,
      line to calc(100% - var(--r)) 0,
      arc to 100% var(--r) of var(--r) cw,
      line to calc(100% - var(--slant)) calc(100% - var(--r)),
      arc to calc(100% - var(--slant) - var(--r)) 100% of var(--r) cw,
      line to var(--r) 100%,
      arc to 0 calc(100% - var(--r)) of var(--r) cw,
      line to 0 var(--r),
      arc to var(--r) 0 of var(--r) cw,
      close
    );

    /* Right-hand end card: slanted left edge, straight right edge. */
    --clip-left: shape(
      from calc(var(--slant) + var(--r)) 0,
      line to calc(100% - var(--r)) 0,
      arc to 100% var(--r) of var(--r) cw,
      line to 100% calc(100% - var(--r)),
      arc to calc(100% - var(--r)) 100% of var(--r) cw,
      line to var(--r) 100%,
      arc to 0 calc(100% - var(--r)) of var(--r) cw,
      line to var(--slant) var(--r),
      arc to calc(var(--slant) + var(--r)) 0 of var(--r) cw,
      close
    );
  }
}

/* Four across: only the inner side of each end card is slanted, so only that
   side needs the extra clearance. */
.stat-card:first-child {
  clip-path: var(--clip-right);
  padding-left: var(--stats-card-padding-inline);
}
.stat-card:last-child {
  clip-path: var(--clip-left);
  padding-right: var(--stats-card-padding-inline);
}

.stat-line {
  width: min(var(--stats-line-width), clamp(28px, 24cqw, 62px));
  height: 4px;
  border-radius: 999px;
  background: var(--stats-band-accent);
  margin: 0 0 min(var(--stats-line-gap), clamp(6px, 5cqw, 18px));
}

.stat-number {
  font-family: var(--public-font-heading);
  color: var(--stats-band-accent);
  font-size: min(var(--stats-number-size), clamp(var(--stats-number-min), 21cqw, 58px));
  line-height: 1;
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.04em;
  margin-bottom: min(var(--stats-number-gap), clamp(4px, 3cqw, 10px));
}

.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;
}

.stat-title {
  margin: 0 0 min(var(--stats-title-gap), clamp(3px, 2.4cqw, 7px));
  font-family: var(--public-font-heading);
  font-size: min(var(--stats-title-size), clamp(var(--stats-title-min), 9cqw, 26px));
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--stats-band-title);
}

.stat-sub {
  margin: 0;
  color: var(--stats-band-sub);
  font-size: min(var(--stats-sub-size), clamp(var(--stats-sub-min), 7cqw, 16px));
  line-height: var(--stats-sub-line-height);
}

@container stats-section (max-width: 740px) {
  .stats-grid {
    --stats-grid-gap: clamp(10px, 3vw, 16px);
    --stats-card-padding-block: 16px;
    --stats-card-padding-inline: 14px;
    --stats-card-padding-bottom: 15px;
    --stats-card-radius: 16px;
    --stats-line-width: 42px;
    --stats-line-gap: 11px;
    --stats-number-gap: 8px;
    --stats-title-gap: 6px;
    --stats-sub-line-height: 1.4;
  }
}

@container stats-section (max-width: 619px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container stats-section (max-width: 340px) {
  .stats-grid {
    grid-template-columns: 1fr;
    /* Full-width single-column cards: hold the two-column type scale
       instead of letting the card-relative cqw sizes balloon to their caps.
       Numeral cap stays under the mobile hero title's 28px floor so the
       stat can't outsize the H1 on small phones. */
    --stats-number-size: clamp(22px, 8cqw, 27px);
    --stats-title-size: clamp(14px, 5.2cqw, 17px);
    --stats-sub-size: clamp(12px, 4cqw, 14px);
    --stats-line-width: 40px;
  }
}

/* Two across: every row is one left card and one right card, so the cut side
   flips per column rather than per end of the whole set of four. */
@container stats-section (max-width: 619px) {
  .stat-card:nth-child(odd) {
    clip-path: var(--clip-right);
    padding-left: var(--stats-card-padding-inline);
    padding-right: calc(var(--stats-card-padding-inline) + var(--slant));
  }
  .stat-card:nth-child(even) {
    clip-path: var(--clip-left);
    padding-left: calc(var(--stats-card-padding-inline) + var(--slant));
    padding-right: var(--stats-card-padding-inline);
  }
}

/* Single column: nothing sits beside a card, so cut both sides symmetrically
   rather than leaving one arbitrary side angled. */
@container stats-section (max-width: 340px) {
  .stat-card,
  .stat-card:first-child,
  .stat-card:last-child,
  .stat-card:nth-child(odd),
  .stat-card:nth-child(even) {
    clip-path: var(--clip-both);
    padding-left: calc(var(--stats-card-padding-inline) + var(--slant));
    padding-right: calc(var(--stats-card-padding-inline) + var(--slant));
  }
}

@container stats-section (min-width: 620px) and (max-width: 740px) {
  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    --stats-grid-gap: clamp(8px, 1.6vw, 12px);
    --stats-card-padding-block: clamp(10px, 2.4vw, 12px);
    --stats-card-padding-inline: clamp(9px, 2vw, 12px);
    --stats-card-padding-bottom: clamp(10px, 2.2vw, 12px);
    --stats-line-width: clamp(28px, 5.2cqw, 38px);
    --stats-line-gap: 6px;
    --stats-number-gap: 5px;
    --stats-title-gap: 4px;
    --stats-sub-line-height: 1.35;
  }

  .stat-sub {
    display: block;
  }
}

.auction-strip {
  padding-top: 40px;
  padding-bottom: 28px;
}

.auction-strip .section-head {
  margin-bottom: 22px;
}

.auction-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 2vw, 42px);
  padding: 0;
}

.auction-logo {
  min-width: 110px;
  flex: 0 1 150px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  text-align: center;
  font-family: var(--public-font-heading);
  font-size: 20px;
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.03em;
  color: var(--text);
  cursor: default;
  user-select: none;
}

/* Continuously scrolling coverage strip. Edges are masked rather than hard
   cut so names enter and leave instead of popping at the container border. */
.auction-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.auction-track {
  display: flex;
  width: max-content;
  animation: auction-scroll 34s linear infinite;
}

/* Hovering holds the strip so a name can actually be read. */
.auction-marquee:hover .auction-track,
.auction-marquee:focus-within .auction-track { animation-play-state: paused; }

/* Tapping the strip holds it too. :hover is a mouse-only affordance, so
   without this a phone visitor could never stop the names long enough to
   read one. No control is drawn for it — the strip itself is the target. */
.auction-marquee.is-paused .auction-track { animation-play-state: paused; }



.auction-run {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 42px);
  margin: 0;
  padding: 0 clamp(9px, 1vw, 21px);
  list-style: none;
}

@keyframes auction-scroll {
  from { transform: translateX(0); }
  /* Exactly one copy's width, which is half the track. */
  to { transform: translateX(-50%); }
}

/* Motion off: fall back to the static wrapped row this replaced, so the
   coverage is still legible without anything moving. */
@media (prefers-reduced-motion: reduce) {
  .auction-track { animation: none; width: 100%; flex-wrap: wrap; justify-content: center; }
  .auction-run:last-child { display: none; }
  .auction-run { flex-wrap: wrap; justify-content: center; }
  .auction-marquee { -webkit-mask-image: none; mask-image: none; }
}

.auction-logo img {
  display: block;
  max-width: 100%;
  height: clamp(22px, 2.2vw, 32px);
  width: auto;
  object-fit: contain;
}

.auction-marquee-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 0;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.55;
  color: var(--muted);
}

.auction-logo-more {
  flex-basis: 100%;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.55;
  color: var(--muted);
  letter-spacing: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.auction-note {
  text-align: center;
  color: var(--muted);
  margin-top: 18px;
  font-size: var(--text-sm);
}

.auction-map-cta {
  max-width: 720px;
  margin: 20px auto 0;
  text-align: center;
}

.auction-map-cta h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--public-font-heading);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.auction-map-cta p {
  max-width: 600px;
  margin: 8px auto 16px;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.auction-map-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-button);
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: var(--btn-raise);
}

.auction-map-cta-button:hover,
.auction-map-cta-button:focus-visible {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Why section: cinematic story layout ──
   An intro column on the left, then four media panels that carry the
   page's diagonal language. The section field is light, matching every
   neighbouring section — the stat cards and the question cards below
   already solve "a photo needs contrast" by darkening the card, not the
   field, and inverting the whole section here was the one place that
   broke that pattern, which is what read as detached from the rest of
   the page. The panels keep their own scrim; the field does not. */
.why-section {
  /* Base/tint alternate down the page from here — Auction(base),
     Why(tint), How(base), Questions(tint), Pricing(base), FAQ(tint) —
     so no single section carries the tint alone the way it used to. */
  background: var(--surface-tint);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.why-section > .container {
  container-type: inline-size;
  container-name: why-section;
}

/* Heading and lede now use the shared .section-head / .section-subtitle
   classes every other section already uses, centred with the same
   flanking hairlines — this section was the only one with a bespoke
   left-aligned intro column, which is what read as out of place. */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  /* The parallel diagonals add their own horizontal offset, so subtract it
     back out — same correction as the stats grid. */
  column-gap: max(4px, calc(var(--why-grid-gap, clamp(12px, 1.2vw, 22px)) - var(--stats-card-slant)));
  row-gap: var(--why-grid-gap, clamp(12px, 1.2vw, 22px));
  align-items: start;
}

.why-card {
  text-align: left;
  min-width: 0;
}

/* The panel is what gets the diagonal now, not the card — the copy sits
   below it on the section's light field, as in the reference, but with
   the panel itself carrying its own dark scrim rather than the field. */
.why-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background-color: #16203a;
  background-size: cover;
  background-position: center;
  --slant: var(--stats-card-slant);
  --clip-both: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  --clip-right: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  --clip-left: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
  clip-path: var(--clip-both);
}

/* Every clip-path variant leaves the panel's bottom-right corner inset by
   the full slant width, EXCEPT clip-left, whose right edge is straight —
   verified against the polygons, not assumed. The copy below had no
   compensation for that inset, so on any panel narrower than clip-left
   shows, the text ran past where the photo actually ends at the bottom.
   clip-both is the default below, so start every card compensated and
   zero it out only where clip-left is actually in play. */
.why-card:first-child .why-media { clip-path: var(--clip-right); }
.why-card:last-child .why-media { clip-path: var(--clip-left); }

/* Caption now overlays the photo, like the question cards, instead of
   sitting below it. Same compensation logic as before (clip-both/
   clip-right inset the panel's bottom-right by the full slant; only
   clip-left is flush), just expressed as an inset on an absolutely
   positioned block instead of padding on plain text. */
.why-card-content {
  position: absolute;
  left: 18px;
  right: calc(18px + var(--slant));
  bottom: 18px;
  z-index: 2;
}
/* Every card keeps the same text width, including the last. Its slant is
   at the top-left, so at the foot its right edge is straight and it could
   take ~15px more line length than its neighbours — and it did. That extra
   width wrapped its copy into fewer lines, and because the copy hangs from
   the card's foot, its title sat 25-50px lower than the other three at
   every tablet width. Same column, same wrap, same starting line. */

/* Rounded corners for the panels. Must come after the polygon declarations
   above — same specificity, so the later declaration wins. (This block was
   lost when the section was rewritten, which is why the panels were mitred.) */
@supports (clip-path: shape(from 0 0, arc to 1px 1px of 1px, close)) {
  .why-media {
    --r: 14px;
    --clip-both: shape(
      from calc(var(--slant) + var(--r)) 0,
      line to calc(100% - var(--r)) 0,
      arc to 100% var(--r) of var(--r) cw,
      line to calc(100% - var(--slant)) calc(100% - var(--r)),
      arc to calc(100% - var(--slant) - var(--r)) 100% of var(--r) cw,
      line to var(--r) 100%,
      arc to 0 calc(100% - var(--r)) of var(--r) cw,
      line to var(--slant) var(--r),
      arc to calc(var(--slant) + var(--r)) 0 of var(--r) cw,
      close
    );
    --clip-right: shape(
      from var(--r) 0,
      line to calc(100% - var(--r)) 0,
      arc to 100% var(--r) of var(--r) cw,
      line to calc(100% - var(--slant)) calc(100% - var(--r)),
      arc to calc(100% - var(--slant) - var(--r)) 100% of var(--r) cw,
      line to var(--r) 100%,
      arc to 0 calc(100% - var(--r)) of var(--r) cw,
      line to 0 var(--r),
      arc to var(--r) 0 of var(--r) cw,
      close
    );
    --clip-left: shape(
      from calc(var(--slant) + var(--r)) 0,
      line to calc(100% - var(--r)) 0,
      arc to 100% var(--r) of var(--r) cw,
      line to 100% calc(100% - var(--r)),
      arc to calc(100% - var(--r)) 100% of var(--r) cw,
      line to var(--r) 100%,
      arc to 0 calc(100% - var(--r)) of var(--r) cw,
      line to var(--slant) var(--r),
      arc to calc(var(--slant) + var(--r)) 0 of var(--r) cw,
      close
    );
  }
}


/* Bottom-weighted now that the caption sits on the photo rather than
   below it — needs real contrast at the bottom for white text, while
   staying light at the top so the image itself still reads. */
.why-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(6, 12, 24, 0.85) 0%,
    rgba(6, 12, 24, 0.35) 45%,
    rgba(6, 12, 24, 0.04) 80%);
}


.why-card-content h3 {
  margin: 0 0 8px;
  font-family: var(--public-font-heading);
  font-size: var(--why-title-size, var(--text-card));
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: #fff;
}

.why-card-content p {
  margin: 0;
  font-size: var(--why-copy-size, var(--content-body-size));
  line-height: var(--why-copy-line-height, var(--content-body-line-height));
  color: rgba(255,255,255,0.82);
}

/* Context-specific generated photography, optimized as WebP card backgrounds. */
.why-media-1 { background-image: url("/images/landing/why/auction-sheet-details.webp"); }
.why-media-2 { background-image: url("/images/landing/why/limited-listing-visuals.webp"); }
.why-media-3 { background-image: url("/images/landing/why/seller-information-bias.webp"); }
.why-media-4 { background-image: url("/images/landing/why/older-car-age-risk.webp"); }


@container why-section (max-width: 740px) {
  .why-media {
    width: 100%;
    min-height: 320px;
    background-position: center top;
    /* Fill the card. At 100% auto the 3:4 photo was only ~213px tall in a
       320px card, leaving a ~100px band of the navy backing colour across
       the top (owner, phone check 2026-11-08). */
    background-size: cover;
    background-repeat: no-repeat;
  }

  .why-grid {
    --why-grid-gap: clamp(10px, 3vw, 16px);
    --why-title-size: clamp(15px, 3.8vw, 18px);
    --why-title-gap: 6px;
    --why-copy-size: var(--content-body-size);
    --why-copy-line-height: var(--content-body-line-height);
  }
}

@container why-section (max-width: 619px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Title and copy heights are matched per row by the script beside the FAQ
   wiring (search "why-card row matching"). It used to be CSS reserves —
   two title lines everywhere, then 6/5/4 paragraph lines in three bands —
   but with the text columns equalised the uneven copy still staggered the
   titles across the whole range, and holding it in CSS would have needed
   nine bands, every one tied to the current wording. */

@container why-section (max-width: 340px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* Two across: each row is one left card and one right card, so the slanted
   side flips per column rather than per end of the set of four. */
/* Two across: each row is a left panel and a right panel, so the slanted
   side flips per column rather than per end of the set of four. */
@container why-section (max-width: 619px) {
  .why-card:nth-child(odd) .why-media { clip-path: var(--clip-right); }
  .why-card:nth-child(even) .why-media { clip-path: var(--clip-left); }
  /* Both columns keep the base inset. The even (clip-left) column used to
     be zeroed to 18px because its foot has no slant to clear — which made
     it ~15px wider than the card beside it. That is why "Limited Vehicle
     Visuals" fitted on one line while the other titles wrapped: it was
     the only one given the extra room. */
}

/* Single column: nothing sits beside a card, so cut both sides. */
/* Single column: nothing sits beside a panel, so cut both sides. */
@container why-section (max-width: 340px) {
  .why-media,
  .why-card:first-child .why-media,
  .why-card:last-child .why-media,
  .why-card:nth-child(odd) .why-media,
  .why-card:nth-child(even) .why-media { clip-path: var(--clip-both); }
  /* Every panel is clip-both here, so every card needs the base
     compensation — clear the zeroes the wider layouts applied. */
  .why-card:last-child .why-card-content,
  .why-card:nth-child(even) .why-card-content {
    right: calc(18px + var(--slant));
  }
}

@container why-section (min-width: 620px) and (max-width: 740px) {
  .why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    --why-grid-gap: clamp(8px, 1.6vw, 12px);
    --why-card-padding-block: clamp(12px, 2.4vw, 14px);
    --why-card-padding-inline: clamp(9px, 2vw, 12px);
    --why-card-padding-bottom: clamp(12px, 2.2vw, 14px);
    --why-title-size: clamp(13px, 2.1vw, 16px);
    --why-title-gap: 5px;
    --why-copy-size: var(--content-body-size);
    --why-copy-line-height: var(--content-body-line-height);
  }
}

@container why-section (min-width: 741px) and (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    --why-grid-gap: clamp(12px, 2vw, 18px);
    --why-card-padding-block: 16px;
    --why-card-padding-inline: 12px;
    --why-card-padding-bottom: 16px;
    --why-card-radius: 16px;
    --why-title-size: clamp(15px, 2vw, 18px);
    --why-title-gap: 6px;
    --why-copy-size: var(--content-body-size);
    --why-copy-line-height: var(--content-body-line-height);
  }
}

.how-section {
  background: var(--surface-base);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.how-section > .container {
  container-type: inline-size;
  container-name: how-section;
}

.how-flow {
  display: grid;
  /* Fixed three columns rather than auto-fit: the connectors are positioned
     from each step's own width, so the track has to be predictable. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--how-flow-gap, clamp(22px, 2.2vw, 46px));
  align-items: start;
  /* Container width like its neighbours. The 1400px cap only bit at 1920
     and wider, where this was the one row narrower than the section above
     and below it. Three cards, not running text, so there is no line
     length to protect here. */
  max-width: none;
  margin-inline: auto;
}

.how-step {
  background: transparent;
  border: 0;
  padding: var(--how-step-padding, 10px 0);
  /* Exposed separately because the connector needs the top padding to sit
     on the badge's centre line, and it cannot read it out of the shorthand. */
  --how-step-padding-top: 10px;
  /* Timeline: badge on the track, copy beneath it. */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--how-step-gap, 16px);
}

/* The connecting track. Each step draws the segment to its right, from the
   edge of its own badge to the edge of the next one — so the line length is
   derived from the real column width and gap rather than a magic percentage,
   and it stays correct when either changes. The last step draws nothing. */
.how-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--how-step-padding-top, 10px) + var(--how-badge-size, 54px) / 2);
  left: calc(50% + var(--how-badge-size, 54px) / 2 + 12px);
  width: calc(100% + var(--how-flow-gap, clamp(22px, 2.2vw, 46px)) - var(--how-badge-size, 54px) - 24px);
  height: 2px;
  background: color-mix(in srgb, var(--primary) 24%, transparent);
  transform-origin: left center;
  z-index: 0;
}

/* Draws the track in behind each badge as it arrives, instead of the line
   just sitting there fully formed. Gated behind .motion-flow (added by JS
   only once GSAP is confirmed active) so a no-JS/reduced-motion visitor
   always gets the plain, fully-drawn line — same "CSS assumes JS, JS
   repairs the no-motion case" split used everywhere else in this file. */
.how-flow.motion-flow .how-step:not(:last-child)::after {
  transform: scaleX(0);
  transition: transform 0.55s ease;
}
.how-flow.motion-flow.is-flowing .how-step:nth-child(1)::after {
  transition-delay: 0.25s;
  transform: scaleX(1);
}
.how-flow.motion-flow.is-flowing .how-step:nth-child(2)::after {
  transition-delay: 0.55s;
  transform: scaleX(1);
}

/* Badge sits above the track so the line passes behind it. */
.how-step-badge { position: relative; z-index: 1; }

/* The copy sits in the same diagonal card the stat and why sections use, so
   the timeline reads as part of the same system rather than a loose column
   of text. Three steps instead of four, but the rule is the same: the side
   facing the middle of the row is slanted, the outer sides stay straight. */
.how-step-card {
  position: relative;
  z-index: 1;
  width: 100%;
  --slant: var(--stats-card-slant);
  --clip-both: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  --clip-right: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  --clip-left: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
  clip-path: var(--clip-both);
  /* Painted in the line colour with the fill inset 1px — the border trick
     from the other cards, since clip-path strips borders off the diagonals. */
  background: var(--line-soft);
  --how-card-fill: #fff;
  border-radius: var(--how-card-radius, 16px);
  filter: drop-shadow(0 16px 34px rgba(16, 24, 40, 0.06));
  padding: var(--how-card-padding-block, 20px)
           calc(var(--how-card-padding-inline, 18px) + var(--slant))
           var(--how-card-padding-bottom, 20px);
}

.how-step-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  clip-path: inherit;
  background: var(--how-card-fill);
  z-index: 0;
}

.how-step-card > * { position: relative; z-index: 1; }

/* Ends slant only on their inner side, so only that side needs clearance. */
.how-step:first-child .how-step-card {
  clip-path: var(--clip-right);
  padding-left: var(--how-card-padding-inline, 18px);
}
.how-step:last-child .how-step-card {
  clip-path: var(--clip-left);
  padding-right: var(--how-card-padding-inline, 18px);
}

/* Track reads a little stronger now it runs between cards rather than
   between bare text columns. */
.how-step:not(:last-child)::after {
  background: color-mix(in srgb, var(--primary) 32%, transparent);
}

/* Rounded corners. Placed after the polygon declarations above on purpose —
   same specificity, so the later declaration is the one that wins. */
@supports (clip-path: shape(from 0 0, arc to 1px 1px of 1px, close)) {
  .how-step-card {
    --r: var(--how-card-radius, 16px);
    --clip-both: shape(
      from calc(var(--slant) + var(--r)) 0,
      line to calc(100% - var(--r)) 0,
      arc to 100% var(--r) of var(--r) cw,
      line to calc(100% - var(--slant)) calc(100% - var(--r)),
      arc to calc(100% - var(--slant) - var(--r)) 100% of var(--r) cw,
      line to var(--r) 100%,
      arc to 0 calc(100% - var(--r)) of var(--r) cw,
      line to var(--slant) var(--r),
      arc to calc(var(--slant) + var(--r)) 0 of var(--r) cw,
      close
    );
    --clip-right: shape(
      from var(--r) 0,
      line to calc(100% - var(--r)) 0,
      arc to 100% var(--r) of var(--r) cw,
      line to calc(100% - var(--slant)) calc(100% - var(--r)),
      arc to calc(100% - var(--slant) - var(--r)) 100% of var(--r) cw,
      line to var(--r) 100%,
      arc to 0 calc(100% - var(--r)) of var(--r) cw,
      line to 0 var(--r),
      arc to var(--r) 0 of var(--r) cw,
      close
    );
    --clip-left: shape(
      from calc(var(--slant) + var(--r)) 0,
      line to calc(100% - var(--r)) 0,
      arc to 100% var(--r) of var(--r) cw,
      line to 100% calc(100% - var(--r)),
      arc to calc(100% - var(--r)) 100% of var(--r) cw,
      line to var(--r) 100%,
      arc to 0 calc(100% - var(--r)) of var(--r) cw,
      line to var(--slant) var(--r),
      arc to calc(var(--slant) + var(--r)) 0 of var(--r) cw,
      close
    );
  }
}

.how-step-badge {
  width: var(--how-badge-size, 54px);
  height: var(--how-badge-size, 54px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-weight: var(--font-weight-extrabold);
  font-size: var(--font-size-xl);
  box-shadow: 0 10px 18px color-mix(in srgb, var(--primary) 18%, transparent);
  flex-shrink: 0;
}

.how-step h3 {
  margin: 2px 0 var(--how-title-gap, 8px);
  font-family: var(--public-font-heading);
  font-size: var(--how-title-size, var(--text-card));
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.how-step p {
  margin: 0;
  color: var(--muted);
  font-size: var(--how-copy-size, var(--content-body-size));
  line-height: var(--how-copy-line-height, var(--content-body-line-height));
  max-width: var(--how-copy-max, 320px);
  margin-inline: auto;
}

@container how-section (max-width: 740px) {
  .how-flow {
    --how-flow-gap: 14px;
    --how-step-padding: 4px 0;
    --how-step-padding-top: 4px;
    --how-step-gap: 12px;
    --how-badge-size: 42px;
    --how-title-size: clamp(18px, 4.8vw, 21px);
    --how-title-gap: 4px;
    --how-copy-size: var(--content-body-size);
    --how-copy-line-height: var(--content-body-line-height);
    --how-copy-max: none;
  }
}

/* Stacked: the track turns vertical, running from each badge down to the
   next, so the timeline still reads as a sequence after the wrap rather than
   becoming three unrelated blocks. */
@container how-section (max-width: 619px) {
  .how-flow { grid-template-columns: 1fr; }

  /* Stacked, the badge moves to the left and the copy sits beside it, so the
     vertical track runs down the margin. Keeping the centred layout put the
     line straight through the paragraph, which read as a strikethrough. */
  .how-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .how-step p { margin-inline: 0; }

  /* Single column: nothing sits beside a card, so both sides are cut. */
  .how-step-card,
  .how-step:first-child .how-step-card,
  .how-step:last-child .how-step-card {
    clip-path: var(--clip-both);
    padding-left: calc(var(--how-card-padding-inline, 18px) + var(--slant));
    padding-right: calc(var(--how-card-padding-inline, 18px) + var(--slant));
  }

  .how-step:not(:last-child)::after {
    top: calc(var(--how-step-padding-top, 4px) + var(--how-badge-size, 42px) + 12px);
    /* Centre of the badge column, not of the step. */
    left: calc(var(--how-badge-size, 42px) / 2);
    width: 2px;
    height: calc(100% + var(--how-flow-gap, 14px) - var(--how-badge-size, 42px) - 24px);
    transform: translateX(-1px);
  }
}

@container how-section (min-width: 620px) and (max-width: 900px) {
  .how-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    --how-flow-gap: clamp(12px, 1.8vw, 18px);
    --how-step-padding: 4px 0;
    --how-step-gap: 10px;
    --how-badge-size: clamp(38px, 5.5vw, 44px);
    --how-title-size: clamp(16px, 2.4vw, 20px);
    --how-copy-size: var(--content-body-size);
    --how-copy-line-height: var(--content-body-line-height);
  }
}

.how-process-link {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.how-process-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 26px color-mix(in srgb, var(--primary) 24%, transparent);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.how-process-link a:hover,
.how-process-link a:focus-visible {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.questions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(22px, 2.2vw, 46px);
  --questions-mobile-pad: 18px;
  --questions-mobile-gap: 0px;
  --questions-mobile-thumb: 46px;
  --questions-mobile-item-pad: 14px;
  --questions-mobile-title: clamp(17px, 4.5vw, 20px);
  --questions-mobile-copy: var(--content-body-size-compact);
}

.questions-section {
  /* --bg is the body-element canvas token; content chapters use
     --surface-base or --surface-tint, alternating down the page for
     rhythm — this one takes the tint (Auction/base, Why/tint, How/base,
     Questions/tint, Pricing/base, FAQ/tint). */
  background: var(--surface-tint);
  border-top: 1px solid rgba(18, 24, 32, 0.04);
  border-bottom: 1px solid rgba(18, 24, 32, 0.06);
}

/* Same facing-edge diagonal as the stat cards and the why panels — added
   for visual consistency, nothing else about this card changes. Always
   exactly 3 items whenever this base (non-compact) rule is the one in
   effect, so the clip is assigned by position directly rather than a
   container-query breakpoint. clip-path replaces overflow:hidden's job of
   rounding the photo's corners, and it removes box-shadow entirely (same
   as the other diagonal cards), so the shadow moves to drop-shadow. */
.question-card {
  position: relative;
  --slant: var(--stats-card-slant);
  --clip-both: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  --clip-right: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  --clip-left: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
  clip-path: var(--clip-right);
  border-radius: 18px;
  overflow: hidden;
  background: #0f1621;
  height: 300px;
  filter: drop-shadow(0 16px 34px rgba(16, 24, 40, 0.06));
  transition: filter 0.18s ease;
}

.question-card:nth-child(2) { clip-path: var(--clip-both); }
.question-card:last-child { clip-path: var(--clip-left); }

.question-card:hover {
  filter: drop-shadow(0 14px 30px rgba(16, 24, 40, 0.1));
}

/* Rounded corners: polygon() mitres its vertices, which would leave the
   slanted edges coming to a point. Placed after the polygon declarations
   above on purpose — same specificity, later wins. */
@supports (clip-path: shape(from 0 0, arc to 1px 1px of 1px, close)) {
  .question-card {
    --r: 18px;
    --clip-both: shape(
      from calc(var(--slant) + var(--r)) 0,
      line to calc(100% - var(--r)) 0,
      arc to 100% var(--r) of var(--r) cw,
      line to calc(100% - var(--slant)) calc(100% - var(--r)),
      arc to calc(100% - var(--slant) - var(--r)) 100% of var(--r) cw,
      line to var(--r) 100%,
      arc to 0 calc(100% - var(--r)) of var(--r) cw,
      line to var(--slant) var(--r),
      arc to calc(var(--slant) + var(--r)) 0 of var(--r) cw,
      close
    );
    --clip-right: shape(
      from var(--r) 0,
      line to calc(100% - var(--r)) 0,
      arc to 100% var(--r) of var(--r) cw,
      line to calc(100% - var(--slant)) calc(100% - var(--r)),
      arc to calc(100% - var(--slant) - var(--r)) 100% of var(--r) cw,
      line to var(--r) 100%,
      arc to 0 calc(100% - var(--r)) of var(--r) cw,
      line to 0 var(--r),
      arc to var(--r) 0 of var(--r) cw,
      close
    );
    --clip-left: shape(
      from calc(var(--slant) + var(--r)) 0,
      line to calc(100% - var(--r)) 0,
      arc to 100% var(--r) of var(--r) cw,
      line to 100% calc(100% - var(--r)),
      arc to calc(100% - var(--r)) 100% of var(--r) cw,
      line to var(--r) 100%,
      arc to 0 calc(100% - var(--r)) of var(--r) cw,
      line to var(--slant) var(--r),
      arc to calc(var(--slant) + var(--r)) 0 of var(--r) cw,
      close
    );
  }
}

/* <picture> is display:inline by default, which would leave the img's
   height:100% resolving against an auto-height inline box instead of the
   card. display:contents takes the wrapper out of layout entirely and the
   img keeps .question-card as its containing block. Format selection is
   done by the <source> list and is unaffected. */
.question-card picture,
.inspection-stage picture,
.logo picture { display: contents; }

.question-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.question-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 10, 16, 0.88) 0%, rgba(7, 10, 16, 0.16) 60%, rgba(7,10,16,0.02) 100%);
}

.question-card-content {
  position: absolute;
  left: 22px;
  right: calc(22px + var(--stats-card-slant));
  bottom: 20px;
  z-index: 2;
  color: #fff;
}

.question-card:last-child .question-card-content { right: 22px; }

/* A second, wider orphaned-third-card gap: found by sweeping widths, not
   assumed — the base grid is auto-fit(minmax(260px,1fr)), which naturally
   settles on 2 columns (not 3) across roughly 901–1149px, a wide enough
   band to matter (a small laptop, some tablets landscape, a split-screen
   window). Nothing in that range ever spanned the third card, same root
   cause as the sub-560px fix below, just a different width where
   auto-fit's own math produces 2 columns instead of a rule forcing it.
   This range also sits above every compact-mode clip-path:none reset, so
   the diagonal is still active here — the base assignment (nth-child(2)
   = clip-both, cut on both sides as the middle of three) is wrong once
   there are only two columns: card 2 is now the right-hand card of its
   row, not the middle one, and the spanning card has no row-mate to cut
   a facing edge against at all. */
/* The 2+1 arrangement this range used to carry is gone — three across from
   901px now — and with it the reason for every rule that was here: a
   two-column grid, clip-left on the middle card, a third card spanning the
   row, and a copy inset that cancelled the compensation the middle card
   actually needs once it is clipped on both edges. */

.question-card-content h3 {
  margin: 0 0 8px;
  font-family: var(--public-font-heading);
  font-size: var(--text-subheading);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
}

.question-card-content p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: var(--content-body-size);
  line-height: var(--content-body-line-height);
}

@media (min-width: 741px) and (max-width: 900px), (min-width: 560px) and (max-width: 980px) and (max-height: 480px) {
  .questions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(18, 24, 32, 0.08);
    border-radius: 20px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    box-shadow: var(--shadow-soft);
  }

  .question-card {
    display: grid;
    align-content: start;
    gap: 10px;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  /* :nth-child(2)/:last-child assign the diagonal at higher specificity
     than the bare .question-card reset above, so they need their own
     explicit reset here — the bare reset alone only ever cleared the
     first card, and the other two kept a shape from a layout it was
     never designed to fit inside, which is what was chopping the
     caption text. Not a photo panel here — a compact borderless row. */
  .question-card,
  .question-card:nth-child(2),
  .question-card:last-child {
    clip-path: none;
    filter: none;
  }

  .question-card:hover {
    box-shadow: none;
  }

  .question-card img {
    width: 48px;
    height: 48px;
    min-height: 0;
    border-radius: 14px;
    object-fit: cover;
  }

  .question-card::after {
    display: none;
  }

  .question-card-content {
    position: static;
    color: var(--text);
  }

  .question-card-content h3 {
    margin-bottom: 5px;
    font-size: clamp(15px, 2.2vw, 18px);
    color: var(--text);
  }

  .question-card-content p {
    color: var(--muted);
    font-size: var(--content-body-size);
    line-height: var(--content-body-line-height);
  }
}

.pricing-grid {
  display: grid;
  /* Explicit 3-up rather than auto-fit. The three tiers are meant to be
     read side by side, and auto-fit also emitted a stray empty 4th track
     at wide sizes. Below 900px this drops straight to one column — see
     the note there about never landing on two. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2vw, 40px);
  align-items: stretch;
  --pricing-card-pad-top: 28px;
  --pricing-card-pad-x: 24px;
  --pricing-card-pad-bottom: 24px;
  --pricing-card-radius: 20px;
  --pricing-head-gap: 16px;
  --pricing-head-margin: 16px;
  --pricing-name-size: var(--text-subheading);
  --pricing-price-size: clamp(32px, 3vw, 42px);
  --pricing-sub-size: var(--content-body-size);
  --pricing-sub-line-height: var(--content-body-line-height);
  --pricing-sub-margin: 22px;
  --pricing-sub-min: 48px;
  --pricing-list-gap: 12px;
  --pricing-list-margin: 24px;
  --pricing-list-line-height: 1.55;
  --pricing-badge-size: 40px;
  --pricing-badge-icon-size: 26px;
  --pricing-badge-offset: 16px;
}

.pricing-section {
  background: var(--surface-base);
  border-top: 1px solid rgba(18, 24, 32, 0.04);
  border-bottom: 1px solid rgba(18, 24, 32, 0.06);
}

.pricing-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--pricing-card-radius);
  box-shadow: var(--shadow);
  padding: var(--pricing-card-pad-top) var(--pricing-card-pad-x) var(--pricing-card-pad-bottom);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  /* box-shadow only — NOT transform. GSAP's reveal writes an inline
     transform every frame, and a CSS transition on that property
     interpolates each of those writes instead of applying them, so the
     tween never arrived: all three cards sat permanently at their
     pre-reveal scale(0.94) translateY(34px). Visible as a wrong gap under
     the subtitle (72px against 28px everywhere else) and as 41px-tall Book
     buttons that should be 44px. The comment on .featured below already
     said transform belongs to the entrance tween on this element; the
     transition contradicted it. The sibling cards get this right by
     hovering on filter (.question-card) or background (.stat-card); the
     3px lift here now snaps, which at 3px reads as nothing. */
  transition: box-shadow 0.18s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.1);
}

.pricing-card.featured {
  border-color: color-mix(in srgb, var(--primary) 22%, transparent);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--primary) 12%, transparent);
  transform: translateY(-4px);
  /* box-shadow only, deliberately — GSAP's entrance tween owns `transform`
     on this element (and CSS animations win over a plain inline transform
     in the cascade), so a transform-based pulse here would fight the
     reveal. A glow on box-shadow instead runs fully independently. */
  animation: pricing-featured-glow 3.2s ease-in-out infinite;
}

@keyframes pricing-featured-glow {
  0%, 100% { box-shadow: 0 16px 34px color-mix(in srgb, var(--primary) 12%, transparent); }
  50% { box-shadow: 0 20px 44px color-mix(in srgb, var(--primary) 30%, transparent); }
}

.pricing-card.featured:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 36px color-mix(in srgb, var(--primary) 18%, transparent);
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-card.featured { animation: none; }
}

/* A labelled tab on the card's top edge. It was an icon alone in the middle
   of the name/price row: sighted visitors got a ribbon glyph and no words,
   and only screen readers were told it meant "most popular". Moved up out
   of that row so the words cannot collide with the name or the price. */
.pricing-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 3px 11px 4px 8px;
  border-radius: 0 0 10px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, var(--surface) 92%);
  border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent);
  border-top: 0;
  z-index: 1;
}

.pricing-badge-icon {
  width: 13px;
  height: 13px;
  background: currentColor;
  mask: url("/images/icons/package-popular-badge.svg") center / contain no-repeat;
  -webkit-mask: url("/images/icons/package-popular-badge.svg") center / contain no-repeat;
}

.pricing-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--pricing-head-gap);
  margin-bottom: var(--pricing-head-margin);
}

.pricing-name {
  min-width: 0;
  margin: 0;
  font-family: var(--public-font-heading);
  font-size: var(--pricing-name-size);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: var(--font-weight-extrabold);
}

.pricing-price {
  flex: 0 0 auto;
  margin: 0;
  font-size: var(--pricing-price-size);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: var(--font-weight-extrabold);
  color: var(--primary);
  text-align: right;
}

/* :not(.pricing-price-value) — that span wraps the number itself (added
   so JS has a stable target to count up), not the currency-code span
   this rule is meant for; without the exclusion it would also shrink
   and grey out the price. */
.pricing-price span:not(.pricing-price-value) {
  font-size: var(--font-size-md);
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 6px;
}

.pricing-sub {
  margin: 0 0 var(--pricing-sub-margin);
  color: var(--muted);
  font-size: var(--pricing-sub-size);
  line-height: var(--pricing-sub-line-height);
  min-height: var(--pricing-sub-min);
}

.pricing-list {
  display: grid;
  gap: var(--pricing-list-gap);
  margin: 0 0 var(--pricing-list-margin);
  padding: 0;
  list-style: none;
  flex: 1 1 auto;
}

.pricing-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--text);
  font-size: var(--text-sm);
  line-height: var(--pricing-list-line-height);
}

.pricing-list li::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/18px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/18px no-repeat;
  margin-top: 2px;
  flex-shrink: 0;
}

.pricing-cta {
  width: 100%;
  margin-top: auto;
}

.faq-wrap {
  /* Full container width, matching every other section. Was capped at
     980px as a reading measure; at 1760px the answers run about 168
     characters a line against the 65-75 that reads comfortably. Widened on
     request — the alignment with the rest of the page was judged to matter
     more than the line length. If that ever reads as too long, the fix is
     two columns above ~1200px rather than putting the cap back: it fills
     the same width and brings the lines back to ~75. */
  max-width: none;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-section {
  background: var(--surface-tint);
  border-top: 1px solid rgba(18, 24, 32, 0.04);
  border-bottom: 1px solid rgba(18, 24, 32, 0.06);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  text-align: left;
  cursor: pointer;
  font-family: var(--public-font-heading);
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text);
}

.faq-question span:last-child {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question span:last-child {
  transform: rotate(180deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  /* max-height:0 hides it visually but leaves it in the accessibility
     tree, so a screen reader read all six answers straight through while
     each button reported aria-expanded="false". visibility is what
     actually removes it; it is applied on a delay when closing (below) so
     the collapse still animates. */
  visibility: hidden;
  padding: 0 22px;
  color: var(--muted);
  font-size: var(--font-size-md);
  line-height: 1.7;
}

.motion-ready .faq-answer {
  /* visibility flips only after the collapse finishes, so the text does
     not vanish at the start of the animation. */
  transition: max-height 0.28s ease, padding-bottom 0.28s ease, visibility 0s linear 0.28s;
}

.faq-item.open .faq-answer {
  max-height: 1000px;
  visibility: visible;
  padding-bottom: 20px;
}

/* Opening is immediate — no delay, or the first frames would be invisible. */
.motion-ready .faq-item.open .faq-answer {
  transition: max-height 0.28s ease, padding-bottom 0.28s ease, visibility 0s;
}

.cta-strip {
  padding-top: 26px;
  padding-bottom: 28px;
  background: linear-gradient(180deg, #1d2026 0%, var(--surface-cta) 100%);
  color: #fff;
}

.cta-strip-inner {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  backdrop-filter: blur(8px);
}

.cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  color: rgba(255,255,255,0.92);
  font-size: var(--text-sm);
  font-weight: 600;
}

.cta-points span {
  display: inline-flex;
  align-items: center;
  gap: var(--cta-tick-text-gap);
  color: rgba(255,255,255,0.88);
}

.cta-points span::before {
  content: "";
  display: inline-block;
  width: var(--cta-tick-size);
  height: var(--cta-tick-size);
  /* Every other checkmark on the page (hero bullets, hero chips, pricing
     list) uses var(--primary) — this was the one spot still on
     var(--success), a leftover green that didn't match the brand. */
  background: color-mix(in srgb, var(--primary) 55%, white 45%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}


/* Three tiers must never sit two-up: that left Premium alone on a second row
   in a half-width column, reading as a smaller, odd-one-out card next to a
   gap. Stack them instead — still directly comparable, just vertically. */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  /* Stacked, the featured card has no neighbour to line its name up with, so
 it can take the room the "Most popular" tab needs. At this size the card's
 top padding shrinks to 22px and the tab otherwise sat 1px off the name. */
  .pricing-card.featured { padding-top: calc(var(--pricing-card-pad-top) + 12px); }
}

@media (max-width: 1120px) {
  .questions-grid,

  .cta-strip-inner {
    grid-template-columns: 1fr;
  }

  .cta-strip-inner .btn {
    width: 100%;
  }
}

@media (min-width: 560px) and (max-width: 980px) and (orientation: landscape) {
  /* Lower-section responsive tuning only — the hero itself is fully fluid and
 needs no per-orientation overrides now. */
  :root {
/* Landscape stat numerals sit under the fluid hero title; the global
   --text-stat floor of 30px would outsize small-landscape section titles. */
--stats-number-size: clamp(19px, 3.4vw, 33px);
--mobile-section-pad-support: 34px;
--mobile-section-pad-tight: 26px;
--mobile-section-title-support: clamp(28px, 4vw, 32px);
--mobile-section-title-utility: clamp(26px, 3.8vw, 30px);
  }

  .auction-strip {
padding-top: var(--mobile-section-pad-tight);
padding-bottom: var(--mobile-section-pad-tight);
  }

  .why-section,
  .how-section,
  .questions-section {
padding-top: var(--mobile-section-pad-support);
padding-bottom: var(--mobile-section-pad-support);
  }

  .auction-strip .section-head h2,
  .how-section .section-head h2,
  .questions-section .section-head h2 {
font-size: var(--mobile-section-title-support);
  }

  .faq-section .section-head h2 {
font-size: var(--mobile-section-title-utility);
  }
}

@media (max-width: 980px) and (max-height: 480px) {
  :root {
--mobile-section-pad-support: 34px;
--mobile-section-pad-tight: 26px;
--mobile-section-title-support: clamp(28px, 4vw, 32px);
--mobile-section-title-utility: clamp(26px, 3.8vw, 30px);
  }

  .auction-strip {
padding-top: var(--mobile-section-pad-tight);
padding-bottom: var(--mobile-section-pad-tight);
  }

  .why-section,
  .how-section,
  .questions-section {
padding-top: var(--mobile-section-pad-support);
padding-bottom: var(--mobile-section-pad-support);
  }

  .auction-strip .section-head h2,
  .how-section .section-head h2,
  .questions-section .section-head h2 {
font-size: var(--mobile-section-title-support);
  }

  .faq-section .section-head h2 {
font-size: var(--mobile-section-title-utility);
  }

  .why-grid {
--why-grid-gap: clamp(8px, 1.6vw, 14px);
--why-card-padding-block: 14px;
--why-card-padding-inline: 10px;
--why-card-padding-bottom: 14px;
--why-card-radius: 16px;
--why-title-size: clamp(13px, 2.1vw, 16px);
--why-title-gap: 5px;
--why-copy-size: var(--content-body-size);
--why-copy-line-height: var(--content-body-line-height);
  }
}

/* Short, wide windows compress the composition until the raised bonnet reaches
   the topbar and the nav links sit on black paintwork. Dropping the crop lands
   the bonnet below them again. It is height-only: at 80% on a taller window the
   underbody hotspot falls under the chip strip, which intercepts the pointer. */
@media (max-height: 720px) and (min-width: 621px) {
  .vehicle-image { object-position: 50% 80%; }
}

@media (max-height: 400px) {
  /* Ultra-short viewports (small phones in landscape, e.g. 568×320): the hero
 band is so compressed that the stat cards peeking up over its bottom edge
 can graze the CTA row. Drop the overlap here so the stats sit flush below
 the hero instead — the decorative peek isn't missed at this height, and the
 buttons keep their clearance. */
  :root { --hero-stat-overlap: 0px; }
}

@media (max-width: 740px) {
  .container {
width: min(var(--max), calc(100% - 24px));
  }

  .section {
padding: 42px 0;
  }

  .auction-strip {
padding-top: var(--mobile-section-pad-tight);
padding-bottom: var(--mobile-section-pad-tight);
  }

  .why-section,
  .how-section,
  .questions-section {
padding-top: var(--mobile-section-pad-support);
padding-bottom: var(--mobile-section-pad-support);
  }

  .auction-strip .section-head,
  .how-section .section-head,
  .questions-section .section-head {
margin-bottom: var(--mobile-support-gap);
  }

  .auction-strip .section-head h2,
  .how-section .section-head h2,
  .questions-section .section-head h2 {
font-size: var(--mobile-section-title-support);
line-height: 1.08;
  }

  .faq-section .section-head h2 {
font-size: var(--mobile-section-title-utility);
  }

  .section-subtitle {
margin-bottom: 20px;
font-size: var(--mobile-section-subtitle-support);
line-height: 1.5;
  }

  /* Core explanatory copy uses one compact scale. This lands after the
 container rules so a short landscape phone cannot shrink the surrounding
 cards while Pricing stays at 15px. */
  .why-grid {
--why-copy-size: var(--content-body-size-compact);
--why-copy-line-height: var(--content-body-line-height-compact);
  }

  .how-flow {
--how-copy-size: var(--content-body-size-compact);
--how-copy-line-height: var(--content-body-line-height-compact);
  }

  .cta-strip {
padding-bottom: 36px;
  }

  .topbar .top-actions {
gap: 8px !important;
flex-wrap: nowrap !important;
  }

  .topbar-auth-form {
display: flex !important;
  }

  .topbar .logo {
min-width: 0;
  }

  .topbar-brand-image {
width: clamp(110px, 30vw, 140px) !important;
  }

  .topbar .btn {
min-height: 44px !important;
padding: 0 var(--public-topbar-action-pad-inline) !important;
font-size: var(--public-topbar-action-size) !important;
  }

  .topbar .btn-primary {
min-width: 0 !important;
  }

  /* One card per row from here down, and it stays that way — the index page
 does the same and this section was the odd one out. A 559px override used
 to put it back to two columns on phones, which is where the trouble was:
 162px cards, a photo band too small to read, a third card needing to span
 both columns, and the pair left ten pixels out of step because their text
 runs to different lengths. Full width gives each card the whole measure. */
  .questions-grid,
  .pricing-grid {
grid-template-columns: 1fr;
  }

  .pricing-grid {
gap: 16px;
--pricing-card-pad-top: 22px;
--pricing-card-pad-x: 18px;
--pricing-card-pad-bottom: 18px;
--pricing-card-radius: 18px;
--pricing-head-gap: 12px;
--pricing-head-margin: 12px;
--pricing-name-size: clamp(22px, 6vw, 26px);
--pricing-price-size: clamp(31px, 8.4vw, 36px);
--pricing-sub-size: var(--content-body-size-compact);
--pricing-sub-line-height: var(--content-body-line-height-compact);
--pricing-sub-margin: 16px;
--pricing-sub-min: 0px;
--pricing-list-gap: 9px;
--pricing-list-margin: 18px;
--pricing-list-line-height: var(--content-body-line-height-compact);
--pricing-badge-size: 34px;
--pricing-badge-icon-size: 22px;
--pricing-badge-offset: 14px;
  }

  .pricing-cta {
min-height: 44px;
  }

  .section-head {
gap: 10px;
  }

  .questions-grid {
gap: 12px;
padding: 12px;
border: 1px solid rgba(18, 24, 32, 0.08);
border-radius: 20px;
background: color-mix(in srgb, var(--surface) 92%, transparent);
box-shadow: var(--shadow-soft);
  }

  .question-card {
display: grid;
grid-template-columns: 1fr;
gap: 0;
height: auto;
min-height: 0;
padding: 0;
overflow: hidden;
border: 1px solid rgba(18, 24, 32, 0.06);
border-radius: 16px;
background: var(--surface);
box-shadow: none;
  }

  .question-card,
  .question-card:nth-child(2),
  .question-card:last-child {
clip-path: none;
filter: none;
  }

  .question-card + .question-card {
margin-top: 10px;
  }

  .question-card:hover {
box-shadow: none;
  }

  .question-card img {
width: 100%;
height: clamp(72px, 22vw, 96px);
min-height: 0;
border-radius: 0;
object-fit: cover;
  }

  .question-card::after {
display: none;
  }

  .question-card-content {
position: static;
padding: 14px;
color: var(--text);
  }

  .question-card-content h3 {
margin-bottom: 4px;
font-size: var(--questions-mobile-title);
color: var(--text);
  }

  .question-card-content p {
color: var(--muted);
font-size: var(--questions-mobile-copy);
line-height: 1.45;
  }
}



@media (max-width: 740px) {
  .auction-logos {
gap: 12px;
  }

  /* `flex-basis: calc(50% - 6px)` against a 12px gap sums to exactly 100%,
 so sub-pixel rounding was enough to tip the second pill onto its own
 line — the row silently collapsed to one-per-row and the section grew
 into a long single-file list. Allowing the items to grow from a basis
 that is comfortably under half removes the rounding cliff. */
  .auction-logo {
flex: 1 1 calc(50% - 20px);
max-width: calc(50% - 6px);
min-width: 0;
padding: 12px 14px;
font-size: 18px;
  }

  .auction-logo-more {
font-size: var(--text-xs);
line-height: 1.4;
  }

  /* The caption occupies a far bigger share of a small card than it does
 of a desktop panel, so its top edge climbs past where the standard
 scrim has faded out — over bright photo details
 the white heading was left sitting on near-white pixels. Carry the
 darkening higher on small cards; the photo still reads underneath. */
  .why-media::after {
background: linear-gradient(to top,
  rgba(6, 12, 24, 0.9) 0%,
  rgba(6, 12, 24, 0.7) 38%,
  rgba(6, 12, 24, 0.24) 66%,
  rgba(6, 12, 24, 0) 100%);
  }

  .auction-map-cta {
margin-top: 14px;
  }

  .auction-map-cta h3 {
font-size: 18px;
line-height: 1.18;
  }

  .auction-map-cta p {
margin: 6px auto 12px;
font-size: var(--text-xs);
line-height: 1.45;
  }

  .auction-map-cta-button {
min-height: 42px;
padding-inline: 18px;
font-size: var(--text-sm);
  }

  .pricing-card-head {
gap: 12px;
  }

  .pricing-price {
font-size: clamp(30px, 8vw, 36px);
  }

  .faq-question {
font-size: var(--font-size-md);
  }

  .cta-points {
gap: 12px 0;
flex-direction: column;
  }
}

@media (min-width: 560px) and (max-width: 900px), (min-width: 560px) and (max-width: 980px) and (max-height: 480px) {
  /* min-width on the short-window arm: it assumed short = wide (landscape
 phone), but a narrow square window also matches max-height 480 and cannot
 fit 3-across posters — text wrapped one word per line and clipped past the
 fixed card height. Below 560px the stacked mobile cards apply instead. */
  .questions-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
padding: 14px;
border: 1px solid rgba(18, 24, 32, 0.08);
border-radius: 20px;
background: color-mix(in srgb, var(--surface) 92%, transparent);
box-shadow: var(--shadow-soft);
  }

  .question-card {
display: grid;
grid-template-columns: 1fr;
align-content: end;
gap: 0;
/* min-height, not fixed height: bottom-anchored content in an overflow-
   hidden card clips at the TOP when text outgrows it — let the card grow. */
height: auto;
min-height: clamp(168px, 22vw, 220px);
min-width: 0;
padding: 0;
overflow: hidden;
border: 1px solid rgba(18, 24, 32, 0.06);
border-radius: 16px;
background: #0f1621;
box-shadow: 0 12px 24px rgba(16, 24, 40, 0.08);
  }

  .question-card,
  .question-card:nth-child(2),
  .question-card:last-child {
clip-path: none;
filter: none;
  }

  .question-card + .question-card {
margin-top: 0;
border-top: 1px solid rgba(18, 24, 32, 0.06);
  }

  .question-card:hover {
box-shadow: none;
  }

  .question-card img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
min-height: 0;
border-radius: 0;
object-fit: cover;
  }

  .question-card::after {
display: block;
background:
  linear-gradient(to top, rgba(7, 10, 16, 0.90) 0%, rgba(7, 10, 16, 0.58) 48%, rgba(7, 10, 16, 0.14) 100%);
  }

  /* .question-card:last-child .question-card-content sets right:22px for the
 desktop overlay tile, where position:absolute makes "right" an inset from
 the edge. Here position is relative, where "right" instead SHIFTS the box
 left by that amount — a completely different effect, and specific enough
 (0,3,0) that the plain reset below (0,1,0) can't override it. Confirmed by
 computed style: left resolved to -22px, pushing the third card's caption
 out past its own left edge, where the card's overflow:hidden cut it off. */
  .question-card:last-child .question-card-content { right: auto; }

  .question-card-content {
position: relative;
left: auto;
right: auto;
bottom: auto;
z-index: 2;
padding: 16px;
color: #fff;
  }

  .question-card-content h3 {
margin-bottom: 4px;
font-size: clamp(14px, 2.1vw, 17px);
color: #fff;
  }

  .question-card-content p {
color: rgba(255,255,255,0.84);
font-size: var(--content-body-size);
line-height: var(--content-body-line-height);
  }
}

@media (max-width: 740px) {
  /* The image-card rule above also serves short landscape tablets. Phones use
 the same 15px body scale as their pricing cards. */
  .question-card-content p {
font-size: var(--content-body-size-compact);
line-height: var(--content-body-line-height-compact);
  }
}

@media (max-width: 740px) and (orientation: portrait), (max-width: 559.98px) and (orientation: landscape) {
  .cta-points {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px 12px;
font-size: var(--text-chip);
  }

  .cta-points span {
gap: 6px;
  }
}


/* The navigation shares the copy's container and reserves its own grid row. */
.topbar {
  position: relative;
  grid-row: 1;
  width: min(var(--max), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  min-height: var(--public-topbar-height);
  padding: var(--public-topbar-pad-block) 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.topbar .logo {
  display: flex;
  align-items: center;
  justify-self: start;
}

.topbar-brand-image {
  display: block;
  width: var(--topbar-brand-width);
  height: auto;
}

/* Nav sits on the right beside Login / Signup (owner, 2026-11-07: links and button read as one group),
   transparent at every size, with an underline on hover/focus. */
.topbar-nav {
  display: flex;
  align-items: center;
  justify-self: end;
  margin-right: 10px;
  gap: clamp(18px, 2.2vw, 34px);
}

.topbar-nav a {
  position: relative;
  padding: 10px 2px;
  color: var(--public-topbar-link-color);
  font-size: var(--public-topbar-link-size);
  font-weight: var(--public-topbar-link-weight);
  letter-spacing: var(--public-topbar-link-tracking);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.topbar-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}

.topbar-nav a:hover,
.topbar-nav a:focus-visible { color: var(--primary); }

.topbar-nav a:hover::after,
.topbar-nav a:focus-visible::after { transform: scaleX(1); }

/* Below ~900px the brand + three links + auth button stop fitting on one line;
   the same destinations stay reachable from the footer nav. */
@media (max-width: 900px) {
  .topbar { grid-template-columns: auto 1fr; }
  .topbar-nav { display: none; }
}

.topbar .top-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.topbar-auth-form {
  margin: 0;
}

.topbar-cart-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--primary);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.15s ease;
}
.topbar-cart-badge:hover { opacity: 0.88; }

.topbar .btn {
  min-height: 36px;
  padding: 0 var(--public-topbar-action-pad-inline);
  border-radius: var(--radius-button);
  font-size: var(--public-topbar-action-size);
  font-weight: var(--public-topbar-action-weight);
}

/* Shared with every other public page's bar: see --public-topbar-action-* in
   design-tokens.css. */
.topbar .btn-secondary {
  background: var(--public-topbar-action-bg);
  border: 1px solid var(--public-topbar-action-border);
  color: var(--public-topbar-action-text);
  box-shadow: none;
}

.topbar .btn-secondary:hover {
  background: var(--public-topbar-action-bg-hover);
}

/* Touch devices (iPad landscape, large phone landscape) need 44px tap targets
   even though their viewport width exceeds the 740px mobile breakpoint.
   The ::before pseudo-element expands the hit area to 44px without changing
   the visible 36px button pill — preserving the topbar's visual balance.
   pointer: coarse placed after global .topbar .btn so cascade order wins. */
@media (pointer: coarse) {
  .topbar .btn {
position: relative;
  }

  .topbar .btn::before {
content: "";
position: absolute;
left: 0;
right: 0;
top: 50%;
transform: translateY(-50%);
height: 44px;
  }
}

/* The car and copy share a frame and a scale, including at tablet widths. */
.hero-scene {
  position: relative;
  container-type: inline-size;
  grid-row: 2;
  display: grid;
  /* Centred, not bottom-aligned. Once the hero started filling the window the
 scene row absorbed all the slack, and end-alignment pushed every pixel of
 it above the copy: 289px of empty sky over the eyebrow against 48px under
 the buttons at 1470x920. Centring splits it — 155 above, 183 below. */
  align-items: center;
  /* Full hero width. It used to be 1470 hero-units wide, which on a short
 window is hundreds of pixels narrower than the hero, and the copy inside
 it drifted off the vertical line the topbar, chips and stat cards share. */
  width: 100%;
  margin-inline: auto;
  padding-bottom: calc(28 * var(--hero-unit));
}
.hero-inner {
  position: relative;
  z-index: 13;
  width: min(var(--max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  pointer-events: none;
}

.hero-copy {
  --hero-copy-unit: var(--hero-unit);
  width: 48%;
  /* "Inspect Before" sets in Impact at 794px once --hero-unit reaches its
 1.306px ceiling, so a 760px column broke the headline onto a third line at
 1920 and wider. Widening the column only moves the wrap point — the text
 is left-aligned, so nothing else shifts. */
  max-width: 820px;
  min-width: 0;
  text-align: left;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: clamp(6px, calc(14 * var(--hero-copy-unit)), 16px);
  margin: 0 0 clamp(8px, calc(28 * var(--hero-copy-unit)), 36px);
  color: var(--hero-copy-text);
  font-size: max(10px, calc(21 * var(--hero-copy-unit)));
  line-height: 1.5;
  font-weight: 850;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
.hero-eyebrow .eyebrow-text { flex: 0 0 auto; white-space: nowrap; }
/* Rule with a chevron on its outer end, drawn in CSS rather than shipped as
   an icon — it is two borders on a rotated square, so it scales with the
   rule and inherits the accent colour. */
.hero-eyebrow .eyebrow-arrow {
  position: relative;
  flex: 0 0 auto;
  width: clamp(18px, calc(39 * var(--hero-copy-unit)), 44px);
  height: 2px;
  background: currentColor;
}
.hero-eyebrow .eyebrow-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(6px, calc(9 * var(--hero-copy-unit)), 10px);
  height: clamp(6px, calc(9 * var(--hero-copy-unit)), 10px);
  transform: translateY(-50%) rotate(45deg);
}
.hero-eyebrow .eyebrow-arrow.left::before {
  left: 0;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.hero-eyebrow .eyebrow-arrow.right::before {
  right: 0;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
}


.hero-copy h1 {
  margin: 0;
  text-transform: uppercase;
  /* Anton first, self-hosted, for every device. Impact was the design face,
 but only Windows and macOS have it — phones fell back to Bebas Neue, so
 the headline never looked the same on a phone as on the web. Anton is
 drawn to match Impact and is ~7% narrower, so it fits everywhere Impact
 did. Impact stays next in line only in case the font file fails. */
  font-family: Anton, Impact, Haettenschweiler, "Arial Narrow Bold", "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: max(28px, calc(94 * var(--hero-copy-unit)));
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: 0.002em;
  color: var(--color-text-primary);
}
.hero-copy h1 .hero-row { display: block; }
.hero-copy h1 .hero-row + .hero-row { margin-top: clamp(4px, calc(8 * var(--hero-copy-unit)), 9px); }
.hero-copy h1 em {
  display: inline-block;
  /* No extra margin: the word space alone matches "YOU BID". A 0.12em margin
     here made the gap about half as wide again, more at the top where the
     lean carries the word away from INSPECT. */
  color: var(--primary);
  font-style: italic;
  /* Impact/Bebas have no true italic face, so the lean is an explicit
 transform rather than the browser's synthesised slant, which differs
 between engines. */
  transform: skewX(-7deg) scaleX(0.94);
  transform-origin: left center;
}

.hero-subcopy {
  margin: clamp(4px, calc(8 * var(--hero-copy-unit)), 9px) 0 0;
  /* Never wider than the headline above it. --hero-headline-width is measured
 from the rendered rows (see setHeadlineWidth) because the headline's width
 is not a fixed multiple of the unit: the font size has a floor, so the
 type stops shrinking before the layout does, and the fallback faces are
 wider again. The unit-based value is the fallback until that first
 measurement lands. */
  max-width: min(100%, var(--hero-headline-width, calc(580 * var(--hero-copy-unit))));
  color: var(--hero-copy-text);
  font-size: max(12px, calc(21 * var(--hero-copy-unit)));
  line-height: 1.55;
  font-weight: 450;
}

.hero-actions {
  display: flex;
  /* Side by side, sharing the headline's width, and stacking only when the
 labels no longer fit — which is the same rule the phone layout follows. */
  flex-direction: row;
  flex-wrap: wrap;
  gap: max(12px, calc(15 * var(--hero-copy-unit)));
  width: min(100%, var(--hero-headline-width, calc(332 * var(--hero-copy-unit))));
  margin-top: max(10px, calc(28 * var(--hero-copy-unit)));
  pointer-events: auto;
}

.hero-actions .cta {
  /* Sized by their labels, not stretched to the row. Growing meant that when
 the pair wrapped each button inflated to the headline's full width — 367px
 for "Book Inspection" at 900px wide, a button three times wider than its
 text. They still shrink if they must, and the row still wraps rather than
 breaking a label across two lines. */
  flex: 0 1 auto;
  white-space: nowrap;
}
.hero-actions .cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, calc(16 * var(--hero-copy-unit)), 18px);
  min-height: max(32px, calc(59 * var(--hero-copy-unit)));
  padding: max(4px, calc(12 * var(--hero-copy-unit)))
       max(8px, calc(20 * var(--hero-copy-unit)))
       max(4px, calc(12 * var(--hero-copy-unit)))
       max(10px, calc(24 * var(--hero-copy-unit)));
  border-radius: var(--radius-button);
  font-size: max(12px, calc(18 * var(--hero-copy-unit)));
  line-height: 1.2;
  font-weight: 760;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hero-actions .cta::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  min-height: 44px;
  height: 100%;
  transform: translateY(-50%);
}
.hero-actions .cta-left {
  display: flex;
  align-items: center;
  gap: max(6px, calc(14 * var(--hero-copy-unit)));
  min-width: 0;
}
.hero-actions .cta svg { flex: none; width: max(14px, calc(25 * var(--hero-copy-unit))); height: max(14px, calc(25 * var(--hero-copy-unit))); }
.hero-actions .cta .cta-arrow { width: max(12px, calc(22 * var(--hero-copy-unit))); height: max(12px, calc(22 * var(--hero-copy-unit))); }
/* Was a hardcoded #1544d6/#114ce4 gradient, so an accent change in Website
   Settings repainted the whole page except its main call to action. Same
   construction as .btn-primary (the pricing Book buttons): vertical gradient,
   no visible border. Only the text size differs, scaled with the hero. */
.hero-actions .cta-primary {
  color: var(--color-surface);
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
  border: 1px solid transparent;
  box-shadow: var(--btn-raise);
}
.hero-actions .cta-secondary {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--primary);
  box-shadow: var(--btn-raise-neutral);
}
.hero-actions .cta:hover { transform: translateY(-2px); }
.hero-actions .cta:active { transform: translateY(1px); }
.hero-actions .cta-primary:hover {
  background: linear-gradient(180deg, var(--primary-lighter) 0%, var(--primary-dark) 100%);
  box-shadow: var(--btn-raise-hover);
}

/* Benefits occupy the last row. Their top edge is also the scan rig's limit. */
.hero-chips {
  position: relative;
  grid-row: 3;
  margin-inline: auto;
  z-index: 13;
  width: min(var(--max), calc(100% - (var(--page-gutter) * 2)));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  pointer-events: auto;
}
.hero-chips .chip {
  position: relative;
  display: grid;
  grid-template-columns: max(22px, calc(34 * var(--hero-unit))) 1fr;
  align-items: center;
  gap: max(6px, calc(12 * var(--hero-unit)));
  padding: max(6px, calc(8 * var(--hero-unit))) max(8px, calc(28 * var(--hero-unit)));
  min-height: max(44px, calc(56 * var(--hero-unit)));
}
.hero-chips .chip:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: color-mix(in srgb, var(--primary) 14%, transparent);
}
.hero-chips .chip-icon {
  display: grid;
  place-items: center;
  width: max(22px, calc(34 * var(--hero-unit)));
  height: max(22px, calc(34 * var(--hero-unit)));
  color: var(--primary);
}
.hero-chips .chip-icon svg { width: 100%; height: 100%; }
.hero-chips .chip-body { min-width: 0; }
.hero-chips .chip strong {
  display: block;
  color: var(--primary);
  font-size: max(11px, calc(16 * var(--hero-unit)));
  line-height: 1.2;
  font-weight: 800;
}



/* Only narrow phones need separate copy and car rows. Tablets keep the
   same overlaid composition as the MacBook, in either orientation. */
@media (max-width: 1080px) and (orientation: portrait) {
  :root { --hero-stat-overlap: 0px; }

  .hero {
--hero-unit: clamp(0.4px, 0.134vw, 0.8px);
display: flex;
flex-direction: column;
min-height: 0;
padding-bottom: 12px;
gap: 12px;
  }
  .topbar { order: 0; }
  /* The copy sits ON the photograph, not above a separate strip of it. The
 frame spans the whole scene and the copy overlays its sky; the padding
 reserves the band below the copy where the car lands. v14 made this
 possible — its sky is 53% of the image, so at this crop there is real sky
 behind the whole copy block. Before it there was 27%, which is why this
 used to be a second, zoomed copy of the sky pasted above the frame with a
 wash over the join. */
  .hero-scene {
order: 1;
display: block;
position: relative;
width: 100%;
/* Sized off the width, not the copy. Cover fits this box by its height,
   so the frame's height sets the scale and with it how much of the
   image's WIDTH is visible: window = viewport / (frame x 1.661). The car
   spans source x 46-86% and the inspector reaches 88%, and clear sky ends
   at 50% — the raised bonnet — which is what the copy has to sit above.
   Those two pull opposite ways: a taller frame is more sky and a narrower
   window, a shorter one the reverse. 145vw is where they meet, leaving
   the car margin on both sides with the copy still clear of the bonnet
   from 375px up — affordable only because the eyebrow comes off below
   620px: that one line is worth ~19px of clearance, and clearance is what
   buys the margin. Less the distance the frame reaches past this box to
   cover the topbar row. */
min-height: calc(124vw - var(--hero-topbar-height) - 30px);
  }
  .hero-inner { order: 1; position: relative; z-index: 13; width: calc(100% - 40px); }
  .hero-copy { width: 100%; }
  /* Portrait only: a fade from the top instead of the desktop's left wash. The
     copy here spans the full width across the sky with nothing behind it, so
     it gets a calmer, paler ground to sit on; the fade is spent by 46% of the
     hero, before the car. Desktop and landscape keep their own wash — tried
     there too and it only flattened the sunset sky, since that copy already
     sits on a wash. */
  .hero-overlay {
    display: block;
    background: linear-gradient(180deg,
      color-mix(in srgb, var(--surface-base) 88%, transparent) 0%,
      color-mix(in srgb, var(--surface-base) 70%, transparent) 22%,
      color-mix(in srgb, var(--surface-base) 30%, transparent) 36%,
      transparent 46%);
  }
  .hero-chips {
order: 3;
max-width: 900px;
grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* No foot wash on phones: the strip sits below the photograph on the page's
 own background here, not on the image, so there is nothing to dissolve. */
  .hero-chips::before { display: none; }
  .hero-chips .chip {
min-height: 44px;
padding: 6px;
border-bottom: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
  }
  .hero-chips .chip::after { display: none; }
  .hero-chips .chip:nth-last-child(-n+2) { border-bottom: 0; }
  .hero-subcopy br { display: none; }
  /* Phone portrait is the one layout that keeps the full column width. The
 headline is ~280px in a 350px column here, so bounding the subcopy to it
 costs a third line and stacks the buttons, which puts them back on the
 car's bonnet — measured -53px at 390x844. The copy block is the whole
 width here anyway, so there is no column edge for it to disagree with. */
  .hero-subcopy { max-width: 100%; font-size: 14px; line-height: 1.45; }
  /* The eyebrow goes on phones: it is the one line that says nothing the
 headline does not, and the ~19px it occupies is what opens the frame wide
 enough to put margin either side of the car — which is what a visitor
 actually notices. */
  .hero-eyebrow { display: none; }
  .hero-actions { margin-top: 6px; }
  .hero-actions {
flex-direction: row;
flex-wrap: wrap;
width: 100%;
/* Sits under the copy instead of running the full column width: at 600px
   and up the pair was stretching to 560-580px. */
max-width: 420px;
gap: 10px;
  }
  /* 150px is the width below which "View Sample Report" needs a second line;
 under that the pair stacks instead of squeezing. */
  .hero-actions .cta { flex: 1 1 150px; min-width: 0; min-height: 40px; padding: 6px 8px; }
  .hero-actions .cta .cta-arrow { display: none; }
}

/* The narrowest phones are the one place where stacking costs too much: it
   adds ~50px to the copy, which is what pushes the buttons onto the bonnet.
   They stay side by side instead, with the label set small enough to hold one
   line in the ~135px each one gets. */
@media (max-width: 400px) and (orientation: portrait) {
  .hero-subcopy { font-size: 13.5px; line-height: 1.3; }
  .hero-copy h1 .hero-row + .hero-row { margin-top: 0; }
  .hero-actions { margin-top: 4px; }
}

/* Tablets in portrait take the stacked composition — the side-by-side one puts
   the car half off the right edge in a portrait shape — but not the phone's
   compromises with it. There is room here for the eyebrow, for the copy to be
   bounded by the headline, and for buttons sized to their labels. */
@media (min-width: 621px) and (max-width: 1080px) and (orientation: portrait) {
  /* The frame is sized off the viewport width, which works on a phone but not
 here: 124vw is 1238px on a 998px-wide tablet, and since the sky is 53% of
 the frame that left ~390px of empty sky between the buttons and the car.
 95vw halves the gap and still keeps the car at 68% of the screen. */
  .hero-scene { min-height: calc(95vw - var(--hero-topbar-height) - 30px); }
  /* --hero-unit tops out at 0.8px from 597px wide, so a 1024px iPad was
 drawing the same 67px headline as a 600px phone: a phone-sized block of
 copy in the top-left corner of a canvas half again as wide, with the
 slack left over as empty sky. The copy takes its own unit here so it
 grows with the tablet — 84 units puts the headline at 67px on the
 narrowest of these and 87px on an iPad Pro. */
  .hero-copy { --hero-copy-unit: clamp(0.8px, 0.104vw, 1.1px); }
  .hero-eyebrow { display: flex; margin-bottom: calc(14 * var(--hero-copy-unit)); }
  .hero-subcopy {
max-width: min(100%, var(--hero-headline-width, 100%));
font-size: max(14px, calc(17 * var(--hero-copy-unit)));
  }
  .hero-actions {
width: min(100%, var(--hero-headline-width, 420px));
max-width: none;
margin-top: calc(10 * var(--hero-copy-unit));
  }
  .hero-actions .cta {
flex: 0 1 auto;
min-height: max(40px, calc(48 * var(--hero-copy-unit)));
padding: calc(8 * var(--hero-copy-unit)) calc(16 * var(--hero-copy-unit));
font-size: max(13px, calc(15 * var(--hero-copy-unit)));
  }
}

@media (max-width: 344px) and (orientation: portrait) {
  .hero-subcopy { font-size: 12.5px; line-height: 1.32; }
  .hero-actions .cta { flex: 1 1 118px; font-size: 11px; padding: 6px; gap: 6px; min-height: 36px; }
  /* The leading icon is the ~19px that decides whether "View Sample Report"
 holds one line in the 135px a button gets at 320px. The label wins. */
  .hero-actions .cta .cta-left svg { display: none; }
}

@media (max-width: 1080px) and (orientation: portrait) {
  /* The headline is the tallest block on the phone hero, so it is stepped down
 ~11% from the shared 94-unit scale. "Inspect Before" still leads the
 composition; the reclaimed rows let the car crest the first screen. */
  .hero-copy h1 { font-size: max(25px, calc(84 * var(--hero-copy-unit))); }
  .hero-chips .chip { grid-template-columns: 24px 1fr; gap: 6px; }
  .hero-chips .chip-icon { width: 24px; height: 24px; }
  .hero-chips .chip strong { font-size: 11px; }
  /* Signed-in visitors used to get their own bar here: a single column, with
 the actions wrapped and left-aligned, because a cart badge plus Dashboard
 plus Logout was more than one line seemed to hold. It put the mark on one
 line and the buttons on another for everyone signed in, cart or not — a
 101px bar where 60px does — and it applied over the whole portrait range,
 including the widths where the nav is visible and a two-column bar cannot
 hold three items. There is nothing to override: the 900px rule above gives
 every visitor `auto 1fr` with the nav hidden, and the mark plus both
 buttons fit inside it with a cart badge to spare, measured down to 360px.
 So signed-in visitors now follow the same path as everyone else. */
}

/* Same story as the copy above: the phone block's flat 11px chip titles read
   as fine print on a 1024px screen. This has to come after that block rather
   than with the rest of the tablet rules — same specificity, so source order
   decides. */
@media (min-width: 621px) and (max-width: 1080px) and (orientation: portrait) {
  .hero-chips .chip { grid-template-columns: clamp(24px, 3vw, 30px) 1fr; gap: 10px; }
  .hero-chips .chip-icon { width: clamp(24px, 3vw, 30px); height: clamp(24px, 3vw, 30px); }
  .hero-chips .chip strong { font-size: clamp(12px, 1.6vw, 15px); }
}

@media (max-width: 1080px) and (orientation: portrait) and (max-height: 700px) {
  .hero { gap: 8px; padding-block: var(--public-topbar-offset) 10px; }
  .hero-scene { gap: 8px; }
  .hero-eyebrow { margin-bottom: 8px; }
  .hero-subcopy { font-size: 13px; }
  .hero-actions { margin-top: 8px; }
}

@media (orientation: landscape) and (max-height: 500px) {
  .hero { --hero-topbar-height: 44px; gap: 8px; padding-block: var(--public-topbar-offset) 10px; }
  /* Bounded by the headline like every other layout; this one is wide enough
 to afford it. */
  .hero-subcopy { max-width: min(100%, var(--hero-headline-width, 100%)); line-height: 1.35; }
  .hero-subcopy br { display: none; }
  .hero-eyebrow { margin-bottom: 8px; }
  /* Every other layout bounds the pair to the headline. Landscape phones are
 the exception: the headline is set off the height here, so at 926x428 it
 measures ~200px — narrower than the two buttons together, which stacked
 them and put the lower one on the bonnet. They run to their own width
 instead, still well clear of the car at every size in this band. */
  .hero-actions { flex-direction: row; flex-wrap: wrap; width: auto; }
  .hero-actions .cta { flex: 0 1 auto; min-width: 0; }
  /* ...and the column has to be wide enough to hold them: 48% of a 667px
 screen is 320px, which is narrower than the pair, so they wrapped anyway.
 The car starts past 60% at every size in this band. */
  .hero-copy { width: min(58%, 400px); }
}

@media (orientation: landscape) and (max-height: 400px) {
  /* The shortest landscape phones raise the photograph, which brings the
 bumper up level with the CTA row — 2px from it at 740x360. The arrows go,
 as they already do on phone portrait, and the pair pulls back clear. */
  .hero-actions .cta .cta-arrow { display: none; }
}

@media (orientation: landscape) and (max-height: 360px) {
  .hero { --hero-image-rise: 23%; }
  .hero-eyebrow { display: none; }
}

.cta-arrow-icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.faq-question:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 14px;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.site-footer {
  background: var(--surface-footer);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 16px 0;
}

.site-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.site-footer-col--brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.site-footer-logo-link {
  display: inline-block;
  margin-bottom: 4px;
}

.site-footer-logo {
  display: block;
  width: clamp(120px, 10vw, 152px);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

.site-footer-desc {
  margin: 0;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.44);
  line-height: 1.45;
}

.site-footer-email {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  font-size: var(--text-xs);
  color: color-mix(in srgb, var(--primary) 55%, white 45%);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease;
}

.site-footer-email:hover,
.site-footer-email:focus-visible {
  color: rgba(255,255,255,0.84);
}

.site-footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-footer-nav-primary {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Below 900px .topbar-nav is display:none and these four links are the site's
   only navigation, so they have to be genuinely hittable rather than merely
   present. They measured 23px tall — under even the 24px AA floor, let alone
   the 44px the rest of the page keeps. inline-flex + min-height rather than
   padding, so the row's visual rhythm is unchanged and only the box grows. */
.site-footer-nav-primary a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: rgba(255,255,255,0.60);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease;
}

.site-footer-nav-primary a:hover,
.site-footer-nav-primary a:focus-visible {
  color: rgba(255,255,255,0.90);
}

.site-footer-nav-legal {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-footer-nav-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: rgba(255,255,255,0.62);
  font-size: var(--text-xs);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s ease;
}

.site-footer-nav-legal a:hover,
.site-footer-nav-legal a:focus-visible {
  color: rgba(255,255,255,0.92);
}

.site-footer-nav-legal-sep {
  color: rgba(255,255,255,0.20);
  font-size: var(--text-xs);
  user-select: none;
}

.site-footer-col--end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.site-footer-cta-link {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.18s ease;
}

.site-footer-cta-link:hover,
.site-footer-cta-link:focus-visible {
  opacity: 0.72;
}

.site-footer-copy {
  margin: 0;
  color: rgba(255,255,255,0.54);
  font-size: var(--text-xs);
  text-align: right;
}

/* Touch pointers get the full 44px, the same way .topbar .btn does above. The
   row gaps open up with them: two 44px rows 10px apart would have their hit
   areas meeting in the middle, and whichever won the overlap would swallow
   taps aimed at the other. */
@media (pointer: coarse) {
  /* Inline links inside running text cannot simply grow to 44px without
 opening up the paragraph around them, so they get an absolutely positioned
 hit area instead — the same trick .topbar .btn uses. The visible text does
 not move. */
  .auction-logo-more-link,
  .section-subtitle-link { position: relative; }
  .auction-logo-more-link::before,
  .section-subtitle-link::before {
content: "";
position: absolute;
left: -6px;
right: -6px;
top: 50%;
height: 44px;
transform: translateY(-50%);
  }

  /* Brand marks are links too. min-height on the anchor rather than a pseudo:
 nothing sits close enough for an expanded box to steal a tap. */
  .logo,
  .site-footer-logo-link {
display: inline-flex;
align-items: center;
min-height: 44px;
  }

  .site-footer-nav { gap: 4px; }
  .site-footer-nav-primary { gap: 10px 20px; }
  .site-footer-nav-primary a,
  .site-footer-nav-legal a,
  .site-footer-email { min-height: 44px; }
  .site-footer-nav-legal { gap: 4px; }
  .site-footer-nav-legal a { padding-inline: 6px; }
}

@media (max-width: 600px) {
  .site-footer-inner {
flex-direction: column;
align-items: center;
gap: 24px;
  }
  .site-footer-col--brand {
align-items: center;
text-align: center;
  }
  .site-footer-col--end {
align-items: center;
  }
  .site-footer-copy {
text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-card {
transition: none;
  }
  .pricing-card:hover, .pricing-card.featured:hover {
transform: none;
  }
}

.sticky-book-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--primary) 36%, transparent), 0 2px 8px rgba(0,0,0,0.14);
}

.sticky-book-btn.sticky-book-btn--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 560px) {
  .sticky-book-btn {
bottom: 16px;
right: 16px;
left: 16px;
width: calc(100% - 32px);
justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-book-btn {
transition: none;
  }
}

.auction-logo-more-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 10px;
  color: var(--primary);
  font-size: var(--text-xs);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  transition: opacity 0.18s ease;
}

.auction-logo-more-link:hover {
  opacity: 0.74;
}

/* ══ v11 interactive X-ray inspection hero ══════════════════════════════
   Ported from the standalone hero embed (imjdm-inspection-hero-v11).
   The stage replaces .hero-bg-image as the hero's background layer; the
   existing overlay, CTA safe-area and copy contracts are untouched. */

.inspection-stage {
  --px: 75%;
  --py: 48%;
  /* Fallback only. JS overwrites --lens-size inline with a fixed share of the
 *rendered image* width, so the eye keeps the same size relative to the car
 at every viewport instead of being pegged to the viewport (see LENS_RATIO). */
  --lens-size: clamp(130px, 10vw, 200px);
  position: absolute;
  /* Anchor the car's lower edge beside the CTAs, and the frame's top edge to
 the hero's. The height used to be a fixed 1011 hero-units: whenever the
 hero came out taller than the 744 units the composition is drawn for —
 content taller than the min-height, which is what happens once --hero-unit
 stops growing at 1920 — the surplus opened as white above the photograph
 (71px at 1920 and 2560, a few px elsewhere). Letting the top edge stretch
 costs a little more crop instead: the frame grows by the gap it closes,
 5.4% at 1920. Changing the frame scale moves both photo layers and their
 source-mapped inspection points. */
  /* Top edge measured back up to the hero's own top: the frame's containing
 block is .hero-scene, which starts below the topbar row, so `top: 0` would
 leave the whole topbar band white. The 12px is slack for the topbar
 running a little over its min-height.

 The foot floor is in svh because the band it has to cover is 13% of the
 frame's height — --hero-image-rise leaves that much of the frame without
 image — so the requirement tracks the hero's height, not the viewport's
 width. Measured: 132px needed at 390 tall, 208 at 768, 272 at 920, 275 at
 1024. 28svh + 30px covers all of them and stays under the unit-based value
 at desktop sizes, so the framing there is untouched. A fixed 240px floor
 held from 1100 down but fell short at both ends — 15px at 1366x1024 and
 15px at 844x390. */
  inset: calc(-1 * (10px + var(--hero-topbar-height)
                + clamp(8px, calc(20 * var(--hero-unit)), 26px) + 12px))
     0 calc(-1 * max(280 * var(--hero-unit), 28svh + 30px)) 0;
  z-index: 0;
  overflow: hidden;
  isolation: isolate;
  cursor: crosshair;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  contain: layout paint style;
}

/* Landscape tablets are the one band where the copy column and the car meet:
   the composition is the desktop one, but the viewport is not wide enough to
   keep them apart — at 1180x820 the bumper came within 2px of "View Sample
   Report". The photograph cannot give way (shifting it right runs the car's
   rear off the edge, which was tried and clips it), so the buttons do: losing
   the trailing arrows takes ~60px off the pair and opens the gap without
   restyling anything a visitor would notice. */
@media (orientation: landscape) and (min-width: 981px) and (max-width: 1300px) {
  .hero-actions .cta .cta-arrow { display: none; }
}

/* Landscape phones. The chip strip and the hero's padding are a fixed cost
   that dwarfs the height-proportional part of the foot overhang on a screen
   this short, so the frame needs a deeper value than the general rule gives —
   without it the photograph stops above the hero's foot: 62px short at
   568x320, 44px at 800x360, 14px at 667x375. */
@media (orientation: landscape) and (max-height: 400px) {
  .inspection-stage { bottom: calc(-1 * (28svh + 135px)); }
}


.vehicle-image {
  position: absolute;
  z-index: 1;
  /* Both photo layers use the same proportional crop. imageMetrics() maps
 the dots and lens through this box so the reveal stays registered. */
  top: calc(-1 * var(--hero-image-rise, 0px));
  bottom: auto;
  /* v14 is a taller photograph (1512x1040 against v13's 1672x941) with the car
 moved right and a deep sky above it. Cover therefore fits it to the frame's
 width and spills vertically, so the crop is taken off the top — where the
 new sky is — rather than the sides. The overscan buys that vertical spill;
 the negative left slides the wider box back under the frame, or the car's
 tail and the inspector fall outside it. */
  left: -14%;
  right: auto;
  width: calc(100% + var(--hero-image-overscan, 0%));
  height: 100%;
  /* The global `img { max-width: 100% }` reset clamps this straight back to
 the stage width and silently cancels the overscan. */
  max-width: none;
  display: block;
  object-fit: cover;
  /* Bottom-anchored: what little vertical spill there is comes off the sky,
 keeping the car's wheels and its reflection in frame. */
  /* x is 62%, not centred. On wide boxes cover fits by width and x does
 nothing; on the narrow, tall boxes — tablet landscape, phone landscape —
 it fits by height instead and the horizontal crop becomes live. Centred
 there, the window sat 446px clear of the car on the left and 27px INSIDE
 it on the right at 1024x768. The copy covers that left margin anyway. */
  object-position: 62% 100%;
  pointer-events: none;
}

.xray-layer {
  z-index: 3;
  opacity: 0;
  /* Layer-space centre — see setLens. Falls back to the stage-relative
 percentages before the first setLens call, when the two coincide. */
  clip-path: circle(calc(var(--lens-size) / 2) at var(--lens-cx, var(--px)) var(--lens-cy, var(--py)));
  filter: saturate(1.035) contrast(1.025);
  transform: translateZ(0);
  will-change: clip-path;
  transition: opacity 120ms ease;
}
.inspection-stage.is-active .xray-layer { opacity: 1; }

/* The zone's name set around the top of the eye rather than floating above it,
   so the label belongs to the instrument instead of hovering near it. The arc
   is redrawn from the lens centre and radius on every move — see
   layoutLensLabel — because the eye travels and resizes. */
.lens-label {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 12;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
}
.inspection-stage.is-active.has-zone .lens-label { opacity: 1; }
.inspection-stage.is-gliding .lens-label { opacity: 0; }
.lens-label text {
  fill: #fff;
  font-family: var(--public-font-heading, inherit);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  /* Stroke behind the fill: the arc crosses sky, bodywork and shadow within a
 single word, and a drop shadow alone does not survive that. */
  stroke: rgba(4, 20, 30, .62);
  stroke-width: 3px;
  stroke-linejoin: round;
  paint-order: stroke fill;
}

.lens-ring {
  position: absolute;
  z-index: 7;
  left: var(--px);
  top: var(--py);
  width: var(--lens-size);
  height: var(--lens-size);
  border: 1px solid rgba(220, 247, 255, .94);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.92);
  box-shadow:
0 0 0 1px rgba(5, 28, 42, .5),
0 0 34px rgba(53, 184, 240, .24),
inset 0 0 38px rgba(55, 194, 255, .09);
  transition: opacity 130ms ease, transform 180ms cubic-bezier(.2, .8, .2, 1);
}
.inspection-stage.is-active .lens-ring { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.lens-ring::before {
  content: "";
  position: absolute;
  inset: max(3px, calc(var(--lens-size) * 0.047));
  border: 1px dashed rgba(230, 250, 255, .54);
  border-radius: 50%;
}
.lens-ring::after {
  content: "SCAN";
  position: absolute;
  left: 50%;
  top: calc(var(--lens-size) * 0.084);
  transform: translateX(-50%);
  padding: calc(var(--lens-size) * 0.021) calc(var(--lens-size) * 0.042);
  color: white;
  background: rgba(4, 12, 18, .78);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 2px;
  font-size: clamp(4px, calc(var(--lens-size) * 0.037), 9px);
  font-weight: 760;
  letter-spacing: calc(var(--lens-size) * 0.01);
}
.lens-ring > i { position: absolute; display: block; background: white; box-shadow: 0 0 8px #47c8ff; }
.lens-ring > i:nth-child(1), .lens-ring > i:nth-child(3) { left: 50%; width: 1px; height: calc(var(--lens-size) * 0.063); }
.lens-ring > i:nth-child(1) { top: calc(var(--lens-size) * -0.0315); }
.lens-ring > i:nth-child(3) { bottom: calc(var(--lens-size) * -0.0315); }
.lens-ring > i:nth-child(2), .lens-ring > i:nth-child(4) { top: 50%; width: calc(var(--lens-size) * 0.063); height: 1px; }
.lens-ring > i:nth-child(2) { right: calc(var(--lens-size) * -0.0315); }
.lens-ring > i:nth-child(4) { left: calc(var(--lens-size) * -0.0315); }

/* ── Zone checks fan out around the scan lens ──
   The checks split into two columns flanking the eye — first half one side, the
   rest the other — with an elbow connector running from each card's inner edge
   to a node on the lens ring, so every check reads as pinned to the eye. The
   whole rig follows the lens as it tours/hovers.

   Placement is owned by JS (layoutWeb) rather than calc() on --px/--py: the
   columns have to clear the stage edges AND the hero copy that sits over the
   left of the frame, which CSS can't measure. Every moving part is driven by a
   transform, so following the lens costs no layout. */
.inspection-web {
  position: absolute;
  inset: 0;
  z-index: 12;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  /* Card width tracks the viewport so the rig keeps its proportions; JS reads
 the rendered width back, so this is the single source of truth. */
  --chip-w: clamp(96px, 11.6vw, 186px);
}
.inspection-stage.is-active.has-zone .inspection-web { opacity: 1; }
.web-heading { display: none; }

/* Hovering shows the eye and the zone's name; the checklist waits to be asked
   for. Six cards and their spokes appearing under the pointer is a lot of
   furniture for something the visitor has not yet chosen to look at, and the
   hero reads calmer without it. A click (or a tap) opens them. */
.web-col,
.web-links {
  opacity: 0;
  transition: opacity 180ms ease;
}
.inspection-stage.cards-open .web-col,
.inspection-stage.cards-open .web-links { opacity: 1; }
/* Simpler than chasing the mode/label mid-flight: just don't show the rig
   while the eye is travelling between zones. It fades back in once the
   glide lands and the new zone's cards are ready — one clean reveal at the
   target, no in-transit reformation to get right. Wins over is-active
   below it so a glide always hides the rig even while auto-touring. */
.inspection-stage.is-gliding .inspection-web { opacity: 0; }

/* Connector lines, drawn in stage pixel coordinates (no viewBox => 1 user unit
   is 1 CSS px), so JS can emit absolute geometry straight from its layout maths. */
.web-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
/* Each connector is drawn twice: a dark casing underneath so the hairline holds
   up over the bright parking lot, then the cyan line on top. */
.web-link-casing {
  fill: none;
  stroke: rgba(3, 14, 22, .5);
  stroke-width: 3.5;
}
.web-link {
  fill: none;
  stroke: rgba(186, 235, 255, .92);
  stroke-width: 1.1;
}
.web-node { fill: #e4f7ff; filter: drop-shadow(0 0 4px rgba(71, 200, 255, .95)); }

/* Zone title, centred over the lens (flipped below it when the lens rides high). */
.web-heading {
  position: absolute;
  top: 0;
  left: 0;
  width: max-content;
  max-width: min(58%, 440px);
  text-align: center;
  isolation: isolate;
}
/* Soft, edgeless scrim — the title floats over sky, sheet metal or tarmac
   depending on the zone, and a hard plate would read as a box. */
.web-heading::before {
  content: "";
  position: absolute;
  inset: -14px -26px;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(3, 13, 20, .66), rgba(3, 13, 20, 0) 70%);
}
.web-heading small {
  display: block;
  color: #a9e6ff;
  font-size: clamp(7px, .32vw + 5.4px, 12px);
  font-weight: 780;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(2, 12, 20, .95), 0 0 2px rgba(2, 12, 20, .8);
}
.web-heading .web-label {
  margin: clamp(3px, .4vw, 8px) 0 0;
  color: white;
  font-size: clamp(15px, 1.1vw + 7px, 30px);
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.06;
  text-shadow: 0 2px 16px rgba(2, 12, 20, .92), 0 0 3px rgba(2, 12, 20, .7);
}

.web-col {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--chip-w);
  display: flex;
  flex-direction: column;
  gap: clamp(7px, .8vw, 18px);
}

/* White glass card, centred bold text, with a short red tick on the edge facing
   the lens — the connector line picks up from that tick. */
.check-chip {
  --chip-delay: 0ms;
  position: relative;
  display: block;
  padding: clamp(5px, .3vw + 3.4px, 11px) clamp(7px, .45vw + 3.6px, 15px);
  border-radius: 4px;
  color: var(--color-text-primary);
  text-align: center;
  /* Floored at --text-chip (12px) instead of a raw 8px: that's the same token
 .cta-points already uses for small mobile check labels further down this
 page, so this card and that strip bottom out at the same legible size
 instead of the fluid formula picking its own (too-small) mobile floor. */
  font-size: clamp(var(--text-chip), .33vw + 5.7px, var(--text-sm));
  font-weight: var(--font-weight-bold);
  line-height: 1.24;
  letter-spacing: -.005em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .68), rgba(255, 255, 255, .42));
  border: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(10px) saturate(1.15);
  box-shadow: 0 10px 28px rgba(2, 12, 20, .22), inset 0 1px 0 rgba(255, 255, 255, .5);
  opacity: 0;
}
.check-chip::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 2px;
  height: 42%;
  min-height: 11px;
  transform: translateY(-50%);
  background: #ef3038;
  border-radius: 1px;
}
.web-col-left .check-chip::after { right: -1px; }
.web-col-right .check-chip::after { left: -1px; }
.hero.xray-active .check-chip {
  animation: branch-in 240ms cubic-bezier(.22, .82, .23, 1) var(--chip-delay) both;
}

.inspection-dot {
  position: absolute;
  z-index: 11;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: opacity 200ms ease;
}
.inspection-dot > span {
  position: relative;
  z-index: 2;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  color: var(--color-text-inverse);
  background: var(--primary);
  box-shadow:
0 0 0 4px color-mix(in srgb, var(--primary) 20%, transparent),
0 0 15px color-mix(in srgb, var(--primary) 60%, transparent);
  backdrop-filter: blur(8px);
  /* 10px bold, from 7px regular: at 7px the numerals were texture, not
 numbers. Two monospace digits at 10px still sit inside the 23px disc. */
  font: 700 10px ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.inspection-dot > i {
  position: absolute;
  inset: 7px;
  border: 1px solid color-mix(in srgb, var(--primary) 75%, white 25%);
  border-radius: 50%;
  animation: dot-pulse 2.8s var(--pulse-delay) infinite;
}
.inspection-dot:hover > span,
.inspection-dot:focus-visible > span,
.inspection-dot.selected > span {
  transform: scale(1.08);
  color: var(--color-text-inverse);
  /* #e0282f, from #ef3038: white numerals on the old red measured 4.09:1,
 under the 4.5 minimum. One step darker clears it (4.65:1) and still
 reads as the same signal red. */
  background: #e0282f;
  border-color: #ffd8da;
  box-shadow: 0 0 0 6px rgba(239, 48, 56, .16), 0 0 22px rgba(239, 48, 56, .7);
}
.inspection-dot.selected > i { border-color: rgba(239, 48, 56, .88); }
/* While a zone is open its check cards sit among the other zone dots; fading the
   dots that aren't in play keeps the cards readable without hiding the controls. */
.inspection-stage.is-active.has-zone .inspection-dot:not(.selected) { opacity: .5; }
.inspection-stage.is-active .inspection-dot:not(.selected):hover,
.inspection-stage.is-active .inspection-dot:not(.selected):focus-visible { opacity: 1; }
.inspection-dot:focus-visible { outline: 2px solid white; outline-offset: 2px; border-radius: 50%; }
/* A neighbour's badge the lens is passing over — see hideDotsUnderLens. The second selector
   outranks the .5 fade above while a zone is open. */
.inspection-stage .inspection-dot.is-under-lens,
.inspection-stage.is-active.has-zone .inspection-dot.is-under-lens:not(.selected) { opacity: 0; pointer-events: none; }

@keyframes branch-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes dot-pulse {
  0% { transform: scale(.62); opacity: 0; }
  28% { opacity: .8; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* The copy column sits above the stage; keep it pointer-transparent so
   hover/tap reaches the inspection surface. The CTA buttons restore their
   own pointer-events. */
.hero-inner { pointer-events: none; }
.hero-inner .hero-actions { pointer-events: auto; }

@media (max-width: 980px) {
  /* General mobile (both orientations): bigger touch dots. touch-action stays
 pan-y so the page keeps scrolling; taps and the numbered dots are the
 primary interaction. The lens is NOT enlarged here — its size is a fixed
 share of the rendered image, so the car-to-eye ratio holds on phones too. */
  .inspection-stage { cursor: default; }
  .web-heading .web-label { font-weight: 680; }
  .inspection-dot { width: 52px; height: 52px; }
  .inspection-dot > span { width: 25px; height: 25px; }
}

@media (max-width: 1080px) and (orientation: portrait) {
  .inspection-stage {
/* Fills the scene — copy area included — so there is one photograph and no
   join to hide. The negative top carries it up behind the topbar row as
   well, which the scene box starts below; without it the logo and the auth
   button sit on a white band above the photograph. */
position: absolute;
inset: calc(-1 * (var(--hero-topbar-height) + 30px)) 0 0 0;
order: 2;
flex: none;
width: 100%;
height: auto;
  }
  .vehicle-image {
/* The box is taller than the photograph is proportioned, so cover fits the
   height and crops the sides only — the full sky-to-tarmac height shows,
   which is what puts sky behind the copy and the car below it. The
   horizontal position keeps the car and the inspector in frame. */
width: 100%;
/* Taller than the frame by the same factor the frame was shortened, so the
   photograph renders at exactly the scale it did before and the frame
   simply stops higher up — cutting the empty tarmac below the car rather
   than zooming into it. Top-anchored for the same reason. */
height: 111%;
left: 0;
top: 0;
/* Centres the slack. Derived from a real phone screenshot rather than the
   zone percentages: the subject runs from the bumper at source x 48.6% to
   the inspector's back at 87.5%, not to the car's blue rear at 86% — which
   is what earlier passes balanced against, leaving 46px of gap at the nose
   and the inspector hard against the other edge. */
object-position: 82% 0%;
-webkit-mask-image: none;
mask-image: none;
  }
  /* The frame ends in a hard horizontal cut on this layout, because the chip
 strip sits below the photograph rather than on it as it does on desktop.
 A short fade at the very bottom lets it settle into the page instead —
 the same softness the desktop hero has always had at its foot, and the one
 edge that was deliberately kept when the top and side fades came off. */
  .inspection-stage {
-webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
  }
}

@media (max-width: 560px) {
  /* A phone-width band can rarely hold a column on *both* sides of the eye, so
 the rig usually collapses to one side (layoutWeb decides). Keep the cards
 narrow enough that the side it picks always fits. */
  .inspection-web { --chip-w: clamp(92px, 26vw, 118px); }
  .web-col { gap: 6px; }
  .check-chip { font-size: 11px; }
}

@container (min-width: 500px) and (max-width: 900px) {
  .inspection-web { --chip-w: 120px; }
  .web-col { gap: 4px; }
  .check-chip { padding: 4px; font-size: 10px; line-height: 1.2; }
  .web-heading .web-label { font-size: 15px; }
  .web-heading small { font-size: 7px; }
}

/* On a phone the selected area and reveal carry the scan; six floating
   checklist cards would cover the entire car. */
@container (max-width: 499.98px) {
  .web-col, .web-links, .web-heading small { display: none; }
  .web-heading { max-width: 90%; }
  .web-heading .web-label { margin: 0; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .check-chip, .inspection-dot > i, .lens-ring, .xray-layer, .inspection-web {
animation: none !important;
transition: none !important;
  }
  .check-chip { opacity: 1; }
}

/* ── What We Inspect: the same shape, and the same steps as its neighbour ───
   Two things were wrong here and they had the same root: this section was the
   only one on the page deciding its own layout from the viewport, while the
   stat cards and How It Works both read the width of the section they sit in.

   The columns ran 1 -> 3 -> 1 -> 2 -> 3 as the screen widened, because four
   media blocks each set them for their own range and the ranges overlap. At
   560px that put three cards in a phone-landscape width at 162px each, and
   between 950 and 1120 it dropped to one card at 1047px. Now it switches on
   the section's own width at the same 619px threshold How It Works uses, so
   the two sections step together by construction rather than by coincidence:
   one column, then three, and nothing in between.

   The card was also pinned to height: 300px while its width came from the
   column, so the proportion drifted — 1.16 at 1150px, 1.45 at 1440, not
   properly landscape until about 1800. A photograph carries an expectation of
   proportion in a way a block of text does not, which is why How It Works can
   let content set its heights and this cannot. aspect-ratio fixes it at 3:2
   and lets the height follow the column.
   ────────────────────────────────────────────────────────────────────────── */
/* On the inner container, not the section — that is where How It Works puts
   its own, and the two differ by the section's 12px side padding. Declared on
   the section instead, this flipped to three columns about 24px of viewport
   earlier than its neighbour, which is the whole thing this was meant to fix. */
.questions-section > .container {
  container-type: inline-size;
  container-name: questions-section;
}

/* Wherever the photo fills the card, it keeps a photograph's proportion. */
@media (min-width: 560px) {
  .question-card {
aspect-ratio: 3 / 2;
height: auto;
min-height: 0;
  }

  /* The third card spanned the row in the old 2+1 arrangement. */
  .question-card:last-child {
grid-column: auto;
  }
}

/* Stacked — one column, and the symmetric slant a lone card takes. */
@container questions-section (max-width: 619px) {
  .questions-grid {
grid-template-columns: 1fr;
  }

  .question-card,
  .question-card:first-child,
  .question-card:nth-child(2),
  .question-card:last-child {
clip-path: var(--clip-both);
  }
}

/* A row — three across, straight on the outside, parallel through the middle. */
@container questions-section (min-width: 620px) {
  .questions-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .question-card:first-child { clip-path: var(--clip-right); }
  .question-card:nth-child(2) { clip-path: var(--clip-both); }
  .question-card:last-child { clip-path: var(--clip-left); }
}

/* ── Keeping the shape where the card is not a photo panel ──────────────────
   clip-path strips the border off the diagonals, so where the card carries a
   visible outline it is painted instead: the card takes the line colour and an
   inset pseudo-element carries the fill, inheriting the clip so the 1px follows
   the slant. Same trick as .stat-card and .how-step-card, and box-shadow has to
   become drop-shadow for the same reason — a box shadow traces the border box,
   not the clipped shape. Copy gets the slant added to its inline padding so it
   never runs into the diagonal.
   ────────────────────────────────────────────────────────────────────────── */
@media (min-width: 560px) and (max-width: 900px) {
  .question-card {
/* Prefer the 3:2 photo shape, but do not crop copy when the shared body
   scale needs more vertical room in compact three-column layouts. */
min-height: 160px;
/* With aspect-ratio set, a grid item takes its width from its height, so
   the 160px floor made every card at least 240px wide — wider than the
   column below ~800px viewport: the cards overlapped and the third ran off
   the screen (15px sideways scroll at 667x375). Held to the column, a narrow
   card grows a little taller than 3:2 instead, which is what the min-height
   is for. */
width: 100%;
min-width: 0;
border: 0;
box-shadow: none;
filter: drop-shadow(0 12px 24px rgba(16, 24, 40, 0.08));
  }

  .question-card-content {
padding-inline: calc(16px + var(--stats-card-slant));
  }
}

@media (max-width: 559px) {
  /* Phones keep the caption ON the photo, like the tablet and desktop cards and
     the "Avoid Expensive Surprises" cards. This used to restack to a short photo
     band with the copy on a white panel beneath (owner, phone check
     2026-11-08: "white band"). The photo fills the card via the shared
     overlay rules above; the card is tall enough to leave the picture room
     above the two-line caption. */
  .question-card {
position: relative;
align-content: end;
min-height: 240px;
border: 0;
background: #0f1621;
box-shadow: none;
filter: drop-shadow(0 12px 26px rgba(16, 24, 40, 0.06));
  }

  .question-card img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
  }

  .question-card::after {
display: block;
background: linear-gradient(to top,
  rgba(7, 10, 16, 0.9) 0%,
  rgba(7, 10, 16, 0.6) 45%,
  rgba(7, 10, 16, 0.08) 100%);
  }

  .question-card-content h3 { color: #fff; }
  .question-card-content p { color: rgba(255, 255, 255, 0.86); }

  /* The copy sits in flow over the photo; reset the insets (its last-child
 `right: 22px` would otherwise shift it sideways). */
  .question-card-content,
  .question-card:last-child .question-card-content {
position: relative;
inset: auto;
z-index: 1;
padding-inline: calc(14px + var(--stats-card-slant));
  }
}

/* The copy is laid out absolutely once it overlays the photo, so it is inset
   rather than padded — on both cards whose clip takes the bottom-right corner,
   and flush on the last, whose right edge is straight. */
@media (min-width: 901px) {
  .question-card-content { right: calc(22px + var(--stats-card-slant)); }
  .question-card:last-child .question-card-content { right: 22px; }
}

/* ── How It Works: three cards, one height ──────────────────────────────────
   .how-flow sets align-items: start, so each step sized to its own copy and
   the middle card — which runs a line longer — stood taller than the two
   beside it: 187/203/187 at 700px, 244/271/244 at 1200. It only looked even at
   the widths where the three happened to wrap to the same number of lines.

   Stretching the steps is not enough on its own: the card is a flex child of
   the step, so it has to be told to take the room the stretch gives it, or the
   step grows and the card keeps its content height inside it. Scoped to the
   row — stacked, each card should still hug its own copy.

   The connectors are unaffected: they hang from the step's top edge, at the
   badge's centre line, so a taller step does not move them.
   ────────────────────────────────────────────────────────────────────────── */
@container how-section (min-width: 620px) {
  .how-flow {
align-items: stretch;
  }

  .how-step-card {
flex: 1;
  }
}

/* ── What We Inspect: the headings sit on one line ──────────────────────────
   The copy is anchored to the bottom of the card, so the heading's height off
   the floor is heading + however many lines the paragraph happens to take. Three
   different sentences break at three different widths, so the three headings
   drifted apart at whatever size one of them gained a line — measured across
   ten different wordings, the best any of them managed was eleven widths out of
   twelve. It is not something copy length can settle.

   So reserve the lines instead: the paragraph is always as tall as the longest
   of the three needs to be, and a shorter one leaves its space empty below the
   text rather than pulling its heading down. The headings then sit on one line
   whatever the copy says, and editing the text later cannot knock them out.
   ────────────────────────────────────────────────────────────────────────── */
@container questions-section (min-width: 620px) {
  .question-card-content p {
min-height: 3lh;
  }
}

/* Wide enough that all three fit on one line, so two is the honest reserve. */
@container questions-section (min-width: 1360px) {
  .question-card-content p {
min-height: 2lh;
  }
}

/* ── How It Works, stacked: the number sits with its card ───────────────────
   align-items: flex-start pinned each badge to the top edge of the card beside
   it, so on a phone the numbers rode high against three or four lines of copy
   rather than marking the step they belong to. Centred, each number sits
   against the middle of its own card.

   The connector moves with it. It used to hang from just under a top-aligned
   badge; now it leaves from under the centred one — same length, because the
   distance between two badge centres is the step height plus the gap whichever
   way the badge is aligned, so only its starting point changes.
   ────────────────────────────────────────────────────────────────────────── */
@container how-section (max-width: 619px) {
  .how-step {
align-items: center;
  }

  .how-step:not(:last-child)::after {
top: calc(50% + var(--how-badge-size, 42px) / 2 + 12px);
  }
}

/* Until the X-ray layer has loaded (it is fetched after the photograph), nothing of the lens shows: no ring,
   no label, no cards, and the dots stay as they are with no lens over them (owner, 2026-11-06). */
.inspection-stage.xray-waiting .xray-layer,
.inspection-stage.xray-waiting .lens-ring,
.inspection-stage.xray-waiting .lens-label,
.inspection-stage.xray-waiting .inspection-web { opacity: 0 !important; }
.inspection-stage.xray-waiting .inspection-dot { opacity: 1 !important; pointer-events: auto !important; }

/* ── Closure notice (Admin → Closures, "Show on home page") ──
   In the page flow above the hero, so it pushes the page down instead of covering it. */
.closure-bar {
  background: var(--color-warning-bg);
  color: var(--color-warning);
  border-bottom: 1px solid color-mix(in srgb, var(--color-warning) 22%, transparent);
}
.closure-bar[hidden] { display: none; }
.closure-bar-inner {
  width: min(var(--max), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
}
.closure-bar-icon { flex: none; }
.closure-bar-text {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
}
.closure-bar-close {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -10px -12px -10px 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: inherit;
  cursor: pointer;
}
.closure-bar-close:hover { background: color-mix(in srgb, var(--color-warning) 12%, transparent); }
.closure-bar-close:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
