/* Hallmark · genre: editorial · macrostructure: Long Document · theme: custom (brief-supplied palette)
 * tone: austere · anchor hue: cool blue (#2248e5) · enrichment: none (typography only)
 * nav: N9 Edge-aligned minimal · footer: Ft2 Inline single line
 * axes: light paper / geometric-sans display (Inter Tight) / cool accent
 */
:root {
  --color-paper: #fbfcfe;
  --color-surface: #f2f6fb;
  --color-ink: #0a2540;
  --color-ink-2: #2b3f58;
  --color-muted: #5d6573;
  --color-accent: #2248e5;
  --color-accent-hover: #1a38b8;
  --color-border: #d5dae0;
  --color-focus: #2248e5;

  --font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-display: clamp(2.5rem, 1.6rem + 4vw, 4.25rem);

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  --measure: 64ch;
  --page-max: 68rem;
  --page-gutter: clamp(1rem, 4vw, 3rem);

  --rule-hair: 1px solid var(--color-border);
  --radius-sm: 2px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 120ms;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-paper: #0b1726;
    --color-surface: #102035;
    --color-ink: #e6ecf5;
    --color-ink-2: #c3cddb;
    --color-muted: #9aa5b4;
    --color-accent: #93a9ff;
    --color-accent-hover: #b9c8ff;
    --color-border: #26384f;
    --color-focus: #93a9ff;
  }
}
