/* GetCarWise design tokens. Type scale follows the UI rulebook (brief section 10),
   which supersedes the "type" block in tokens.source.json. */
:root {
  /* Colour */
  --navy-900: #1b1e2e;  --navy-950: #0e1018;  --navy-800: #2b2f44;
  --ink: #1b1e2e;  --ink-muted: #4a4f5e;  --ink-subtle: #5b6070;
  --on-dark: #ffffff;  --on-dark-muted: #d5d8e3;  --on-dark-subtle: #a9aec0;
  --surface: #ffffff;  --surface-sunken: #f5f6fa;  --line: #e6e8ef;
  --coral-600: #c23b54;  /* the one primary button per view */
  --coral-700: #b0304a;  /* links and small coral text on light */
  --coral-400: #e94560;  /* "Wise" and the one pink phrase per hero, on navy only */
  --coral-50:  #fcedef;
  --plate-yellow: #f4c842;  --plate-ink: #12131a;  --plate-placeholder: #5c4d14;  --plate-blue: #1f4fb0;
  --emphasis-on-dark: #7cb4f2; /* "data provided by" */
  --success: #1c7a47;  --success-bg: #e8f5ee;  --success-on-dark: #6fd39b;
  --warning-text: #8f4a05;  --warning-bg: #fdf3e7;
  --danger: #b42318;  --danger-bg: #fcedef;
  --info: #1f4fb0;  --info-bg: #eef1f8;

  /* Type scale (desktop / mobile via clamp) */
  --font-sans: Archivo, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-h1: clamp(28px, 4.5vw, 40px);          /* page H1 and homepage headline */
  --fs-h1-home-mobile: min(6.6vw, 28px);     /* homepage headline on phones, one line per sentence */
  --fs-h2: clamp(22px, 3vw, 28px);           /* main page sections */
  --fs-h2-article: clamp(20px, 2.8vw, 26px); /* article / secondary sections */
  --fs-h3: 20px;                             /* panels, CTA boxes, sub-sections */
  --fs-card-title: 17px;
  --fs-lead: 18px;  --fs-body: 16px;  --fs-small: 13px;  --fs-micro: 11px;
  --fs-plate: 28px;                          /* 26px on phones */

  /* Spacing, radius, shadow, sizes */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --radius-sm: 5px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 18px;
  --shadow-raised: 0 24px 60px rgba(0, 0, 0, 0.35);
  --content-max: 1100px; --text-max: 72ch; --control-height: 56px; --touch-min: 44px;
}
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
p:not([style*="display: flex"]), dd { max-width: 72ch; }
