html.is-page-leaving body {
  opacity: 0;
  animation: none;
  transition: opacity 0.18s ease;
}

.is-lp-form-sending {
  overflow: hidden;
}

.lp-form-sending-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  min-width: 320px;
  padding: 32px;
  background:
    radial-gradient(circle at 12% 12%, rgba(26, 104, 233, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 48%, #ffffff 100%);
  color: #111827;
}

.lp-form-sending-screen[hidden] {
  display: none;
}

.lp-form-sending-panel {
  display: grid;
  gap: 22px;
  width: min(100%, 720px);
  min-height: 360px;
  align-content: center;
  padding: 52px;
  border: 1px solid rgba(221, 229, 239, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.09);
}

.lp-form-sending-eyebrow {
  margin: 0;
  color: #1A68E9;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.lp-form-sending-panel h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0;
}

.lp-form-sending-panel p:not(.lp-form-sending-eyebrow) {
  margin: 0;
  color: #596273;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
}

.lp-form-sending-loader {
  position: relative;
  display: block;
  width: min(100%, 360px);
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3e7ef;
}

.lp-form-sending-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 42%;
  border-radius: inherit;
  background: #1A68E9;
  animation: lpFormSendingLoader 1.4s ease-in-out infinite;
}

@keyframes lpFormSendingLoader {
  0% {
    transform: translateX(-105%);
  }

  55% {
    transform: translateX(78%);
  }

  100% {
    transform: translateX(245%);
  }
}

@media (max-width: 767px) {
  .lp-form-sending-screen {
    padding: 16px;
  }

  .lp-form-sending-panel {
    min-height: 300px;
    padding: 32px 22px;
  }

  .lp-form-sending-panel h2 {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.is-page-leaving body {
    opacity: 1;
    transition: none;
  }
}
