.qd-signup-gate[hidden] {
    display: none !important;
}

.qd-launch-page { max-width: 42rem; margin: 3rem auto; padding: 1.25rem; font: 1rem/1.6 system-ui,sans-serif; color: #1a2940; }
[data-launch-alert-form] { margin-top: 1.25rem; }
[data-launch-alert-form] label { display: block; font-weight: 600; margin: .8rem 0; }
[data-launch-alert-form] input[type="email"] { display: block; box-sizing: border-box; width: 100%; min-height: 46px; margin-top: .3rem; padding: .6rem; border: 1px solid #64748b; border-radius: 4px; font-size: 1rem; }
[data-launch-alert-form] .qd-launch-consent { display: flex; align-items: flex-start; gap: .7rem; font-weight: 400; }
.qd-launch-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: .2rem; }
[data-launch-alert-form] .qd-launch-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.qd-launch-identity { font-size: .85rem; overflow-wrap: anywhere; }
.qd-launch-status { min-height: 1.5em; }
.qd-signup-gate__action:disabled { opacity: .65; cursor: not-allowed; }
[data-launch-alert-form] :focus-visible { outline: 3px solid #1a56a0; outline-offset: 3px; }
.qd-signup-gate__action--primary { background: #a94605; border-color: #a94605; color: #fff; }

body.qd-signup-gate-open {
    overflow: hidden;
}

.qd-signup-gate {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.qd-signup-gate__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 29, 54, 0.76);
    backdrop-filter: blur(3px);
}

.qd-signup-gate__dialog {
    position: relative;
    width: min(100%, 580px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #ffffff;
    color: #1a2940;
    border: 1px solid #dbe4ee;
    border-top: 6px solid #f27a1a;
    border-radius: 8px;
    box-shadow: 0 26px 70px rgba(7, 29, 54, 0.32);
    padding: 34px;
}

.qd-signup-gate__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.qd-signup-gate__close:hover,
.qd-signup-gate__close:focus-visible {
    color: #0f3460;
    background: #f1f5f9;
    outline: 2px solid #1a56a0;
    outline-offset: 1px;
}

.qd-signup-gate__eyebrow {
    margin: 0 48px 8px 0;
    color: #c85f12;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.qd-signup-gate__title {
    margin: 0;
    color: #0f3460;
    font-size: clamp(1.65rem, 5vw, 2.15rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
}

.qd-signup-gate__lead {
    margin: 16px 0 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

.qd-signup-gate__offer {
    margin: 22px 0;
    padding: 4px 0 4px 18px;
    border-left: 4px solid #16a085;
}

.qd-signup-gate__offer strong {
    display: block;
    margin-bottom: 5px;
    color: #0f3460;
    font-size: 1.05rem;
}

.qd-signup-gate__offer span {
    display: block;
    color: #334155;
    line-height: 1.55;
}

.qd-signup-gate__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.qd-signup-gate__action {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 2px solid #1a56a0;
    border-radius: 6px;
    font-weight: 750;
    text-decoration: none;
    text-align: center;
}

.qd-signup-gate__action--primary {
    background: #f27a1a;
    border-color: #f27a1a;
    color: #ffffff;
}

.qd-signup-gate__action--primary:hover,
.qd-signup-gate__action--primary:focus-visible {
    background: #d86512;
    border-color: #d86512;
    color: #ffffff;
}

.qd-signup-gate__action--secondary {
    background: #ffffff;
    color: #1a56a0;
}

.qd-signup-gate__action--secondary:hover,
.qd-signup-gate__action--secondary:focus-visible {
    background: #eef5fc;
    color: #0f3460;
}

.qd-signup-gate__footnote {
    margin: 18px 0 0;
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.45;
}

@media (max-width: 575px) {
    .qd-signup-gate {
        align-items: end;
        padding: 12px;
    }

    .qd-signup-gate__dialog {
        width: 100%;
        max-height: calc(100vh - 24px);
        padding: 28px 20px 22px;
    }

    .qd-signup-gate__actions,
    .qd-signup-gate__action {
        width: 100%;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .qd-signup-gate:not([hidden]) .qd-signup-gate__dialog {
        animation: qd-signup-gate-in 180ms ease-out;
    }

    @keyframes qd-signup-gate-in {
        from { opacity: 0; transform: translateY(12px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

.qd-signup-gate .qd-signup-gate__action--primary { background: #a94605; border-color: #a94605; color: #fff; }
