/* design tokens - the single source of truth */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* Backgrounds: Supabase / Vercel style deep dark canvas */
    --bg-darkest: #000000;
    --bg-dark: #0A0A0A;
    --bg-medium: #121212;
    --bg-light: #1A1A1A;
    --bg-lighter: #242424;

    /* Accents: Emerald Green theme */
    --accent: #10B981;
    /* Primary Emerald */
    --accent-hover: #059669;
    --accent-glow: rgba(16, 185, 129, 0.2);
    --accent-gradient: linear-gradient(135deg, #34D399, #10B981);

    /* Text */
    --text-primary: #EDEDED;
    --text-secondary: #A1A1AA;
    --text-tertiary: #71717A;

    /* Semantic */
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;

    /* Borders - Extremely subtle, sleek lines */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-default: rgba(255, 255, 255, 0.12);
    --border-focus: var(--accent);

    /* Radii - Smooth, modern, clean iOS/Vercel standard */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.15);

    /* Typography */
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spaces - Refined scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Layout */
    --sidebar-width: 260px;
    --topbar-height: 65px;
    --max-width: 1200px;
}