/* Self-hosted Nimbus Sans L (URW Helvetica-metric grotesque) */
@font-face {
  font-family: "Nimbus Sans L";
  src: url("../fonts/NimbusSanL-Regu.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Nimbus Sans L";
  src: url("../fonts/NimbusSanL-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Nimbus Sans L";
  src: url("../fonts/NimbusSanL-ReguItal.ttf") format("truetype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Nimbus Sans L";
  src: url("../fonts/NimbusSanL-BoldItal.ttf") format("truetype");
  font-weight: 700; font-style: italic; font-display: swap;
}
/* Self-hosted League Gothic (OFL, condensed display) — display/headline layer */
@font-face {
  font-family: "League Gothic";
  src: url("../fonts/LeagueGothic-Regular.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
/* Self-hosted League Mono (OFL) — UI/label mono layer */
@font-face {
  font-family: "League Mono";
  src: url("../fonts/LeagueMono-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "League Mono";
  src: url("../fonts/LeagueMono-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ============================================================
   Sports.Cars — Design System
   Refined gallery aesthetic: warm off-whites, editorial serif
   headlines, restrained accent. Imagery carries the colour.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces — warm whites / off-whites (bone, paper, ivory) */
  --bg: #fcfbf8;
  --bg-alt: #f2efe7;
  --bg-dark: #0e0c0a;
  --bg-dark-alt: #17140f;

  /* Ink — warm charcoal, never pure black */
  --text: #1b1915;
  --text-muted: #6f6a60;
  --text-on-dark: #eeebe4;
  --text-on-dark-muted: #a9a294;

  --line: #e2ddd1;
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Accent — deep, restrained bordeaux (was bright #e8071f) */
  --red: #7c1a26;
  --red-hover: #611420;
  --ink: #1b1915;

  --radius-sm: 3px;
  --radius: 4px;
  --radius-lg: 6px;
  --radius-pill: 4px;
  --radius-btn: 2px;

  --shadow-card: 0 4px 24px rgba(28, 22, 12, 0.06);
  --shadow-card-hover: 0 18px 48px rgba(28, 22, 12, 0.14);
  --shadow-dark: 0 20px 60px rgba(0, 0, 0, 0.5);

  --maxw: 1200px;
  --maxw-narrow: 980px;

  --nav-h: 50px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --font: "Nimbus Sans L", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-display: "Nimbus Sans L", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "League Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-hero: "League Gothic", "Nimbus Sans L", -apple-system, "Helvetica Neue", sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.022em; line-height: 1.08; }
/* Big headlines get the editorial serif; small h3/h4 labels stay grotesque */
h1, h2, .display, .hero__title, .cta-band__title, .subhero__title,
.article-hero__title, .listing-title, .dealer-hero__name, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}
p { margin: 0; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}
/* Listing page: wider container (less page margin, bigger gallery) */
.listing-page .container { max-width: 1520px; padding: 0 28px; }
.container--narrow { max-width: var(--maxw-narrow); }

.section { padding: 100px 0; }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: #fff; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.section--dark .eyebrow { color: var(--text-on-dark-muted); }

.display {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.03;
}
.h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.025em; }
.lead {
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: -0.014em;
  line-height: 1.35;
}
.section--dark .lead { color: var(--text-on-dark-muted); }

.section-head { max-width: 720px; margin: 0 0 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.text-red { color: var(--red); }

/* ---------- Mono UI layer (Bugatti-style technical labels) ----------
   All-caps monospace for buttons, eyebrows, indicators, and small
   labels. Wired to --font-mono so the whole layer swaps in one place. */
.btn, .nav__cta, .nav__login, .nav__saved, .nav__toggle,
.eyebrow, .link-arrow, .hero__counter, .searchbar__field label,
.footer__col h4, .footer__social a, .car-card__fav, .cat-card__link,
.tier__name, .car-card__tag, .stat__label, .section-bar .link-arrow {
  font-family: var(--font-mono);
  font-weight: 500;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-hover); }

.btn--secondary { background: var(--text); color: #fff; }
.btn--secondary:hover { background: #000; }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--text); }

.btn--ghost-light { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.16); }

.btn--lg { padding: 16px 34px; font-size: 13px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  transition: opacity 0.25s var(--ease);
}
.link-arrow:hover { opacity: 0.62; }
.section--dark .link-arrow { color: var(--text-on-dark); }
.link-arrow__arr { transition: transform 0.25s var(--ease); }
.link-arrow:hover .link-arrow__arr { transform: translateX(4px); }

/* ============================================================
   Header / Nav (frosted, sticky)
   ============================================================ */
/* Floating minified pill bar (Bugatti-style) */
.nav {
  position: sticky;
  top: 14px;
  z-index: 100;
  width: calc(100% - 40px);
  max-width: 980px;
  margin: 14px auto 0;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  box-shadow: 0 12px 36px rgba(20, 16, 8, 0.16);
}
.nav__inner {
  max-width: none;
  margin: 0;
  height: 100%;
  padding: 0 14px 0 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav__logo { display: flex; align-items: center; font-family: var(--font-hero); font-weight: 700; font-size: 28px; line-height: 1; letter-spacing: -0.01em; color: var(--text); text-transform: uppercase; padding-top: 4px; }
.nav__logo b { color: var(--text); }
.nav__logo span { font-weight: 400; }
.logo-dot { color: #7c1a26; }

.nav__links { display: flex; align-items: center; gap: 24px; margin: 0 auto; }
.nav__link {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text);
  opacity: 0.85;
  transition: opacity 0.2s var(--ease);
  position: relative;
}
.nav__link:hover { opacity: 1; }
.nav__link.is-active { opacity: 1; font-weight: 500; }

.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__saved {
  background: none; border: none; padding: 0; color: var(--text);
  font-family: inherit; font-size: 11.5px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0.72; transition: opacity 0.2s var(--ease);
}
.nav__saved:hover { opacity: 1; }

.nav__login {
  font-size: 11.5px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); opacity: 0.72;
  transition: opacity 0.2s var(--ease);
}
.nav__login:hover { opacity: 1; }

.nav__cta {
  font-size: 11.5px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 15px;
  background: var(--ink); color: #fff; border-radius: var(--radius-btn);
  transition: background 0.2s var(--ease);
}
.nav__cta:hover { background: #000; }

.nav__toggle {
  display: none; background: none; border: none; padding: 4px 0; color: var(--text);
  font-family: inherit; font-size: 11.5px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* ============================================================
   Hero — full-bleed image carousel (gallery-style showcase)
   ============================================================ */
/* Full-bleed image heroes run to the top, beneath the floating nav */
.hero, .subhero, .dealer-hero, .article-hero {
  margin-top: calc(-1 * (var(--nav-h) + 14px));
}
.hero {
  position: relative;
  height: 90vh;
  min-height: 640px;
  max-height: 1000px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero__slide.is-active img { animation: heroZoom 8s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1.14); } }
.hero__slides::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,8,5,0.72) 0%, rgba(10,8,5,0.33) 46%, rgba(10,8,5,0.02) 80%),
              linear-gradient(0deg, rgba(10,8,5,0.55) 0%, rgba(10,8,5,0) 42%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 40px; padding-bottom: 34px; }
.hero__eyebrow { color: rgba(255, 255, 255, 0.82); margin-bottom: 20px; }
.hero__title {
  font-family: var(--font-hero);
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  max-width: 22ch;
  text-transform: uppercase;
}
.hero__sub {
  margin-top: 16px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 400;
  letter-spacing: -0.005em;
  max-width: 40ch;
}

/* Carousel controls — slide counter + line indicators (no icons) */
.hero__controls {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 30px;
  display: flex; align-items: center; justify-content: flex-end; gap: 26px;
}
.hero__counter {
  font-size: 12px; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.78);
  font-variant-numeric: tabular-nums;
}
.hero__counter-sep { opacity: 0.5; margin: 0 5px; }
.hero__dots { display: flex; gap: 10px; }
.hero__dot {
  width: 40px; height: 2px; padding: 0; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.32); transition: background 0.3s var(--ease);
}
.hero__dot:hover { background: rgba(255, 255, 255, 0.6); }
.hero__dot.is-active { background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
  .hero__slide.is-active img { animation: none; transform: scale(1.06); }
}

/* Search bar — smoked frosted glass (Bugatti-style: transparent fill,
   luminous hairline rim, inner top highlight, deep blur) */
.searchbar {
  margin-top: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02)),
    rgba(18, 15, 12, 0.28);
  backdrop-filter: blur(30px) saturate(125%);
  -webkit-backdrop-filter: blur(30px) saturate(125%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 440px;
}
.searchbar__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; align-items: end; }
.searchbar__field { width: 100%; min-width: 0; }
/* Location starts collapsed; slides open once the user fills the search */
.searchbar__field--wide {
  grid-column: 1 / -1;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease);
}
.searchbar__field--wide.is-open { max-height: 90px; opacity: 1; }
.searchbar__field label {
  display: block; font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.68); margin-bottom: 6px;
}
.searchbar__field select,
.searchbar__field input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.searchbar__field input::placeholder { color: rgba(255, 255, 255, 0.55); }
.searchbar__field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6'%3E%3Cpath d='M1 1l3.5 3.5L8 1' fill='none' stroke='%23ffffff' stroke-width='1' stroke-opacity='0.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 9px 6px; padding-right: 30px; }
.searchbar__field select:focus,
.searchbar__field input:focus { outline: none; border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.14); }
.searchbar__field option { color: #111; }
.searchbar__actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.searchbar__submit { flex: 0 0 auto; }
.searchbar__advanced a {
  color: rgba(255, 255, 255, 0.7); font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.2s var(--ease);
}
.searchbar__advanced a:hover { color: #fff; }

/* ============================================================
   Category cards
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, #2a2a2e 0%, #141416 100%);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.05) 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; color: #fff;
}
.cat-card__title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.cat-card__link { margin-top: 6px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.8); display: inline-flex; align-items: center; gap: 6px; }
.cat-card:hover .cat-card__link { color: #fff; }

/* ============================================================
   Car cards (borderless, image-forward)
   ============================================================ */
.car-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.car-grid--3 { grid-template-columns: repeat(3, 1fr); }

.car-card { display: block; background: transparent; cursor: pointer; }

/* Elevated image block with title/location overlaid (SOMO-style) */
.car-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #2a2a2e 0%, #141416 100%);
  box-shadow: 0 16px 38px rgba(20, 16, 8, 0.18);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.car-card:hover .car-card__media { transform: translateY(-6px); box-shadow: 0 30px 62px rgba(20, 16, 8, 0.28); }
.car-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 36%; transition: transform 0.6s var(--ease); }
.car-card:hover .car-card__media img { transform: scale(1.05); }
/* Tall gradient shelf at the bottom so the title sits below the car, not on it */
.car-card__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg,
    rgba(10,8,5,0.96) 0%, rgba(10,8,5,0.88) 16%,
    rgba(10,8,5,0.58) 32%, rgba(10,8,5,0.18) 48%, rgba(10,8,5,0) 62%);
}

/* Small heart, top-right */
.car-card__fav {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 30px; height: 30px; padding: 0; border: none; background: none;
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}
.car-card__fav svg { width: 18px; height: 18px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4)); }
.car-card__fav:hover { transform: scale(1.12); color: #fff; }
.car-card__fav.is-active { color: var(--red); }
.car-card__fav.is-active svg { fill: var(--red); }

.car-card__overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 18px 20px; color: #fff; }
.car-card__name { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.16; }
.car-card__meta { display: block; margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, 0.74); }
.car-card__meta span + span::before { content: "·"; margin: 0 7px; opacity: 0.7; }

/* Hover: info slides up, an outlined "Buy Now" button reveals (Bugatti-style) */
.car-card__cta {
  display: flex; width: 100%; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 12px 18px; border-radius: var(--radius);
  opacity: 0; max-height: 0; margin-top: 0; overflow: hidden;
  transition: opacity 0.28s var(--ease), max-height 0.34s var(--ease),
    margin-top 0.34s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.car-card:hover .car-card__cta { opacity: 1; max-height: 52px; margin-top: 14px; }
.car-card__cta:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; }
@media (hover: none) { .car-card__cta { opacity: 1; max-height: 52px; margin-top: 14px; } }

/* Rule + price below the image */
.car-card__footer { display: flex; flex-direction: column; gap: 3px; padding-top: 13px; margin-top: 14px; border-top: 1px solid var(--line); }
.car-card__plabel { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.car-card__price { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }

.car-card__tag {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  background: var(--red); color: #fff;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 9px; border-radius: var(--radius-sm);
}

/* ============================================================
   Brand chips
   ============================================================ */
.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.brand-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 18px 12px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.brand-chip:hover { transform: translateY(-4px); }
.brand-chip__logo { height: 72px; display: flex; align-items: center; justify-content: center; }
.brand-chip__logo img { max-height: 72px; max-width: 150px; width: auto; object-fit: contain; }
.brand-chip__name { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.03em; color: var(--text-muted); }

/* ============================================================
   Feature / trust row
   ============================================================ */
.feature-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.feature-row--4 { grid-template-columns: repeat(4, 1fr); }
.feature {
  text-align: center;
}
.feature__num {
  font-family: var(--font-display);
  font-size: 34px; font-weight: 500; line-height: 1;
  color: var(--red); margin: 0 auto 8px;
}
.feature__rule { width: 26px; height: 1px; background: var(--line-dark); margin: 0 auto 16px; }
.feature__title { font-size: 15px; font-weight: 600; margin-bottom: 8px; letter-spacing: 0.01em; }
.feature__text { font-size: 14px; color: var(--text-muted); line-height: 1.45; }
.section--dark .feature__text { color: var(--text-on-dark-muted); }

/* ============================================================
   The Standard — editorial ruled list on a subtle racing checker
   ============================================================ */
.standard { position: relative; overflow: hidden; background-color: var(--bg-dark); }
/* Highly distorted car image under a mostly-black overlay */
.standard__media { position: absolute; inset: 0; z-index: 0; }
.standard__media img { width: 100%; height: 100%; object-fit: cover; filter: blur(7px); transform: scale(1.06); opacity: 0.72; }
.standard__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,5,0.58) 0%, rgba(10,8,5,0.8) 100%);
}
.standard .container { position: relative; z-index: 1; }
.standard .section-head { max-width: 760px; margin-bottom: 20px; }
/* Reglo, tracked-in, white — dark-section display headlines (Reglo is always all-caps) */
.standard .h2, .cta-band__title { font-family: var(--font-hero); letter-spacing: -0.01em; color: #fff; text-transform: uppercase; }
/* Inner-page hero/display titles → League Gothic all-caps (matches homepage) */
.subhero__title, .article-hero__title, .dealer-hero__name, .listing-title {
  font-family: var(--font-hero); text-transform: uppercase; letter-spacing: -0.01em;
}
/* All h2 → League Gothic all-caps, site-wide */
h2, .h2 { font-family: var(--font-hero); text-transform: uppercase; letter-spacing: -0.01em; }
/* (2-line clamp removed — it truncated long headers; titles show fully now) */
.standard-list { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.standard-row {
  display: grid;
  grid-template-columns: 52px minmax(180px, 1fr) 1.9fr;
  gap: 24px 26px;
  align-items: start;
  padding: 26px 20px 26px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.35s var(--ease);
}
.standard-row:hover { background: rgba(255, 255, 255, 0.05); }
/* Numbered circle badge (single digit in a soft bordeaux disc) */
.standard-row__num {
  width: 40px; height: 40px; margin-top: -6px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  font-family: var(--font-mono); font-size: 14px; font-weight: 500;
}
.standard-row__title { font-size: 21px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; color: #fff; }
.standard-row__text { font-size: 15px; line-height: 1.5; color: var(--text-on-dark-muted); max-width: 62ch; }
/* "Trusted by experts at" press row — Reglo wordmarks (placeholder for logos) */
.standard-press { margin-top: 90px; text-align: center; }
.standard-press__label { margin-bottom: 22px; }
.standard-press__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 44px; }
.standard-press__logos span { font-family: var(--font-hero); text-transform: uppercase; font-size: 33px; letter-spacing: -0.01em; color: #fff; opacity: 0.68; }
@media (max-width: 768px) {
  .standard-row { grid-template-columns: 1fr; gap: 8px; padding: 24px 8px; }
  .standard-row__num { font-size: 13px; }
}

/* ============================================================
   Closing CTA (cinematic)
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  color: #fff;
}
.cta-band__media { position: absolute; inset: 0; z-index: 0; }
/* Blurry, indistinct image */
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; opacity: 1; filter: blur(3px); transform: scale(1.04); }
/* Overlay: solid dark on the left, fading to reveal the blur on the right */
.cta-band__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,12,10,0) 42%, var(--bg-dark) 100%),
    linear-gradient(90deg, var(--bg-dark) 0%, var(--bg-dark) 30%, rgba(14,12,10,0.55) 65%, rgba(14,12,10,0.38) 100%);
}
.cta-band__inner {
  position: relative; z-index: 1; padding: 84px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap;
}
/* No email signup → stack all content vertically on the left */
.cta-band__inner:not(:has(.signup)) { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 18px; }
.cta-band__inner:not(:has(.signup)) .cta-band__text { max-width: 52ch; margin-bottom: 4px; }
.cta-band__title { font-size: clamp(30px, 4vw, 46px); font-weight: 500; letter-spacing: -0.02em; max-width: 24ch; text-wrap: balance; }
.cta-band__signup { flex: 0 1 460px; }
.cta-band__text { font-size: 15px; color: rgba(255,255,255,0.8); margin-bottom: 16px; }

/* Email signup */
.signup {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  padding: 8px 8px 8px 18px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.signup__input {
  flex: 1; min-width: 0; background: none; border: none; color: #fff;
  font-family: inherit; font-size: 15px;
}
.signup__input::placeholder { color: rgba(255,255,255,0.65); }
.signup__input:focus { outline: none; }
.signup__btn { flex: 0 0 auto; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: rgba(255,255,255,0.86); }

/* ============================================================
   Section header w/ trailing link
   ============================================================ */
.section-bar {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 36px;
}
.section-bar h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.025em; }

/* Slider dots */
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.dot { width: 28px; height: 4px; border-radius: 2px; background: var(--line); border: none; padding: 0; transition: background 0.25s var(--ease); }
.dot.is-active { background: var(--red); }
.section--dark .dot { background: rgba(255,255,255,0.2); }
.section--dark .dot.is-active { background: var(--red); }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--bg-dark); color: var(--text-on-dark-muted); padding: 72px 0 40px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer__brand-logo { font-family: var(--font-hero); text-transform: uppercase; font-size: 69px; line-height: 0.9; font-weight: 700; letter-spacing: -0.01em; color: #fff; margin-bottom: 6px; }
.footer__brand-logo b { color: #fff; }
.footer__brand-logo span { font-weight: 400; }
.footer__tagline { font-size: 14px; line-height: 1.5; max-width: 30ch; margin-bottom: 20px; }
.footer__social { display: flex; gap: 18px; align-items: center; }
.footer__social a { color: var(--text-on-dark-muted); display: inline-flex; transition: color 0.2s var(--ease); }
.footer__social a:hover { color: #fff; }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.footer__col h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer__col a { display: block; font-size: 14px; padding: 6px 0; transition: color 0.2s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom { padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer__press { display: flex; gap: 28px; align-items: center; justify-content: center; padding: 34px 0; opacity: 0.5; flex-wrap: wrap; }
.footer__press span { font-family: var(--font-hero); text-transform: uppercase; font-size: 17px; letter-spacing: -0.01em; color: #fff; }

/* ============================================================
   Scroll-in motion
   ============================================================ */
/* Failed images fade out so the branded gradient shows through */
img.img-failed { opacity: 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .car-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-row, .feature-row--4 { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
/* Nav collapses to hamburger below tablet to avoid cramped wrapping */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; margin-left: auto; }
  .nav__actions .nav__login { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 68px 0; }
  .section-bar { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .car-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 560px; }
  .hero__media::after { background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 70%); }
  .searchbar { max-width: 100%; }
  .searchbar__fields { grid-template-columns: 1fr; }
  .searchbar__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .searchbar__submit.btn { width: 100%; }
  .searchbar__advanced { text-align: center; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .cat-grid, .car-grid, .brand-grid { grid-template-columns: 1fr; }
  .feature-row, .feature-row--4 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .car-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* Mobile nav drawer */
.mobile-menu {
  position: fixed; inset: calc(var(--nav-h) + 28px) 0 0; z-index: 99;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  padding: 28px 22px; display: none; flex-direction: column; gap: 4px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { font-size: 22px; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--line); letter-spacing: -0.02em; }
.mobile-menu .btn { margin-top: 20px; }

/* ============================================================
   PAGE COMPONENTS (Sell, Dealers, Listing, Profiles, Resources, Company)
   ============================================================ */

/* ---------- Sub-hero (shorter cinematic hero for inner pages) ---------- */
.subhero {
  position: relative;
  color: #fff;
  background: var(--bg-dark);
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
}
.subhero--tall { min-height: 560px; }
.subhero__media { position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 120% at 70% 30%, #33333a 0%, #161619 55%, #0a0a0a 100%); }
.subhero__media img { width: 100%; height: 100%; object-fit: cover; }
.subhero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.4) 55%, rgba(0,0,0,0.1) 100%), linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0) 45%); }
.subhero__inner { position: relative; z-index: 1; width: 100%; padding: 72px 0; }
.subhero__title { font-size: clamp(40px, 6vw, 76px); font-weight: 600; letter-spacing: -0.035em; line-height: 1; max-width: 22ch; }
.subhero__sub { margin-top: 18px; font-size: clamp(18px, 2.2vw, 24px); color: rgba(255,255,255,0.82); font-weight: 400; max-width: 40ch; letter-spacing: -0.015em; }
.subhero__actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.subhero__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 8px 14px; border-radius: var(--radius-pill); margin-bottom: 22px; }
.subhero__badge svg { width: 14px; height: 14px; color: var(--red); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step__num { font-size: 13px; font-weight: 600; color: var(--red); letter-spacing: 0.06em; margin-bottom: 14px; }
.step__title { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 8px; }
.step__text { font-size: 15px; color: var(--text-muted); line-height: 1.5; }
.section--dark .step__text { color: var(--text-on-dark-muted); }

/* ---------- Split content (two-column text/media) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(135deg,#2a2a2e,#141416); position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media-caption { position: absolute; left: 24px; bottom: 22px; color: #fff; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.prose p { color: var(--text-muted); font-size: 17px; line-height: 1.55; margin-top: 16px; }
.section--dark .prose p { color: var(--text-on-dark-muted); }

/* ---------- Pricing tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.tier {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.tier--featured { border-color: transparent; box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.tier--featured::before {
  content: attr(data-badge);
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--red); color: #fff; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 16px; border-radius: var(--radius-pill);
}
.tier__name { font-size: 15px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--text-muted); }
.tier__tagline { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.tier__price { font-size: 46px; font-weight: 600; letter-spacing: -0.03em; margin: 20px 0 2px; }
.tier__price span { font-size: 16px; font-weight: 400; color: var(--text-muted); letter-spacing: 0; }
.tier__note { font-size: 13px; color: var(--text-muted); }
.tier__list { list-style: none; padding: 0; margin: 26px 0; }
.tier__list li { display: flex; gap: 11px; align-items: flex-start; padding: 8px 0; font-size: 15px; }
.tier__list li::before { content: "—"; flex: 0 0 auto; color: var(--red); font-weight: 600; line-height: 1.5; }
.tier__disclaimer { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 26px; }

/* ---------- Sold / success cards ---------- */
.sold-card { border-radius: var(--radius); overflow: hidden; position: relative; background: linear-gradient(135deg,#2a2a2e,#141416); aspect-ratio: 3/2; display: flex; align-items: flex-end; }
.sold-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sold-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 55%); }
.sold-card__tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--red); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 11px; border-radius: 6px; }
.sold-card__body { position: relative; z-index: 2; padding: 20px; color: #fff; width: 100%; }
.sold-card__name { font-size: 17px; font-weight: 600; }
.sold-card__loc { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 2px; }
.sold-card__price { margin-top: 10px; font-size: 20px; font-weight: 700; }
.sold-card__label { font-size: 11px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Logo wall ---------- */
.logo-wall { display: flex; flex-wrap: wrap; gap: 40px 56px; justify-content: center; align-items: center; }
.logo-wall span { font-family: var(--font-hero); text-transform: uppercase; font-size: 28px; letter-spacing: -0.01em; color: var(--text); opacity: 0.55; }
.logo-wall small { display: block; font-size: 10px; letter-spacing: 0.15em; text-align: center; font-family: var(--font); }
.section--dark .logo-wall span { color: #fff; }

/* ---------- Stats row ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat__num { font-size: clamp(34px, 4vw, 48px); font-weight: 600; letter-spacing: -0.03em; }
.stat__label { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-top: 8px; }
.section--dark .stat__label { color: var(--text-on-dark-muted); }
.stats--bordered .stat { border-left: 1px solid var(--line); }
.stats--bordered .stat:first-child { border-left: 0; }
.section--dark .stats--bordered .stat { border-color: var(--line-dark); }

/* ============================================================
   LISTING DETAIL
   ============================================================ */
.breadcrumb { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }
.breadcrumb a { color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb__nav { display: flex; gap: 18px; }

.listing-top { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
/* Let each column shrink to its track so the thumbnail strip scrolls instead
   of expanding the grid to fit every photo (min-width:auto blowout). */
.listing-top > * { min-width: 0; }
.gallery__main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(135deg,#2a2a2e,#141416); position: relative; }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s var(--ease); }
.gallery__count { position: absolute; top: 14px; right: 14px; background: rgba(0,0,0,0.6); color: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; padding: 5px 9px; border-radius: var(--radius-sm); z-index: 2; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: var(--radius); background: rgba(0,0,0,0.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: none; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; opacity: 0.85; transition: opacity 0.25s var(--ease), background 0.2s var(--ease); }
.gallery__main:hover .gallery__nav { opacity: 1; }
.gallery__nav:hover { background: rgba(0,0,0,0.72); }
.gallery__nav:active { transform: translateY(-50%) scale(0.92); }
.gallery__nav svg { width: 20px; height: 20px; }
.gallery__nav--prev { left: 14px; }
.gallery__nav--next { right: 14px; }
@media (hover: none) { .gallery__nav { opacity: 1; } }
.gallery__thumbs { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: thin; padding-bottom: 2px; }
.gallery__thumbs::-webkit-scrollbar { height: 6px; }
.gallery__thumbs::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.gallery__thumb { flex: 0 0 92px; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(135deg,#2a2a2e,#141416); cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s var(--ease); }
.gallery__thumb.is-active { border-color: var(--red); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.listing-title { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; }
.listing-price { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; }
.listing-badges { display: flex; flex-wrap: nowrap; gap: 6px; margin: 20px 0; }
.listing-badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 12px; background: var(--bg-alt); border-radius: var(--radius-sm); }
.listing-badge svg { width: 14px; height: 14px; color: var(--red); }

.spec-table { margin: 8px 0 24px; }
.spec-table__row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-table__row span:first-child { color: var(--text-muted); }
.spec-table__row span:last-child { font-weight: 500; }

.listing-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.listing-actions .btn--block { grid-column: 1 / -1; }
.listing-mini-actions { display: flex; gap: 24px; justify-content: center; margin-top: 18px; }
.listing-mini-actions button { background: none; border: none; color: var(--text-muted); font-size: 14px; display: inline-flex; align-items: center; gap: 7px; }
.listing-mini-actions button:hover { color: var(--text); }
.listing-mini-actions svg { width: 16px; height: 16px; }

/* Info cards grid */
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.info-card--full { grid-column: 1 / -1; }
.info-card h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; }
.info-card__title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }

.highlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.highlight { display: flex; flex-direction: column; }
.highlight__val { font-size: 17px; font-weight: 600; }
.highlight__key { font-size: 13px; color: var(--text-muted); }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 14px; }
.feature-list li::before { content: "—"; flex: 0 0 auto; color: var(--red); font-weight: 600; line-height: 1.4; }

/* Seller card */
.seller { display: flex; gap: 18px; align-items: center; }
.seller__logo { width: 68px; height: 68px; border-radius: var(--radius); background: var(--bg-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; text-align: center; flex: 0 0 auto; }
.seller__name { font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.seller__verify { color: var(--red); }
.seller__verify svg { width: 16px; height: 16px; }
.seller__rating { font-size: 14px; color: var(--text-muted); margin-top: 3px; }
.seller__stars { color: #f5a623; letter-spacing: 1px; }

.confidence-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.confidence { text-align: center; padding: 16px 8px; background: var(--bg-alt); border-radius: var(--radius); }
.confidence__icon { width: 30px; height: 30px; margin: 0 auto 10px; color: var(--red); }
.confidence__title { font-size: 13px; font-weight: 600; }
.confidence__sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.financing-payment { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; }
.financing-payment span { font-size: 15px; font-weight: 400; color: var(--text-muted); }

/* ============================================================
   DEALER PROFILE
   ============================================================ */
.dealer-hero { position: relative; color: #fff; background: var(--bg-dark); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; }
.dealer-hero__media { position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 120% at 70% 20%, #33333a, #0a0a0a); }
.dealer-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.dealer-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 65%); }
.dealer-hero__inner { position: relative; z-index: 1; width: 100%; padding: 40px 0; }
.dealer-hero__name { font-size: clamp(32px, 4.5vw, 56px); letter-spacing: -0.03em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dealer-hero__name .seller__verify svg { width: 26px; height: 26px; }
.dealer-hero__tagline { font-size: 18px; color: rgba(255,255,255,0.8); margin-top: 10px; }
.dealer-hero__meta { display: flex; align-items: center; gap: 20px; margin-top: 14px; font-size: 15px; color: rgba(255,255,255,0.85); flex-wrap: wrap; }
.dealer-hero__actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.premium-badge { position: absolute; top: 24px; right: 0; z-index: 2; display: flex; align-items: center; gap: 10px; background: rgba(0,0,0,0.5); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); padding: 12px 18px; border-radius: var(--radius); }
.premium-badge svg { width: 22px; height: 22px; color: #f5a623; }
.premium-badge b { display: block; font-size: 13px; color: #fff; }
.premium-badge small { font-size: 11px; color: rgba(255,255,255,0.7); letter-spacing: 0.08em; text-transform: uppercase; }

.dealer-info-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 24px; align-items: start; }
.dealer-info-table .spec-table__row { padding: 11px 0; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; background: linear-gradient(135deg,#e8e8ec,#d2d2d7); position: relative; }
.map img { width: 100%; height: 100%; object-fit: cover; }
.map__pin { position: absolute; top: 42%; left: 50%; transform: translate(-50%,-50%); color: var(--red); }
.map__pin svg { width: 34px; height: 34px; filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3)); }

.contact-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.contact-bar__item { display: flex; align-items: center; gap: 14px; padding: 24px 28px; border-left: 1px solid var(--line); }
.contact-bar__item:first-child { border-left: 0; }
.contact-bar__icon { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; background: var(--bg-alt); color: var(--red); display: flex; align-items: center; justify-content: center; }
.contact-bar__icon svg { width: 19px; height: 19px; }
.contact-bar__label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.contact-bar__val { font-size: 16px; font-weight: 600; }

/* Tabs (premier) */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; margin-bottom: 40px; }
.section--dark .tabs { border-color: var(--line-dark); }
.tab { padding: 14px 18px; font-size: 15px; font-weight: 500; color: var(--text-muted); border: none; background: none; border-bottom: 2px solid transparent; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.tab.is-active { color: var(--text); border-bottom-color: var(--red); }
.section--dark .tab { color: var(--text-on-dark-muted); }
.section--dark .tab.is-active { color: #fff; }
.tab__count { font-size: 11px; background: var(--red); color: #fff; border-radius: var(--radius-pill); padding: 1px 8px; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* Concierge / contact form */
.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.section--dark .form-card, .form-card--dark { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); color: #fff; }
.form-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.form-card p.form-card__sub { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.form-card--dark p.form-card__sub { color: var(--text-on-dark-muted); }
.field { margin-bottom: 12px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: inherit; font-size: 15px; background: var(--bg); color: var(--text); }
.form-card--dark .field input, .form-card--dark .field select, .form-card--dark .field textarea { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); color: #fff; }
.form-card--dark .field input::placeholder, .form-card--dark .field textarea::placeholder { color: rgba(255,255,255,0.5); }
.field textarea { resize: vertical; min-height: 90px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Team avatars */
.team { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.team__member { text-align: center; }
.team__avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px; background: linear-gradient(135deg,#2a2a2e,#141416); overflow: hidden; }
.team__avatar img { width: 100%; height: 100%; object-fit: cover; }
.team__name { font-size: 15px; font-weight: 600; }
.team__role { font-size: 13px; color: var(--red); margin-top: 2px; }

/* Leadership cards */
.leaders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.leader__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: linear-gradient(135deg,#2a2a2e,#141416); margin-bottom: 16px; }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; }
.leader__name { font-size: 18px; font-weight: 600; }
.leader__role { font-size: 14px; color: var(--red); margin-top: 2px; }
.leader__bio { font-size: 14px; color: var(--text-muted); margin-top: 10px; line-height: 1.5; }
.section--dark .leader__bio { color: var(--text-on-dark-muted); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.section--alt .quote { background: var(--bg); }
.quote__text { font-size: 15px; line-height: 1.55; }
.quote__author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote__avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg,#2a2a2e,#141416); overflow: hidden; flex: 0 0 auto; }
.quote__avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote__name { font-size: 14px; font-weight: 600; }
.quote__stars { color: #f5a623; font-size: 13px; }

/* ============================================================
   RESOURCES
   ============================================================ */
.res-search { display: flex; gap: 12px; max-width: 720px; margin-top: 34px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-pill); padding: 8px 8px 8px 22px; backdrop-filter: blur(16px); }
.res-search input { flex: 1; background: none; border: none; color: #fff; font-size: 16px; font-family: inherit; }
.res-search input::placeholder { color: rgba(255,255,255,0.6); }
.res-search input:focus { outline: none; }

.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.topic-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: transparent; }
.topic-card__icon { width: 40px; height: 40px; color: var(--red); margin-bottom: 18px; }
.topic-card__title { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.topic-card__text { font-size: 14px; color: var(--text-muted); margin-top: 8px; line-height: 1.5; }

.article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.article { cursor: pointer; }
.article__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/11; background: linear-gradient(135deg,#2a2a2e,#141416); margin-bottom: 16px; position: relative; }
.article__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.article:hover .article__media img { transform: scale(1.05); }
.article__cat { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.article__title { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; margin: 8px 0; line-height: 1.25; }
.article__meta { font-size: 13px; color: var(--text-muted); }

.res-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.guide-row { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.guide-row__thumb { width: 84px; height: 60px; border-radius: 8px; overflow: hidden; flex: 0 0 auto; background: linear-gradient(135deg,#2a2a2e,#141416); }
.guide-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.guide-row__title { font-size: 15px; font-weight: 600; }
.guide-row__meta { font-size: 13px; color: var(--text-muted); margin-top: 3px; }
.guide-row__arrow { margin-left: auto; color: var(--text-muted); }

.market-table { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.market-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.market-row:last-child { border-bottom: 0; }
.market-row__car { display: flex; align-items: center; gap: 12px; }
.market-row__thumb { width: 52px; height: 36px; border-radius: 6px; overflow: hidden; background: linear-gradient(135deg,#2a2a2e,#141416); flex: 0 0 auto; }
.market-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.market-row__name { font-weight: 600; }
.market-row__yr { color: var(--text-muted); font-size: 12px; }
.market-row__price { font-weight: 600; }
.trend-up { color: #21a544; font-weight: 600; }
.trend-down { color: var(--red); font-weight: 600; }

/* ---------- Responsive for page components ---------- */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .tiers { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .stats--bordered .stat:nth-child(3) { border-left: 0; }
  .listing-top { grid-template-columns: 1fr; gap: 30px; }
  .info-cards { grid-template-columns: 1fr; }
  .dealer-info-grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .leaders { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; }
  .confidence-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-grid { grid-template-columns: 1fr; }
  .contact-bar { grid-template-columns: 1fr; }
  .contact-bar__item { border-left: 0; border-top: 1px solid var(--line); }
  .contact-bar__item:first-child { border-top: 0; }
  .res-cols { grid-template-columns: 1fr; gap: 40px; }
  .market-row { grid-template-columns: 1fr auto; }
  .market-row .trend-up, .market-row .trend-down { display: none; }
  .listing-actions { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .team { grid-template-columns: repeat(2, 1fr); }
  .leaders { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats--bordered .stat { border-left: 0; }
  .field-row { grid-template-columns: 1fr; }
}

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.search-layout { display: grid; grid-template-columns: 264px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: calc(var(--nav-h) + 20px); }
.filters__group { padding: 20px 0; border-bottom: 1px solid var(--line); }
.filters__group:first-child { padding-top: 0; }
.filters__label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.filters select, .filters input[type="text"] { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: inherit; font-size: 14px; background: var(--bg); color: var(--text); }
.filter-check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.filter-check input { accent-color: var(--red); width: 16px; height: 16px; }
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filters__clear { font-size: 14px; color: var(--red); background: none; border: none; padding: 0; margin-top: 4px; }

.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.results-count { font-size: 15px; color: var(--text-muted); }
.results-count b { color: var(--text); font-weight: 600; }
.sort-select { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); }
.sort-select select { padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: inherit; font-size: 14px; background: var(--bg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 6px 12px; background: var(--bg-alt); border-radius: var(--radius-pill); }
.chip button { background: none; border: none; color: var(--text-muted); font-size: 15px; line-height: 1; padding: 0; }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 48px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-size: 15px; border: 1px solid transparent; }
.pagination a:hover { background: var(--bg-alt); }
.pagination .is-active { background: var(--text); color: #fff; }

.filter-toggle { display: none; }

/* ============================================================
   ARTICLE TEMPLATE
   ============================================================ */
.article-hero { position: relative; color: #fff; background: var(--bg-dark); overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; }
.article-hero__media { position: absolute; inset: 0; background: linear-gradient(135deg,#2a2a2e,#0a0a0a); }
.article-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.article-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 70%); }
.article-hero__inner { position: relative; z-index: 1; width: 100%; padding: 48px 0; }
.article-hero__cat { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--red); display: inline-block; padding: 6px 12px; border-radius: 6px; margin-bottom: 18px; }
.article-hero__title { font-size: clamp(32px, 4.5vw, 56px); letter-spacing: -0.03em; line-height: 1.05; max-width: 20ch; }
.article-hero__meta { display: flex; align-items: center; gap: 16px; margin-top: 20px; font-size: 15px; color: rgba(255,255,255,0.85); }
.article-hero__avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #333; }
.article-hero__avatar img { width: 100%; height: 100%; object-fit: cover; }

.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 60px; align-items: start; }
.article-body { font-size: 18px; line-height: 1.7; color: #333; max-width: 68ch; }
.article-body > p { margin-top: 22px; }
.article-body h2 { font-size: 28px; letter-spacing: -0.02em; margin-top: 44px; }
.article-body h3 { font-size: 21px; margin-top: 32px; }
.article-body img { border-radius: var(--radius); margin: 32px 0 12px; width: 100%; }
.article-body figcaption { font-size: 13px; color: var(--text-muted); text-align: center; margin-bottom: 20px; }
.article-body ul { margin-top: 20px; padding-left: 22px; }
.article-body li { margin: 8px 0; }
.article-body a { color: var(--red); }
.pullquote { font-size: 26px; line-height: 1.35; letter-spacing: -0.02em; font-weight: 600; color: var(--text); border-left: 3px solid var(--red); padding-left: 24px; margin: 40px 0; }
.article-body sup a { font-size: 12px; color: var(--red); text-decoration: none; }
.citations { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.citations h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 14px; }
.citations ol { padding-left: 20px; font-size: 14px; color: var(--text-muted); }
.citations li { margin: 8px 0; }
.article-side { position: sticky; top: calc(var(--nav-h) + 24px); }
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 14px; }
.toc a { display: block; font-size: 14px; padding: 7px 0; color: var(--text-muted); }
.toc a:hover { color: var(--red); }
.fact-box { background: var(--bg-alt); border-radius: var(--radius); padding: 22px; margin-top: 20px; }
.fact-box h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 14px; }
.fact-box .spec-table__row { padding: 9px 0; font-size: 14px; }
.verified-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #21a544; margin-top: 14px; }
.verified-tag svg { width: 14px; height: 14px; }

/* ============================================================
   LEGAL / PROSE PAGE
   ============================================================ */
.legal { max-width: 760px; }
.legal h2 { font-size: 24px; letter-spacing: -0.02em; margin-top: 40px; }
.legal p { color: var(--text-muted); font-size: 16px; line-height: 1.65; margin-top: 16px; }
.legal ul { color: var(--text-muted); font-size: 16px; line-height: 1.6; margin-top: 14px; padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal__updated { font-size: 14px; color: var(--text-muted); }

/* ============================================================
   SITEMAP
   ============================================================ */
.sitemap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.sitemap-col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 16px; }
.sitemap-col a { display: block; font-size: 15px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.sitemap-col a:hover { color: var(--red); }

/* ============================================================
   DEALER DASHBOARD (design concept)
   ============================================================ */
.dash { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - var(--nav-h)); }
.dash__side { background: var(--bg-dark); color: var(--text-on-dark-muted); padding: 30px 20px; }
.dash__brand { font-family: var(--font-hero); text-transform: uppercase; color: #fff; font-weight: 700; font-size: 22px; letter-spacing: -0.01em; margin-bottom: 4px; }
.dash__brand b { color: #fff; }
.dash__dealer { font-size: 13px; color: var(--text-on-dark-muted); margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line-dark); }
.dash__nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--radius-sm); font-size: 14px; color: var(--text-on-dark-muted); margin-bottom: 2px; }
.dash__nav a svg { width: 18px; height: 18px; }
.dash__nav a.is-active { background: rgba(255,255,255,0.08); color: #fff; }
.dash__nav a:hover { color: #fff; }
.dash__main { padding: 36px 40px; background: var(--bg-alt); }
.dash__header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.dash__title { font-size: 28px; letter-spacing: -0.025em; }
.dash__period { font-size: 14px; color: var(--text-muted); }
.dash__concept-flag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--red); background: rgba(232,7,31,0.08); padding: 6px 12px; border-radius: var(--radius-pill); margin-bottom: 24px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.metric { background: var(--bg); border-radius: var(--radius); padding: 22px; }
.metric__label { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.metric__label svg { width: 15px; height: 15px; color: var(--red); }
.metric__val { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; margin-top: 10px; }
.metric__delta { font-size: 13px; margin-top: 4px; }

.dash-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
.dash-card { background: var(--bg); border-radius: var(--radius); padding: 24px; }
.dash-card h3 { font-size: 16px; letter-spacing: -0.01em; margin-bottom: 18px; }
.dash-row { display: grid; grid-template-columns: 24px 48px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.dash-row__stat { white-space: nowrap; }
.dash-row:last-child { border-bottom: 0; }
.dash-row__rank { color: var(--text-muted); font-weight: 600; }
.dash-row__thumb { width: 48px; height: 34px; border-radius: 6px; overflow: hidden; background: linear-gradient(135deg,#2a2a2e,#141416); }
.dash-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.dash-row__name { font-weight: 500; }
.dash-row__stat { color: var(--text-muted); }

.beta-panel { background: var(--bg-dark); color: #fff; border-radius: var(--radius); padding: 28px; margin-top: 24px; position: relative; overflow: hidden; }
.beta-panel__label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-on-dark-muted); }
.beta-panel__value { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; margin: 8px 0; }
.beta-panel__strike { text-decoration: line-through; opacity: 0.55; font-weight: 400; font-size: 24px; }
.beta-panel__cost { color: var(--red); }
.beta-panel__note { font-size: 14px; color: var(--text-on-dark-muted); max-width: 46ch; margin-top: 6px; }
.beta-badge { position: absolute; top: 22px; right: 24px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #f5a623; }

.score-ring { display: flex; align-items: center; gap: 22px; }
.score-ring__circle { width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: conic-gradient(var(--red) 0 87%, var(--line) 87% 100%); }
.score-ring__inner { width: 84px; height: 84px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; }
.score-ring__num { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.score-ring__num small { display: block; font-size: 11px; color: var(--text-muted); text-align: center; letter-spacing: 0.04em; }

/* ---------- Responsive: new pages ---------- */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; gap: 36px; }
  .article-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .dash { grid-template-columns: 1fr; }
  .dash__side { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 16px 20px; }
  .dash__dealer { display: none; }
  .dash__nav { display: flex; gap: 4px; flex-wrap: wrap; }
  .dash__nav a { margin: 0; }
  .dash-cols { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .search-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; margin-bottom: 24px; }
  .filters.is-open { display: block; }
  .filter-toggle { display: inline-flex; }
}
@media (max-width: 768px) {
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .article-side { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .results-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .dash__main { padding: 24px 18px; }
}

/* ============================================================
   Global type scale — ~15% reduction. Centralized here so the
   whole system can be nudged from one block. Overrides sizes set
   above (same specificity, declared later).
   ============================================================ */
body { font-size: 14.5px; }
.eyebrow { font-size: 11px; }
.lead { font-size: clamp(16px, 1.9vw, 20px); }
.display { font-size: clamp(34px, 5vw, 60px); }
.h2 { font-size: 69px; }
.section-bar h2 { font-size: clamp(22px, 2.6vw, 29px); }
.hero__title { font-size: clamp(48px, 6.2vw, 81px); }
.hero__sub { font-size: clamp(14px, 1.4vw, 16.5px); }
.subhero__title { font-size: clamp(34px, 5vw, 64px); }
.subhero__sub { font-size: clamp(15px, 1.9vw, 20px); }
.cta-band__title { font-size: 69px; }
.article-hero__title { font-size: clamp(27px, 3.8vw, 47px); }
.listing-title { font-size: clamp(46px, 5vw, 68px); }
.dealer-hero__name { font-size: clamp(27px, 3.8vw, 47px); }
.btn { font-size: 11px; }
.btn--lg { font-size: 12px; }
.cat-card__title { font-size: 17px; }
.feature__num { font-size: 28px; }
.feature__title { font-size: 13px; }
.stat__num { font-size: clamp(28px, 3.4vw, 40px); }
.tier__price { font-size: 38px; }

/* h1 / h2 weight → 500 globally (overrides the 600 set on heading rules) */
h1, h2, .display, .cta-band__title, .subhero__title,
.article-hero__title, .listing-title, .dealer-hero__name, .h2 { font-weight: 500; }

/* Mono UI text unified to 10px globally (reconcile all divergent sizes) */
.btn, .btn--lg, .nav__cta, .nav__login, .nav__saved, .nav__toggle,
.eyebrow, .link-arrow, .hero__counter, .searchbar__field label,
.footer__col h4, .cat-card__link, .tier__name, .car-card__tag,
.stat__label, .car-card__plabel, .brand-chip__name, .searchbar__advanced a,
.listing-badge, .gallery__count { font-size: 10px; }
