.legal-shell {
    max-width: 1184px;
    padding: 0 24px 64px;
}

.legal-document {
    max-width: 1136px;
    margin: 0 auto;
}

.legal-heading h1 {
    margin: 0 0 16px;
    color: #f5efe7;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.035em;
}

.legal-content {
    min-width: 0;
    color: #d7dcd5;
    font-size: 16px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
    margin: 0 0 16px;
}

.legal-content .last-updated {
    color: #b9beb7;
    font-size: 14px;
}

.legal-content :is(h2, h3, h4) {
    margin: 32px 0 16px;
    color: #f5efe7;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.02em;
}

.legal-content :is(h3, h4) {
    font-size: 18px;
}

.legal-content :is(span, font) {
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

.legal-content a {
    color: #f4cc94;
    text-underline-offset: 3px;
}

.legal-content :is(img, video, iframe) {
    max-width: 100%;
}

.legal-content :is(img, video) {
    height: auto;
}

.legal-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.legal-content p > br:first-child {
    display: none;
}

.legal-content > :last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .legal-shell {
        padding: 0 16px 40px;
    }

    .legal-content h2 {
        font-size: 20px;
    }
}
