/* ==========================================================================
   RSI Design Tokens — portable, single source of truth
   Shared by rsi.biz AND the tools.rsi.biz PWA (DESIGN-SYSTEM §6).
   Palette/fonts confirmed identical across the MI/Meridian + March builds.
   ========================================================================== */
:root {
  /* --- Brand --- */
  --rsi-red: #C41230;
  --rsi-red-dark: #A30F28;
  --rsi-red-light: #D63850;
  --navy: #1A2E4A;
  --navy-dark: #0F1C2E;
  --navy-light: #2A4A6A;

  /* --- Neutrals --- */
  --black: #1A1A1A;
  --charcoal: #2D2D2D;
  --charcoal-light: #3D3D3D;
  --steel-dark: #4A4A4A;
  --steel: #6B6B6B;
  --silver: #75787B;
  --silver-light: #A8A8A8;
  --aluminum: #D9D9D9;
  --aluminum-light: #EBEBEB;
  --off-white: #F5F5F5;
  --white: #FFFFFF;

  /* --- Typography --- */
  --font-heading: 'Roboto Slab', 'Georgia', serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-h1: clamp(2.5rem, 5vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 4vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 3vw, 1.75rem);
  --fs-h4: clamp(1.1rem, 2vw, 1.35rem);
  --fs-lead: 1.2rem;
  --fs-base: 1rem;
  --lh-body: 1.6;
  --lh-heading: 1.2;

  /* --- Spacing scale (8px base) --- */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;

  /* --- Layout --- */
  --container-max: 1200px;
  --gutter: 24px;
  --section-padding: 80px;

  /* --- Radii (MI/Meridian polish) --- */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  /* --- Shadows (MI/Meridian layered scale) --- */
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-rest: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-hover-sm: 0 12px 32px rgba(0, 0, 0, 0.10);
  --shadow-red: 0 4px 12px rgba(196, 18, 48, 0.3);
  --shadow-header: 0 2px 10px rgba(0, 0, 0, 0.15);

  /* --- Motion --- */
  --transition: 0.3s ease;
}
