/* Hallmark Cobalt Design Tokens — ScaffoldKits */
:root {
  /* Cool engineered paper + cool charcoal ink + electric cobalt accent (Hue 256-258) */
  --color-paper:        oklch(98.4% 0.004 250);
  --color-paper-2:      oklch(95.8% 0.007 252);
  --color-paper-3:      oklch(93.2% 0.010 254);
  --color-surface:      oklch(99.2% 0.003 250);
  --color-rule:         oklch(88.5% 0.011 254);
  --color-rule-2:       oklch(77.5% 0.016 256);

  --color-ink:          oklch(22.5% 0.022 258);
  --color-ink-2:        oklch(35.0% 0.020 257);
  --color-muted:        oklch(48.0% 0.018 256);

  /* Electric Cobalt Signal — WCAG AA verified against --color-paper & --color-accent-ink */
  --color-accent:       oklch(48.5% 0.215 260);
  --color-accent-hover: oklch(43.0% 0.215 260);
  --color-accent-soft:  oklch(94.8% 0.026 256);
  --color-accent-ink:   oklch(98.8% 0.004 250);
  --color-focus:        oklch(52.0% 0.220 258);

  /* Single Dark Graphite Band tokens */
  --color-graphite:     oklch(19.0% 0.018 260);
  --color-graphite-2:   oklch(23.5% 0.020 260);
  --color-graphite-3:   oklch(28.0% 0.020 260);
  --color-graphite-rule:oklch(34.0% 0.020 258);
  --color-graphite-ink: oklch(94.2% 0.008 250);
  --color-graphite-mut: oklch(76.5% 0.018 255);
  --color-cobalt-hi:    oklch(72.0% 0.165 254);
  --color-string:       oklch(78.0% 0.115 162);

  /* Shadows & scrims */
  --shadow-whisper:     0 1px 2px oklch(22.5% 0.022 258 / 0.06);
  --shadow-frame:       0 12px 32px -16px oklch(22.5% 0.022 258 / 0.14);
  --scrim-modal:        oklch(16.0% 0.020 258 / 0.62);
  --nav-glass:          oklch(98.4% 0.004 250 / 0.90);

  /* 2+1 Font Stack (Cobalt: Space Grotesk display · Inter body · JetBrains Mono code/specs) */
  --font-display:       "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body:          "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono:          "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  /* 4pt Spacing Scale */
  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 5.5rem;
  --space-4xl: 7.5rem;

  /* Major Third Type Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.35rem;
  --text-xl:   1.75rem;
  --text-2xl:  2.25rem;
  --text-disp: clamp(2.35rem, 4.4vw + 0.6rem, 3.85rem);

  /* Ruler-drawn Radii & Borders */
  --rule-hair:    1px;
  --radius-sm:    4px;
  --radius-btn:   6px;
  --radius-card:  10px;
  --radius-pill:  999px;

  /* Layout & Z-index Scale */
  --max-width:    78rem;
  --page-gutter:  clamp(1rem, 4vw, 3rem);
  --z-base:       1;
  --z-raised:     10;
  --z-sticky:     200;
  --z-modal:      400;

  /* Motion Canon */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:      cubic-bezier(0.7, 0, 0.84, 0);
  --dur-fast:     120ms;
  --dur-mid:      220ms;
  --dur-reveal:   480ms;
}
