body.lead-form-open { overflow: hidden; }
#lead-capture {
  width: min(460px, calc(100vw - 32px));
  max-width: 460px;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid #d7e5db;
  border-radius: 22px;
  background: #fff;
  color: #14231e;
  overflow: auto;
  box-shadow: 0 28px 90px #001b1340;
}
#lead-capture::backdrop { background: #001b13b8; backdrop-filter: blur(4px); }
.lead-card { position: relative; padding: 32px; }
.lead-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f0f6f1;
  color: #264535;
  font-size: 25px;
  cursor: pointer;
}
#lead-title { margin: 12px 0 10px; font-size: 32px; letter-spacing: -.04em; }
#lead-intro { color: #506157; line-height: 1.5; font-size: 15px; }
#lead-form { display: flex; flex-direction: column; margin-top: 24px; text-align: left; }
#lead-form label { margin-bottom: 7px; font-size: 14px; font-weight: 750; }
#lead-form input {
  width: 100%;
  min-width: 0;
  margin: 0 0 17px;
  padding: 13px 14px;
  border: 1px solid #c5d6ca;
  border-radius: 10px;
  background: #fbfdfb;
  color: #14231e;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}
#lead-form input::placeholder { color: #7b8b81; }
#lead-form input:focus { outline: 3px solid #00684724; border-color: #006847; }
#lead-form input[type=tel] { margin-bottom: 7px; }
.lead-help { color: #506157; font-size: 12px; line-height: 1.5; }
.lead-error { margin-top: 14px; color: #a02929; font-size: 14px; line-height: 1.45; }
#lead-submit { width: 100%; margin-top: 22px; padding: 16px 10px; font-size: 14px; }
#lead-submit:disabled { cursor: wait; opacity: .7; transform: none; }
.lead-privacy { margin-top: 15px; color: #63736a; font-size: 11px; line-height: 1.6; }
.lead-close:focus-visible, #lead-submit:focus-visible { outline: 3px solid #8cceac; outline-offset: 3px; }
@media (max-width: 480px) {
  .lead-card { padding: 28px 22px; }
  #lead-title { font-size: 29px; }
}
