/**
 * SpaceWork360 Design System Tokens
 * Generated from MASTER.md
 * Do not edit manually - regenerate from design system
 */

:root {
  /* ========================================
     COLOR TOKENS
     ======================================== */
  
  /* Neutrals (Warm) */
  --color-bg-primary: #FAFAF9;
  --color-bg-secondary: #FFFFFF;
  --color-bg-soft: #F5F5F4;
  --color-bg-elevated: #FFFFFF;
  
  --color-text-primary: #1C1917;
  --color-text-secondary: #57534E;
  --color-text-muted: #78716C;
  --color-text-inverse: #FFFFFF;
  
  /* Brand Colors */
  --color-brand-primary: #633c6f;
  --color-brand-light: #8B5FA8;
  --color-brand-dark: #4A2C54;
  --color-brand-subtle: #F3E8F7;
  
  /* Accent & Feedback */
  --color-accent: #7C3AED;
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-info: #3B82F6;
  
  /* Borders & Dividers */
  --color-border-light: #E7E5E4;
  --color-border-medium: #D6D3D1;
  --color-border-strong: #A8A29E;
  --color-border-brand: #633c6f;
  
  /* ========================================
     TYPOGRAPHY
     ======================================== */
  
  /* Font Families */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  --font-headings: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  --font-mono: 'Monaco', 'Cascadia Code', 'Courier New', monospace;
  
  /* Font Sizes */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-4xl: 36px;
  --text-5xl: 48px;
  --text-6xl: 60px;
  
  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Line Heights */
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;
  --leading-loose: 2;
  
  /* Letter Spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.01em;
  
  /* ========================================
     SPACING (24px Base Unit)
     ======================================== */
  
  --space-0: 0;
  --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;
  --space-32: 128px;
  --space-40: 160px;
  --space-48: 192px;
  
  /* ========================================
     BORDER RADIUS
     ======================================== */
  
  --radius-none: 0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* ========================================
     SHADOWS (Subtle Elevation)
     ======================================== */
  
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.10);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
  
  /* ========================================
     ANIMATION TOKENS
     ======================================== */
  
  /* Duration */
  --duration-instant: 100ms;
  --duration-fast: 150ms;
  --duration-medium: 300ms;
  --duration-slow: 400ms;
  --duration-slower: 600ms;
  
  /* Easing Functions */
  --ease-linear: linear;
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Transform Values */
  --transform-scale-subtle: 1.02;
  --transform-scale-hover: 1.05;
  --transform-lift-subtle: -2px;
  --transform-lift-medium: -4px;
  --transform-lift-strong: -8px;
  
  /* Stagger */
  --stagger-base: 80ms;
  --stagger-fast: 50ms;
  --stagger-slow: 120ms;
  
  /* ========================================
     LAYOUT
     ======================================== */
  
  /* Container */
  --container-max-width: 1200px;
  --container-padding: var(--space-6);
  --grid-gap: var(--space-6);
  
  /* Z-Index Scale */
  --z-base: 0;
  --z-dropdown: 1000;
  --z-sticky: 1100;
  --z-fixed: 1200;
  --z-modal-backdrop: 1300;
  --z-modal: 1400;
  --z-popover: 1500;
  --z-tooltip: 1600;
  
  /* Breakpoints (for JS) */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
}

/* ========================================
   REDUCED MOTION SUPPORT
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-instant: 0.01ms;
    --duration-fast: 0.01ms;
    --duration-medium: 0.01ms;
    --duration-slow: 0.01ms;
    --duration-slower: 0.01ms;
    --stagger-base: 0ms;
    --stagger-fast: 0ms;
    --stagger-slow: 0ms;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
