/* Hallmark · tokens — single source of truth. OKLCH. 4pt scale. named eases/durations. */
:root {
  /* Palette: white background, navy/blue accents from logo */
  --color-paper: oklch(100% 0 0);                  /* white page background */
  --color-paper-2: oklch(98% 0.003 250);           /* subtle off-white for cards */
  --color-surface: oklch(100% 0 0);                /* form surface */
  --color-surface-2: oklch(99% 0.002 250);
  --color-surface-3: oklch(97% 0.005 250);
  --color-logo-navy: oklch(35.1% 0.054 260.1);      /* #2A3B57 */
  --color-logo-slate: oklch(45.5% 0.066 268.6);     /* #47557C */
  --color-logo-sky: oklch(85.7% 0.042 228.0);       /* #B4D6E6 */
  --color-logo-purple: oklch(37.3% 0.042 303.5);    /* #453B53 */

  /* Ink */
  --color-ink: oklch(20% 0.02 260);
  --color-ink-2: oklch(35% 0.03 260);
  --color-ink-muted: oklch(45% 0.02 260);
  --color-ink-subtle: oklch(55% 0.02 260);

  /* Lines */
  --color-rule: oklch(85% 0.01 260);
  --color-rule-strong: oklch(78% 0.02 260);

  /* Accent: logo navy */
  --color-accent: oklch(35.1% 0.054 260.1);         /* navy */
  --color-accent-strong: oklch(30% 0.06 260);
  --color-accent-ink: oklch(100% 0 0);              /* white text on accent */
  --color-accent-soft: oklch(35.1% 0.054 260.1 / 0.12);
  --color-accent-glow: oklch(35.1% 0.054 260.1 / 0.25);

  /* Semantic */
  --color-success: oklch(78% 0.14 150);
  --color-success-soft: oklch(78% 0.14 150 / 0.14);
  --color-danger: oklch(72% 0.16 25);
  --color-danger-soft: oklch(72% 0.16 25 / 0.14);
  --color-focus: oklch(90% 0.045 226); /* >=3:1 on navy; logo light-sky */

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Segoe UI Mono", Consolas, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-display-s: clamp(1.75rem, 4vw, 2.5rem);
  --text-display: clamp(2.25rem, 5vw, 3.25rem);

  /* 4pt spacing scale, semantic */
  --space-3xs: 0.125rem; /* 2 */
  --space-2xs: 0.25rem;  /* 4 */
  --space-xs: 0.5rem;    /* 8 */
  --space-sm: 0.75rem;   /* 12 */
  --space-md: 1rem;      /* 16 */
  --space-lg: 1.5rem;    /* 24 */
  --space-xl: 2rem;      /* 32 */
  --space-2xl: 3rem;     /* 48 */
  --space-3xl: 4rem;     /* 64 */
  --space-4xl: 6rem;     /* 96 */

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-pill: 999px;

  /* Rules */
  --rule-hair: 1px;
  --rule: 1.5px;

  /* Motion: named easings + durations. Animate transform/opacity only. */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 320ms;

  /* Layout */
  --measure: 64ch;
  --content-max: 760px;
}
