/* ============================================
   OrderShield — Design Tokens
   Centralized brand system for all pages
   ============================================ */

:root {
  /* --- Colors: Primary (Sage) --- */
  --color-primary: #1B4332;
  --color-primary-light: #2D6A4F;
  --color-primary-mid: #40916C;

  /* --- Colors: Accent --- */
  --color-accent: #2D6A4F;
  --color-accent-dark: #1B4332;
  --color-accent-light: #52B788;
  --color-accent-subtle: rgba(45, 106, 79, 0.06);

  /* --- Colors: CTA --- */
  --color-cta: #B45309;
  --color-cta-hover: #92400E;
  --color-cta-light: #FCD34D;
  --color-cta-subtle: rgba(180, 83, 9, 0.08);

  /* --- Colors: Surfaces --- */
  --color-surface: #FDFCFA;
  --color-surface-alt: #F5F0EB;
  --color-card: #FFFFFF;
  --color-card-hover: #FDFCFA;

  /* --- Colors: Text --- */
  --color-text: #1C1917;
  --color-text-secondary: #44403C;
  --color-text-muted: #78716C;
  --color-text-light: #A8A29E;
  --color-text-on-dark: #FDFCFA;
  --color-text-on-dark-muted: #A8A29E;

  /* --- Colors: Borders --- */
  --color-border: #E2DDD5;
  --color-border-light: #F5F0EB;
  --color-border-dark: #2D6A4F;

  /* --- Colors: Functional --- */
  --color-success: #059669;
  --color-error: #EF4444;
  --color-warning: #D97706;

  /* --- Typography --- */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  /* --- Font Sizes --- */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* --- Font Weights --- */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* --- Line Heights --- */
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* --- Spacing (4px base) --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* --- Border Radius --- */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(28, 25, 23, 0.07), 0 2px 4px -2px rgba(28, 25, 23, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(28, 25, 23, 0.08), 0 4px 6px -4px rgba(28, 25, 23, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(28, 25, 23, 0.1), 0 8px 10px -6px rgba(28, 25, 23, 0.05);

  /* --- Transitions --- */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;

  /* --- Layout --- */
  --max-width: 1280px;
  --max-width-narrow: 896px;
  --max-width-text: 768px;
  --nav-height: 72px;

  /* --- Z-Index Scale --- */
  --z-base: 0;
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-overlay: 40;
  --z-modal: 100;
  --z-toast: 1000;
}
