/*
  NSWTF brand design tokens. v1.0.0
*/

:root {
  /* Primary */
  --nswtf-blue: #00689e;
  /* FEDBLUE   PMS 3015  core colour            */
  --nswtf-yellow: #f1b434;
  /* FEDYELLOW PMS 143   complement             */

  /* Secondary (sub-group use only) */
  --nswtf-red: #dd3224;
  /* FEDRED    PMS 2035  Future Teachers, Library            */
  --nswtf-purple: #992f87;
  /* FEDPURPLE PMS 254   Part Time Teachers, Women           */
  --nswtf-orange: #df5643;
  /* FEDORANGE PMS 2027  TAFE Teachers, Multicultural        */
  --nswtf-green: #009b77;
  /* FEDGREEN  PMS 3278  Beginning Teachers, Direct Payments, Peace, Environment                 */

  --nswtf-blue-tint: color-mix(in srgb, var(--nswtf-blue) 20%, white);
  /* row hover, info surface (= #CCE1EC) */
  --nswtf-blue-tint-strong: color-mix(in srgb, var(--nswtf-blue) 40%, white);
  /* selected / active row   (= #99C3D8) */
  --nswtf-yellow-tint: color-mix(in srgb, var(--nswtf-yellow) 40%, white);
  /* highlight / callout bg  (= #F9E1AE) */

  --nswtf-blue-dark: color-mix(in oklab, var(--nswtf-blue) 85%, black);
  /* FEDBLUE darkened for highlight/hover (= #00527E) */
  --nswtf-yellow-dark: color-mix(in oklab, var(--nswtf-yellow) 85%, black);
  /* FEDYELLOW darkened for highlight/hover (= #C29028) */

  --nswtf-grey-50: #f8f8f9;
  /* lightest surface / page background */
  --nswtf-grey-100: #f0f0f1;
  /* card and panel fill */
  --nswtf-grey-200: #e4e4e6;
  /* hairline borders, dividers */
  --nswtf-grey-300: #cccccd;
  /* stronger borders, input outlines */
  --nswtf-grey-400: #a3a3a5;
  /* disabled text/controls */
  --nswtf-grey-500: #7a7a7c;
  /* muted icons, placeholder text */
  --nswtf-grey-600: #5c5c5e;
  /* secondary text (AA on white) */
  --nswtf-grey-700: #454547;
  /* strong grey, headings on light */
  --nswtf-grey-800: #2c2c2e;
  /* body text */
  --nswtf-grey-900: #1a1a1b;
  /* near-black surface, footer */

  /* Semantic aliases: reference these in product code */
  --nswtf-primary: var(--nswtf-blue);
  --nswtf-primary-dark: var(--nswtf-blue-dark);
  --nswtf-complement: var(--nswtf-yellow);

  /* Intents: generic, reusable status colours. All pass AA with white text.
       Values are pinned (not aliased) so the AA guarantee holds even if the
       brand reds/blues are retuned later; danger matches FEDRED, info FEDBLUE. */
  --nswtf-intent-success: #00795d;
  --nswtf-intent-warning: #8a6a00;
  --nswtf-intent-danger: var(--nswtf-red);
  --nswtf-intent-info: #00689e;
  --nswtf-intent-neutral: #64748b;

  /* Typography (section 2.3). "Source Sans 3" is the current name for the
       typeface formerly released as "Source Sans Pro"; list both so the stack
       matches whichever the consumer loaded. */
  --nswtf-font-family:
    "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --nswtf-font-weight-light: 300;
  --nswtf-font-weight-body: 400;
  --nswtf-font-weight-heading: 600;
  /* Semi Bold */
  --nswtf-font-weight-bold: 700;
}
