.lead-capture {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7.5rem) clamp(1rem, 4vw, 2.5rem);
}

.lead-capture__head {
  width: min(100%, 760px);
  margin: 0 auto clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
}

.lead-capture__eyebrow {
  margin-bottom: 0.7rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead-capture__head h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.12;
}

.lead-capture__head p:last-child {
  max-width: 650px;
  margin: 1rem auto 0;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.7;
}

.lead-capture__embed {
  position: relative;
  width: min(100%, 1060px);
  min-height: 1100px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--glass-stroke);
  border-radius: 32px;
  background: #14161d;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.2);
}

.lead-capture__loading {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  color: #9fb0d0;
  background:
    radial-gradient(circle at 24% 8%, rgba(54, 224, 90, 0.16), transparent 36%),
    #14161d;
  transition: opacity 0.25s ease;
}

.lead-capture__loading span::before {
  content: "";
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  margin-right: 0.6rem;
  border-radius: 50%;
  background: #36e05a;
  box-shadow: 0 0 20px rgba(54, 224, 90, 0.65);
  animation: lead-capture-pulse 1.1s ease-in-out infinite alternate;
}

.lead-capture__embed.is-loaded .lead-capture__loading {
  opacity: 0;
  pointer-events: none;
}

.lead-capture__embed iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 1100px;
  border: 0;
  background: transparent;
}

.lead-capture__fallback {
  margin: 1rem auto 0;
  color: var(--ink-soft);
  text-align: center;
}

.lead-capture__fallback a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@keyframes lead-capture-pulse {
  from { opacity: 0.45; transform: scale(0.88); }
  to { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 760px) {
  .lead-capture {
    padding-inline: 0.45rem;
  }

  .lead-capture__head {
    padding-inline: 0.75rem;
  }

  .lead-capture__embed {
    min-height: 1720px;
    border-radius: 24px;
  }

  .lead-capture__embed iframe {
    height: 1720px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-capture__loading,
  .lead-capture__loading span::before {
    animation: none;
    transition: none;
  }
}
