/* Stork design tokens. Every colour, radius and space in the UI comes from here (docs/UX.md).
   Dawn-delivery palette: night sky ink, feather white, beak orange, kraft parcel, sky blue. */
:root {
  --ink: #0c1322; --night: #131c31; --dusk: #1c2742; --line: #2b3858;
  --feather: #f6f2e9; --mist: #a9b4cc; --beak: #ff6b35; --beak-deep: #e0521f;
  --kraft: #c89b6a; --sky: #5ab8ff; --leaf: #37d39b; --sun: #ffc94d; --rose: #ff5d7a;
  --bg: var(--ink); --panel: var(--night); --raised: var(--dusk);
  --fg: var(--feather); --fg-dim: var(--mist); --accent: var(--beak); --focus: var(--sky);
  --link: var(--beak); /* text-on-background orange: 6.5:1 on ink, 5.2:1 on dusk */
  --ok: var(--leaf); --warn: var(--sun); --danger: var(--rose);
  --font: ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --space: 8px; --radius: 14px; --radius-sm: 8px; --radius-pill: 999px;
  --shadow: 0 10px 30px rgb(0 0 0 / 0.35); --tap: 44px; /* minimum touch target */
}
:root[data-theme="light"] {
  --bg: var(--feather); --panel: #ffffff; --raised: #efe9dc; --line: #d9d0bd;
  --fg: #14203a; --fg-dim: #5a6682; --accent: var(--beak-deep); --focus: #1c7fd6;
  --link: #b23c0c; /* WCAG AA text: 5.3:1 on cream, 5.9:1 on white, 4.9:1 on raised (beak-deep was 3.5:1) */
  --shadow: 0 10px 30px rgb(20 32 58 / 0.12);
  --ok: #0f7a52; --warn: #8a5a00; --danger: #c0213f; --sky: #1565b0; /* darker for 4.5:1 on cream */
}
