/* ------------------------------------------------------------------
   Landing pages (/lp/*) — paid traffic.

   Loads AFTER styles.css and reuses its tokens (--green, --ink, --bg,
   --display, --sans) so these pages are visibly the same business.
   What differs, deliberately: denser, shorter, no scroll animation,
   bigger CTAs, and more whitespace around the form than anywhere else.

   Generated markup lives in lp/ — see build-lp.mjs.
   ------------------------------------------------------------------ */

.lp-wrap { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }
.lp-narrow { max-width: 760px; }

.lp-skip {
  position: absolute; left: -9999px;
  background: var(--green); color: #fff;
  padding: 0.8rem 1.2rem; z-index: 100;
}
.lp-skip:focus { left: 1rem; top: 1rem; }

/* ---- header ------------------------------------------------------- */

.lp-header {
  background: #fff;
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 900px) {
  .lp-header { position: sticky; top: 0; z-index: 40; }
}
.lp-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}
.lp-logo { width: 168px; height: auto; }

/* ---- buttons (larger than the main site's) ------------------------ */

.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 52px; padding: 0.9rem 1.6rem;
  font: 600 1.0625rem/1 var(--display);
  letter-spacing: 0.01em;
  border: 1px solid var(--green); border-radius: 999px;
  background: var(--green); color: #fff;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.lp-btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.lp-btn svg { width: 18px; height: 18px; flex: none; }

.lp-btn-call { padding: 0.7rem 1.25rem; min-height: 46px; font-size: 1rem; }
.lp-btn-outline { background: transparent; color: var(--green); }
.lp-btn-outline:hover { background: var(--green); color: #fff; }
.lp-btn-cream { background: var(--cream); border-color: var(--cream); color: var(--green-deep); }
.lp-btn-cream:hover { background: #fff; border-color: #fff; color: var(--green-deep); }

.lp-btn-submit {
  width: 100%; min-height: 58px; font-size: 1.125rem;
  background: var(--ink); border-color: var(--ink);
}
.lp-btn-submit:hover { background: var(--green-deep); border-color: var(--green-deep); }

.lp-call { color: var(--green); font-weight: 500; text-decoration: none; }
.lp-call:hover { text-decoration: underline; }

/* ---- hero --------------------------------------------------------- */

.lp-hero { background: var(--bg); padding: 2.25rem 0 2.75rem; }

.lp-h1 {
  font-size: clamp(2rem, 5.2vw, 3.15rem);
  line-height: 1.05; letter-spacing: -0.02em;
  text-transform: uppercase; margin: 0 0 0.85rem;
}
.lp-sub {
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  color: var(--grey); max-width: 46ch; margin: 0 0 1.5rem;
}

/* Source order is H1 → sub → FORM → trust so the form sits directly under
   the supporting line on mobile. Desktop reflows it into the right column
   via grid areas without touching the DOM order. */
.lp-hero-grid { display: block; }

.lp-trust {
  list-style: none; margin: 1.75rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.65rem 1.5rem;
}
.lp-trust li {
  position: relative; padding-left: 1.5rem;
  font-size: 0.9375rem; color: var(--ink);
}
.lp-trust li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--green);
}

/* ---- the form ----------------------------------------------------- */

/* More breathing room here than anywhere else on the page. */
.lp-form-wrap { margin: 2rem 0 0; }

.lp-form {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 2rem 1.75rem 1.9rem;
  box-shadow: 0 18px 44px rgba(20, 24, 27, 0.07);
}
.lp-form-title {
  font: 600 0.75rem/1 var(--display);
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--grey); margin: 0 0 1.4rem;
}

.lp-field { margin-bottom: 1.05rem; }
.lp-field label {
  display: block; font-size: 0.8125rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 0.45rem;
}
.lp-field label span { color: var(--green); margin-left: 0.15rem; }

.lp-field input,
.lp-field select,
.lp-field textarea {
  width: 100%; font: 400 1rem var(--sans); color: var(--ink);
  background: var(--bg); border: 1px solid var(--hairline);
  border-radius: 3px; padding: 0.8rem 0.9rem;
  min-height: 48px;
}
.lp-field textarea { min-height: 88px; resize: vertical; }
.lp-field input:focus, .lp-field select:focus, .lp-field textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(30, 77, 56, 0.15);
}

.lp-error {
  display: none; margin-top: 0.35rem;
  font-size: 0.8125rem; color: #A3231C;
}
.lp-field.is-invalid .lp-error { display: block; }
.lp-field.is-invalid input,
.lp-field.is-invalid select,
.lp-field.is-invalid textarea { border-color: #A3231C; }

.lp-form-note {
  margin: 0.9rem 0 0; font-size: 0.875rem; color: var(--grey); text-align: center;
}

@media (min-width: 900px) {
  .lp-hero { padding: 3.25rem 0 3.75rem; }
  .lp-hero-grid {
    display: grid;
    grid-template-columns: 1fr minmax(400px, 452px);
    grid-template-areas:
      "h1    form"
      "sub   form"
      "trust form";
    grid-template-rows: auto auto 1fr;
    column-gap: 4.5rem;
    align-items: start;
  }
  .lp-h1 { grid-area: h1; }
  .lp-sub { grid-area: sub; }
  .lp-trust { grid-area: trust; flex-direction: column; gap: 0.7rem; }
  .lp-form-wrap { grid-area: form; margin: 0; }
}

/* ---- generic sections --------------------------------------------- */

.lp-sec { padding: 3.25rem 0; }
.lp-sec-alt { background: var(--bg-alt); }
.lp-sec-green { background: var(--green-deep); color: var(--cream); }
.lp-sec-green .lp-h2 { color: var(--cream); }

.lp-h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  text-transform: uppercase; letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
}
.lp-body { font-size: 1.0625rem; max-width: 68ch; margin: 0 0 1.25rem; }
.lp-sec-green .lp-body { color: rgba(242, 239, 233, 0.88); }

/* ---- how it works -------------------------------------------------- */

.lp-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.75rem;
}
@media (min-width: 760px) {
  .lp-steps { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 2rem; }
}
.lp-step-n {
  display: block; font: 600 0.8125rem/1 var(--display);
  letter-spacing: 0.2em; color: var(--green); margin-bottom: 0.65rem;
}
.lp-step h3 { font-size: 1.0625rem; margin: 0 0 0.45rem; }
.lp-step p { font-size: 0.9688rem; color: var(--grey); margin: 0; }

/* ---- proof --------------------------------------------------------- */

.lp-proof { display: grid; gap: 1.5rem; }
@media (min-width: 760px) {
  .lp-proof { grid-template-columns: repeat(3, 1fr); }
}
.lp-proof-item { margin: 0; }
.lp-proof-item img {
  width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 3px; background: var(--bg-alt);
}
.lp-proof-item figcaption {
  margin-top: 0.7rem; font-size: 0.9062rem; color: var(--grey);
}
.lp-proof-missing {
  aspect-ratio: 3 / 2; border: 2px dashed var(--hairline); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem; text-align: center;
  font-size: 0.8125rem; color: var(--grey); background: var(--bg);
}

/* ---- FAQ ----------------------------------------------------------- */

.lp-faq { display: grid; gap: 1.6rem; }
@media (min-width: 760px) { .lp-faq { grid-template-columns: 1fr 1fr; gap: 1.75rem 2.5rem; } }
.lp-faq-item h3 { font-size: 1.0313rem; margin: 0 0 0.4rem; }
.lp-faq-item p { font-size: 0.9688rem; color: var(--grey); margin: 0; }

/* ---- closing ------------------------------------------------------- */

.lp-closing { text-align: center; padding: 3.5rem 0; }
.lp-closing .lp-body { margin-inline: auto; }
.lp-closing-actions {
  display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center;
  margin-top: 1.75rem;
}
.lp-closing-actions .lp-btn-submit { width: auto; min-width: 240px; }

/* ---- thank you ----------------------------------------------------- */

.lp-ty { padding-top: 3.5rem; }
.lp-ty-h2 { margin-top: 2.25rem; }
.lp-ty-list { margin: 0 0 1.5rem; padding-left: 1.25rem; }
.lp-ty-list li { margin-bottom: 0.6rem; color: var(--grey); }

/* ---- footer -------------------------------------------------------- */

.lp-footer {
  background: var(--bg-alt); border-top: 1px solid var(--hairline);
  padding: 2rem 0 2.25rem; text-align: center;
}
.lp-footer p { margin: 0 0 0.45rem; max-width: none; font-size: 0.875rem; color: var(--grey); }
.lp-footer-legal a { color: var(--grey); }

/* ---- sticky mobile call bar ---------------------------------------- */

.lp-sticky-call { display: none; }

@media (max-width: 899px) {
  .lp-sticky-call {
    display: block; position: fixed; inset: auto 0 0 0; z-index: 50;
    background: var(--green); border-top: 1px solid var(--green-deep);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .lp-sticky-call a {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    min-height: 56px; color: #fff; text-decoration: none;
    font: 600 1.0625rem/1 var(--display); letter-spacing: 0.01em;
  }
  .lp-sticky-call svg { width: 19px; height: 19px; }

  /* Keep the bar clear of the footer at maximum scroll. */
  .lp-body-root { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

  /* Padding alone cannot stop the bar sitting on top of the submit button
     mid-scroll — the user can always park it there, and a mis-tap dials
     instead of submitting. So the bar retreats whenever the form is on
     screen or focused: the form is the call to action at that point.
     The bar is fixed, so hiding it reflows nothing.
     No transition — these pages carry no ambient animation, and an animated
     hide would leave the bar tappable mid-fade. */
  .lp-sticky-call.is-hidden {
    display: none;           /* out of the layout and out of the tab order */
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-btn { transition: none; }
}
