/* Compact lead magnet landing pages */

.lm-page {
  --lm-bg: #eef2f5;
  --lm-hero-top: #123a31;
  --lm-hero-bottom: #0c2820;
  --lm-hero-text: #fbfaf6;
  --lm-hero-muted: rgba(251, 250, 246, 0.78);
  --lm-accent: #2dbfa0;
  --lm-accent-soft: rgba(45, 191, 160, 0.18);
  --lm-gold: #c49a1a;
  --lm-ink: #182820;
  --lm-body: #475a52;
  --lm-muted: #75857f;
  --lm-card: #fbfcfd;
  --lm-line: rgba(24, 40, 32, 0.1);
  --lm-shadow: 0 18px 44px rgba(24, 40, 32, 0.1);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

body.lm-page {
  margin: 0;
  background: var(--lm-bg);
  color: var(--lm-body);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.lm {
  min-height: 100vh;
}

.lm__hero {
  background:
    radial-gradient(ellipse 80% 55% at 85% 0%, rgba(196, 154, 26, 0.24) 0%, transparent 52%),
    radial-gradient(ellipse 70% 55% at 10% 100%, rgba(45, 191, 160, 0.16) 0%, transparent 48%),
    linear-gradient(160deg, var(--lm-hero-top), var(--lm-hero-bottom));
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 2rem) clamp(2.5rem, 6vw, 4rem);
}

.lm__hero-inner,
.lm__main {
  max-width: 42rem;
  margin: 0 auto;
}

.lm__brand {
  margin: 0 0 1.2rem;
  color: var(--lm-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lm__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--lm-hero-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lm__title {
  margin: 0 0 0.75rem;
  color: var(--lm-hero-text);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.35rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.lm__subtitle {
  max-width: 36rem;
  margin: 0 0 1.5rem;
  color: var(--lm-hero-muted);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.5;
}

.lm__hero-form {
  width: 100%;
  display: flex;
  justify-content: center;
}

.lm__hero-form-inner {
  width: 100%;
  max-width: 506px;
  padding: 14px;
  border: 1px solid rgba(251, 250, 246, 0.14);
  border-radius: 14px;
  background: rgba(12, 40, 32, 0.5);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lm__main {
  padding: 0 clamp(1.25rem, 4vw, 2rem) clamp(2.5rem, 5vw, 4rem);
}

.lm__article,
.lm__form-panel-inner {
  background: var(--lm-card);
  border: 1px solid var(--lm-line);
  border-radius: 16px;
  box-shadow: var(--lm-shadow);
}

.lm__article {
  position: relative;
  z-index: 1;
  margin-top: -2rem;
  padding: clamp(1.6rem, 4vw, 2.35rem);
}

.lm__callout {
  margin: 0 0 1.5rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(45, 191, 160, 0.32);
  border-radius: 12px;
  background: linear-gradient(155deg, #f9fbfa 0%, #eef7f3 100%);
}

.lm__callout-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--lm-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lm__callout-text,
.lm__article > p,
.lm__closing {
  margin: 0;
}

.lm__article > p {
  margin-bottom: 1.15rem;
}

.lm__callout-text strong,
.lm__article strong,
.lm__closing strong {
  color: var(--lm-ink);
  font-weight: 700;
}

.lm__h2 {
  margin: 1.5rem 0 0.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--lm-line);
  color: var(--lm-ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.lm__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lm__list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.65rem;
  border-bottom: 1px solid var(--lm-line);
  color: var(--lm-body);
  font-size: 0.98rem;
  line-height: 1.5;
}

.lm__list li:last-child {
  border-bottom: 0;
}

.lm__list li::before {
  content: "";
  position: absolute;
  top: 0.95rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lm-accent);
  box-shadow: 0 0 0 3px var(--lm-accent-soft);
}

.lm__closing {
  margin-top: 1.35rem;
  padding: 1.1rem 1.15rem;
  border-left: 3px solid var(--lm-gold);
  border-radius: 12px;
  background: rgba(196, 154, 26, 0.13);
  font-size: 0.98rem;
}

.lm__form-panel {
  margin-top: 1.5rem;
}

.lm__form-panel-inner {
  padding: clamp(1.45rem, 4vw, 2rem);
  text-align: center;
}

.lm__form-headline {
  margin: 0 0 0.35rem;
  color: var(--lm-accent);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.lm__form-sub {
  margin: 0 0 1.15rem;
  color: var(--lm-muted);
  font-size: 0.9rem;
}

.lm__beehiiv-slot {
  display: flex;
  justify-content: center;
}

.beehiiv-embed {
  display: block;
  max-width: 100%;
}

.lm__legal {
  margin: 1.5rem 0 0;
  color: var(--lm-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 480px) {
  .lm__article {
    margin-top: -1.25rem;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }
}
