.ipdl-home-signup {
    position: fixed;
    z-index: 100;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    box-sizing: border-box;
    width: min(416px, calc(100% - 40px));
    max-height: calc(100dvh - 40px);
    overflow: auto;
    margin: 0;
    padding: 23px;
    border-radius: 15px;
    background: #183654;
    color: #fff;
    box-shadow: 0 8px 26px #122e4738;
    font-size: 14px;
    line-height: 1.5;
}

.ipdl-home-signup[hidden],
.ipdl-home-signup [hidden],
.ipdl-home-signup .ipdl-home-message:empty {
    display: none !important;
}

.ipdl-home-signup h2 {
    margin: 0 34px 9px 0;
    color: #fff;
    font-size: 22px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -.025em;
    text-transform: none;
}

.ipdl-home-signup p {
    margin: 0 0 14px;
    color: #e9f0f5;
    font-size: 14px;
    line-height: 1.55;
}

.ipdl-home-signup .ipdl-home-close {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font: 24px/1 system-ui, sans-serif;
    box-shadow: none;
}

.ipdl-home-signup .ipdl-home-close:hover {
    background: #ffffff24;
}

.ipdl-home-signup form label {
    display: block;
    margin: 0 0 5px;
    color: #fff;
    font-size: 13px;
    font-weight: 650;
}

.ipdl-home-signup .ipdl-home-fields {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.ipdl-home-signup input[type="email"] {
    flex: 1;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 8px 11px;
    border: 1px solid #eaeaea;
    border-radius: 7px;
    background: #fff;
    color: #183654;
    font: inherit;
    font-size: 16px;
    box-shadow: none;
}

.ipdl-home-signup input::placeholder {
    color: #51687b;
    opacity: 1;
}

.ipdl-home-signup .ipdl-home-submit {
    flex: none;
    min-height: 44px;
    margin: 0;
    padding: 8px 13px;
    border: 0;
    border-radius: 7px;
    background: #fdc52c;
    color: #183654;
    font: inherit;
    font-weight: 750;
    letter-spacing: normal;
    text-transform: none;
    box-shadow: none;
}

.ipdl-home-signup .ipdl-home-submit:hover {
    background: #ffdb65;
}

.ipdl-home-signup .ipdl-home-submit:disabled {
    opacity: .75;
    cursor: wait;
}

.ipdl-home-signup :is(a, button, input):focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.ipdl-home-signup .ipdl-home-message,
.ipdl-home-signup .ipdl-home-privacy {
    margin: 10px 0 0;
}

.ipdl-home-signup .ipdl-home-privacy {
    font-size: 12px;
}

.ipdl-home-signup .ipdl-home-privacy a {
    margin-left: 4px;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 480px) {
    .ipdl-home-signup {
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        width: min(416px, calc(100% - 24px));
        padding: 18px;
    }

    .ipdl-home-signup .ipdl-home-fields {
        flex-direction: column;
    }
}
