:root {
  color-scheme: light;

  --paper: oklch(0.985 0.004 60);
  --surface: oklch(0.965 0.006 60);

  --ink: oklch(0.22 0.012 60);
  --ink-muted: oklch(0.44 0.01 60);
  --ink-faint: oklch(0.54 0.008 60);

  --rule: oklch(0.88 0.008 60);
  --rule-strong: oklch(0.78 0.01 60);

  --signal: oklch(0.55 0.17 32);
  --signal-deep: oklch(0.44 0.15 32);
  --signal-wash: oklch(0.955 0.028 32);

  --pass: oklch(0.4 0.09 218);
  --pass-wash: oklch(0.955 0.018 218);

  --caution-ink: oklch(0.42 0.1 72);
  --caution-wash: oklch(0.965 0.04 80);

  --code-bg: oklch(0.2 0.012 60);
  --code-surface: oklch(0.26 0.014 60);
  --code-ink: oklch(0.93 0.008 60);
  --code-muted: oklch(0.68 0.01 60);

  --font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, "Cascadia Mono",
    Menlo, Consolas, monospace;

  --text-2xs: 0.75rem;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-md: 1.375rem;
  --text-lg: 1.75rem;
  --text-xl: 2.25rem;
  --text-2xl: 2.75rem;
  --text-3xl: 3.5rem;

  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-body: 1.6;

  --measure: 68ch;
  --measure-tight: 56ch;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-9: 2.25rem;
  --space-14: 3.5rem;
  --space-20: 5rem;

  --radius-sm: 2px;
  --radius: 4px;

  --page-max: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --sidebar: 15rem;

  --dur-1: 120ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --focus-ring: var(--signal-deep);
  --focus-width: 2px;

  --z-header: 20;
  --z-nav: 40;

}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-1: 1ms;
  }
}
