/* ===== LEGAL PAGES (Privacy Policy, Terms of Service) ===== */
/* Header: reuses .signup-header / .signup-logo from signup.css */
/* Footer: reuses footer styles from styles.css */

.legal-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
}

/* Content — lives inside .signup-card, which handles width/padding */
.legal-content {
    width: 100%;
}

.legal-content > .back-to-site:first-child {
    margin-bottom: 24px;
}

.legal-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.legal-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 16px;
}

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

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

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

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

.legal-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-content a {
    color: var(--accent);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-back-bottom {
    margin-top: 24px;
}

.legal-content hr {
    border: none;
    height: 1px;
    background: var(--border);
    margin: 32px 0;
}

/* Mobile */
@media (max-width: 600px) {
    .legal-content h1 {
        font-size: 1.6rem;
    }

    .legal-content h2 {
        font-size: 1.2rem;
        margin-top: 32px;
    }
}
