html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

.terms-page,
.privacy-page {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 120px 30px 0;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

.terms-page *,
.privacy-page * {
    box-sizing: border-box;
    max-width: 100%;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.terms-page h1,
.privacy-page h1 {
    font-size: 30px;
}

.terms-page h2,
.privacy-page h2 {
    font-size: 24px;
    line-height: 1.3;
    word-break: normal;
}

.terms-page p,
.terms-page li,
.privacy-page p,
.privacy-page li {
    line-height: 1.65;
}

.terms-page ul,
.terms-page ol,
.privacy-page ul,
.privacy-page ol {
    padding-left: 24px;
}

section.offer.container {
    display: block;
    align-items: initial;
    max-width: 980px;
    padding: 140px 30px 0 !important;
    margin: 0 auto;
}

section.offer > div {
    max-width: 100% !important;
}

section.offer h1,
section.offer h1 span {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    word-break: normal;
    overflow-wrap: anywhere;
}

section.offer h2,
section.offer h2 span {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

section.offer h3,
section.offer h3 span {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

section.offer p,
section.offer li,
section.offer div,
section.offer span,
section.offer a {
    max-width: 100%;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    word-break: normal;
}

section.offer p,
section.offer li {
    font-size: 16px;
    line-height: 1.65;
}

section.offer ul,
section.offer ol {
    max-width: 100%;
    padding-left: 24px;
}

section.offer table {
    min-width: 720px;
}

.button-anchor_wrap {
    left: 0;
    padding: 0 16px;
    z-index: 998;
}

.button-anchor {
    max-width: 100%;
    white-space: normal;
}

@media (max-width: 740px) {
    .header-mobile {
        position: fixed;
        padding: 10px 12px;
        gap: 8px;
    }

    .header-mobile__logo {
        width: 34px;
        height: auto;
        flex: 0 0 auto;
    }

    .header-mobile__btns {
        flex: 1 1 auto;
        justify-content: flex-end;
        gap: 8px;
        width: auto;
        max-width: none;
        min-width: 0;
    }

    .header-mobile .button_ghost {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        height: 40px;
        min-width: 0;
        padding: 9px 12px;
        font-size: 10px;
        line-height: 1.2;
        letter-spacing: 0;
        text-align: center;
        white-space: nowrap;
    }

    .header-mobile .button_ghost-icon {
        width: 40px;
        min-width: 40px;
        height: 40px;
    }

    section.offer.container {
        width: 100%;
        padding: 104px 18px 0 !important;
    }

    .terms-page,
    .privacy-page {
        padding: 104px 18px 0;
    }

    .terms-page h1,
    .privacy-page h1 {
        font-size: 26px !important;
        line-height: 1.25;
    }

    .terms-page h2,
    .privacy-page h2 {
        font-size: 22px !important;
        line-height: 1.3;
    }

    section.offer h1,
    section.offer h1 span {
        font-size: 28px !important;
        line-height: 1.22 !important;
    }

    section.offer h2,
    section.offer h2 span {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    section.offer h3,
    section.offer h3 span {
        font-size: 18px !important;
        line-height: 1.35 !important;
    }

    section.offer p,
    section.offer li,
    section.offer p span,
    section.offer li span,
    section.offer a {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    section.offer ul,
    section.offer ol {
        padding-left: 18px;
    }

    .terms-page ul,
    .terms-page ol,
    .privacy-page ul,
    .privacy-page ol {
        padding-left: 18px;
    }

    section.offer .c13 {
        max-width: 100%;
        padding: 0;
    }

    .footer-mobile__contacts,
    .footer-mobile__copywrite {
        width: 100%;
        max-width: 100%;
        padding: 42px 18px;
        margin: 0;
        box-sizing: border-box;
    }

    .footer-mobile__contacts img {
        max-width: 100%;
    }
}

@media (max-width: 360px) {
    .header-mobile {
        padding: 8px;
        gap: 6px;
    }

    .header-mobile__logo {
        width: 30px;
    }

    .header-mobile__btns {
        gap: 6px;
    }

    .header-mobile .button_ghost {
        padding: 8px 9px;
        font-size: 9px;
    }

    .header-mobile .button_ghost-icon {
        width: 36px;
        min-width: 36px;
        height: 36px;
    }

    section.offer.container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .terms-page,
    .privacy-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    section.offer h1,
    section.offer h1 span {
        font-size: 24px !important;
    }
}
