:root {
  --color-paper: oklch(98.5% 0.006 252);
  --color-paper-2: oklch(96.5% 0.009 252);
  --color-paper-3: oklch(93.5% 0.012 252);
  --color-panel: oklch(99.2% 0.004 252);
  --color-ink: oklch(22% 0.025 258);
  --color-ink-2: oklch(34% 0.022 258);
  --color-muted: oklch(48% 0.018 258);
  --color-rule: oklch(86% 0.014 252);
  --color-rule-strong: oklch(72% 0.022 252);
  --color-accent: oklch(55% 0.205 256);
  --color-accent-strong: oklch(46% 0.19 256);
  --color-accent-soft: oklch(94% 0.035 252);
  --color-accent-ink: oklch(98.5% 0.006 252);
  --color-focus: oklch(42% 0.19 250);
  --color-success: oklch(47% 0.125 158);
  --color-success-soft: oklch(95% 0.03 158);
  --color-error: oklch(48% 0.18 28);
  --color-error-soft: oklch(95% 0.035 28);
  --color-warning: oklch(54% 0.12 76);
  --color-graphite: oklch(22% 0.018 258);
  --color-shadow: oklch(22% 0.025 258 / 0.08);

  --font-display: "Bahnschrift", "Microsoft YaHei", sans-serif;
  --font-body: "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-mono: "Cascadia Mono", "Microsoft YaHei", 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;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.375rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.25rem;
  --text-3xl: 3rem;
  --text-display: clamp(2.25rem, 4.2vw, 3.5rem);

  --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-thin: 1px;
  --radius-control: 0.375rem;
  --radius-panel: 0.625rem;
  --radius-round: 999px;
  --shadow-whisper: 0 1px 2px var(--color-shadow);

  --page-max: 112rem;
  --page-gutter: clamp(1rem, 2.5vw, 2.5rem);
  --header-height: 4.25rem;
  --control-height: 2.75rem;

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