/* ============================================
   Legal Pages — Privacy & Terms
   ============================================ */

.legal-page {
    background-color: var(--bg-secondary);
    padding: 140px 0 80px;
    min-height: 100vh;
    border-bottom: 1px solid var(--border-light);
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
}

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

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

.legal-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.legal-content section {
    margin-bottom: 36px;
}

.legal-content section:last-child {
    margin-bottom: 0;
}

.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

.legal-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

.legal-content ul {
    margin: 16px 0;
    padding-left: 20px;
}

.legal-content li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
    list-style: square;
}

.legal-content a {
    color: var(--primary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.legal-content a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px;
    }

    .legal-content {
        padding: 28px 20px;
    }
}
