/* VoxAssist Design System - Design Tokens */
/* Colors, Typography, Spacing following UX-UI guidelines */

:root {
  /* Primary color palette - 70/20/10 ratio */
  --color-indigo: #4F46E5;
  --color-orange: #F97316;
  --color-neutral-0: #FFFFFF;
  --color-neutral-900: #0F172A;
  
  /* Typography - Inter font family */
  --font-family-primary: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
  
  /* Font sizes - Type scale */
  --font-size-display: 48px;
  --font-size-h1: 32px;
  --font-size-h2: 24px;
  --font-size-h3: 20px;
  --font-size-body: 16px;
  --font-size-small: 14px;
  
  /* Font weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  
  /* Line heights */
  --line-height-display: 1.2;
  --line-height-h1: 1.25;
  --line-height-h2: 1.3;
  --line-height-h3: 1.4;
  --line-height-body: 1.5;
  --line-height-small: 1.5;
  
  /* Spacing - 8-point grid system */
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-48: 48px;
  --spacing-64: 64px;
  
  /* Border radius */
  --border-radius-sm: 6px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Breakpoints */
  --breakpoint-mobile: 320px;
  --breakpoint-tablet: 768px;
  --breakpoint-desktop: 1024px;
}

/* High-contrast mode override */
@media (prefers-contrast: more) {
  :root {
    --color-indigo: #3730A3;
    --color-orange: #EA580C;
  }
}

/* Typography utility classes */
.text-display {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-display);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-display);
}

.text-h1 {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-h1);
}

.text-h2 {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-h2);
}

.text-h3 {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-h3);
}

.text-body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-body);
}

.text-small {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-small);
}

/* Responsive font size adjustments */
@media (max-width: 767px) {
  :root {
    --font-size-display: 36px;
    --font-size-h1: 28px;
    --font-size-h2: 20px;
    --font-size-h3: 18px;
    --font-size-body: 16px;
    --font-size-small: 14px;
  }
}

@media (min-width: 1024px) {
  :root {
    --font-size-display: 56px;
    --font-size-h1: 36px;
    --font-size-h2: 28px;
    --font-size-h3: 22px;
    --font-size-body: 16px;
    --font-size-small: 14px;
  }
}
