/* Email first, one compact dialog for every enquiry action. */
html:has(#lead-popup[open]){overflow:hidden}
#lead-popup{box-sizing:border-box;width:min(520px,calc(100% - 32px));max-height:calc(100svh - 32px);margin:auto;padding:36px;border:1px solid #cdd8ec;border-radius:26px;background:radial-gradient(ellipse at 100% 0,#e4efff,transparent 60%),#fff;color:#141923;box-shadow:0 30px 110px #050d2540;font:350 16px/1.6 Inter,sans-serif;overflow-y:auto;overscroll-behavior:contain}
#lead-popup::backdrop{background:#070c1bb3;backdrop-filter:blur(7px)}
#lead-popup[open]{animation:lead-enter .28s ease-out}
@keyframes lead-enter{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
#lead-popup .lead-close{position:absolute;right:16px;top:16px;width:44px;height:44px;display:grid;place-items:center;border:1px solid #cdd8ec;border-radius:50%;background:#ffffff90;color:#283754;cursor:pointer}
#lead-popup .lead-close svg{width:18px;height:18px}
#lead-popup .lead-step{font-size:14px;color:#2458f5;margin:0 48px 14px 0}
#lead-popup h2{font:400 clamp(27px,5vw,34px)/1.18 Inter,sans-serif;letter-spacing:-.04em;margin:0 28px 14px 0;color:#111722}
#lead-popup .lead-intro{margin:0 0 25px;color:#5d687b;font-size:16px;line-height:1.6}
#lead-popup .lead-field{display:block;margin-bottom:18px;font-size:14px;color:#374459;line-height:1.5}
#lead-popup .lead-field :is(input,textarea,select){display:block;box-sizing:border-box;width:100%;min-height:50px;padding:12px 14px;margin-top:8px;border:1px solid #c6d1e2;border-radius:12px;background:#fff;color:#172239;font:350 16px/1.5 Inter,sans-serif}
#lead-popup textarea{resize:vertical;min-height:105px!important}
#lead-popup .lead-consent{display:grid;grid-template-columns:22px minmax(0,1fr);gap:11px;align-items:start;margin:22px 0;font-size:14px;line-height:1.6;color:#566278;cursor:pointer}
#lead-popup input{font:inherit}
#lead-popup .lead-consent input{width:22px;height:22px;margin:2px 0 0;accent-color:#2458f5;cursor:pointer}
#lead-popup a{color:#2458f5;text-decoration:underline;text-underline-offset:3px}
#lead-popup .lead-submit{display:flex;justify-content:center;align-items:center;gap:20px;width:100%;min-height:54px;border:0;border-radius:999px;padding:14px 20px;background:#2458f5;color:#fff;font:400 16px/1.4 Inter,sans-serif;cursor:pointer;transition:background .2s}
#lead-popup .lead-submit:hover{background:#1948d4}
#lead-popup .lead-submit:disabled{opacity:.65;cursor:wait}
#lead-popup :is(button,input,textarea,select,a):focus-visible{outline:2px solid #2458f5;outline-offset:4px}
#lead-popup .lead-status{font-size:14px;line-height:1.6;color:#9d2539;margin:16px 0 0}
#lead-popup .lead-status:empty{display:none}
#lead-popup .lead-preview{font-size:14px;line-height:1.5;color:#675012;background:#fff5d7;padding:12px 14px;border-radius:10px;margin:0 0 20px}
#lead-popup .lead-skip{display:block;margin:16px auto 0;border:0;padding:10px 14px;background:transparent;color:#566278;text-decoration:underline;text-underline-offset:4px;font:350 14px/1.5 Inter,sans-serif;cursor:pointer}
#lead-popup [hidden]{display:none!important}
#lead-popup .lead-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
@media(max-width:600px){#lead-popup{padding:28px 22px;border-radius:22px;width:calc(100% - 24px);max-height:calc(100svh - 24px)}#lead-popup h2{font-size:28px}.lead-close{right:12px;top:12px}}
@media(prefers-reduced-motion:reduce){#lead-popup[open]{animation:none}}
/* Reveal optional fields in the same form after email + consent. */
#lead-popup .lead-details{border-top:1px solid #d9e2ee;padding-top:20px;animation:lead-fields-in .35s ease-out}
#lead-popup .lead-details-hint{font-size:14px;line-height:1.6;color:#5d687b;margin:0 0 20px}
#lead-popup .lead-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@keyframes lead-fields-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){#lead-popup .lead-details{animation:none}}

#lead-popup .lead-capture-status{font-size:14px;line-height:1.6;color:#465b7a;margin:0 0 20px}
#lead-popup .lead-capture-status:empty{display:none}
