:root {
  --color-bg: #F1ECE0;
  --color-surface: #FFFFFF;
  --color-surface-2: #F8F3EA;
  --color-field: #EBE3D1;
  --color-ink: #1C2620;
  --color-ink-2: #5E6B63;
  --color-line: #E4DAC8;

  --color-brand: #0E9F6E;
  --color-brand-strong: #0A7D55;
  --color-brand-text: #096B49;
  --color-brand-soft: #E5F5EE;
  --color-on-brand: #FFFFFF;

  --color-energy: #F5A524;
  --color-energy-strong: #C77A1A;
  --color-energy-soft: #FDF0D6;
  --color-on-energy: #1C2620;

  --color-success: #0A7D55;
  --color-success-soft: #E5F5EE;
  --color-warning: #C77A1A;
  --color-warning-soft: #FBEFD9;
  --color-error: #D14343;
  --color-error-text: #B02E2E;
  --color-error-soft: #FBE9E9;
  --color-focus: #0E9F6E;

  --font-display: 'Rubik', system-ui, -apple-system, sans-serif;
  --font-body: 'Rubik', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --text-h1: clamp(2.5rem, 5vw, 3.5rem);
  --text-h2: clamp(1.875rem, 3.5vw, 2.5rem);
  --text-h3: 1.5rem;
  --text-body: 1.0625rem;
  --text-small: 0.875rem;
  --text-eyebrow: 0.75rem;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.6;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px rgba(76, 60, 32, 0.04), 0 3px 8px rgba(76, 60, 32, 0.06);
  --shadow-md: 0 2px 6px rgba(76, 60, 32, 0.05), 0 10px 26px rgba(76, 60, 32, 0.10);
  --shadow-lg: 0 8px 20px rgba(76, 60, 32, 0.09), 0 26px 60px rgba(76, 60, 32, 0.14);

  --motion-fast: 150ms;
  --motion-base: 200ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);

  --container: 1140px;
  --container-wide: 1200px;
  --tap-min: 44px;

  --brand-name: 'Facto';
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-fast: 1ms;
    --motion-base: 1ms;
  }
}
