:root {
    --primary: #334155;
    --secondary: #6B7280;
    --accent: #A3A3A3;
    --neutral-light: #F9FAFB;
    --neutral-mid: #E5E7EB;
    --neutral-dark: #D1D5DB;
    --text-main: #1F2937;
    --text-muted: #4B5563;
    --max-width: 1200px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Lexend', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--neutral-light);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 2rem; }
h2 { font-size: 2.25rem; margin-bottom: 1.5rem; border-left: 4px solid var(--accent); padding-left: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p { margin-bottom: 1.5rem; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding { padding: 100px 0; }

/* Header & Nav */
header {
    background: #fff;
    border-bottom: 1px solid var(--neutral-mid);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links { display: flex; list-style: none; gap: 2.5rem; }
.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}
.nav-links a:hover { color: var(--primary); border-bottom: 2px solid var(--accent); }

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--primary);
    overflow: hidden;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
}

.hero-content h1 { color: #fff; }

/* Grid Systems */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.card {
    background: #fff;
    padding: 2.5rem;
    border: 1px solid var(--neutral-mid);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }

.img-standard {
    max-width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 20px 20px 0 var(--neutral-dark);
}

/* Institutional Elements */
.glossary-rail { border-left: 2px solid var(--neutral-mid); padding-left: 2rem; margin-top: 2rem; }
.stat-strip { background: var(--primary); color: #fff; padding: 3rem 0; margin: 4rem 0; }
.matrix-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.matrix-table td, .matrix-table th { border: 1px solid var(--neutral-mid); padding: 1rem; text-align: left; }
.matrix-table th { background: var(--neutral-mid); color: var(--primary); }

/* Footer */
footer {
    background: var(--primary);
    color: var(--neutral-mid);
    padding: 80px 0 40px;
    font-size: 0.9rem;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--neutral-dark); text-decoration: none; }
.footer-links a:hover { color: #fff; }

.disclaimer-box {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-style: italic;
    color: var(--accent);
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid var(--primary);
    padding: 1.5rem;
    display: none;
    z-index: 2000;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.1);
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn:hover { background: var(--secondary); opacity: 0.9; }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--neutral-dark);
    font-family: inherit;
}

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
}