/* Design Tokens - CSS Custom Properties */
/* Values dynamically generated from config/site-config.yml */

:root {
  /* Colors - Light Mode (default) */
  --color-primary: #f04a00;
  --color-secondary: #E4B62C;
  --color-background: #F5F5F5;
  --color-surface: #FFFFFF;
  --color-text: #000000;
  --color-text-secondary: #333333;
  --color-gray-light: #e0e0e0;
  --color-gray-dark: #ACACAC;
  --color-border: #e0e0e0;
  
  /* Typography */
  --font-heading: system-ui, sans-serif;
  --font-body: system-ui, sans-serif;
  
  /* Font Sizes - Mobile First */
  --text-h1: 2rem;
  --text-h2: 1.5rem;
  --text-h3: 1.25rem;
  --text-body: 1rem;
  --line-height-body: 1.6;
  --line-height-heading: 1.2;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  
  /* Layout */
  --layout-max-width: 1200px;
  --layout-padding: 1rem;
  
  /* Pages */
  --page-content-max-width: 750px;
  --page-hero-max-width: 1200px;
  
  /* Posts */
  --post-content-max-width: 750px;
  --post-hero-max-width: 1200px;
  
  /* Deprecated - use specific page/post variables above */
  --content-max-width: 750px;
  --hero-max-width: 1200px;
  
  /* Home Page */
  --home-content-min-height: 60vh;
  --home-content-align-items: flex-end;
  --home-content-justify-content: flex-end;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
}

/* Tablet breakpoint (768px) */
@media (min-width: 768px) {
  :root {
    --text-h1: 2.5rem;
    --text-h2: 1.875rem;
    --text-h3: 1.5rem;
    --text-body: 1.0625rem;
    --layout-padding: 2rem;
  }
}

/* Desktop breakpoint (1024px) */
@media (min-width: 1024px) {
  :root {
    --text-h1: 3rem;
    --text-h2: 2.25rem;
    --text-h3: 1.75rem;
    --text-body: 1.125rem;
    --layout-padding: 3rem;
  }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  :root {
    --color-background: #333333;
    --color-surface: #1a1a1a;
    --color-text: #F5F5F5;
    --color-text-secondary: #e0e0e0;
    --color-gray-light: #404040;
    --color-gray-dark: #ACACAC;
    --color-border: #404040;
  }
}
