/* ============================================================
   Lead-magnet opt-in page — standalone, rebuilt around the
   "form in the hero" layout. Alternating dark / cream bands,
   Jay's forest palette + green accent, Instrument Serif heads.
   Page-specific layout scoped with .lp- prefix.
   ============================================================ */

/* ---- Token system: light (matches main site). Bands alternate bg / bg-2.
   The guide-cover card opts back into a dark context on its own. ---- */
:root {
  --bg:   #f5f6f0;
  --bg-2: #eceee3;
  --bg-3: #e1e5d3;
  --ink:  #181a16;
  --ink-2:#454a40;
  --ink-3:#737867;
  --line: #dadfca;
  --line-2:#c4ccb1;
  --accent:#5a7d3e;
  --accent-ink:#f5f6f0;
  --glow: rgba(90,125,62,0.10);
}
.lp-band.lp-band--alt { background: var(--bg-2); }

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); }

.lp-band { background: var(--bg); color: var(--ink); }
.lp-wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(22px, 5vw, 72px); }

/* Eyebrow with leading dot */
.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lp-eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.lp-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lp-label--accent { color: var(--accent); }

/* =========================================================
   NAV
   ========================================================= */
.lp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.lp-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--f-display);
  font-size: 23px;
  color: var(--ink);
  line-height: 1;
}
.lp-brand i { font-style: italic; color: var(--accent); }
.lp-brand__lock small {
  display: block;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 5px;
}
.lp-brand__lock { display: flex; flex-direction: column; }
.lp-brand__mark {
  width: 30px; height: 30px;
  border: 1px solid var(--line-2);
  border-radius: 7px;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink);
  margin-right: 10px;
}
.lp-brand__row { display: inline-flex; align-items: center; }
.lp-back {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .15s;
}
.lp-back:hover { color: var(--ink); }
.lp-back svg { width: 13px; height: 13px; }

/* =========================================================
   HERO — form left, guide card right
   ========================================================= */
.lp-hero {
  position: relative;
  overflow: hidden;
}
.lp-hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -120px;
  width: 760px; height: 620px;
  background: radial-gradient(closest-side, var(--glow), transparent 72%);
  pointer-events: none;
}
.lp-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 92px);
}
.lp-hero__copy { max-width: 560px; }
.lp-hero__eyebrow { margin-bottom: 28px; }
.lp-hero h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 26px;
  text-wrap: balance;
}
.lp-hero h1 em {
  font-style: italic;
  color: var(--accent);
  position: relative;
}
.lp-hero h1 .lp-underline {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 8px;
  padding-bottom: 2px;
}
.lp-hero__sub {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.58;
  color: var(--ink-2);
  max-width: 44ch;
  margin: 0 0 34px;
  text-wrap: pretty;
}
.lp-hero__sub b { color: var(--ink); font-weight: 600; }

/* The form panel */
.lp-formcard {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 32px);
  max-width: 460px;
}
.lp-field { margin-bottom: 16px; }
.lp-field label {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 9px;
}
.lp-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 15px 16px;
  font-family: var(--f-sans);
  font-size: 16px;
  color: var(--ink);
  transition: border-color .15s;
}
.lp-input::placeholder { color: var(--ink-3); }
.lp-input:focus { outline: none; border-color: var(--accent); }
.lp-input[aria-invalid="true"] { border-color: #c8643c; }

.lp-submit {
  width: 100%;
  border: none;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: filter .15s, transform .05s;
}
.lp-submit:hover { filter: brightness(1.07); }
.lp-submit:active { transform: translateY(1px); }
.lp-submit svg { width: 16px; height: 16px; }
.lp-micro {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-3);
}
.lp-micro a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.lp-micro--error { color: #d08a5f; }
.lp-success {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
}
.lp-success a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Byline under form */
.lp-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
.lp-byline__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line-2);
  flex: 0 0 auto;
}
.lp-byline__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.lp-byline__t { font-size: 13px; line-height: 1.4; color: var(--ink); }
.lp-byline__t span { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }

/* The guide-cover card (right) — a deliberate DARK object on the light page */
.lp-cardwrap { display: flex; justify-content: center; padding-top: 88px; }
.lp-card {
  --bg-2: #181c15;
  --line-2:#3a4034;
  --ink:  #eef0e8;
  --ink-2:#c2c7b8;
  --ink-3:#8b9080;
  --accent:#a6c083;
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1.414;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 7px 7px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 34px 32px 30px;
  transform: rotate(2.2deg);
  box-shadow: 0 40px 80px -44px rgba(40,50,30,0.45);
}
.lp-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 30px;
}
.lp-card__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-2);
}
.lp-card__brand .m {
  width: 24px; height: 24px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  display: grid; place-items: center;
  font-size: 12px;
  font-style: italic;
}
.lp-card__tag {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: right;
  line-height: 1.5;
}
.lp-card__title {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 30px;
}
.lp-card__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.lp-card__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.lp-tick {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
}
.lp-tick svg { width: 10px; height: 10px; display: block; }
.lp-card .lp-tick { background: var(--accent); }
.lp-card__rule { height: 1px; background: var(--line-2); margin: auto 0 16px; }
.lp-card__foot {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* =========================================================
   SECTIONS (generic)
   ========================================================= */
.lp-section { padding: clamp(58px, 7vw, 104px) 0; }
.lp-section__head {
  display: grid;
  grid-template-columns: 0.3fr 0.7fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.lp-section__lab { padding-top: 10px; }
.lp-section__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  margin: 0 0 20px;
  text-wrap: balance;
  max-width: 18ch;
}
.lp-section__title em { font-style: italic; color: var(--accent); }
.lp-section__intro {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 50ch;
  margin: 0;
  text-wrap: pretty;
}

/* What's inside — numbered grid */
.lp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(36px, 5vw, 80px);
}
.lp-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 8px 14px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.lp-item__n {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 4px;
}
.lp-item__h {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink);
  margin: 0;
  align-self: center;
}
.lp-item__d {
  grid-column: 2;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 6px 0 0;
  text-wrap: pretty;
}

/* Why trust — credibility */
.lp-trust { display: grid; grid-template-columns: 1fr 0.92fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.lp-trust__copy { max-width: 30ch; }
.lp-trust__lab { margin-bottom: 26px; display: block; }
.lp-trust__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  margin: 0 0 22px;
  text-wrap: balance;
}
.lp-trust__title em { font-style: italic; color: var(--accent); }
.lp-trust__body {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}
.lp-trust__body b { color: var(--ink); font-weight: 600; }
.lp-trust__photo {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: var(--bg-2);
}
.lp-trust__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }

/* Stat strip */
.lp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-top: clamp(40px, 5vw, 64px);
  overflow: hidden;
}
.lp-stat { padding: clamp(22px, 2.6vw, 32px); border-left: 1px solid var(--line); }
.lp-stat:first-child { border-left: none; }
.lp-stat__v {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 10px;
}
.lp-stat__v em { font-style: italic; color: var(--accent); }
.lp-stat__k {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Final CTA band */
.lp-final {
  --bg:   #181c15;
  --ink:  #eef0e8;
  --ink-3:#9aa089;
  --line-2:#3a4034;
  --accent:#a6c083;
  --accent-ink:#11140f;
  background: var(--bg);
  background-image: radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 7px 7px;
  color: var(--ink);
  padding: clamp(56px, 7vw, 100px) 0 clamp(40px, 5vw, 60px);
}
.lp-final__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin: 0;
}
.lp-final__k {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.lp-final__copy { display: flex; flex-direction: column; gap: 14px; max-width: 30ch; }
.lp-final__t {
  font-family: var(--f-display);
  font-size: clamp(23px, 2.4vw, 34px);
  line-height: 1.22;
  color: var(--ink);
  margin: 0;
  max-width: 32ch;
  text-wrap: pretty;
}
.lp-final__t em { font-style: italic; color: var(--accent); }
.lp-final__note {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}
.lp-cta-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 16px;
  padding: 19px 34px;
  border-radius: 999px;
  transition: filter .15s, transform .05s;
}
.lp-cta-btn:hover { filter: brightness(1.07); }
.lp-cta-btn:active { transform: translateY(1px); }
.lp-cta-btn svg { width: 16px; height: 16px; }

/* =========================================================
   FOOTER — continues the dark close into the page base
   ========================================================= */
.lp-footer {
  --bg:   #181c15;
  --ink:  #eef0e8;
  --ink-2:#c2c7b8;
  --ink-3:#9aa089;
  --line: #2a2f26;
  --accent:#a6c083;
  background: var(--bg);
  color: var(--ink);
  padding: clamp(8px, 1.5vw, 18px) 0 clamp(48px, 6vw, 72px);
}
.lp-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.lp-footer__sig { font-family: var(--f-display); font-size: 22px; color: var(--ink); }
.lp-footer__sig i { font-style: italic; color: var(--accent); }
.lp-footer__sig small { display: block; font-style: italic; font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.lp-footer__links { display: flex; flex-direction: column; gap: 7px; text-align: right; }
.lp-footer__links a {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color .15s;
}
.lp-footer__links a:hover { color: var(--ink); }
.lp-footer__fine {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 70ch;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .lp-hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .lp-cardwrap { justify-content: flex-start; padding-top: 0; }
  .lp-card { transform: rotate(0deg); max-width: 340px; }
  .lp-section__head { grid-template-columns: 1fr; gap: 14px; }
  .lp-grid { grid-template-columns: 1fr; }
  .lp-item:nth-child(2) { border-top: 1px solid var(--line); }
  .lp-trust { grid-template-columns: 1fr; gap: 36px; }
  .lp-trust__copy { max-width: none; }
  .lp-trust__photo { order: -1; aspect-ratio: 16/10; }
}
@media (max-width: 560px) {
  .lp-stats { grid-template-columns: 1fr; }
  .lp-stat { border-left: none; border-top: 1px solid var(--line); }
  .lp-stat:first-child { border-top: none; }
  .lp-final__inner { flex-direction: column; align-items: flex-start; }
  .lp-cta-btn { width: 100%; justify-content: center; }
  .lp-footer__links { text-align: left; }
}
