/* ============================================================
   Legal Pages — shared styles for policy, about, contact, faq
   ============================================================ */

.legal-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
    color: var(--text-primary);
    line-height: 1.75;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 1.5rem 1rem 3rem;
        font-size: 0.92rem;
    }
}

.legal-header {
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-light);
}

.legal-header h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.legal-header .legal-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.legal-header .legal-updated {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-style: italic;
}

.legal-intro {
    background: var(--bg-secondary);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.legal-page h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.legal-page h2:first-of-type {
    margin-top: 0;
}

.legal-page h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.legal-page p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.legal-page ul,
.legal-page ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.legal-page li {
    margin-bottom: 0.4rem;
    line-height: 1.7;
}

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

.legal-page a {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-color: rgba(201, 168, 76, 0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.legal-page a:hover {
    text-decoration-color: var(--gold);
}

.legal-contact-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.legal-contact-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.legal-contact-card p {
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
}

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

.legal-contact-card strong {
    display: inline-block;
    min-width: 100px;
    color: var(--text-secondary);
    font-weight: 600;
}

.legal-toc {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
}

.legal-toc h3 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin: 0 0 0.6rem;
}

.legal-toc ol {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.88rem;
}

.legal-toc li {
    margin-bottom: 0.25rem;
}

.legal-toc a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

.legal-footer-note {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.legal-footer-note a {
    color: var(--text-secondary);
}
