:root {
    --bg: #0a0e1a;
    --surface: #111827;
    --accent: #00d4ff;
    --accent-dark: #0099cc;
    --text: #ffffff;
    --muted: #aab3c2;
    --border: rgba(0, 212, 255, 0.18);
    color-scheme: dark;
}

:root[data-theme="light"] {
    --bg: #f8fafc;
    --surface: #ffffff;
    --accent: #0077a8;
    --accent-dark: #005f86;
    --text: #07111f;
    --muted: #475569;
    --border: rgba(0, 119, 168, 0.22);
    color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: Inter, sans-serif; line-height: 1.6; }

nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 10;
    min-height: 81px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(rgba(5, 6, 22, 0.55), rgba(5, 6, 22, 0.55)), url('assets/header/menu_bkg.jpg') center/cover;
}

.nav-container { width: min(1200px, 100%); min-height: 81px; margin: auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: flex; align-items: center; color: #fff; font: 600 1.9rem Oxanium, sans-serif; text-decoration: none; }
.nav-logo-img { width: 112px; height: 72px; object-fit: contain; }
.logo-mvp { color: #ff7a00; }
.nav-links { display: flex; gap: 1.75rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,.82); font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; gap: .7rem; }
.mobile-menu-btn, .theme-switch { width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 50%; background: rgba(10,14,26,.75); color: #fff; cursor: pointer; }
.mobile-menu-btn { display: none; }

.legal-hero { position: relative; min-height: 310px; margin-top: 81px; padding: 3.5rem 1.5rem; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--surface); }
.legal-hero-content { position: relative; width: min(820px, 100%); text-align: center; }
.legal-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem 1rem; margin-bottom: 1.25rem; border: 1px solid var(--border); border-radius: 999px; background: rgba(0,212,255,.12); color: var(--accent); font-size: .85rem; font-weight: 600; text-transform: uppercase; }
.legal-hero h1 { margin-bottom: 1rem; color: var(--text); font-size: 3.25rem; line-height: 1.15; }
.legal-hero-content > p:not(.legal-effective) { max-width: 700px; margin: 0 auto 1rem; color: var(--muted); font-size: 1.15rem; }
.legal-effective { color: var(--accent); font-size: .92rem; font-weight: 600; }
.legal-main { width: min(900px, calc(100% - 3rem)); margin: auto; padding: 4rem 0 6rem; }
.legal-section { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--border); }
.legal-section h2, .legal-contact h2 { margin-bottom: .85rem; font-size: 1.45rem; line-height: 1.3; }
.legal-section p, .legal-contact p { margin-bottom: .8rem; color: var(--muted); line-height: 1.8; }
.legal-contact { padding: 2rem; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.legal-contact a { color: var(--accent); font-weight: 600; }
footer { padding: 4rem 0 2rem; border-top: 1px solid var(--border); background: var(--surface); }
.footer-content { width: min(1200px, 100%); margin: 0 auto 3rem; padding: 0 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand p, .footer-links a, .footer-bottom { color: var(--muted); }
.footer-brand .logo { margin-bottom: 1rem; color: var(--text); }
.footer-links h4 { margin-bottom: 1rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: .7rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--accent); }
.footer-bottom { width: min(1200px, calc(100% - 4rem)); margin: auto; padding-top: 2rem; border-top: 1px solid var(--border); text-align: center; font-size: .9rem; }

@media (max-width: 768px) {
    .nav-container { padding: 0 1rem; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 1.5rem; background: #0a0e1a; }
    .nav-links.open { display: flex; }
    .mobile-menu-btn { display: block; }
    .logo { font-size: 1.3rem; }
    .nav-logo-img { width: 82px; }
    .legal-hero { min-height: 280px; padding: 2.75rem 1rem; }
    .legal-hero h1 { font-size: 2.25rem; }
    .legal-main { width: min(100% - 2rem, 900px); padding: 3rem 0 4rem; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}
