/* ==========================================================================
   tokens.css — the design system, section 01 of the Phase 4 design document.
   Nothing here is invented: every value is lifted from the approved artifacts.
   Change a value here and it changes everywhere. Do not hard-code these
   anywhere else in the theme.
   ========================================================================== */

/* --- Type. Only these five cuts exist. Never specify a weight that isn't
       listed below — the browser will synthesise it and the result smears. --- */
@font-face{font-family:'Archivo';font-style:normal;font-weight:600;font-display:swap;
  src:url('fonts/archivo-600.woff2') format('woff2');}
@font-face{font-family:'Archivo';font-style:normal;font-weight:700;font-display:swap;
  src:url('fonts/archivo-700.woff2') format('woff2');}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:400;font-display:swap;
  src:url('fonts/hanken-400.woff2') format('woff2');}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:600;font-display:swap;
  src:url('fonts/hanken-600.woff2') format('woff2');}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;
  src:url('fonts/plexmono-400.woff2') format('woff2');}

:root{
  /* Ground */
  --void:#0A0F0C;      /* page ground */
  --void2:#0E1410;     /* raised panel */
  --bone:#EFEDE6;      /* ink on dark / the light act */
  --bone2:#E7E4DA;
  --ink:#12160F;       /* text on bone */

  /* Muted */
  --mut-d:#8FA096;     /* muted on dark */
  --mut-l:#5D6456;     /* muted on bone — darkened from #6A7265 so mono labels
                          and small body clear WCAG AA (4.5:1) on the bone act */

  /* Green. Signal is the ONLY saturated colour on the site: it marks
     interaction, live data and emphasis — never decoration. */
  --sig:#1EA236;
  --forest:#0E4A20;    /* deep green — correct as text on the BONE act and as a
                          fill; too dark for small text on the void (1.85:1) */
  --forest-d:#2C9145;  /* the green for small accents ON the void — chip counts,
                          FAQ index — legible at AA (4.7:1) but quieter than
                          signal, so counts don't read as interactive */

  /* Hairlines */
  --hair-d:#222C25;
  --hair-l:#D5D2C6;

  /* Families */
  --disp:'Archivo',sans-serif;
  --body:'Hanken Grotesk',sans-serif;
  --mono:'IBM Plex Mono',monospace;

  /* One easing for every transition on the site — fast out, long settle.
     This is what makes the whole thing feel like a single object. */
  --ease:cubic-bezier(.19,1,.22,1);

  /* Measure */
  --wrap:1360px;
  --pad:clamp(20px,4vw,48px);
}
