/* ============================================================
   PM Hub — lead generation section
   Brand tokens only: ink #0b1020, violet #7c3aed, blue #2563eb,
   Newsreader display, Plus Jakarta Sans body, JetBrains Mono labels.
   ============================================================ */

.pmlg {
  font-family: "Plus Jakarta Sans", -apple-system, system-ui, sans-serif;
  background: #0b1020;
  border-radius: 34px;
  padding: clamp(30px, 4vw, 52px) clamp(22px, 3.5vw, 46px);
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,.75);
  margin: 70px 0;
}
.pmlg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 12% 0%, rgba(124,58,237,.42), transparent),
    radial-gradient(520px 300px at 92% 100%, rgba(37,99,235,.40), transparent);
  pointer-events: none;
}
.pmlg > * { position: relative; }

.pmlg-eb {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: #c4b5fd; font-weight: 600; margin: 0 0 12px;
}
.pmlg h2 {
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  color: #fff; font-weight: 600; letter-spacing: -.02em;
  line-height: 1.12; margin: 0 0 12px;
}
.pmlg-dek {
  font-size: 1.05rem; color: rgba(255,255,255,.72);
  max-width: 560px; margin: 0 0 34px;
}

.pmlg-split { display: grid; grid-template-columns: 1.25fr .85fr; gap: 40px; align-items: start; }
.pmlg-grp { margin-bottom: 22px; }
.pmlg-grp:last-child { margin-bottom: 0; }
.pmlg-gl {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  color: #8b93a7; font-weight: 600; margin: 0 0 10px;
}

.pmlg-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.pmlg-chip {
  display: inline-block;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: .84rem;
  color: rgba(255,255,255,.88);
  text-decoration: none;
  transition: transform .22s cubic-bezier(.22,.75,.2,1), background .22s, border-color .22s;
  opacity: 0;
  animation: pmlgChipIn .5s cubic-bezier(.22,.75,.2,1) forwards;
}
.pmlg-chip:hover { background: rgba(124,58,237,.22); border-color: #7c3aed; transform: translateY(-2px); }
.pmlg-chip:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 2px; }
@keyframes pmlgChipIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.pmlg-cap {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  padding: 26px 24px;
}
.pmlg-cap h3 {
  font-family: Newsreader, Georgia, serif;
  font-size: 1.45rem; color: #fff; font-weight: 600;
  margin: 0 0 8px; line-height: 1.16;
}
.pmlg-cap p { font-size: .92rem; color: rgba(255,255,255,.7); margin: 0 0 18px; }

.pmlg-nofrm {
  font-size: .8rem; line-height: 1.6;
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.35);
  border-radius: 12px; padding: 12px 14px;
  color: #fcd34d;
}
.pmlg-nofrm code { font-family: "JetBrains Mono", monospace; font-size: .74rem; color: #fff; }

/* ---------- native capture form ---------- */

.pmlg-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pmlg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pmlg-fld {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 13px 15px;
  color: #fff;
  font-family: inherit;
  font-size: 16px; /* under 16px iOS zooms on focus */
  margin-bottom: 10px;
  -webkit-appearance: none;
  appearance: none;
}
.pmlg-fld::placeholder { color: rgba(255,255,255,.45); }
.pmlg-fld:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124,58,237,.22);
}
.pmlg-fld option { color: #0b1020; }

.pmlg-sub {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  font-family: inherit;
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(120deg, #7c3aed, #2563eb);
  background-size: 200% 100%;
  animation: pmlgShim 7s linear infinite;
  box-shadow: 0 10px 24px -10px rgba(124,58,237,.8);
  transition: transform .18s cubic-bezier(.22,.75,.2,1);
}
.pmlg-sub:hover { transform: translateY(-2px); }
.pmlg-sub:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 3px; }
@keyframes pmlgShim { to { background-position: 200% 0; } }

.pmlg-tiny {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: .62rem; letter-spacing: .09em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin: 12px 0 0 !important; text-align: center;
}

/* ---------- success state ---------- */

.pmlg-done { text-align: center; padding: 8px 0; }
.pmlg-tick {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(34,197,94,.14);
  color: #22c55e;
  display: inline-grid; place-items: center;
  margin-bottom: 14px;
  animation: pmlgPop .45s cubic-bezier(.22,.75,.2,1);
}
.pmlg-tick svg { width: 26px; height: 26px; }
@keyframes pmlgPop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* WPForms, restyled to sit on the dark card */
.pmlg-cap .wpforms-field-label { color: rgba(255,255,255,.75) !important; font-size: .82rem !important; }
.pmlg-cap input[type="text"],
.pmlg-cap input[type="email"],
.pmlg-cap select {
  width: 100% !important;
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 12px !important;
  padding: 13px 15px !important;
  color: #fff !important;
  font-family: inherit !important;
}
.pmlg-cap input::placeholder { color: rgba(255,255,255,.45); }
.pmlg-cap input:focus, .pmlg-cap select:focus {
  outline: none !important;
  border-color: #7c3aed !important;
  box-shadow: 0 0 0 4px rgba(124,58,237,.22) !important;
}
.pmlg-cap button[type="submit"] {
  width: 100% !important;
  border: 0 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  color: #fff !important;
  cursor: pointer;
  background: linear-gradient(120deg, #7c3aed, #2563eb) !important;
  background-size: 200% 100% !important;
  animation: pmlgShim 7s linear infinite;
  box-shadow: 0 10px 24px -10px rgba(124,58,237,.8);
}
@keyframes pmlgShim { to { background-position: 200% 0; } }

@media (max-width: 900px) {
  .pmlg-split { grid-template-columns: 1fr; gap: 30px; }
  .pmlg { border-radius: 24px; margin: 46px 0; }
}

/* ---------- affiliate disclosure in the hero ----------
   Replaces "Free · Independent reviews". Longer than the note it
   replaces, so it wraps onto its own line rather than sitting inline
   with the buttons. */

.pmhub-disc {
  display: block;
  flex-basis: 100%;
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: .68rem;
  line-height: 1.65;
  letter-spacing: .02em;
  text-transform: none;
  color: #6b7280;
  max-width: 560px;
  margin-top: 6px;
}
.pmhub-disc a {
  color: #7c3aed;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pmhub-disc a:hover { color: #2563eb; }

@media (max-width: 640px) {
  .pmhub-disc { font-size: .66rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pmlg-chip { animation: none !important; opacity: 1 !important; }
  .pmlg-cap button[type="submit"] { animation: none !important; }
}
