:root {
  --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(50% 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;
  --color-paper: #faf8f4; --color-paper-2: #f2e9df; --color-paper-3: #e9ddd0;
  --color-ink: #292631; --color-ink-2: #49424a; --color-muted: #6b6268;
  --color-rule: #d6c8bc;
  --color-sketch: #faf6ee; --sketch-filter: none;
  --color-accent: #ee8749; --color-brand-habit: #e2702f; --color-accent-ink: #292015; --color-focus: #a34a1b;
  --font-display: "Avenir Next", "Trebuchet MS", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --font-outlier: var(--font-body);
  --radius-card: 4px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.02em;
  --color-stand: #e1ebdb; --color-stretch: #f1dfe5; --color-water: #dfe6f0;
  --color-habit-ink: #292631;
  --color-night: #292631; --color-night-ink: #faf5f0; --color-night-muted: #d1c5c1;
  --color-night-rule: #62595d;
  --color-timer: #faf8f4; --color-timer-ink: #292631; --color-timer-muted: #6b6268;
  --color-timer-focus: #a34a1b;
  --nav-height: 80px;
  --color-nav-glass: rgb(250 248 244 / .72); --color-nav-edge: rgb(41 38 49 / .08);
  --space-card: 32px; --space-section: 112px; --space-section-tight: 80px;
  --space-hero-gap: 48px; --space-optical: 20px;
  --radius-card: 24px; --radius-control: 12px;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --color-paper: #201c1b; --color-paper-2: #2c2623; --color-paper-3: #38302a;
  --color-ink: #faf5f0; --color-ink-2: #e1d6cd; --color-muted: #c0afa1;
  --color-rule: #5d5046; --color-accent: #ffa45e; --color-brand-habit: #ffa45e;
  --color-sketch: #faf6ee; --sketch-filter: invert(.88) hue-rotate(180deg); --color-focus: #ffb983;
  --color-nav-glass: rgb(32 28 27 / .7); --color-nav-edge: rgb(255 255 255 / .08);
}
