/* Small additions on top of the Unbounce page styles. */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.lead-error { color: #b00020; font: 14px/1.4 Roboto, Arial, sans-serif; margin-top: 8px; }
#lead-form button[disabled] { opacity: .6; cursor: wait; }
.thanks-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 16px; }
.thanks-box { background: #fff; max-width: 370px; width: 100%; padding: 48px 32px; text-align: center; border-radius: 6px; font-family: Roboto, Arial, sans-serif; box-shadow: 0 10px 40px rgba(0,0,0,.3); position: relative; }
.thanks-box h2 { color: #2369b3; font-size: 28px; margin: 0 0 14px; }
.thanks-box p { color: #333; font-size: 16px; line-height: 1.5; margin: 0; }
.thanks-box button { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 26px; cursor: pointer; color: #666; }

/* Background videos: Unbounce sized these with JavaScript; this does the same "cover" fit in CSS. */
.lp-pom-video-background { position: absolute; inset: 0; overflow: hidden; container-type: size; }
.lp-pom-video-background iframe,
.lp-pom-video-background .lp-pom-video-background-image {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw);
  border: 0; pointer-events: none;
}
.lp-pom-video-background .lp-pom-video-background-image { background-size: cover; background-position: center; }
