.htf-exit-offer {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: inherit;
}

.htf-exit-offer[hidden] {
    display: none !important;
}

.htf-exit-offer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 19, 34, 0.62);
    backdrop-filter: blur(4px);
}

.htf-exit-offer__dialog {
    position: relative;
    display: grid;
    grid-template-columns: 156px minmax(0, 1fr);
    gap: 24px;
    width: min(680px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 28px;
    color: #132033;
    background: #ffffff;
    border: 1px solid rgba(20, 39, 63, 0.12);
    border-radius: 8px;
    box-shadow: 0 26px 70px rgba(8, 19, 34, 0.32);
    outline: none;
}

.htf-exit-offer__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #5c6b7c;
    background: #eef3f8;
    font-size: 26px;
    line-height: 34px;
    cursor: pointer;
}

.htf-exit-offer__close:hover,
.htf-exit-offer__close:focus {
    color: #0f2036;
    background: #dfe9f2;
}

.htf-exit-offer__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 156px;
    padding: 20px;
    background: #f4f8fb;
    border: 1px solid #e1eaf2;
    border-radius: 8px;
}

.htf-exit-offer__media img {
    display: block;
    width: 100%;
    max-width: 118px;
    height: auto;
}

.htf-exit-offer__content {
    min-width: 0;
    padding-right: 24px;
}

.htf-exit-offer__eyebrow {
    margin: 0 0 8px;
    color: #0f7f75;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.htf-exit-offer h2 {
    margin: 0 0 12px;
    color: #102036;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: 0;
}

.htf-exit-offer__content p {
    font-size: 16px;
    line-height: 1.55;
}

.htf-exit-offer__content #htf-exit-offer-copy {
    margin: 0 0 20px;
    color: #48596c;
}

.htf-exit-offer__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.htf-exit-offer__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    color: #ffffff !important;
    background: #137f73;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 10px 22px rgba(19, 127, 115, 0.24);
}

.htf-exit-offer__button:hover,
.htf-exit-offer__button:focus {
    color: #ffffff !important;
    background: #0e6e64;
}

.htf-exit-offer__link {
    color: #0f5fbc !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
}

.htf-exit-offer__link:hover,
.htf-exit-offer__link:focus {
    text-decoration: underline !important;
}

.htf-exit-offer__fineprint {
    margin: 16px 0 0;
    color: #768497;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

body.htf-exit-offer-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .htf-exit-offer {
        padding: 16px;
    }

    .htf-exit-offer__dialog {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px 20px;
    }

    .htf-exit-offer__media {
        min-height: 112px;
    }

    .htf-exit-offer__media img {
        max-width: 96px;
    }

    .htf-exit-offer__content {
        padding-right: 0;
    }

    .htf-exit-offer h2 {
        font-size: 24px;
    }

    .htf-exit-offer__actions {
        align-items: stretch;
        flex-direction: column;
    }
}
