﻿/* ── Hero Banner (shared across all 5 legal pages) ── */
.legal-banner {
    background: linear-gradient(135deg, #1a1209 0%, #2c1f0a 60%, #3d2c10 100%);
    padding: 56px 0 44px;
    position: relative;
    overflow: hidden;
}

    .legal-banner .eyebrow {
        font-family: 'Inter', sans-serif;
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: #c9a84c;
        margin-bottom: 10px;
    }

    .legal-banner h1 {
        font-family: 'EB Garamond', serif;
        font-size: clamp(1.9rem, 4vw, 2.8rem);
        font-weight: 500;
        color: #f5f0e8;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .legal-banner .lead-text {
        font-family: 'Inter', sans-serif;
        font-size: 0.9rem;
        color: rgba(245, 240, 232, 0.65);
        margin-bottom: 6px;
    }

    .legal-banner .meta-updated {
        font-family: 'Inter', sans-serif;
        font-size: 0.78rem;
        color: #c9a84c;
        margin-bottom: 0;
    }

/* ── Body ── */
.legal-body {
    background: #fdfbf7;
    padding: 48px 0 72px;
}

.legal-intro {
    background: #fff;
    border-left: 3px solid #c9a84c;
    border-radius: 0 6px 6px 0;
    padding: 20px 24px;
    margin-bottom: 32px;
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
    color: #4a3f2f;
    line-height: 1.75;
}

    .legal-intro a.highlight-gold {
        font-weight: 500;
    }

.legal-section h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1209;
    margin: 18px 0 6px;
}

.legal-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
}

    .legal-section table th,
    .legal-section table td {
        padding: 10px 14px;
        border-bottom: 1px solid #ede8df;
        text-align: left;
    }

        .legal-section table th:last-child,
        .legal-section table td:last-child {
            text-align: right;
        }

    .legal-section table thead th {
        color: #9b8c72;
        font-weight: 600;
        font-size: 0.74rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        border-bottom: 1px solid #c9a84c;
    }

    .legal-section table tbody tr:last-child td {
        font-weight: 600;
        color: #1a1209;
        border-bottom: none;
    }

/* ── Mobile jump nav ── */
.legal-mobile-jump {
    display: none;
    margin-bottom: 28px;
}

    .legal-mobile-jump select {
        width: 100%;
        font-family: 'Inter', sans-serif;
        font-size: 0.88rem;
        color: #4a3f2f;
        background: #fff;
        border: 1px solid #ede8df;
        border-radius: 6px;
        padding: 12px 14px;
    }

/* ── Layout: TOC + content ── */
.legal-layout {
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.legal-toc {
    flex: 0 0 250px;
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
}

.legal-toc-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9b8c72;
    margin-bottom: 12px;
}

.legal-toc ol {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 1px solid #ede8df;
}

.legal-toc a {
    display: block;
    padding: 6px 0 6px 16px;
    margin-left: -1px;
    border-left: 2px solid transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.81rem;
    line-height: 1.4;
    color: #8a7c62;
    text-decoration: none;
}

    .legal-toc a:hover {
        color: #1a1209;
    }

    .legal-toc a.active {
        border-left-color: #c9a84c;
        color: #1a1209;
        font-weight: 500;
    }

.legal-content {
    flex: 1;
    min-width: 0;
}

.legal-section {
    padding: 26px 0;
    border-bottom: 1px solid #ede8df;
    scroll-margin-top: 90px;
}

    .legal-section:last-of-type {
        border-bottom: none;
    }

.legal-section-num {
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #a87c2a;
    margin-bottom: 6px;
}

.legal-section h2 {
    font-family: 'EB Garamond', serif;
    font-size: 1.26rem;
    font-weight: 600;
    color: #1a1209;
    margin-bottom: 12px;
    line-height: 1.35;
}

.legal-section p,
.legal-section ul {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: #4a3f2f;
    line-height: 1.8;
    margin-bottom: 12px;
}

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

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

    .legal-section ul li {
        margin-bottom: 8px;
    }

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

.legal-section a.highlight-gold {
    font-weight: 500;
}

/* ── Closing acknowledgement ── */
.legal-ack {
    margin-top: 32px;
    background: linear-gradient(135deg, #1a1209 0%, #2c1f0a 100%);
    border-radius: 8px;
    padding: 28px 32px;
}

    .legal-ack p.legal-ack-lead {
        font-family: 'EB Garamond', serif;
        font-size: 1.02rem;
        color: #f5f0e8;
        margin-bottom: 14px;
    }

    .legal-ack ul {
        font-family: 'Inter', sans-serif;
        font-size: 0.86rem;
        color: rgba(245, 240, 232, 0.75);
        line-height: 1.75;
        padding-left: 20px;
        margin-bottom: 16px;
    }

        .legal-ack ul li {
            margin-bottom: 6px;
        }

    .legal-ack p.legal-ack-close {
        font-family: 'Inter', sans-serif;
        font-size: 0.88rem;
        color: rgba(245, 240, 232, 0.9);
        margin-bottom: 0;
    }

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .legal-toc {
        display: none;
    }

    .legal-mobile-jump {
        display: block;
    }
}

@media (max-width: 575.98px) {
    .legal-banner {
        padding: 40px 0 32px;
    }

    .legal-ack {
        padding: 22px 20px;
    }

    .legal-section h2 {
        font-size: 1.12rem;
    }
}
