/* ==========================================================================
   CSS Custom Properties — Design Tokens
   ========================================================================== */

:root {
    /* --- Colors: Cardano-inspired palette --- */
    --color-primary: #0033ad;
    --color-primary-dark: #002280;
    --color-primary-light: #e6ecf9;
    --color-primary-rgb: 0, 51, 173;

    --color-accent: #00d1b2;
    --color-accent-dark: #00a890;
    --color-accent-light: #e6faf7;

    --color-text: #1a1a2e;
    --color-text-light: #555e6d;
    --color-text-muted: #8892a4;

    --color-bg: #ffffff;
    --color-bg-alt: #f5f7fa;
    --color-bg-dark: #0f1729;

    --color-border: #e2e8f0;
    --color-border-light: #f0f2f5;

    /* Code blocks */
    --color-code-bg: #1e1e2e;
    --color-code-text: #cdd6f4;
    --color-code-border: #313244;

    /* Status / badges */
    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --color-error: #ef4444;

    /* --- Typography --- */
    --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: var(--font-body);
    --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, 'Cascadia Code', 'Source Code Pro', monospace;

    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.25rem;

    --line-height-tight: 1.2;
    --line-height-base: 1.7;
    --line-height-relaxed: 1.8;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* --- 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: 6rem;
    --space-5xl: 8rem;

    /* --- Layout --- */
    --container-max: 1200px;
    --container-narrow: 800px;
    --container-wide: 1400px;

    /* --- Borders & Radius --- */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    /* --- Shadows --- */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);

    /* --- Transitions --- */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
}
