/* Legal documents, consent controls and cookie notice */
.footer-full-screen footer.container {
    flex-wrap: wrap;
}

.footer-legal-docs {
    flex: 0 0 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 13px;
    line-height: 1.45;
}

.footer-legal-docs a {
    color: #7889ab !important;
    opacity: 1;
    text-decoration: none;
    transition: color .2s ease;
}

.footer-legal-docs a:hover {
    color: #a4b2ce !important;
}

.legal-consents {
    display: grid;
    gap: 10px;
    margin: 18px 0;
    text-align: left;
}

.legal-consent {
    position: relative;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: #555b63;
}

.legal-consent input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    border: 1px solid #aeb5bd;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

.legal-consent input[type="checkbox"]:checked {
    border-color: #4b5056;
    background-color: #4b5056;
    box-shadow: inset 0 0 0 4px #fff;
}

.legal-consent input[type="checkbox"]:focus {
    outline: 2px solid rgba(75, 80, 86, .18);
    outline-offset: 2px;
}

.legal-consent input[type="checkbox"].error {
    border-color: #b74040;
}

.legal-consent label {
    display: block;
    margin: 0;
    color: inherit;
    cursor: pointer;
}

.legal-consent a {
    color: #444a50;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-consent .errorreport {
    grid-column: 1 / -1;
    margin: 2px 0 0 28px;
    color: #a33333;
    font-size: 12px;
    line-height: 1.35;
}

.legal-consents__error {
    margin: 0 0 10px;
    color: #a33333;
    font-size: 13px;
    line-height: 1.4;
}

.figma-popup.pop_up.callback .legal-consents,
.figma-popup.pop_up.feedback .legal-consents {
    margin: 24px 0;
}

.legal-consents--order {
    box-sizing: border-box;
    margin: 4px 0 6px;
    padding: 16px 20px 8px;
    border-top: 1px solid #eceff2;
    gap: 12px;
}

.site-cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: min(calc(100% - 32px), 860px);
    padding: 24px 28px;
    transform: translateX(-50%);
    border: 1px solid #d9dde2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(0, 0, 0, .16);
    color: #34383d;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

.site-cookie-banner__content {
    min-width: 0;
}

.site-cookie-banner__title {
    margin: 0 0 7px;
    color: #25292d;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.site-cookie-banner__text {
    max-width: 780px;
}

.site-cookie-banner__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.45;
}

.site-cookie-banner__links a {
    color: #4b5157;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-cookie-banner__links a:hover {
    color: #25292d;
}

.site-cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.site-cookie-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #c8cdd3;
    border-radius: 6px;
    background: #fff;
    color: #34383d;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.site-cookie-button:hover {
    border-color: #969da5;
    background: #f4f5f6;
}

.site-cookie-button--ghost {
    border-color: transparent;
    background: transparent;
    color: #666d75;
}

.site-cookie-button--ghost:hover {
    border-color: transparent;
    background: #f4f5f6;
    color: #34383d;
}

.site-cookie-button--secondary {
    background: #f7f8f9;
}

.site-cookie-button--primary {
    border-color: #3f4449;
    background: #3f4449;
    color: #fff;
}

.site-cookie-button--primary:hover {
    border-color: #2e3236;
    background: #2e3236;
    color: #fff;
}

.legal-page {
    padding-top: 48px;
    padding-bottom: 72px;
    color: #262a2e;
}

.legal-page__head {
    max-width: 920px;
    margin-bottom: 42px;
}

.legal-page__eyebrow {
    margin: 0 0 12px;
    color: #747a81;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.legal-page__head h1 {
    margin: 0 0 18px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    font-weight: 500;
}

.legal-page__head > p:last-child {
    max-width: 760px;
    margin: 0;
    color: #666d75;
    font-size: 17px;
    line-height: 1.6;
}

.legal-page__content {
    max-width: 920px;
}

.legal-page__content section {
    padding: 28px 0;
    border-top: 1px solid #e0e3e6;
}

.legal-page__content h2 {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 500;
}

.legal-page__content h3 {
    margin: 20px 0 8px;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 500;
}

.legal-page__content p,
.legal-page__content li {
    font-size: 15px;
    line-height: 1.7;
    color: #4f555b;
}

.legal-page__content p {
    margin: 0 0 12px;
}

.legal-page__content ul {
    margin: 0 0 12px;
    padding-left: 22px;
}

.legal-page__content a {
    color: #34383d;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-page__updated {
    margin-top: 22px !important;
    color: #7b8187 !important;
    font-size: 13px !important;
}

@media (max-width: 767px) {
    .footer-legal-docs {
        flex-direction: column;
        gap: 8px;
        margin-top: 24px;
        padding-top: 18px;
    }

    .site-cookie-banner {
        bottom: 12px;
        gap: 16px;
        padding: 20px 16px 16px;
        font-size: 14px;
    }

    .site-cookie-banner__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .site-cookie-button {
        width: 100%;
    }

    .legal-page {
        padding-top: 30px;
        padding-bottom: 48px;
    }

    .legal-page__head {
        margin-bottom: 28px;
    }

    .legal-page__head > p:last-child {
        font-size: 15px;
    }

    .legal-page__content section {
        padding: 22px 0;
    }

    .legal-page__content h2 {
        font-size: 21px;
    }
}


.legal-consents--subscribe {
    margin: 12px 0 0;
}

.subscribe .legal-consent {
    color: #666d75;
}

@media (max-width: 767px) {
    .legal-consents--subscribe {
        margin-top: 14px;
    }
}
