/* =========================================================================
   DESIGN TOKENS - TEMPORARY (Phase 1)
   Colors sampled from speed-logo.png; system fonts (no external requests).
   Typography, colors and spacing are NOT final: they will be replaced after
   the separate design review. Components read only these variables.
   ========================================================================= */
:root {
  /* Brand (sampled from speed-logo.png) */
  --brand-red: #ed1a23;
  --brand-blue: #008fcb;
  --brand-blue-aa: #007eb4; /* shield blue darkened (same hue) to 4.52:1 with white text */
  --gauge-green: #73bd40;
  --gauge-lime: #99c83c;
  --gauge-yellow: #ffcb0c;
  --gauge-orange: #fbb017;

  /* Accessible working colors (white text passes WCAG AA on these) */
  --red-600: #d3141c;
  --red-700: #a90f16;
  --red-50: #fff1f1;
  --blue-700: #00699a;
  --blue-800: #00557d;
  --blue-50: #e8f5fb;

  /* Neutrals, biased slightly toward the brand blue */
  --ink: #0f1a2a;
  --ink-2: #344256;
  --muted: #5a6779;
  --line: #dfe5ec;
  --line-soft: #edf0f3;          /* subtle dividers (Home section items on phones) */
  --icon-circle-bg: var(--blue-50);   /* soft blue #E8F5FB: section icon circles (approved 2026-11-24) */
  --icon-circle-fg: var(--blue-700);  /* brand blue #00699A: icon on the soft circle (5.42:1) */
  --line-strong: #8693a5;
  --surface: #f4f7fa;
  --surface-2: #e9eff5;
  --white: #ffffff;
  --navy: #0c1c2e;
  --navy-2: #13283f;

  --gauge: linear-gradient(90deg, var(--gauge-green) 0%, var(--gauge-lime) 22%, var(--gauge-yellow) 45%, var(--gauge-orange) 66%, var(--brand-red) 100%);

  /* Type */
  --font-display: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-h3: 1.1875rem;
  --fs-h2: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  --fs-h1: clamp(2rem, 1.35rem + 2.9vw, 3.25rem);
  --fs-hero: clamp(2.1rem, 1.3rem + 3.6vw, 3.75rem);

  /* Space & shape */
  --gutter: clamp(16px, 4vw, 32px);
  --container: 1200px;
  --section: clamp(3rem, 2.2rem + 3.6vw, 5.5rem);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 26, 42, 0.06), 0 1px 3px rgba(15, 26, 42, 0.08);
  --shadow: 0 6px 18px -6px rgba(15, 26, 42, 0.16), 0 2px 6px rgba(15, 26, 42, 0.06);
  --shadow-lg: 0 24px 48px -12px rgba(15, 26, 42, 0.25);
  --header-h: 68px;
  --focus: 0 0 0 3px var(--white), 0 0 0 5px var(--blue-700);
}

@media (min-width: 1024px) {
  :root { --header-h: 84px; }
}
