.legal-page {
    width: 100%;
    max-width: 1106px;
    margin: 104px auto 40px;
    padding: 0;
    box-sizing: border-box;
    color: #f5f5f7;
    font-family: "SF Pro Text", "Myriad Set Pro", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.legal-page-header {
    text-align: center;
}

.legal-page-header h1 {
    margin: 0 0 22px;
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3;
}

.legal-page-header h1 sup {
    position: relative;
    top: -0.38em !important;
    font-size: 55% !important;
}

.legal-page-header p {
    width: 100%;
    margin: 0 auto 18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    text-align: justify;
}

.legal-page-rule {
    display: none;
}

.legal-page-content {
    color: #f5f5f7;
}

.legal-page-intro p,
.legal-page-content section p,
.legal-page-content li {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    text-align: justify;
}

.legal-page-intro {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.legal-page-flow {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.legal-page-content section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 6px;
    border-top: 0;
}

.legal-page-content h2 {
    margin: 0 0 8px;
    padding: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
}

.legal-page-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.legal-page-content li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 24px;
}

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

.legal-page-content li::before {
    content: none;
}

.legal-list-arrow {
    position: absolute;
    top: 0.3em;
    left: 0;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.legal-page-content a {
    color: var(--theme-color);
    overflow-wrap: anywhere;
}

.legal-page-content a:hover,
.legal-page-content a:focus-visible {
    color: var(--theme-color-hover);
    text-decoration: underline;
}

.legal-page-closing {
    margin: 24px 0 0 !important;
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    text-align: center !important;
}

.legal-page ~ footer .footer-container,
.legal-page ~ footer .footer-bottom-container {
    margin-top: 0;
}

@media (max-width: 1300px) {
    .legal-page {
        margin: 24px auto 40px;
        padding-inline: 16px;
    }
}

@media (max-width: 790px) {
    .legal-page {
        padding-top: 20%;
    }

    .legal-page-header h1 {
        font-size: 25px;
    }

    .legal-page-flow {
        gap: 20px;
    }
}
