.legal-hero {
    padding: 150px 0 50px;
}

.legal-hero h1 {
    font-size: clamp(30px, 4.4vw, 44px);
    margin-bottom: 14px;
}

.legal-hero .dates {
    color: var(--ink-muted);
    font-size: 14px;
}

.legal-layout {
    display: grid;
    grid-template-columns:230px 1fr;
    gap: 56px;
    /*padding: 20px 0 120px;*/
    align-items: start;
}

.toc {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.toc summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-muted);
    font-weight: 700;
    margin-bottom: 14px;
    padding: 2px 0;
}

.toc summary::-webkit-details-marker {
    display: none;
}

.toc summary .chev {
    transition: transform .2s ease;
    color: var(--coral);
    font-size: 14px;
}

.toc[open] summary .chev {
    transform: rotate(90deg);
}

.toc a {
    display: block;
    font-size: 13.5px;
    color: var(--ink-muted);
    padding: 6px 0;
    border-left: 2px solid transparent;
    padding-left: 12px;
}

.toc a:hover {
    color: var(--ink);
    border-left-color: var(--coral);
}

.legal-body {
    max-width: 680px;
}

.legal-body .lede {
    font-size: 16.5px;
    color: var(--ink-muted);
    margin-bottom: 44px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--line);
}

.legal-body section {
    margin-bottom: 44px;
    scroll-margin-top: 100px;
}

.legal-body h2 {
    font-size: 19px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.legal-body h2 .num {
    color: var(--coral);
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 16px;
}

.legal-body h3 {
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin: 20px 0 8px;
}

.legal-body p {
    font-size: 14.5px;
    color: var(--ink-muted);
    margin-bottom: 12px;
}

.legal-body ul {
    margin: 8px 0 12px 20px;
}

.legal-body li {
    font-size: 14.5px;
    color: var(--ink-muted);
    margin-bottom: 6px;
}

.legal-body a.inline {
    color: var(--coral);
    text-decoration: underline;
}

.placeholder {
    background: #FBF0E4;
    color: #8A5A15;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 13px;
}

@media (max-width: 860px) {
    .legal-layout {
        grid-template-columns:1fr;
    }

    .toc {
        position: static;
        max-height: none;
        margin-bottom: 24px;
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 14px 16px;
    }

    .toc summary {
        margin-bottom: 0;
    }

    .toc[open] summary {
        margin-bottom: 10px;
    }

    .toc a {
        padding-left: 8px;
    }
}
