/* Retenra design tokens, Day 7.
   Extracted from the approved design sample (navy and red, spacing
   fixed, approved 2026-11-26). Every page builds from these values
   and no others. */

:root {
  /* Color, light theme (canonical) */
  --navy: #0a2540;
  --red: #cf1f26;
  --red-dark: #a50f16;
  --ink: #0b1c2c;
  --bg: #f3f5f8;
  --surface: #ffffff;
  --line: #d8e1ea;
  --muted: #52657a;
  --faint: #71879c;
  --green: #14835f;
  --green-soft: #e2f4ec;
  --red-soft: #fdecec;
  --gold: #e9a83a;        /* small accents only, never script or headings */
  --gold-soft: #fdf3e0;

  /* Type. Archivo throughout. Scale anchored on the sample. */
  --font: "Archivo", system-ui, sans-serif;
  --text-caption: 0.72rem;
  --text-small: 0.85rem;
  --text-body: 0.95rem;
  --text-body-lg: 1.05rem;
  --text-h3: 1.25rem;
  --text-h2: 1.6rem;
  --text-display: 2rem;
  --leading-body: 1.55;
  --leading-tight: 1.2;

  /* Spacing. 4 point base; the steps are the values the sample uses. */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-9: 36px;
  --space-12: 48px;

  /* Shape and depth */
  --radius: 18px;
  --radius-sm: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow: 0 18px 44px rgba(10, 37, 64, 0.14);
  --shadow-sm: 0 6px 20px rgba(10, 37, 64, 0.10);

  /* Touch */
  --tap-min: 44px;
}

[data-theme="dark"] {
  --ink: #edf3f9;
  --bg: #060f1c;
  --surface: #0c1d31;
  --line: #1f3a56;
  --muted: #a3b7c9;
  --faint: #8296ab;
  --green-soft: #0e2f26;
  --red-soft: #3d1418;
  --gold-soft: #38300f;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.4);
}
