:root {
  color-scheme: light;
  --space-3xs: 2px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 144px;

  --text-xs: 0.8125rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5625rem;
  --text-2xl: 1.953rem;
  --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem);
  --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem);
  --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem);
  --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);

  --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;

  --color-error: oklch(52% 0.19 27);
  --color-success: oklch(46% 0.12 150);

  --container: 1440px;
  --gutter: 64px;
  --gap-columns: 32px;
  --section-gap-s: 120px;
  --section-gap: 144px;
  --section-gap-l: 176px;

  --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;

  /* Cool studio-white proof paper (hue 215), blue-black ink, single cadmium orange */
  --color-paper: oklch(97.2% 0.006 215);
  --color-paper-2: oklch(94% 0.009 215);
  --color-paper-3: oklch(90.5% 0.011 215);
  --color-paper-hi: oklch(99% 0.004 215);
  --color-ink: oklch(16% 0.032 250);
  --color-ink-2: oklch(34% 0.022 245);
  --color-muted: oklch(45% 0.018 240);
  --color-rule: oklch(84% 0.010 225);
  --color-accent: oklch(68% 0.172 50);
  --color-accent-ink: oklch(16% 0.032 250);
  --color-focus: oklch(52% 0.15 48);

  --font-display: "Hedvig Letters Serif", ui-serif, Georgia, serif;
  --font-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: var(--font-body);
  --font-sys3: "Sofia Sans Extra Condensed", "Arial Narrow", ui-sans-serif, sans-serif;

  --radius-card: 3px;
  --radius-pill: 3px;
  --rule-hair: 1px;
  --shadow-card: none;
  --tracking-display: -0.022em;
  --display-weight: 400;

  --color-spec: var(--color-accent);
  --color-dot: color-mix(in oklab, var(--color-ink) 20%, transparent);
  --color-mark: color-mix(in oklab, var(--color-ink) 72%, transparent);
  --shadow-sheet:
    1px 2px 0 color-mix(in oklab, var(--color-ink) 7%, transparent),
    10px 18px 36px -14px color-mix(in oklab, var(--color-ink) 32%, transparent);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .13 0 0 0 0 .18 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");

  /* Three engineering & specimen palettes */
  --s1-paper: #eef1f2;
  --s1-ink: #17202b;
  --s1-rule: #b4bec6;
  --s2-field: #2b3c9b;
  --s2-paper: #f2f3ee;
  --s2-ink: #0f1733;
  --s3-paper: #e8eae5;
  --s3-ink: #14181b;
  --s3-grid: #a3aaa2;
}
