/* ==========================================================================
   Stingray Corvette — Type tokens
   Source of truth: Corvette Brand typography guideline (supplied 2026-07):
     PRIMARY   — Chevy Sans Demi, all-caps, core messaging.
                 280 tracking (0.28em) | 110–220% line-height range.
     SECONDARY — Chevy Sans Regular, features + body copy.
                 All-caps: 280 tracking. Body: 0 tracking | 125% line-height.
     TERTIARY  — Chevy Sans Narrow Regular, detailed spec copy + disclaimers.
                 20 tracking (0.02em) | 110% line-height.
   Inter (the font the two working codebases happened to load) is retained
   only as the fallback stack while ChevySans webfonts load.
   ========================================================================== */
:root {
  --font-fallback: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* brand hierarchy */
  --font-primary: "ChevySans", var(--font-fallback);        /* Demi 600 — all-caps core messaging */
  --font-secondary: "ChevySans", var(--font-fallback);      /* Regular 400 — features + body copy */
  --font-tertiary: "ChevySans Narrow", var(--font-fallback);/* spec copy + disclaimers */

  /* legacy aliases — components + kits reference these */
  --font-sans: var(--font-secondary);
  --font-display-alt: var(--font-primary);
  --font-display-alt-narrow: var(--font-tertiary);

  /* ---- weights: ChevySans ships Regular (400) + Demi (600) only.
     The @font-face rules below map weight RANGES onto those two binaries,
     so the 500–900 values used throughout the source render as Demi
     without synthetic bolding. ---- */
  --weight-regular: 500;
  --weight-medium: 650;
  --weight-semibold: 750;
  --weight-bold: 800;
  --weight-heavy: 850;

  /* ---- letter-spacing ---- */
  --tracking-display: 0.28em;   /* "280 tracking" — primary + secondary all-caps */
  --tracking-spec: 0.02em;      /* "20 tracking" — tertiary spec copy */
  --tracking-tight: -0.015em;   /* legacy, dense UI chrome only */
  --tracking-normal: 0;         /* body copy */
  --tracking-wide: 0.04em;
  --tracking-wider: 0.1em;
  --tracking-widest: 0.16em;

  /* ---- type scale (px, as used in source — not snapped to a grid) ---- */
  --text-display: clamp(2.5rem, 7.2vw, 5rem);   /* hero H1, homepage */
  --text-h2: clamp(1.6rem, 3.4vw, 2.4rem);      /* homepage section head */
  --text-step-h2: 30px;                          /* order-form step header */
  --text-form-h1: 21px;                          /* compact order-form topbar h1 */
  --text-card-title: 1.3rem;                     /* homepage sc-card-title */
  --text-summary-name: 18px;
  --text-total: 24px;                            /* grand total figure */
  --text-body-lg: clamp(1rem, 1.4vw, 1.18rem);
  --text-body: 0.95rem;
  --text-body-sm: 13px;
  --text-desc: 0.92rem;
  --text-label: 12.5px;
  --text-label-sm: 12px;
  --text-eyebrow: 11px;
  --text-pill: 0.66rem;

  /* ---- leading (guideline: display 110–220% range, body 125%, spec 110%) ---- */
  --leading-display: 1.1;   /* floor of the 110–220% display range */
  --leading-body: 1.25;     /* Chevy Sans Regular body copy */
  --leading-spec: 1.1;      /* Chevy Sans Narrow spec copy */
  --leading-tight: 1.1;
  --leading-snug: 1.15;
  --leading-normal: 1.35;
  --leading-relaxed: 1.5;
}

/* THEME DELTA (see README.md): the DS version of this file ends with the
   three ChevySans @font-face rules. They moved to ../fonts.css so the theme
   can enqueue fonts first and resolve the woff2 paths from assets/fonts/.
   Everything above is verbatim from the design system. */
