@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* Color primitives */
  --ink-900: #1c1815;
  --ink-700: #3a332c;
  --ink-500: #655b4f;
  --ink-300: #a99d8c;
  --ink-100: #e4dccc;
  --paper-000: #fffdf9;
  --paper-050: #faf5eb;
  --paper-100: #f4ecdd;
  --paper-200: #ece0cb;
  --line-100: #e6dbc7;
  --line-200: #d8c9ab;
  --brass-300: #c9a668;
  --brass-500: #a9752c;
  --brass-600: #8f6023;
  --brass-700: #6f4a1a;
  --wine-500: #6b2e3a;
  --wine-600: #54222b;
  --sage-500: #5f7350;
  --sage-600: #4a5b3e;
  --ochre-500: #b0812a;
  --brick-500: #a1442f;
  --slate-500: #5a6570;

  /* Semantic colors */
  --text-primary: var(--ink-900);
  --text-secondary: var(--ink-500);
  --text-muted: var(--ink-300);
  --text-inverse: var(--paper-000);
  --surface-page: var(--paper-050);
  --surface-card: var(--paper-000);
  --surface-sunken: var(--paper-100);
  --surface-inverse: var(--ink-900);
  --border-hairline: var(--line-100);
  --border-strong: var(--line-200);
  --accent-primary: var(--brass-500);
  --accent-primary-hover: var(--brass-600);
  --accent-primary-press: var(--brass-700);
  --accent-secondary: var(--wine-500);
  --semantic-success: var(--sage-500);
  --semantic-warning: var(--ochre-500);
  --semantic-danger: var(--brick-500);
  --semantic-info: var(--slate-500);
  --confidence-low: var(--slate-500);
  --confidence-medium: var(--ochre-500);
  --confidence-high: var(--sage-500);
  --focus-ring: var(--brass-500);

  /* Typography */
  --font-display: 'Spectral', ui-serif, Georgia, serif;
  --font-body: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-md: 17px;
  --text-lg: 20px;
  --text-xl: 26px;
  --text-2xl: 34px;
  --text-3xl: 44px;
  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.55;
  --tracking-tight: -0.01em;
  --tracking-normal: 0;
  --tracking-wide: 0.06em;

  /* Spacing */
  --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;
  --space-20: 80px;
  --space-24: 96px;

  /* Radius / shadow / motion */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(28, 24, 21, 0.06);
  --shadow-md: 0 4px 16px rgba(28, 24, 21, 0.08);
  --shadow-lg: 0 12px 32px rgba(28, 24, 21, 0.12);
  --duration-fast: 120ms;
  --duration-base: 200ms;
  --duration-slow: 360ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}
