/* Design tokens */
@layer tokens {
  :root {
    color-scheme: light dark;

    /* Color */
    --color-bg: #ffffff;
    --color-text: #0a0a0a;
    --color-text-muted: #6b6b6b;
    --color-border: #e8e8e8;
    --color-status: #16a34a;
    --color-snow: #9ca3af;

    /* Typography */
    --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "Geist Mono", ui-monospace, Consolas, monospace;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-xl: 1.5rem;

    --leading-tight: 1.2;
    --leading-normal: 1.65;
    --tracking-tight: -0.025em;

    /* Spacing (4px scale) */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;

    /* Shape */
    --radius-sm: 0.375rem;
    --radius-md: 0.625rem;
    --radius-full: 999px;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --duration-fast: 150ms;
    --duration-slow: 700ms;

    /* Layout */
    --content-width: 32rem;
    --gutter: 1.5rem;
  }

  @media (prefers-color-scheme: dark) {
    :root {
      --color-bg: #0a0a0a;
      --color-text: #ededed;
      --color-text-muted: #8f8f8f;
      --color-border: #232323;
      --color-status: #22c55e;
      --color-snow: #ffffff;
    }
  }
}
