/* SDCOE design system tokens, from the SDCOE Design System (tokens.json).
   Load before jccsRecReq.css. Every colour note gives the contrast pairs that pass WCAG 2.1 AA. */
:root {
  /* Brand palette, from the logo */
  --navy: #005488;          /* Headings, links, primary buttons. White text on it 8.0:1. */
  --cyan: #00aeef;          /* Accent fills, rules and shapes beside navy. Never text on white (2.5:1). */
  --dark-navy: #003557;     /* Deep brand ground; white text on it 12.8:1. Text on cyan (5.0:1). */
  --cyan-light: #80ddff;    /* Light tint behind dark-navy or navy text (5.2:1). */
  --dark-gray: #303030;     /* Body text on white (13.2:1). */
  --light-gray: #becad1;    /* Dividers and quiet fills; dark-gray text on it 7.9:1. */

  /* Complements: use sparingly */
  --lawn-green: #008655;
  --lime: #d7df23;
  --yolk-yellow: #ffce20;
  --pumpkin: #ff7617;
  --fools-gold: #bea864;
  --purple-rain: #602e8e;
  --lilac: #be2f9e;
  --ruby: #cd2f43;
  --white: #ffffff;
  --black: #000000;

  /* Roles */
  --surface: var(--white);            /* Page and card background. */
  --surface-subtle: #f4f7f9;          /* App page background behind cards and the side navigation. */
  --surface-hover: #eef4f8;           /* Hover fill for navigation items and table rows. */
  --ink: var(--dark-gray);            /* Body text. */
  --ink-muted: #5a6670;               /* Secondary text: captions, table headers (5.9:1 on surface). */
  --heading: var(--navy);             /* Headlines and section titles. */
  --link: var(--navy);                /* Text links; underline them. */
  --accent: var(--cyan);              /* The single accent beside navy. Not text. */
  --divider: var(--light-gray);       /* Hairlines and table borders (decorative). */
  --border: var(--light-gray);        /* Card edges and row separators (decorative). */
  --border-strong: #808f99;           /* Outlines of inputs, selects and checkboxes (3.3:1). */
  --focus-ring: var(--dark-navy);     /* 3px keyboard focus outline, offset 2px. */

  /* Status: always pair with a word or symbol, never colour alone */
  --success: var(--lawn-green);
  --success-subtle: #e3f3ec;
  --success-text: #0b5c3f;
  --danger: var(--ruby);
  --danger-subtle: #fbe9eb;
  --danger-text: #9e1f2f;
  --warning: var(--yolk-yellow);      /* Fills only, with dark-gray text; never as text. */
  --warning-subtle: #fff4cc;
  --warning-text: #664d00;
  --info: var(--cyan);                /* Fills and icons; never as text on surface. */
  --info-subtle: #e5f7fd;
  --info-text: var(--dark-navy);

  /* Type */
  --font-display: Montserrat, "Proxima Nova", Arial, sans-serif;
  --font-body: Roboto, Arial, sans-serif;
  --font-document: Calibri, Arial, sans-serif;
  --text-display: 600 48px/56px var(--font-display);
  --text-h1: 600 36px/44px var(--font-display);
  --text-h2: 600 28px/36px var(--font-display);
  --text-h3: 600 22px/30px var(--font-display);
  --text-h4: 600 20px/28px var(--font-display);
  --text-eyebrow: 700 14px/20px var(--font-display);
  --text-body-lg: 400 18px/28px var(--font-body);
  --text-body: 400 16px/24px var(--font-body);
  --text-body-strong: 700 16px/24px var(--font-body);
  --text-caption: 400 14px/20px var(--font-body);
  --text-label: 500 13px/18px var(--font-body);

  /* Spacing on an 8px rhythm */
  --space-half: 4px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 48px;
  --space-6: 64px;

  /* Radius: colour fields square, controls small, cards medium */
  --radius-none: 0px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.075);   /* Cards on surface-subtle. */
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.15);   /* Menus, popovers, Kendo popups. */
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.175); /* Modals and dialogs. */

  /* Layout */
  --topbar-height: 64px;
  --sidebar-width: 248px;
  --content-max-width: 960px;
  --breakpoint-lg: 992px;

  /* Logo */
  --logo-min-width: 96px;
  --logo-secondary-min-width: 120px;
  --logo-clear-space: 24px;
}

.display { font: var(--text-display); }
.h1 { font: var(--text-h1); }
.h2 { font: var(--text-h2); }
.h3 { font: var(--text-h3); }
.h4 { font: var(--text-h4); }
.eyebrow { font: var(--text-eyebrow); letter-spacing: 0.08em; text-transform: uppercase; }
.body-lg { font: var(--text-body-lg); }
.body { font: var(--text-body); }
.body-strong { font: var(--text-body-strong); }
.caption { font: var(--text-caption); }
