﻿/* ============================================================
   Legal Pages — Terms of Service, Privacy Policy
   Shared styles for all legal/policy pages
   ============================================================ */

.legal-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 2.5rem 2rem 4rem;
}

/* ═══ HEADER ═══ */
.legal-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(213, 166, 66, 0.2);
}

    .legal-header h1 {
        font-family: 'Cinzel', serif;
        font-size: clamp(1.6rem, 4vw, 2.2rem);
        font-weight: 900;
        color: #ffe8a0;
        letter-spacing: 0.02em;
        margin-bottom: 0.6rem;
    }

.legal-effective {
    font-size: 0.82rem;
    color: rgba(247, 234, 208, 0.5);
}

.legal-updated {
    font-size: 0.75rem;
    color: rgba(247, 234, 208, 0.35);
    margin-top: 0.15rem;
}

/* ═══ BODY ═══ */
.legal-body {
    color: rgba(247, 234, 208, 0.68);
    font-size: 0.92rem;
    line-height: 1.72;
}

/* ═══ SECTIONS ═══ */
.legal-section {
    margin-bottom: 2rem;
}

    .legal-section h2 {
        font-family: 'Cinzel', serif;
        font-size: 0.88rem;
        font-weight: 900;
        letter-spacing: 0.06em;
        color: #d5a642;
        margin-bottom: 0.65rem;
        padding-bottom: 0.35rem;
        border-bottom: 1px solid rgba(213, 166, 66, 0.12);
    }

    .legal-section p {
        margin-bottom: 0.75rem;
    }

        .legal-section p:last-child {
            margin-bottom: 0;
        }

/* ═══ LINKS ═══ */
.legal-link {
    color: #d5a642;
    text-decoration: none;
    border-bottom: 1px solid rgba(213, 166, 66, 0.25);
    transition: color 140ms ease, border-color 140ms ease;
}

    .legal-link:hover {
        color: #ffe8a0;
        border-color: rgba(213, 166, 66, 0.5);
    }

/* ═══ CAPS SECTIONS (Disclaimers, Liability) ═══ */
.legal-section p {
    font-variant-numeric: tabular-nums;
}

/* ═══ FOOTER NAV ═══ */
.legal-footer-nav {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(213, 166, 66, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.legal-footer-link {
    font-family: 'Cinzel', serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(247, 234, 208, 0.45);
    text-decoration: none;
    transition: color 140ms ease;
}

    .legal-footer-link:hover {
        color: #ffe8a0;
    }

.legal-footer-sep {
    color: rgba(247, 234, 208, 0.2);
    font-size: 0.7rem;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 480px) {
    .legal-page {
        padding: 1.5rem 0.85rem 3rem;
    }

    .legal-header h1 {
        font-size: 1.4rem;
    }

    .legal-effective {
        font-size: 0.75rem;
    }

    .legal-body {
        font-size: 0.84rem;
        line-height: 1.65;
    }

    .legal-section h2 {
        font-size: 0.78rem;
    }

    .legal-section {
        margin-bottom: 1.5rem;
    }

    .legal-footer-nav {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}
