:root {
    /* Color System - Institutional Grade */
    --color-white: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-black: #000000;
    --color-gray-900: #1a1a1a;
    --color-gray-700: #4a4a4a;
    --color-gray-500: #70757a;
    --color-gray-200: #e0e0e0;
    
    /* Accents per Section */
    --accent-governance: #c62828; /* Solid Institutional Red */
    --accent-research: #1565c0; /* Deep Blue */
    --accent-oss: #2e7d32; /* Trust Green */
    --accent-investors: #f9a825; /* Amber/Gold */

    /* Typography */
    --font-main: 'Inter', -apple-system, system-ui, sans-serif;
    --line-height-base: 1.6;
    
    /* Layout */
    --container-max: 1140px;
    --header-h: 70px;
}

/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-main); color: var(--color-black); background-color: var(--color-white); line-height: var(--line-height-base); }

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

/* Header & Nav */
.header {
    height: var(--header-h);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-gray-200);
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.header .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    color: #000;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand span { font-weight: 400; opacity: 0.5; }

.nav-links { display: flex; gap: 32px; }
.nav-link { 
    text-decoration: none; 
    color: var(--color-gray-700); 
    font-size: 14px; 
    font-weight: 600; 
    transition: color 0.2s;
}
.nav-link:hover { color: var(--color-black); }

/* Typography */
h1 { font-size: clamp(2.5rem, 8vw, 64px); font-weight: 800; letter-spacing: -2px; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: clamp(1.5rem, 5vw, 32px); font-weight: 700; margin-bottom: 20px; }
h3 { font-size: clamp(1.1rem, 3vw, 20px); font-weight: 700; margin-bottom: 12px; }
p { font-size: clamp(1rem, 2vw, 18px); color: var(--color-gray-700); margin-bottom: 24px; }

/* Sections */
.section { padding: clamp(40px, 10vw, 80px) 0; }
.section-alt { background-color: var(--color-bg-alt); }

/* Grid Cards (Alphabet Style V3) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 1px;
    background: var(--color-gray-200);
    border: 1px solid var(--color-gray-200);
    margin: 40px 0;
}

.card {
    background: white;
    padding: clamp(30px, 6vw, 60px) clamp(20px, 4vw, 40px);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

.card:hover { background: #fafafa; }

.card-letter {
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
}

.card h3 { font-size: 28px; margin-bottom: 16px; font-weight: 800; }
.card p { font-size: 16px; flex-grow: 1; margin-bottom: 0; }

.card.a { color: var(--accent-research); }
.card.g { color: var(--accent-governance); }
.card.o { color: var(--accent-oss); }
.card.i { color: var(--accent-investors); }

/* Legal Styles */
.legal-content { max-width: 800px; margin: 40px auto; }
.legal-header { padding: 100px 0 60px; border-bottom: 1px solid var(--color-gray-200); margin-bottom: 60px; }
.legal-title { font-size: 48px; }

/* Tables (Transparency) */
.table-container { width: 100%; overflow-x: auto; border: 1px solid var(--color-gray-200); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { padding: 16px; border-bottom: 1px solid var(--color-gray-200); text-align: left; }
th { background: var(--color-bg-alt); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }

/* Footer */
.footer { border-top: 1px solid var(--color-gray-200); padding: 80px 0 40px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; }
.footer-title { font-size: 14px; font-weight: 800; opacity: 0.4; text-transform: uppercase; margin-bottom: 24px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { text-decoration: none; color: var(--color-gray-700); font-size: 14px; }
.footer-bottom { border-top: 1px solid var(--color-gray-200); margin-top: 60px; padding-top: 30px; display: flex; justify-content: space-between; font-size: 12px; color: var(--color-gray-500); }

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 { font-size: 40px; }
    .nav-links { display: none; }
    .card { padding: 40px 20px; min-height: auto; }
    .card-letter { font-size: 80px; }
}

/* Hamburger System */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-black);
    transition: all 0.3s;
}
.hamburger.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 768px) {
    .hamburger { display: flex; }
}

.mobile-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-h));
    background-color: var(--color-white);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 40px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.mobile-menu.is-visible { transform: translateX(0); }
.mobile-menu .nav-link { font-size: 24px; padding: 10px 0; border-bottom: 1px solid var(--color-gray-200); }


/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.animate { animation: fadeIn 0.6s ease-out forwards; }

.lang-switcher {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-gray-500);
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 1px solid var(--color-gray-200);
    padding-left: 20px;
}

.lang-switcher a {
    text-decoration: none;
    color: var(--color-gray-500);
    transition: color 0.2s;
}

.lang-switcher a:hover {
    color: var(--color-black);
}

.lang-switcher strong {
    color: var(--color-black);
}

/* SMARTWATCH / EXTREME MOBILE RESPONSIVENESS */
@media (max-width: 380px) {
    .container {
        padding: 0 20px;
    }
    .brand {
        font-size: 14px;
        gap: 8px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-title {
        margin-bottom: 12px;
    }
    .card-letter {
        font-size: 48px;
    }
}
