/* ============================================================
   AJ AUTO · BASE — light reset + element defaults.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--lh-normal);
  font-weight: var(--fw-regular);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  margin: 0;
  color: var(--text-primary);
}

p { margin: 0; }

a { color: inherit; text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }

button { font-family: inherit; }

img { display: block; max-width: 100%; }

/* Numeric emphasis — prices, specs, VIN, mileage */
.num, .tabular {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* Uppercase overline label */
.overline {
  font-size: var(--text-overline);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  color: var(--text-muted);
}

::selection { background: var(--brand-red); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--bg-surface-2); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--bg-elevated); }
