/* UK Preppers Field manual design tokens: the single source of truth (specs/public-threat-dashboard.md section 9.1).
   Custom properties and @font-face only. Values are taken from the UKP brand kit
   (COLOURS.md, TYPOGRAPHY-v0.2.md, USAGE-v0.3.md; locked North Point mark in mark-C-north-point/).
   The three named colours and three families are never adjusted. Derived colours were checked for contrast
   (WCAG 2.1: at least 4.5:1 for text on --color-paper / --color-white, for paper text on olive, and for
   white chip text on each level colour). Fonts are self-hosted beside the site (../fonts), with their
   SIL Open Font Licence files; no font CDN. Oswald is 600 only (headings and nav). Allerta Stencil is
   reserved for stamps and kickers. */
@font-face { font-family: "Oswald"; src: url("../fonts/oswald-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Allerta Stencil"; src: url("../fonts/allerta-stencil-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --tokens-version: "1.1.0";

  /* Official UKP palette (brand kit COLOURS.md, from the Field Manual staging CSS) */
  --color-paper: #F3EFE4;
  --color-paper-2: #E8E2D2;
  --color-paper-3: #DDD6C3;
  --color-ink: #1E2418;
  --color-ink-soft: #4D5544;
  --color-olive: #3E4E2C;
  --color-olive-mid: #52643A;
  --color-olive-dark: #232B1A;
  --color-khaki: #C2B485;
  --color-brass: #7A6A38;
  --color-rule: #C7BFA8;
  --color-white: #FBF8F0;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-stencil: "Allerta Stencil", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Derived aliases and level colours (contrast on --color-paper in brackets; chip text is white) */
  --color-muted: var(--color-ink-soft); /* 6.77:1 on paper */
  --color-card: var(--color-white);
  --color-contour: var(--color-paper-2);
  --level-normal: #48705C;   /* 4.88:1 on paper; white chip 5.60:1 */
  --level-watch: #7A5E1A;    /* 5.31:1 on paper; white chip 6.10:1 */
  --level-act: #A4512A;      /* 4.82:1 on paper; white chip 5.54:1 */
  --level-severe: #7E2A3A;   /* 8.02:1 on paper; white chip 9.21:1 */
  --level-nodata: #5E6A70;   /* 4.85:1 on paper; white chip 5.57:1 */
}
