:root {
  color-scheme: light;
  --color-paper: #f5f5f4;
  --color-surface: #ffffff;
  --color-surface-subtle: #fafaf9;
  --color-ink: #161b15;
  --color-soft: #3d473c;
  --color-muted: #596358;
  --color-rule: rgb(22 27 21 / 0.12);
  --color-rule-strong: rgb(22 27 21 / 0.22);
  --color-wash: rgb(22 27 21 / 0.055);
  --color-oat: #f4e6cc;

  --color-accent: #1f6f4a;
  --color-accent-hover: #185a3b;
  --color-accent-bright: #2a8c5e;
  --color-accent-ink: #ffffff;
  --color-accent-soft: rgb(31 111 74 / 0.10);
  --color-accent-border: rgb(31 111 74 / 0.28);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  --radius-xs: 5px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-pill: 999px;

  --font-sans:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-heading:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 140ms;
  --dur-med: 240ms;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --color-paper: #10120f;
  --color-surface: #171b16;
  --color-surface-subtle: #141813;
  --color-ink: #ececea;
  --color-soft: #c2ccc0;
  --color-muted: #9aa497;
  --color-rule: rgb(236 236 234 / 0.13);
  --color-rule-strong: rgb(236 236 234 / 0.24);
  --color-wash: rgb(236 236 234 / 0.07);

  --color-accent: #4ec283;
  --color-accent-hover: #63d195;
  --color-accent-bright: #7ee0a9;
  --color-accent-ink: #0a140e;
  --color-accent-soft: rgb(78 194 131 / 0.15);
  --color-accent-border: rgb(78 194 131 / 0.34);
}
