html.lead-popup-open { overflow: hidden; }
.lead-popup { width: min(520px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--popup-radius, 24px); background: var(--popup-bg, #fff); color: var(--popup-ink, #111); box-shadow: 0 30px 90px rgba(0, 0, 0, .45); overflow: auto; }
.lead-popup::backdrop { background: var(--popup-backdrop, rgba(10, 8, 5, .66)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lead-popup[open] { animation: lead-popup-in .55s cubic-bezier(.2, .8, .2, 1); }
.lead-popup[open]::backdrop { animation: lead-popup-fade .45s ease-out; }
@keyframes lead-popup-in { from { opacity: 0; transform: translateY(26px) scale(.97); } }
@keyframes lead-popup-fade { from { opacity: 0; } }
.lead-popup__card { position: relative; display: grid; gap: 10px; padding: clamp(24px, 5vw, 36px); }
.lead-popup__card h2 { margin: 0; padding-right: 40px; font-size: clamp(30px, 5vw, 42px); line-height: 1.04; color: inherit; }
.lead-popup__offer { margin: 0 0 8px; font-size: 17px; line-height: 1.45; opacity: .78; }
.lead-popup__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--popup-soft, rgba(0, 0, 0, .07)); color: inherit; cursor: pointer; }
.lead-popup .lead-form { display: grid; gap: 14px; }
.lead-popup .lead-form__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.lead-popup .lead-form__group legend { margin-bottom: 10px; padding: 0; font-size: 16px; font-weight: 600; }
.lead-popup .lead-form__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lead-popup .lead-form__chip { position: relative; cursor: pointer; }
.lead-popup .lead-form__chip-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.lead-popup .lead-form__chip-text { display: block; padding: 10px 15px; border-radius: 999px; background: var(--popup-soft, rgba(0, 0, 0, .07)); font-size: 15px; font-weight: 500; transition: background .25s, color .25s; }
.lead-popup .lead-form__chip-input:checked + .lead-form__chip-text { background: var(--popup-accent, #111); color: var(--popup-accent-ink, #fff); }
.lead-popup .lead-form__chip-input:focus-visible + .lead-form__chip-text { outline: 2px solid var(--popup-accent, #111); outline-offset: 2px; }
.lead-popup .lead-form__error { display: none; margin: 8px 0 0; font-size: 15px; color: var(--popup-error, #b3261e); }
.lead-popup .is-invalid .lead-form__error { display: block; }
.lead-popup .lead-form__field { display: grid; gap: 5px; }
.lead-popup .lead-form__label { font-size: 15px; font-weight: 500; }
.lead-popup .lead-form__field input { width: 100%; padding: 14px 16px; border: 1px solid var(--popup-line, rgba(0, 0, 0, .18)); border-radius: 14px; background: var(--popup-field, #fff); color: inherit; font: inherit; font-size: 17px; }
.lead-popup .lead-form__field input:focus { outline: 2px solid var(--popup-accent, #111); outline-offset: 1px; border-color: transparent; }
.lead-popup .lead-form__submit { margin-top: 6px; padding: 16px 24px; border: 0; border-radius: 999px; background: var(--popup-accent, #111); color: var(--popup-accent-ink, #fff); font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; }
.lead-popup .lead-form__submit.is-loading { opacity: .65; }
.lead-popup__fine { margin: 2px 0 0; font-size: 15px; line-height: 1.4; opacity: .78; }
.lead-form__ref { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) {
  .lead-popup { width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: var(--popup-radius, 24px) var(--popup-radius, 24px) 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lead-popup[open], .lead-popup[open]::backdrop { animation: none; }
}
