:root {
    --bg: #000000;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.02);
    --accent: #10b981; /* Emerald 500 */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: #e4e4e7; /* Zinc 200 */
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* --- Aurora Background --- */
.aurora-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 50% 0%, #111111 0%, #000000 100%);
    overflow: hidden; pointer-events: none;
}

.aurora-blob {
    position: absolute; border-radius: 50%;
    filter: blur(90px); opacity: 0.3;
    animation: move 25s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes move {
    from { transform: translate(-10%, -10%) scale(1); }
    to { transform: translate(10%, 10%) scale(1.1); }
}

/* --- Components --- */
.glass-panel {
    background: #09090b;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Typography & Content */
.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.legal-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #f4f4f5;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p, .legal-content li {
    font-size: 0.925rem;
    color: #a1a1aa; /* Zinc 400 */
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content strong {
    color: #e4e4e7;
    font-weight: 500;
}

.legal-content a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}
.legal-content a:hover {
    color: #34d399; /* Emerald 400 */
}

/* TOC Sidebar */
.toc-link {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: #71717a;
    border-left: 2px solid transparent;
    padding-left: 1rem;
    transition: all 0.2s;
}
.toc-link:hover {
    color: #d4d4d8;
}
.toc-link.active {
    color: var(--accent);
    border-left-color: var(--accent);
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%);
}

/* Custom Selection */
::selection {
    background: rgba(16, 185, 129, 0.2);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #27272a; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #3f3f46; }

/* Print Styles */
@media print {
    .aurora-bg, header, .no-print, .toc-sidebar { display: none !important; }
    body { background: white !important; color: black !important; overflow: visible; }
    .glass-panel { 
        background: white !important; 
        border: none !important; 
        box-shadow: none !important; 
        color: black !important;
    }
    .legal-content p, .legal-content li, .legal-content strong, .legal-content h2, .legal-content h3 {
        color: black !important;
    }
    .wrapper { display: block !important; width: 100% !important; padding: 0 !important; }
    a { text-decoration: underline; color: black !important; }
}

