:root {
  /* Zone 1: Dark Instrument Stage (Hero + Workbench) */
  --stage-bg: #141614;          /* Main matte hardware stage */
  --stage-well: #1B1D1B;        /* Recessed control/workbench well (2nd dark tone max) */
  --stage-ink: #F4F5F3;         /* Primary text on dark (16.63:1 on #141614) */
  --stage-ink-2: #B8BDB7;       /* Secondary body on dark (9.53:1 on #141614) */
  --stage-muted: #8E948D;       /* Mono metadata on dark (5.47:1 on #1B1D1B) */
  --stage-rule: #2A2D2A;        /* 1px hairline border on dark */
  --stage-border: #4A4F4A;      /* Secondary button & active control border on dark */

  /* Zone 2: Clean Research Editorial (oeksound-pure x TDR-honest) */
  --paper-bg: #F8F6F4;          /* Warm pure off-white canvas */
  --paper-surface: #FFFFFF;     /* Crisp white for figures, spec tables, purchase card (2nd light tone max) */
  --paper-ink: #161A1D;         /* Deep carbon-navy ink (16.24:1 on #F8F6F4) */
  --paper-ink-2: #464D54;       /* Secondary prose (7.95:1 on #F8F6F4) */
  --paper-muted: #5F6770;       /* Mono captions, table labels (5.74:1 on #FFFFFF) */
  --paper-rule: #DFDDD8;        /* 1px crisp structural divider */
  --paper-rule-strong: #161A1D; /* Architectural accent rule for purchase box / section top */

  /* Signal Accent (Hardware LED discipline — strictly restricted) */
  --signal: #28E922;            /* Primary CTA fill + Active Wet trace on dark stage ONLY */
  --signal-hover: #36F230;
  --signal-ink-on: #0B120B;     /* High-contrast text on #28E922 CTA (11.55:1) */
  --signal-paper: #0F6B14;      /* Deep laboratory green for Wet curves & markers on light paper (6.70:1 on #FFF) */
  --warn-paper: #A63A2B;        /* Muted engineering crimson ONLY for unbudgeted over-duck dashed line in Fig 2 (6.44:1 on #FFF) */

  /* Focus Ring (Guaranteed >= 4.5:1 on both dark and light surfaces) */
  --focus-dark: #28E922;
  --focus-light: #0F5CD6;       /* Crisp blueprint blue focus ring on light paper (5.53:1 on #F8F6F4) */

  /* Typography */
  --font-sans: "Wanted Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Type Scale (Strict floor >= 12px) */
  --text-xs: 0.75rem;           /* 12px — absolute floor: mono index, SVG axis ticks, legal micro */
  --text-sm: 0.8125rem;         /* 13px — mono readouts, captions, spec labels, IEEE refs */
  --text-ui: 0.9375rem;         /* 15px — tables, specs, FAQ, nav, secondary buttons */
  --text-base: 1rem;            /* 16px — primary body copy & CTA text */
  --text-lead: 1.1875rem;       /* 19px — hero/section leads */
  --text-h3: 1.125rem;          /* 18px — subsection titles */
  --text-h2: clamp(1.625rem, 2.5vw, 2.125rem); /* 26px–34px */
  --text-h1: clamp(2.375rem, 4.2vw, 3.375rem); /* 38px–54px */

  /* Layout & Spacing (Disciplined rhythm, zero 130px AIAIAI desert voids) */
  --container-max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-py: clamp(56px, 6.5vw, 88px);
  --header-h: 64px;
  --radius-none: 0px;
  --radius-xs: 2px;             /* Architectural micro-radius only; ZERO bubbly 16–24px SaaS cards */
  --radius-btn: 3px;
}
