/**
 * tokens.css — Mould Detect design tokens, trimmed for dashboard-cloud.
 *
 * WHY: this file is a deliberate subset of the website's
 * `Mould Detect Website/site/css/tokens.css` — same names, same values, so a
 * component built here would drop into the main site unchanged. Only the
 * light theme is kept (the brief calls for light theme only); dark-mode
 * blocks and the circadian daypart drift are intentionally omitted. Edit the
 * website's tokens.css first if a value ever needs to change, then mirror it
 * here.
 */

:root {
  /* ---- surfaces & ink (light / bone) ---- */
  --surface-0: #f6f4ec;
  --surface-1: #efece0;
  --surface-2: #e5e1d2;
  --ink-0: #152018;
  --ink-1: #3d4a40;
  --ink-2: #6b7769;
  --accent: #3e7a2e;
  --accent-ink: #f6f4ec;
  --accent-deep: #1e4d33;
  --line: #d6d2c0;

  /* ---- status / risk (data only; labels mandatory, dataviz skill) ---- */
  --risk-low: #3e7a2e;
  --risk-watch: #c0921f;
  --risk-high: #a04a1e;
  --risk-severe: #8a2a1b;

  /* ---- type ---- */
  --font-display: "Libre Baskerville", "Iowan Old Style", Georgia, serif;
  --font-body: "Schibsted Grotesk", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --text-display: clamp(2.75rem, 1.2rem + 6.5vw, 6rem);
  --text-h2: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  --text-h3: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --text-stat: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  --text-body-lg: clamp(1.075rem, 1rem + 0.4vw, 1.25rem);
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-mono: 0.8125rem;

  --leading-tight: 1.12;
  --leading-body: 1.65;
  --track-mono: 0.08em;
  --track-display: -0.01em;

  /* ---- space, grid, shape ---- */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 1rem; --sp-4: 1.5rem;
  --sp-5: 2.5rem; --sp-6: 4rem; --sp-7: 6rem; --sp-8: 9rem;
  --section-pad: clamp(4rem, 10vh, 9rem);
  --page-max: 1240px;
  --gutter: clamp(1rem, 2.5vw, 2rem);
  --page-margin: clamp(1.25rem, 5vw, 4rem);
  --r-1: 6px; --r-2: 12px; --r-3: 24px;
  --shadow-1: 0 24px 60px -24px rgb(21 32 24 / 0.28);

  /* ---- motion ---- */
  --dur-fast: 180ms;
  --dur-base: 420ms;
  --dur-slow: 900ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-grow: cubic-bezier(0.34, 1.2, 0.4, 1);

  color-scheme: light;
}
