.email-gate-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.email-gate-modal__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(17, 17, 17, 0.72);
    pointer-events: none;
}

.email-gate-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 28rem);
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.2);
    padding: 2rem;
}

.email-gate-modal__title {
    margin: 0 0 1.25rem;
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    color: #111;
}

.email-gate-modal__label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.email-gate-modal__input {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0.75rem;
    padding: 0.75rem 0.875rem;
    border: 1px solid #c9c9c9;
    border-radius: 0.375rem;
    font-size: 1rem;
}

.email-gate-modal__input:focus {
    outline: 2px solid #111;
    outline-offset: 1px;
}

.email-gate-modal__error {
    margin: 0 0 0.75rem;
    color: #b42318;
    font-size: 0.9rem;
}

.email-gate-modal__submit {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 0.875rem 1rem;
    background: #111;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.email-gate-modal__submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

.email-gate-modal__thank-you {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.email-gate-placeholder {
    min-height: 40vh;
}

.email-gate-backdrop {
    position: relative;
    z-index: 0;
    width: 100%;
    min-height: 70vh;
    pointer-events: none;
}

.email-gate-backdrop,
.email-gate-backdrop * {
    pointer-events: none;
}

body.email-gate-locked {
    overflow: hidden;
}

body.email-gate-has-backdrop .email-gate-modal__backdrop {
    background: rgba(17, 17, 17, 0.35);
}
