.site-footer {
    display: block;
    clear: both;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 16px 72px;
    background: #000;
    color: #fff;
    text-align: center;
}

.site-footer p {
    margin: 0;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
}

.site-footer a,
.site-disclaimer-link {
    display: inline-block;
    padding: 10px 8px;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-transform: none;
}

.site-footer a:hover,
.site-disclaimer-link:hover {
    color: #ffd700;
}

.site-footer a:focus-visible,
.site-disclaimer-link:focus-visible,
.legal-page a:focus-visible {
    outline: 2px solid #ffd700;
    outline-offset: 4px;
}

/* The desktop contact page uses full-screen slides rather than document scrolling. */
@media (min-width: 767px) {
    .site-footer--contact {
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 100;
        padding-top: 0;
        padding-bottom: 0;
    }
}

html.legal-document,
.legal-page {
    height: auto;
    min-height: 100%;
    overflow: auto;
    background: #413865;
}

.legal-page {
    margin: 0;
    color: #fff;
    font-family: Raleway, Arial, sans-serif;
}

.legal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px max(24px, calc((100% - 1120px) / 2));
    background: #fff;
}

.legal-header img {
    display: block;
    width: 400px;
    max-width: 100%;
    height: auto;
}

.legal-header nav {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
}

.legal-header nav a {
    display: inline-block;
    padding: 12px 0;
    color: #000;
    font-weight: 500;
}

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

.legal-content {
    max-width: 72ch;
    margin: 0 auto;
    padding: 56px 24px 64px;
}

.legal-content h1 {
    margin: 0 0 32px;
    font-size: 32px;
    line-height: 1.35;
    font-weight: 700;
    text-transform: none;
}

.legal-content p {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 400;
}

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

@media (max-width: 600px) {
    .legal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .legal-content {
        padding-top: 32px;
        padding-bottom: 40px;
    }

    .legal-content h1 {
        font-size: 26px;
    }
}
