/* Hallmark · genre: modern-minimal · design-system: design.md · designed-as-app · theme: Cobalt
 * marketing: Map / Diagram · app: Workbench · content: Long Document · tone: precise · anchor hue: 256
 * Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V5
 * Hallmark · contrast: pass (40–41) · slop: pass (42–49) · mobile: pass (34, 49–57)
 */
:root {
  --color-paper: oklch(98.5% 0.004 250);
  --color-paper-2: oklch(96% 0.007 252);
  --color-paper-3: oklch(92.5% 0.01 254);
  --color-ink: oklch(19% 0.02 258);
  --color-ink-2: oklch(31% 0.018 257);
  --color-muted: oklch(43% 0.015 256);
  --color-rule: oklch(84% 0.012 254);
  --color-rule-strong: oklch(66% 0.016 255);
  --color-accent: oklch(52% 0.2 256);
  --color-accent-soft: oklch(93% 0.035 256);
  --color-accent-ink: oklch(98.5% 0.004 250);
  --color-focus: oklch(48% 0.22 256);
  --color-graphite: oklch(20% 0.016 260);
  --color-graphite-2: oklch(25% 0.018 259);
  --color-graphite-text: oklch(94% 0.008 250);
  --color-code-muted: oklch(74% 0.014 251);
  --color-success: oklch(48% 0.13 150);
  --color-success-soft: oklch(94% 0.035 150);
  --color-error: oklch(52% 0.19 27);
  --color-error-soft: oklch(94% 0.035 27);
  --color-warning: oklch(47% 0.105 82);
  --color-warning-soft: oklch(94% 0.04 82);

  --font-display: "Space Grotesk", "Avenir Next", ui-sans-serif, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", ui-sans-serif, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, monospace;

  --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: 6rem;
  --space-4xl: 9rem;

  --text-xs: 0.64rem;
  --text-sm: 0.8rem;
  --text-base: 1rem;
  --text-md: 1.25rem;
  --text-lg: 1.5625rem;
  --text-xl: 1.9531rem;
  --text-2xl: 2.4414rem;
  --text-3xl: 3.0518rem;
  --text-4xl: 3.8147rem;
  --text-display-s: clamp(2.5rem, 6vw, 4.25rem);
  --text-display: clamp(2.75rem, 7vw, 5.25rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long: 420ms;

  --rule-hair: 1px;
  --rule-strong: 2px;
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-card: var(--radius-md);
  --radius-input: var(--radius-sm);
  --radius-pill: 999px;

  --control-height: 2.875rem;
  --app-rail-width: 15rem;
  --app-header-height: 4.25rem;

  --page-max: 76rem;
  --page-gutter: clamp(1rem, 4vw, 3rem);
  --banner-height: 4rem;
  --shadow-whisper: 0 1px 2px color-mix(in oklch, var(--color-ink) 8%, transparent);

  --z-base: 1;
  --z-raised: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-sticky-nav: 300;
  --z-modal: 400;
  --z-toast: 500;
  --z-tooltip: 600;
}
