/* ============ QUARTZ DESIGN SYSTEM TOKENS ============ */

:root {
    /* --- Colors: Neutral Roles --- */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;

    /* --- Colors: Primary Roles (Quartz Purple) --- */
    --primary-color: #683695;
    --primary-light: #f5f3ff;
    --primary-dark: #4a216d;
    --primary-accent: #dbc5eb;

    /* --- Colors: Semantic Roles --- */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;

    /* --- Backgrounds & Borders --- */
    --bg-page: var(--neutral-50);
    --bg-card: #ffffff;
    --bg-sidebar: #ffffff;
    --border-color: var(--neutral-100);
    --border-strong: var(--neutral-200);

    /* --- Typography: Scale (8px Grid-based) --- */
    --font-h1: 36px;
    --font-h2: 24px;
    --font-h3: 20px;
    --font-h4: 16px;
    --font-body: 16px;
    --font-caption: 14px;
    --font-micro: 13px;

    /* --- Typography: Line Heights --- */
    --lh-tight: 1.1;
    --lh-standard: 1.5;
    --lh-relaxed: 1.6;

    /* --- Typography: Weights --- */
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-black: 800;

    /* --- Spacing: 8px Grid --- */
    --space-4: 4px;
    --space-8: 8px;
    --space-16: 16px;
    --space-24: 24px;
    --space-32: 32px;
    --space-48: 48px;
    --space-64: 64px;

    /* --- Border Radius: Modern Soft Style --- */
    --radius-8: 8px;
    --radius-12: 12px;
    --radius-16: 16px;
    --radius-24: 24px;
    --radius-full: 9999px;

    /* --- Shadows: Layered & Soft --- */
    --shadow-sm: 0 1px 2px 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);
    --shadow-premium: 0 20px 25px -5px rgba(104, 54, 149, 0.08), 0 10px 10px -5px rgba(104, 54, 149, 0.04);

    /* --- Transitions --- */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-standard: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}