/* Legal Pages Styles */

.legal-page {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 80px;
    min-height: calc(100vh - 200px);
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-200);
}

.legal-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.legal-date {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-ultra-light);
}

.legal-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section ul,
.legal-section ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-section ul {
    list-style-type: disc;
}

.legal-section ol {
    list-style-type: decimal;
}

.legal-section li {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-section li strong {
    color: var(--text-primary);
}

.legal-section a {
    color: var(--primary);
    text-decoration: underline;
    transition: var(--transition-fast);
}

.legal-section a:hover {
    color: var(--primary-dark);
}

.contact-info {
    background: var(--gray-50);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-top: 16px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding-top: calc(var(--nav-height) + 40px);
        padding-bottom: 60px;
    }

    .legal-header {
        margin-bottom: 32px;
        padding-bottom: 24px;
    }

    .legal-section h2 {
        font-size: 1.25rem;
    }

    .legal-section h3 {
        font-size: 1rem;
    }

    .contact-info {
        padding: 20px;
    }

    .contact-info p {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}