/* Only the hero form and its interaction with the existing mobile dock. */
.hero-lead-form {
  scroll-margin-top: 24px;
  text-align: left;
  min-width: 0;
}
.hero-lead-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 13px;
}
.hero-lead-field { position: relative; min-width: 0; }
.hero-lead-field--full { grid-column: 1 / -1; }
/* Keep accessible field names without displaying label text. */
.hero-lead-field label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.hero-lead-field input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 12px;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid #aab6ab;
  border-radius: 7px;
  background: #fff;
  color: var(--color-forest);
  font: 400 16px / 1.3 Manrope, sans-serif;
}
.hero-lead-field input::placeholder { color: #64706a; opacity: .95; }
.hero-lead-field input:focus {
  /* One border, with padding compensation to keep text and field size stable. */
  border: 2px solid #527062;
  padding: 11px;
  outline: none;
  box-shadow: none;
}
.hero-lead-form:focus-visible {
  outline: 2px solid var(--color-forest);
  outline-offset: 3px;
}
.hero-lead-status {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-muted);
}
.hero-lead-form .hero-inclusions {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 18px;
  font-weight: 600;
}
.hero-lead-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hero-lead-submit { font-family: inherit; cursor: pointer; }
.hero-lead-submit:disabled { cursor: wait; opacity: .72; }
.hero-lead-status { margin: 10px 0 0; text-align: center; overflow-wrap: anywhere; }
.hero-lead-status[data-error="true"] { color: #a52f1c; }
@media (forced-colors: active) {
  .hero-lead-field input:focus { border-color: Highlight; }
}
@media (max-width: 767px) {
  /* Focus, rather than a scroll observer, prevents a flashing dock or a covered keyboard. */
  body.hero-form-active .mobile-cta-dock { visibility: hidden; }
}
