/* Custom CSS for Legal Pages */
.legal-container {
    max-width: 900px;
    margin-inline: auto;
    padding: 6rem 1.5rem;
}

.legal-header {
    border-bottom: 1px solid var(--darker-grey);
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

.legal-title {
    font-size: 3.5rem;
    text-transform: uppercase;
    color: var(--light);
    margin-bottom: 0.5rem;
}

.legal-meta {
    color: var(--Dark-grey);
}

.legal-content section {
    margin-bottom: 2.5rem;
}

.legal-content h3 {
    color: var(--light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-content h4 {
    color: var(--light-grey-b);
    font-size: 1.2rem;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    color: var(--light-grey-b);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}

.legal-content li {
    color: var(--light-grey-b);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--accent);
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: color-mix(in srgb, var(--accent), white 20%);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-container {
        padding: 4rem 0;
        max-width: 80vw;
    }
    .legal-title {
        font-size: 2.2rem;
    }
}