/* Design tokens. The only place where raw colors and sizes live. */
:root {
  /* Palette */
  --color-primary: #3b5bdb;
  --color-primary-strong: #2f4ac0;
  --color-primary-soft: #edf2ff;
  --color-accent: #f59f00;
  --color-ink: #1d2433;
  --color-ink-muted: #5c6578;
  --color-bg: #f7f8fa;
  --color-surface: #ffffff;
  --color-border: #e3e6ec;
  --color-border-strong: #c9ced8;
  --color-success: #2b8a3e;
  --color-success-soft: #ebfbee;
  --color-warning: #b35c00;
  --color-warning-soft: #fff4e6;
  --color-danger: #c92a2a;
  --color-danger-soft: #fff5f5;
  --color-focus: #4c6ef5;

  /* Typography */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --leading: 1.5;

  /* Spacing 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 and depth */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgb(29 36 51 / 0.06);
  --shadow: 0 2px 8px rgb(29 36 51 / 0.08);

  /* Layout */
  --content-max: 72rem;
  --header-height: 3.5rem;
}
