.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: inherit;
    font-size: 14px;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.form-consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: #188bbe;
    cursor: pointer;
}

.form-consent a {
    color: #188bbe;
    text-decoration: underline;
}

.form__subtitle.form-consent {
    margin-top: 14px;
}

.popup-form .form-consent {
    order: 1;
}

.popup-form .btn {
    order: 2;
}

.popup__art.form-consent {
    display: flex;
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 24px;
}

.footer__legal a {
    color: inherit;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: underline;
}

.legal-page {
    min-height: 60vh;
    padding: 120px 0 80px;
    background: #fff;
    color: #343333;
}

.legal-page__container {
    width: min(1180px, calc(100% - 30px));
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.55;
}

.legal-page h1 {
    display: block;
    clear: both;
    float: none !important;
    width: auto !important;
    margin: 0 0 25px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
}

.legal-page h2 {
    display: block;
    clear: both;
    float: none !important;
    width: auto !important;
    margin: 28px 0 14px;
    font-size: 22px;
    line-height: 1.3;
}

.legal-page p,
.legal-page ul,
.legal-page ol {
    display: block;
    clear: both;
    float: none !important;
    width: auto !important;
    margin: 0 0 14px;
}

.legal-page a {
    color: #188bbe;
    text-decoration: underline;
}

.legal-page table {
    display: table;
    float: none !important;
    width: 100% !important;
    max-width: 100%;
    margin: 0 0 14px;
}

.legal-document .header {
    background: #fff !important;
}

.legal-document .header-link,
.legal-document .header-navbar__link,
.legal-document .header-phone,
.legal-document .phone-wrap {
    color: #343333 !important;
}

.legal-document .header-burger span,
.legal-document .header__burger span {
    background: #343333 !important;
}

.legal-document--alexa .header__logo img:first-child {
    display: none !important;
}

.legal-document--alexa .header__logo img:last-child {
    display: block !important;
}

.legal-document--alexa .header-button .btn {
    border-color: #343333 !important;
    color: #343333 !important;
}

.legal-document--smas-microson .header__logo img {
    filter: brightness(0);
}

@media (max-width: 990px) {
    .footer__navbar {
        display: flex;
        width: 100%;
        margin-top: 32px;
    }

    .legal-page {
        padding: 90px 0 55px;
    }
}

@media (max-width: 650px) {
    .legal-page__container {
        font-size: 14px;
    }

    .legal-page h2 {
        font-size: 19px;
    }
}
