:root {
    /* Blueprint Developer Core (Light) */
    --surface: #f8f9fa;
    --surface-dim: #d9dadb;
    --surface-bright: #f8f9fa;
    --surface-container-lowest: #ffffff;
    --surface-container-low: #f3f4f5;
    --surface-container: #edeeef;
    --surface-container-high: #e7e8e9;
    --surface-container-highest: #e1e3e4;
    --on-surface: #191c1d;
    --on-surface-variant: #4c4546;
    --inverse-surface: #2e3132;
    --inverse-on-surface: #f0f1f2;
    --outline: #7e7576;
    --outline-variant: #cfc4c5;
    --surface-tint: #5e5e5e;
    --primary: #000000;
    --on-primary: #ffffff;
    --primary-container: #1b1b1b;
    --on-primary-container: #848484;
    --inverse-primary: #c6c6c6;
    --secondary: #5e5e5e;
    --on-secondary: #ffffff;
    --secondary-container: #e2e2e2;
    --on-secondary-container: #646464;
    --tertiary: #000000;
    --on-tertiary: #ffffff;
    --tertiary-container: #1b1b1b;
    --on-tertiary-container: #848484;
    --error: #ba1a1a;
    --on-error: #ffffff;
    --error-container: #ffdad6;
    --on-error-container: #93000a;
    --background: #f8f9fa;
    --on-background: #191c1d;
    --surface-variant: #e1e3e4;

    /* Spacing & Layout */
    --margin: 48px;
    --margin-mobile: 16px;
    --container-max: 1200px;
    --gutter: 24px;
    --rounded-base: 0.25rem;
    --rounded-lg: 0.5rem;
    --rounded-xl: 0.75rem;

    /* Typography */
    --font-headline: 'Hanken Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --h-xl-size: 40px;
    --h-xl-weight: 800;
    --h-xl-lh: 1.1;
    --h-xl-ls: -0.02em;

    --h-lg-size: 24px;
    --h-lg-weight: 700;
    --h-lg-lh: 1.2;

    --h-md-size: 18px; /* tool-name in light */
    --h-md-weight: 700;
    --h-md-lh: 1.4;

    --label-size: 12px;
    --label-weight: 700;
    --label-lh: 1.0;
    --label-ls: 0.1em;

    --body-size: 14px;
    --body-weight: 400;
    --body-lh: 1.6;

    --body-lg-size: 14px; /* same as body-md in light */

    --grid-bg-url: url('https://lh3.googleusercontent.com/aida-public/AB6AXuAaF-hNB2I-_u9X8ZT1btxE55i5OpHp-pxzWSo2zu6bjccBAKv4p9RyXkgk6XTDLsLGxF_RF_sqafkWhFp0hlSPcBUpON5GCAgGxxSAVz1eN23YMtHU8o81rVKfWwLf47prpPksyU1N-vSi-txCletGO5pRen7gSs758f8sgQ7-Avy-7E47ent4wX1k28xHgrgHmh7-m2tNmfbJ6_5zJbjPZwe51kUZlFGEmQ6h7TyOhsFuzO1VsAdA8I7BYsE8vUoLVtzo1jyKvyFz');
    --grid-opacity: 0.4;
    --grid-filter: none;
}

.dark {
    /* Deep Space Technical (Dark) */
    --surface: #131313;
    --surface-dim: #131313;
    --surface-bright: #3a3939;
    --surface-container-lowest: #0e0e0e;
    --surface-container-low: #1c1b1b;
    --surface-container: #201f1f;
    --surface-container-high: #2a2a2a;
    --surface-container-highest: #353534;
    --on-surface: #e5e2e1;
    --on-surface-variant: #bdc8d1;
    --inverse-surface: #e5e2e1;
    --inverse-on-surface: #313030;
    --outline: #87929a;
    --outline-variant: #3e484f;
    --surface-tint: #7bd0ff;
    --primary: #8ed5ff;
    --on-primary: #00354a;
    --primary-container: #38bdf8;
    --on-primary-container: #004965;
    --inverse-primary: #00668a;
    --secondary: #4fdbc8;
    --on-secondary: #003731;
    --secondary-container: #04b4a2;
    --on-secondary-container: #003f38;
    --tertiary: #ffc176;
    --on-tertiary: #472a00;
    --tertiary-container: #f1a02b;
    --on-tertiary-container: #613b00;
    --error: #ffb4ab;
    --on-error: #690005;
    --error-container: #93000a;
    --on-error-container: #ffdad6;
    --background: #131313;
    --on-background: #e5e2e1;
    --surface-variant: #353534;

    /* Spacing & Layout */
    --margin: 32px;
    --margin-mobile: 16px;
    --container-max: 1280px;
    --gutter: 24px;
    --rounded-base: 0.25rem;
    --rounded-lg: 0.5rem;
    --rounded-xl: 0.75rem;

    /* Typography */
    --font-headline: 'Geist', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --h-xl-size: 32px; /* headline-lg in dark */
    --h-xl-weight: 600;
    --h-xl-lh: 1.2;
    --h-xl-ls: -0.02em;

    --h-lg-size: 24px; /* headline-lg-mobile in dark */
    --h-lg-weight: 600;
    --h-lg-lh: 1.2;

    --h-md-size: 20px; /* headline-md in dark */
    --h-md-weight: 500;
    --h-md-lh: 1.4;

    --label-size: 12px;
    --label-weight: 500;
    --label-lh: 1.2;
    --label-ls: 0.05em;

    --body-size: 14px;
    --body-weight: 400;
    --body-lh: 1.5;

    --body-lg-size: 16px;

    --grid-bg-url: url('https://lh3.googleusercontent.com/aida-public/AB6AXuAUNcOQUCo9ZoJ_BVm3Ew9VGs2vSMHDk5GHxiBrM0ckc5TJq7Vu3f1jzPmiwvW4N1ti0sLqnPkPhZJBWaIoXFpZZEgIZRh6mDCZoaPkX_QY836MGpTYXtWxoZOGEJasGtpQDKVZgvotFPaS5wIZaEH2Sw1tIweEXVElpy1zBb7UwffiW1IEk8EGihNGyXgXuyWeJ345C4YRVNqSmgo96MHjY6pO8G4G03O7bGI-96Yh2LdCNbazf5syBI0S3uPJs6rqUZtQe6U_3_rc');
    --grid-opacity: 0.1;
    --grid-filter: invert(1);
}

body {
    scroll-behavior: smooth;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.grid-bg {
    background-image: var(--grid-bg-url);
    background-size: 40px 40px;
    opacity: var(--grid-opacity);
    filter: var(--grid-filter);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Tool Card Styles */
.tool-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-card:hover {
    transform: translateY(-4px);
}
