/* Zynely design tokens: the "Zinnia" brand system. Light theme only.
   Source of truth: the Zynely brand system (design system artifact). Every text
   pair here passes WCAG AA; tests/designSystem.test.ts checks the ratios. */
@font-face{font-family:'Funnel Display';font-style:normal;font-weight:300 800;font-display:swap;src:url('/fonts/funnel-display-latin-variable.woff2') format('woff2')}
@font-face{font-family:'Funnel Sans';font-style:normal;font-weight:300 800;font-display:swap;src:url('/fonts/funnel-sans-latin-variable.woff2') format('woff2')}
@font-face{font-family:'Martian Mono';font-style:normal;font-weight:100 800;font-display:swap;src:url('/fonts/martian-mono-latin-variable.woff2') format('woff2')}

:root{
  /* Surfaces */
  --porcelain:#FCFAF9;   /* every page background */
  --paper:#FFFFFF;       /* cards, inputs, menus */
  --blush:#FBF0F2;       /* at most one tinted band per page */
  --line-100:#F3EEF0;    /* quiet fills: table headers, row hover */
  --line-200:#E9E2E5;    /* hairlines, decorative only */

  /* Ink (plum-black, never pure black) */
  --ink-400:#887D8D;     /* meaningful outlines: inputs, checkboxes (3:1) */
  --ink-500:#6B6173;     /* captions and helper text only */
  --ink-700:#4B4052;     /* secondary text */
  --ink-900:#231A2C;     /* headlines, body, numbers, the wordmark */

  /* Zinnia: the one brand colour */
  --zinnia-50:#FFF2F6;   /* hover wash */
  --zinnia-100:#FFE4EC;  /* selected states */
  --zinnia-600:#C8235A;  /* one primary button per screen, links, focus, logo tile */
  --zinnia-700:#A51A49;  /* hover/pressed, the tactile edge */

  /* Sunbeam: the mention marker and the logo dot (ink text only) */
  --sunbeam-100:#FFF3C7;
  --sunbeam-300:#FFD34D;

  /* Lagoon: sources, citations, second chart series */
  --lagoon-100:#DCF2EE;
  --lagoon-700:#0D6E66;

  /* Status (never decorative) */
  --fern-100:#E2F4E9;  --fern-700:#1D7148;
  --amber-100:#FFF0D3; --amber-700:#8F5400;
  --brick-100:#FFEADF; --brick-700:#B93A0A;

  /* Type */
  --font-display:'Funnel Display', 'Funnel Sans', ui-sans-serif, sans-serif;
  --font-sans:'Funnel Sans', ui-sans-serif, sans-serif;
  --font-mono:'Martian Mono', ui-monospace, monospace;
  --text-label:11px; --text-small:14px; --text-body:16px; --text-answer:17px; --text-lead:19px;
  --text-h3:22px; --text-h2:30px; --text-h1:40px; --text-number:44px; --text-display-l:56px; --text-display-xl:72px;

  /* Spacing (8px rhythm) */
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-5:24px;
  --space-6:32px; --space-7:48px; --space-8:64px; --space-9:96px; --space-10:128px;

  /* Radius: soft-square; pills are for tags only */
  --radius-s:8px; --radius-m:12px; --radius-l:16px; --radius-xl:24px; --radius-pill:999px;

  /* Depth: borders, not shadows */
  --shadow-press:inset 0 -2px 0 0 #A51A49;
  --shadow-press-quiet:inset 0 -2px 0 0 #E9E2E5;
  --shadow-lift:0 1px 0 0 rgba(35, 26, 44, 0.06), 0 8px 24px -12px rgba(35, 26, 44, 0.18);

  /* Motion */
  --dur:160ms; --ease:cubic-bezier(0.2, 0.8, 0.2, 1);

  color-scheme: light;
}
