/* ---------------------------------------------------------------------------
   Red brand theme (Hume Pulse). Load after tokens.css. It swaps only the brand hue:
   a true crimson red, kept well clear of Learn's magenta pink, with a red heart logo
   mark. Neutrals, status colors and every scale stay Erudite's.
   Contrast: --brand ≥ 3:1 and --brand-ink ≥ 4.5:1 on --card, --muted and --accent
   in both modes. Text on a --brand fill is white in light mode (4.8:1) and near-black
   in dark mode (5.3:1).
   The brand sits near --destructive in hue; danger keeps its icon + label, as status
   colors always do.
--------------------------------------------------------------------------- */

:root,
.light {
  --ring: #dc2626;
  --brand: #dc2626; /* 4.8:1 on --card, 4.4:1 on --muted, 4.4:1 on --accent */
  --brand-ink: #b91c1c; /* 6.5:1 on --card, 5.9:1 on --muted, 5.9:1 on --accent */
  --brand-foreground: #ffffff;
  --accent: #fef2f2;
  --accent-foreground: #b91c1c;

  /* Red takes the brand slot; Erudite's orange (2) and red (8) would sit too close
     to it, so magenta and cyan fill those slots. */
  --chart-1: #dc2626;
  --chart-2: #d6409f;
  --chart-8: #0891b2;
  --seq-100: #fee2e2;
  --seq-200: #fecaca;
  --seq-300: #fca5a5;
  --seq-400: #f87171;
  --seq-500: #ef4444;
  --seq-600: #dc2626;
  --seq-700: #b91c1c;
  --progress-complete: #dc2626;
  --progress-partial: #fecaca;

  /* Logo: a deep red → crimson heart on the near-black tile. */
  --logo-stop-1: #1f0508;
  --logo-stop-2: #991b1b;
  --logo-stop-3: #ef4444;
  --logo-stop-4: #fee2e2;
}

.dark {
  --ring: #ef4444;
  --brand: #ef4444; /* 5.0:1 on --card, 4.6:1 on --muted, 4.9:1 on --accent */
  --brand-ink: #f87171; /* 6.8:1 on --card, 6.3:1 on --muted, 6.6:1 on --accent */
  --brand-foreground: #0a0a0a;
  --accent: #2a0a0c; /* opaque, so red ink stays ≥ 4.5:1 on it over any surface */
  --accent-foreground: #f87171;

  --chart-1: #ef4444;
  --chart-2: #e05aae;
  --chart-8: #22b8d8;
  --seq-100: #2a0a0c;
  --seq-200: #3d0f12;
  --seq-300: #521418;
  --seq-400: #67191e;
  --seq-500: #991b1b;
  --seq-600: #ef4444;
  --seq-700: #fca5a5;
  --progress-complete: #ef4444;
  --progress-partial: #67191e;
}
