/* ========================================
   DARE Lab Design System - CSS Variables
   ======================================== */

:root {
  /* ===================
     COLOR PALETTE
     Ghibli-inspired soft, warm tones
     =================== */

  /* Primary - Soft blue-gray (main brand color) */
  --color-primary: #4A6B7C;
  --color-primary-light: #6B8A9B;
  --color-primary-dark: #2D4A5A;
  --color-primary-50: #EEF3F5;
  --color-primary-100: #D4E0E6;

  /* Accent - Warm golden orange */
  --color-accent: #E8A849;
  --color-accent-light: #F5C77A;
  --color-accent-dark: #C78A2E;

  /* Nature colors - for variety and warmth */
  --color-nature-green: #7BA08B;
  --color-nature-green-light: #A3C4AE;
  --color-nature-sky: #A8C4D4;
  --color-nature-sky-light: #D0E4EE;

  /* Neutral - Warm grays and creams */
  --color-bg: #FAFAF8;
  --color-bg-warm: #F5F3EF;
  --color-bg-alt: #F0EDE8;
  --color-card: #FFFFFF;
  --color-border: #E8E6E1;
  --color-border-light: #F0EEEA;

  /* Text colors */
  --color-text: #2C3E50;
  --color-text-secondary: #5D6D7E;
  --color-text-muted: #8E99A4;
  --color-text-inverse: #FFFFFF;

  /* Semantic colors */
  --color-success: #7BA08B;
  --color-warning: #E8A849;
  --color-error: #D97373;
  --color-info: #6B8A9B;

  /* ===================
     TYPOGRAPHY
     =================== */

  /* Font families */
  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;

  /* Font sizes - using clamp for fluid typography */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */

  /* Heading sizes - fluid */
  --font-size-h1: clamp(2rem, 4vw + 1rem, 3rem);
  --font-size-h2: clamp(1.5rem, 3vw + 0.5rem, 2.25rem);
  --font-size-h3: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
  --font-size-h4: clamp(1.125rem, 1.5vw + 0.5rem, 1.375rem);

  /* Font weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Line heights */
  --line-height-tight: 1.25;
  --line-height-base: 1.6;
  --line-height-relaxed: 1.75;

  /* Letter spacing */
  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.02em;

  /* ===================
     SPACING
     8px base unit system
     =================== */

  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* Semantic spacing */
  --space-xs: var(--space-2);
  --space-sm: var(--space-4);
  --space-md: var(--space-6);
  --space-lg: var(--space-10);
  --space-xl: var(--space-16);
  --space-2xl: var(--space-24);

  /* ===================
     LAYOUT
     =================== */

  /* Container widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-2xl: 1400px;

  /* Container padding */
  --container-padding: var(--space-6);
  --container-padding-mobile: var(--space-4);

  /* Section spacing */
  --section-spacing: var(--space-20);
  --section-spacing-mobile: var(--space-12);

  /* ===================
     BORDERS & RADIUS
     =================== */

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --border-width: 1px;
  --border-width-thick: 2px;

  /* ===================
     SHADOWS
     Soft, Ghibli-inspired shadows
     =================== */

  --shadow-xs: 0 1px 2px rgba(44, 62, 80, 0.04);
  --shadow-sm: 0 2px 8px rgba(44, 62, 80, 0.06);
  --shadow-md: 0 4px 16px rgba(44, 62, 80, 0.08);
  --shadow-lg: 0 8px 24px rgba(44, 62, 80, 0.10);
  --shadow-xl: 0 16px 48px rgba(44, 62, 80, 0.12);

  /* Colored shadows for accent elements */
  --shadow-primary: 0 4px 16px rgba(74, 107, 124, 0.20);
  --shadow-accent: 0 4px 16px rgba(232, 168, 73, 0.25);

  /* ===================
     TRANSITIONS
     =================== */

  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;

  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* ===================
     Z-INDEX SCALE
     =================== */

  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;

  /* ===================
     BREAKPOINTS (for reference)
     Use in media queries
     =================== */
  /*
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
  */
}

/* ===================
   DARK MODE (optional, for future)
   =================== */
/*
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1a1f2e;
    --color-bg-warm: #242938;
    --color-card: #2d3344;
    --color-text: #e8e6e1;
    --color-text-secondary: #a8b2c1;
    --color-border: #3d4556;
  }
}
*/
