/* =============================================================
   legal.css — Privacy, Terms, Contact page styles
   Append to members.css or load as a separate stylesheet
   ============================================================= */

/* ------------------------------------------------------------------
   Page layout
   ------------------------------------------------------------------ */
.legal-page {
    min-height: 100vh;
    background: var(--bg-page);
    padding: 60px 16px 80px;
}

.legal-container {
    max-width: 760px;
    margin: 0 auto;
}

.legal-container--narrow {
    max-width: 600px;
}

/* ------------------------------------------------------------------
   Header
   ------------------------------------------------------------------ */
.legal-header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border);
}

.legal-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.legal-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.legal-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* ------------------------------------------------------------------
   Body — sections
   ------------------------------------------------------------------ */
.legal-body {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.75;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px;
}

.legal-section h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 24px 0 8px;
}

.legal-section p {
    margin: 0 0 14px;
}

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

.legal-section ul {
    margin: 12px 0 14px 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-section ul li {
    padding-left: 4px;
}

.legal-section a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 500;
}

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

/* ------------------------------------------------------------------
   Footer links
   ------------------------------------------------------------------ */
.legal-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.legal-footer a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 500;
}

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

/* ------------------------------------------------------------------
   Contact page specifics
   ------------------------------------------------------------------ */
.contact-section {
    border-bottom: none !important;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-card-icon {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-card-body h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px;
}

.contact-email-link {
    display: inline-block;
    font-size: 17px;
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    margin: 8px 0 12px;
    border-bottom: 2px solid var(--brand);
    padding-bottom: 2px;
}

.contact-email-link:hover {
    color: var(--brand-dark);
    border-color: var(--brand-dark);
}

.contact-response-note {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 !important;
}

.contact-faq {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 14px !important;
}

.contact-faq li {
    font-size: 14px;
    line-height: 1.6;
    padding-left: 0 !important;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.contact-faq li:first-child {
    border-top: none;
    padding-top: 0;
}

.contact-faq a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 500;
}

.contact-faq a:hover {
    text-decoration: underline;
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */
@media (max-width: 600px) {
    .legal-title {
        font-size: 28px;
    }

    .contact-card {
        flex-direction: column;
        gap: 12px;
        padding: 24px 20px;
    }
}
