/* Legal Pages Styling - Meaven Intelligence */
:root {
    --legal-bg: #F5F5F3;
    --legal-text: #1D1D1F;
    --legal-accent: #0071E3;
    --legal-border: rgba(0,0,0,0.08);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 8rem 2rem 10rem;
}

.logo {
    height: 36px;
    width: auto;
    filter: brightness(0); /* Ensure visibility on light background */
}

.nav-login {
    padding: 0.5rem 1.25rem !important;
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: var(--legal-text) !important;
    border-radius: 100px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.nav-login:hover {
    background: rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

.legal-header {
    margin-bottom: 4rem;
    text-align: left;
}

.legal-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.last-updated {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--legal-accent);
    margin-bottom: 1rem;
    display: block;
}

.legal-content {
    line-height: 1.6;
    font-size: 1.1rem;
    color: rgba(29, 29, 31, 0.8);
}

.legal-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--legal-text);
    margin-top: 3.5rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.legal-content p {
    margin-bottom: 1.5rem;
}

.legal-content ul {
    margin-bottom: 2rem;
    padding-left: 1.25rem;
}

.legal-content li {
    margin-bottom: 0.75rem;
    position: relative;
    list-style-type: none;
}

.legal-content li::before {
    content: "•";
    color: var(--legal-accent);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.legal-content strong {
    color: var(--legal-text);
}

.back-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--legal-text);
    font-weight: 600;
    margin-bottom: 3rem;
    transition: transform 0.3s ease;
}

.back-link:hover {
    transform: translateX(-5px);
}

.back-link svg {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .legal-header h1 {
        font-size: 2.5rem;
    }
    .legal-container {
        padding-top: 6rem;
    }
}
