dialog.endo-app-launch-modal[open] {
    position: fixed;
    inset: 50% auto auto 50%;
    width: min(calc(100% - 32px), 560px);
    max-height: calc(100dvh - 32px);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 30px;
    background: transparent;
    box-shadow:
        0 30px 90px rgba(0, 0, 0, .22);
    overflow: visible;
    transform: translate(-50%, -50%);
}

.endo-app-launch-modal::backdrop {
    background: rgba(0, 0, 0, .42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.endo-app-launch-modal__content {
    position: relative;
    padding: 46px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #fff;
    text-align: center;
}

.endo-app-launch-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--soft);
    color: var(--text);
    cursor: pointer;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.endo-app-launch-modal__close .material-symbols-outlined {
    font-size: 18px;
}

.endo-app-launch-modal__icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(0, 61, 196, .08);
    color: var(--blue);
    font-size: 25px;
}

.endo-app-launch-modal__title {
    margin: 24px 0 0;
    color: var(--text);
    font-size: clamp(1.75rem, 5vw, 2.1rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.045em;
}

.endo-app-launch-modal__description {
    max-width: 390px;
    margin: 16px auto 0;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.6;
}

.endo-app-launch-modal__form {
    width: min(100%, 430px);
    margin: 20px auto 0;
    text-align: left;
}

.endo-app-launch-modal__form form,
.endo-app-launch-modal__form .mailpoet_form,
.endo-app-launch-modal__form .mailpoet_form_columns,
.endo-app-launch-modal__form .mailpoet_form_column {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.endo-app-launch-modal__form .mailpoet_form_columns {
    display: block !important;
}

.endo-app-launch-modal__form .mailpoet_form_column {
    display: block !important;
    flex: none !important;
}

.endo-app-launch-modal__form .mailpoet_paragraph {
    width: 100% !important;
    margin: 0 0 10px !important;
}

.endo-app-launch-modal__form label {
    display: block;
    margin: 0 0 7px;
    color: var(--text);
    font-size: .78rem;
    font-weight: 600;
}

.endo-app-launch-modal__form input[type="email"],
.endo-app-launch-modal__form input[type="text"] {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 52px;
    min-height: 52px;
    margin: 0 !important;
    padding: 0 17px;
    border: 1px solid rgba(0, 0, 0, .14);
    border-radius: 12px;
    outline: 0;
    background: var(--soft);
    color: var(--text);
    font: inherit;
    font-size: .9rem;
    box-sizing: border-box;
    box-shadow: none;
    transition:
        border-color .2s ease,
        background-color .2s ease,
        box-shadow .2s ease;
}

.endo-app-launch-modal__form input[type="email"]::placeholder,
.endo-app-launch-modal__form input[type="text"]::placeholder {
    color: var(--muted);
    opacity: .75;
}

.endo-app-launch-modal__form input[type="email"]:focus,
.endo-app-launch-modal__form input[type="text"]:focus {
    border-color: rgba(0, 61, 196, .45);
    background: #fff;
    box-shadow:
        0 0 0 4px rgba(0, 61, 196, .08);
}

.endo-app-launch-modal__form input[type="submit"],
.endo-app-launch-modal__form button[type="submit"] {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 52px;
    min-height: 52px;
    margin: 0 !important;
    padding: 0 22px;
    border: 0;
    border-radius: 12px;
    background: var(--blue);
    color: #fff;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: none;
    transition:
        background-color .25s ease,
        transform .25s ease;
}

.endo-app-launch-modal__form input[type="submit"]:focus-visible,
.endo-app-launch-modal__form button[type="submit"]:focus-visible {
    outline: 3px solid rgba(0, 61, 196, .2);
    outline-offset: 3px;
}

.endo-app-launch-modal__form .mailpoet_message {
    width: 100%;
    margin-top: 8px;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.45;
    text-align: left;
}

.endo-app-launch-modal__form .mailpoet_validate_success {
    color: #16794b;
}

.endo-app-launch-modal__form .mailpoet_validate_error {
    color: #b42318;
}

.endo-app-launch-modal__form .mailpoet_form_column+.mailpoet_form_column {
    margin-top: 10px !important;
}

@media (hover: hover) {
    .endo-app-launch-modal__close:hover {
        border-color: var(--blue);
        background: var(--blue);
        color: #fff;
        transform: rotate(4deg);
    }

    .endo-app-launch-modal__form input[type="submit"]:hover,
    .endo-app-launch-modal__form button[type="submit"]:hover {
        background: var(--pink);
        transform: translateY(-2px);
    }
}

@media (max-width: 600px) {
    .endo-app-launch-modal {
        width: min(calc(100% - 24px), 560px);
    }

    .endo-app-launch-modal__content {
        padding: 42px 22px 28px;
    }

    .endo-app-launch-modal__form {
        margin-top: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .endo-app-launch-modal__close,
    .endo-app-launch-modal__form input,
    .endo-app-launch-modal__form button {
        transition: none;
    }
}