/* Evidence Companion - Academic Research Interface */
/* Inspired by Our World in Data, Distill.pub, eLife */
/* System fonts keep the static application offline-capable. */

:root {
    /* Academic Palette -- derived from category spectrum */
    --primary: #3a7d7e;       /* teal (from spectrum center) */
    --primary-dark: #2d6364;
    --primary-light: #4b9d9e;
    --secondary: #0f172a;
    --accent: #5b8c5a;        /* sage green */

    /* Category spectrum (Gegenstand → Perspektive) */
    --cat-ai-lit: #5b8c5a;
    --cat-gen-ki: #3a7d7e;
    --cat-prompt: #4b7bab;
    --cat-ki-sonst: #7c6fae;
    --cat-soz-arb: #b0546e;
    --cat-bias: #c2694e;
    --cat-gender: #d4943a;
    --cat-divers: #8a7542;
    --cat-femin: #a24b7a;
    --cat-fairness: #6a8e4e;

        /* Semantic Colors */
    --success: #5b8c5a;      /* sage green -- from spectrum */
    --warning: #d4943a;       /* amber -- from spectrum */
    --danger: #b0546e;        /* dusty rose -- from spectrum */
    --info: #4b7bab;          /* steel blue -- from spectrum */

    /* Decision Colors */
    --decision-include: #5b8c5a;
    --decision-exclude: #6b7280;
    --decision-unclear: #d4943a;

    /* Neutrals */
    --gray-50: #fafaf9;
    --gray-100: #f5f5f4;
    --gray-200: #e7e5e4;
    --gray-300: #d6d3d1;
    --gray-400: #a8a29e;
    --gray-500: #78716c;
    --gray-600: #57534e;
    --gray-700: #44403c;
    --gray-800: #292524;
    --gray-900: #1c1917;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-display: Georgia, 'Times New Roman', serif;
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Typography Scale (larger base for readability) */
    --text-xs: 0.75rem;        /* 12px */
    --text-sm: 0.8125rem;      /* 13px */
    --text-base: 0.875rem;     /* 14px */
    --text-md: 0.9375rem;      /* 15px */
    --text-body: 1rem;         /* 16px */
    --text-lg: 1.0625rem;      /* 17px */
    --text-xl: 1.125rem;       /* 18px */
    --text-2xl: 1.25rem;       /* 20px */
    --text-3xl: 1.5rem;        /* 24px */
    --text-4xl: 1.75rem;       /* 28px */

    /* Spacing Scale */
    --space-xs: 0.25rem;       /* 4px */
    --space-sm: 0.5rem;        /* 8px */
    --space-md: 0.75rem;       /* 12px */
    --space-lg: 1rem;          /* 16px */
    --space-xl: 1.5rem;        /* 24px */
    --space-2xl: 2rem;         /* 32px */

    /* Spacing Aliases (used in benchmark styles) */
    --space-1: var(--space-xs);
    --space-2: var(--space-sm);
    --space-3: var(--space-md);
    --space-4: var(--space-lg);

    /* Border Radius Scale */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius: 6px;

    /* Transitions */
    --transition-fast: all 0.15s ease;
    --transition-base: all 0.2s ease;
    --transition-slow: all 0.3s ease;

    /* Focus Ring (teal primary, matching --primary) */
    --focus-ring: 0 0 0 3px rgba(58, 125, 126, 0.18);
}
