/* A quiet, dismissible invitation. Never dims the page or traps keyboard focus. */
.lead-capture[hidden], .lead-capture [hidden], .lead-reopen[hidden] { display: none !important; }
.lead-reopen {
  position: fixed; right: 20px; bottom: 20px; z-index: 20;
  max-width: calc(100vw - 32px); min-height: 44px; padding: 11px 18px;
  border: 1px solid #8dc7df; border-radius: 999px; background: #eaf7fd; color: #125b7b;
  box-shadow: 0 4px 18px #12333f24; font: inherit; font-weight: 700;
  white-space: normal; overflow-wrap: anywhere; cursor: pointer;
}
.lead-reopen:focus-visible { outline: 3px solid #147cab; outline-offset: 3px; }
.lead-capture {
  position: fixed; right: 20px; bottom: 20px; z-index: 20;
  width: min(360px, calc(100vw - 32px)); max-height: min(620px, 78dvh); overflow-y: auto;
  padding: 24px; box-sizing: border-box; border: 1px solid #8dc7df; border-radius: 20px;
  background: linear-gradient(145deg, #fff 45%, #eaf7fd); color: #12333f;
  box-shadow: 0 12px 42px #12333f24; font-family: inherit;
}
.lead-capture h2 { margin: 0 32px 8px 0; font-size: 1.4rem; line-height: 1.25; }
.lead-capture p { margin: 8px 0 14px; line-height: 1.45; }
.lead-capture label { display: grid; gap: 5px; margin: 10px 0; font-weight: 600; }
.lead-capture input { width: 100%; box-sizing: border-box; min-height: 44px; font: inherit; padding: 10px 12px; border: 1px solid #7897a5; border-radius: 8px; background: #fff; color: #12333f; }
.lead-capture button { min-height: 44px; font: inherit; cursor: pointer; }
.lead-capture [type="submit"] { width: 100%; padding: 12px; border: 0; border-radius: 10px; background: #125b7b; color: white; font-weight: 700; }
.lead-capture [type="submit"]:disabled { opacity: .65; cursor: wait; }
.lead-capture [data-dismiss-lead] { position: absolute; right: 10px; top: 10px; width: 44px; border: 0; background: transparent; color: #125b7b; font-size: 1.3rem; }
.lead-capture :focus-visible { outline: 3px solid #147cab; outline-offset: 3px; }
.lead-capture .lead-notice, .lead-capture .lead-privacy { font-size: .83rem; line-height: 1.5; }
.lead-capture a { color: #125b7b; text-decoration: underline; }
.lead-capture .lead-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-capture [role="status"] { margin-bottom: 0; }
@media (max-width: 540px) {
  .lead-capture, .lead-reopen { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
  .lead-capture { padding: 20px; }
}
