/* Native modal focus/inert handling, with a scrollable form on small phones. */
.contact-popup-toolbar{position:sticky;top:0;height:0;z-index:2}.contact-popup-errors{white-space:pre-line}
.contact-popup{width:min(620px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:0;margin:auto;border:1px solid #dfe7d8;border-radius:22px;color:var(--ink);background:#fff;box-shadow:0 30px 100px #173e352b;overflow-y:auto}
.contact-popup::backdrop{background:#142c24a6;backdrop-filter:blur(4px)}.contact-popup-content{position:relative;padding:34px}.contact-popup h2{font-size:29px;letter-spacing:-1px;line-height:1.2;margin:12px 35px 12px 0}.contact-popup #contact-popup-intro{color:var(--muted);font-size:14px;line-height:1.6;margin-bottom:25px}.contact-popup .eyebrow{padding-right:38px}
.contact-popup-close{position:absolute;top:18px;right:18px;display:grid;place-items:center;width:40px;height:40px;border:1px solid #e0e7da;border-radius:12px;background:#f5f7f1;color:#294f40}.contact-popup-close:hover{background:#e6eddb}
.contact-popup .form-grid{gap:18px}.contact-popup .field label{font-size:12px}.contact-popup .field small{display:none}.contact-popup .checkbox-field{grid-column:1/-1;display:flex;align-items:flex-start;gap:10px}.contact-popup .checkbox-field input{order:-1;flex:0 0 18px;width:18px;height:18px;margin:2px 0 0}.contact-popup .checkbox-field label{line-height:1.5;margin:0}.contact-popup .full-button{margin-top:22px;min-height:48px;border-radius:12px}.contact-popup-note{display:block;color:var(--muted);font-size:11px;line-height:1.6;margin-top:15px}.contact-popup-errors{color:#a34d3f;background:#fff3ef;border:1px solid #f3d4c9;border-radius:10px;padding:12px;margin-top:18px;font-size:12px;line-height:1.6}.contact-popup-result{background:#edf4e4;border:1px solid #c9dcb5;padding:20px;border-radius:14px;line-height:1.7}.contact-popup [hidden]{display:none!important}html.contact-popup-open{overflow:hidden}
@media(max-width:640px){.contact-popup{width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:18px}.contact-popup-content{padding:26px 20px}.contact-popup h2{font-size:25px}.contact-popup .form-grid{grid-template-columns:1fr;gap:15px}.contact-popup-close{top:14px;right:14px}.contact-popup .field input,.contact-popup .field select,.contact-popup .field textarea{font-size:16px}}
