/* design-systems/bmw-m/tokens.css
 *
 * Structured token bindings for BMW M.
 * precise motorsport interface with white engineering calm and sharp M color signals.
 */

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-warm: #eef3f8;
  --fg: #111827;
  --fg-2: #334155;
  --muted: #64748b;
  --meta: #0066b1;
  --border: #d7dee8;
  --border-soft: #edf1f6;
  --accent: #0066b1;
  --accent-on: #ffffff;
  --accent-hover: color-mix(in oklab, var(--accent), black 8%);
  --accent-active: color-mix(in oklab, var(--accent), black 14%);
  --success: #16a34a;
  --warn: #f59e0b;
  --danger: #e4002b;
  --font-display: "BMWTypeNext", "Helvetica Neue", Arial, sans-serif;
  --font-body: "BMWTypeNext", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, monospace;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 24px;
  --text-2xl: 36px;
  --text-3xl: 56px;
  --text-4xl: 78px;
  --leading-body: 1.5;
  --leading-tight: 1.02;
  --tracking-display: -0.025em;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --section-y-desktop: 104px;
  --section-y-tablet: 76px;
  --section-y-phone: 52px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 9999px;
  --elev-flat: none;
  --elev-ring: 0 0 0 1px var(--border);
  --elev-raised: 0 22px 56px rgba(17, 24, 39, 0.12);
  --focus-ring: 0 0 0 4px rgba(0, 102, 177, 0.24);
  --motion-fast: 130ms;
  --motion-base: 220ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1220px;
  --container-gutter-desktop: 40px;
  --container-gutter-tablet: 28px;
  --container-gutter-phone: 18px;
}
