/* P1 R12: hard browser acceptance overrides.
 * Loaded last on the EN/ES home pages so the signup card cannot inherit a
 * generic section sizing/stretch rule and ordinary inline errors cannot make
 * the browser choose the card as a scroll anchor.
 */

.hero-v4 > .capture-stage,
.hero-v4 > section.capture-stage,
main section.capture-stage {
  display: block !important;
  box-sizing: border-box !important;
  width: min(760px, 100%) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  block-size: auto !important;
  min-block-size: 0 !important;
  max-block-size: none !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  margin-bottom: 0 !important;
  padding-bottom: 18px !important;
  overflow-anchor: none !important;
}

.hero-v4 > .capture-stage .waitlist-form,
.hero-v4 > .capture-stage .turnstile-slot,
.hero-v4 > .capture-stage .form-status,
.hero-v4 > .capture-stage .capture-trust {
  overflow-anchor: none !important;
}

.hero-v4 > .capture-stage .capture-trust {
  margin-top: 9px !important;
  margin-bottom: 0 !important;
  padding-top: 9px !important;
  padding-bottom: 0 !important;
}

.hero-v4 > .capture-stage .form-status[data-state="error"],
.hero-v4 > .capture-stage .form-status[data-state="success"] {
  margin-bottom: 0 !important;
}

@media (max-width: 680px) {
  .hero-v4 > .capture-stage,
  .hero-v4 > section.capture-stage,
  main section.capture-stage {
    padding-bottom: 16px !important;
  }

  .hero-v4 > .capture-stage .capture-trust {
    margin-top: 8px !important;
    padding-top: 8px !important;
  }
}
