/* Design tokens: colors, type and the cascade-layer order. Load first. Change a brand color here and it changes everywhere. */

/* Cascade layers, lowest to highest priority. Every stylesheet on the site writes into one of these.
   base        resets, keyframes, page defaults
   components  shared building blocks (buttons, form, header, menu) and their default states
   sections    the styles for each element on the page, one file per section
   overrides   breakpoint and state rules that must win over a section's own styles */
@layer base, components, sections, overrides;

:root {
  /* Type */
  --font-sans: 'Public Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-display: 'Saira', sans-serif;

  /* Brand and ink */
  --ink: #0E1726;          /* primary text, dark panels */
  --blue: #2E5BE6;         /* primary action and accent */
  --blue-hover: #1f47c4;
  --brand: #162c5f;        /* wordmark */
  --paper: #F5F7F9;        /* page background */
  --white: #fff;

  /* Text on light */
  --text: #41506A;         /* body copy */
  --muted: #5a6573;
  --faint: #7c879a;        /* eyebrows, captions */
  --gray: #9aa4b2;
  --error: #C2410C;
  --green: #16a34a;

  /* Lines on light */
  --line: rgba(14,23,38,.12);
  --line-soft: rgba(14,23,38,.1);
  --line-card: rgba(14,23,38,.14);
  --line-strong: rgba(14,23,38,.2);
  --line-input: rgba(14,23,38,.22);

  /* Dark panels (diagrams, dashboards) */
  --dk-text: #EAF1FB;
  --dk-muted: #9FB0CB;
  --dk-soft: #C7D3E6;
  --dk-accent: #58A6FF;
  --dk-panel: #15203a;

  /* Surfaces */
  --hero-bg: #06141c;
  --footer-bg: #0B111E;

}
