.pm-lead-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(420px, 600px);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin: 2rem 0;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border: 1px solid #cfe2dc;
  border-radius: 24px;
  background: linear-gradient(135deg, #f4fbf8 0%, #ffffff 70%);
  box-shadow: 0 18px 50px rgba(17, 74, 60, 0.09);
}

.pm-lead-copy h2 {
  margin: .35rem 0 .75rem;
}

.pm-lead-copy > p {
  max-width: 62ch;
}

.pm-lead-copy ul {
  margin: 1rem 0;
  padding-left: 1.25rem;
}

.pm-lead-copy li + li {
  margin-top: .45rem;
}

.pm-lead-privacy {
  color: #52635e;
  font-size: .88rem;
}

.pm-lead-frame-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-width: 0;
  padding: .75rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 74, 60, 0.08);
}

.pm-lead-frame {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

.pm-lead-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  color: #087451;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.pm-lead-fallback:hover,
.pm-lead-fallback:focus-visible {
  color: #075b41;
  text-decoration: underline;
}

/* Guides have a narrower reading column than calculator pages. Keep the
   explanation readable and center the full partner form below it. */
.pm-lead-section--guide {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.pm-lead-section--guide .pm-lead-frame-wrap {
  width: min(100%, 624px);
  margin-inline: auto;
}

@media (max-width: 760px) {
  .pm-lead-section {
    grid-template-columns: 1fr;
    padding: 1rem;
    border-radius: 18px;
  }

  .pm-lead-frame-wrap {
    width: 100%;
    padding: 0;
    overflow: hidden;
  }

  .pm-lead-fallback {
    padding: 0 .75rem .75rem;
  }

  .pm-lead-frame {
    height: 850px;
  }
}
