/*
 * Design Tokens for cristianexer
 * A clean, premium aesthetic with careful typography
 */

:root {
  /* Colours - Light Mode */
  --color-accent: #0066cc;
  --color-accent-hover: #0052a3;
  
  --color-surface: #ffffff;
  --color-surface-secondary: #f8f9fa;
  --color-surface-elevated: #f1f3f5;
  
  --color-text-primary: #1a1a1a;
  --color-text-secondary: #4a4a4a;
  --color-text-muted: #868e96;
  
  --color-border: #dee2e6;
  --color-border-subtle: #e9ecef;
  
  /* Code blocks */
  --color-code-bg: #f8f9fa;
  --color-code-text: #1a1a1a;
  
  /* Callouts */
  --color-callout-bg: #e7f5ff;
  --color-callout-border: #74c0fc;
  --color-callout-text: #1864ab;
  
  /* Typography Scale */
  --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 */
  --font-size-2xl: 1.5rem;     /* 24px */
  --font-size-3xl: 1.875rem;   /* 30px */
  --font-size-4xl: 2.25rem;    /* 36px */
  --font-size-5xl: 3rem;       /* 48px */
  
  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --line-height-loose: 1.75;
  
  /* Spacing */
  --spacing-prose: 70ch;
  
  /* Radii */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  
  /* Transitions */
  --transition-fast: 150ms;
  --transition-normal: 200ms;
  --transition-slow: 300ms;
}

/* Dark Mode */
.dark {
  --color-accent: #4da6ff;
  --color-accent-hover: #80bfff;
  
  --color-surface: #0d1117;
  --color-surface-secondary: #161b22;
  --color-surface-elevated: #21262d;
  
  --color-text-primary: #f0f6fc;
  --color-text-secondary: #b1bac4;
  --color-text-muted: #7d8590;
  
  --color-border: #30363d;
  --color-border-subtle: #21262d;
  
  /* Code blocks */
  --color-code-bg: #161b22;
  --color-code-text: #f0f6fc;
  
  /* Callouts */
  --color-callout-bg: #1c2128;
  --color-callout-border: #1f6feb;
  --color-callout-text: #79c0ff;
  
  /* Shadows (more subtle in dark mode) */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.2);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4);
}
