/**
 * ReBatch Design System - CSS Variables
 * Single source of truth for all design tokens
 */

:root {
    /* Background Colors */
    --bg-primary: #f5f5f3;
    --bg-secondary: #eaeae5;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0eb;
    --bg-tertiary: #e0e0db;
    --bg-partners: #d0d0c8;

    /* Text Colors */
    --text-primary: #1a1a14;
    --text-secondary: #5a5a50;
    --text-muted: #8a8a80;

    /* Accent Colors - Golden Yellow */
    --accent-gold: #F5B800;
    --accent-gold-dim: #D9A300;
    --accent-gold-light: #FFD23F;
    /* Accessible gold for TEXT on light grounds. Bright gold (#F5B800) fails
       WCAG contrast as text (~1.7:1); this passes AA (5.48:1 on #f5f5f3).
       Use for gold text/labels/links; keep --accent-gold for fills/borders/icons. */
    --accent-gold-text: #7d5f00;

    /* Gradient Mesh Colors */
    --gradient-mesh-1: #F5B800;
    --gradient-mesh-2: #D9A300;
    --gradient-mesh-3: #C49400;

    /* Border Colors */
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-medium: rgba(0, 0, 0, 0.12);

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 5rem;

    /* Typography */
    --font-mono: 'JetBrains Mono', monospace;
    --font-display: 'Space Mono', monospace;

    --font-size-xs: 0.7rem;
    --font-size-sm: 0.85rem;
    --font-size-base: 14px;
    --font-size-md: 1rem;
    --font-size-lg: 1.1rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;

    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.7;
    --line-height-relaxed: 1.8;

    /* Border Radius (terminal aesthetic = 0) */
    --radius-none: 0;
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 0 30px rgba(245, 184, 0, 0.4);

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

    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 50;
    --z-sticky: 90;
    --z-fixed: 100;
    --z-modal: 200;
    --z-overlay: 999;
    --z-scanline: 1000;

    /* Container */
    --container-max: 1400px;
    --container-padding: clamp(1.5rem, 5vw, 4rem);
}
