:root {
  /* Corner & Key — final blended palette (dark-first). WCAG ratios in palette.json */
  --ck-night: #0C1622; /* Base background (deep navy-to-near-black) */
  --ck-slate: #14212F; /* Surface 1: header, cards, portal panels */
  --ck-moss: #1D2B26; /* Surface 2: alternate olive-dark sections (plan, proof) */
  --ck-line: #2E3D45; /* Hairlines, dividers, mortar between stones (decorative only, never text) */
  --ck-cream: #F4ECDD; /* Primary text and cornerstones on dark */
  --ck-stone: #BDB5A3; /* Secondary text, captions on dark */
  --ck-keystone: #FFB800; /* Keystone gold: the logo keystone, primary CTA fill, key highlights */
  --ck-keystone-soft: #FFD36A; /* CTA hover, gold text emphasis */
  --ck-copper: #D2804A; /* Accent: links and eyebrows on dark, stone fills, icons */
  --ck-olive: #A3B356; /* Accent: tags, progress, secondary stone fills */
  --ck-paper: #FBF6EC; /* Light sections / printable docs background */
  --ck-navy: #0F1E38; /* Body text on paper */
  --ck-copper-deep: #9A4720; /* Links and buttons on paper */
  --ck-olive-deep: #4F5A24; /* Secondary accents on paper */

  /* semantic aliases */
  --ck-bg: var(--ck-night);
  --ck-surface: var(--ck-slate);
  --ck-surface-alt: var(--ck-moss);
  --ck-text: var(--ck-cream);
  --ck-text-muted: var(--ck-stone);
  --ck-link: var(--ck-copper);
  --ck-cta-bg: var(--ck-keystone);
  --ck-cta-bg-hover: var(--ck-keystone-soft);
  --ck-cta-text: var(--ck-night);
  --ck-focus: var(--ck-keystone);
  --ck-light-bg: var(--ck-paper);
  --ck-light-text: var(--ck-navy);
  --ck-light-link: var(--ck-copper-deep);
}
