/* itereon design tokens. The palette comes from the brand guide (itereon_Logo_Farben.pdf).
   Every page links this file first; page stylesheets map their own variables onto these.

   Contrast notes (WCAG 2.1):
   - teal #1A8C9A on white is 4.0:1: fine for large text, icons, borders and focus rings.
     For small text and button fills under white text use --it-teal-700 (4.7:1) or --it-teal-800.
   - On coal, use --it-teal-300 for small teal text (7:1).
   - Yellow is a highlight and badge colour. Never use it as text on white; on yellow, use coal text. */
:root{
  /* brand palette */
  --it-teal:#1A8C9A;        /* primary */
  --it-slate:#5A7D7C;       /* secondary */
  --it-yellow:#FBC30E;      /* accent */
  --it-coal:#1E1E1E;        /* coal black */
  --it-ghost:#F9FAFB;       /* ghost white */

  /* derived shades */
  --it-teal-800:#0F5E68;
  --it-teal-700:#16808D;
  --it-teal-300:#5CC1CD;
  --it-teal-100:#DDF0F2;
  --it-teal-050:#EEF7F8;
  --it-slate-700:#456160;
  --it-slate-300:#A9BDBC;
  --it-coal-900:#141414;
  --it-coal-800:#1E1E1E;
  --it-coal-700:#262626;
  --it-coal-600:#303030;
  --it-coal-500:#3D3D3D;
  --it-grey-500:#6B7280;
  --it-grey-400:#9CA3AF;
  --it-grey-200:#E5E7EB;
  --it-grey-100:#F1F3F5;

  /* status colours, kept separate from the brand */
  --it-ok:#2FB57A;
  --it-warn:#F59E0B;
  --it-err:#E5484D;

  /* type */
  --it-font-head:'Funnel Display',ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  --it-font-body:'Inter',ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  --it-font-mono:'JetBrains Mono',ui-monospace,'SF Mono',Menlo,Consolas,monospace;

  /* shape */
  --it-radius-sm:6px;
  --it-radius:10px;
  --it-radius-lg:16px;
  --it-focus:0 0 0 3px rgba(26,140,154,.55);
}
