.form-consents {
    margin: 20px 0 24px;
    text-align: left;
}

.form-consent {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 12px;
    color: #b8b8bd;
    font-size: 13px;
    line-height: 1.45;
    cursor: pointer;
}

.form-consent__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.form-consent__box {
    position: relative;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border: 1px solid #777985;
    background: #111020;
    transition: border-color .2s ease, background-color .2s ease;
}

.form-consent__input:checked + .form-consent__box {
    border-color: #ed935f;
    background: #ed935f;
}

.form-consent__input:checked + .form-consent__box::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #111020;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-consent__input:focus + .form-consent__box {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.form-consent__input.error + .form-consent__box {
    border-color: #ef5b5b;
}

.form-consent__text a,
.footer-legal-links a,
.ts-cookie-banner a,
.legal-document a {
    color: #ed935f;
    text-decoration: underline;
}

.form-consent__error {
    position: absolute;
    top: 100%;
    left: 30px;
    display: block;
    color: #ef5b5b;
    font-size: 12px;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 14px;
    font-size: 13px;
}

.ts-cookie-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2147483000;
    width: calc(100% - 48px);
    max-width: 620px;
    padding: 22px;
    color: #fff;
    background: #15182b;
    border: 1px solid rgba(237, 147, 95, .65);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}

.ts-cookie-banner[hidden] {
    display: none;
}

.ts-cookie-banner__text {
    margin: 0 0 16px;
    color: #e5e5e7;
    font-size: 15px;
    line-height: 1.55;
}

.ts-cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ts-cookie-banner__button {
    min-width: 120px;
    padding: 11px 18px;
    color: #111020;
    background: #ed935f;
    border: 1px solid #ed935f;
    font: inherit;
    cursor: pointer;
}

.ts-cookie-banner__button_secondary {
    color: #fff;
    background: transparent;
}

.legal-document {
    padding: 0 0 80px;
    color: #e5e5e7;
}

.legal-document__content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 42px;
    background: #15182b;
}

.legal-document h1 {
    margin: 0 0 34px;
    color: #ed935f;
    font-size: 38px;
    line-height: 1.2;
}

.legal-document h2 {
    margin: 34px 0 16px;
    color: #fff;
    font-size: 25px;
    line-height: 1.3;
}

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

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

.legal-document ul {
    padding-left: 24px;
}

.legal-document__meta {
    color: #b8b8bd;
}

.legal-document__section_marketing {
    margin-top: 54px;
    padding-top: 12px;
    border-top: 2px solid #ed935f;
}

@media (max-width: 700px) {
    .ts-cookie-banner {
        right: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
        padding: 17px;
    }

    .ts-cookie-banner__actions,
    .ts-cookie-banner__button {
        width: 100%;
    }

    .legal-document {
        padding: 105px 10px 40px;
    }

    .legal-document__content {
        padding: 24px 18px;
    }

    .legal-document h1 {
        font-size: 29px;
    }

    .legal-document h2 {
        font-size: 22px;
    }
}
