/* Allevia AI · design tokens (Hallmark custom theme)
 * vibe: "ledger paper, indigo ink, one gold mark"
 * axes: light / roman-serif / cool (ink) + gold highlighter
 */
:root {
  /* colour — paper and ink tinted toward the brand indigo (hue 270); gold is the highlighter */
  --color-paper:      oklch(97.6% 0.006 265);
  --color-paper-2:    oklch(94.6% 0.010 265);
  --color-rule:       oklch(85% 0.014 265);
  --color-rule-2:     oklch(91% 0.010 265);
  --color-muted:      oklch(47% 0.032 268);
  --color-ink:        oklch(23% 0.070 270);
  --color-ink-2:      oklch(33% 0.060 270);
  --color-band:       oklch(27% 0.088 270);   /* brand indigo #1F2A6B */
  --color-band-ink:   oklch(95% 0.012 265);
  --color-band-muted: oklch(78% 0.030 265);
  --color-band-rule:  oklch(38% 0.070 270);
  --color-accent:     oklch(72% 0.125 85);    /* brand gold #C8A23D */
  --color-accent-ink: oklch(52% 0.110 80);    /* gold dark enough to read on paper */
  --color-focus:      oklch(48% 0.160 268);

  /* type */
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-body:    "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --text-sm:   0.875rem;
  --text-base: 1.0625rem;
  --text-md:   1.25rem;
  --text-lg:   1.5625rem;
  --text-xl:   clamp(1.75rem, 1.1rem + 1.6vw, 2.4rem);
  --text-display: clamp(2.6rem, 1.4rem + 4.2vw, 4.75rem);

  /* space — 4 pt scale */
  --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;
  --space-4xl: 9rem;

  --page-max: 75rem;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);

  --shadow-whisper: 0 1px 2px oklch(23% 0.07 270 / 0.08);

  /* shape, motion */
  --radius-sm: 4px;
  --radius-md: 10px;
  --rule: 1px solid var(--color-rule);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long: 520ms;
}
