footer img {
  display: block;
  width: 190px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

/* Lead capture: the first step of the funnel. */
.lead-dialog { width:min(92vw,560px); max-height:calc(100svh - 32px); margin:auto; padding:0; overflow:auto; border:0; border-radius:28px; color:#153f32; background:#fffaf3; box-shadow:0 28px 90px rgba(10,39,30,.28); }
.lead-dialog::backdrop { background:rgba(8,28,22,.72); backdrop-filter:blur(8px); }
.lead-shell { padding:clamp(24px,5vw,42px); }
.lead-shell header { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:12px; }
.lead-shell header p { margin:0 0 8px; color:#d7674b; font-size:.74rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.lead-shell h2 { max-width:430px; margin:0; font-family:var(--serif,Georgia,serif); font-size:clamp(2rem,6vw,3.15rem); line-height:.96; letter-spacing:-.045em; }
.lead-close { width:42px; height:42px; flex:0 0 42px; border:1px solid rgba(21,63,50,.18); border-radius:50%; color:#153f32; background:transparent; font-size:1.45rem; cursor:pointer; }
.lead-intro { max-width:46ch; margin:18px 0 24px; color:#536b62; line-height:1.55; }
.lead-form { display:grid; gap:16px; }
.lead-form label { display:grid; gap:7px; color:#153f32; font-size:.9rem; font-weight:750; }
.lead-form input,.lead-form textarea { width:100%; box-sizing:border-box; border:1px solid rgba(21,63,50,.2); border-radius:13px; padding:14px 15px; color:#153f32; background:#fff; font:inherit; resize:vertical; outline:none; transition:border-color 160ms ease,box-shadow 160ms ease; }
.lead-form input:focus,.lead-form textarea:focus { border-color:#d7674b; box-shadow:0 0 0 4px rgba(215,103,75,.13); }
.lead-submit { width:100%; border:0; cursor:pointer; }
.lead-submit:disabled { cursor:wait; opacity:.75; }
.lead-form small { color:#6f817a; text-align:center; }
.lead-error { margin:0; color:#a8392d; font-weight:700; }
@media (max-width:600px) { .lead-dialog { width:calc(100vw - 20px); max-height:calc(100svh - 20px); border-radius:22px; } .lead-shell { padding:24px 20px; } .lead-shell h2 { font-size:2.25rem; } }

.checkout-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 28px 90px rgba(var(--forest-rgb), 0.28);
  overflow: auto;
}

.checkout-dialog::backdrop {
  background: rgba(var(--forest-rgb), 0.66);
  backdrop-filter: blur(6px);
}

.checkout-shell {
  padding: 28px;
}

.checkout-shell > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.checkout-shell > header p,
.checkout-shell > header h2 {
  margin: 0;
}

.checkout-shell > header p {
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.checkout-shell > header h2 {
  margin-top: 4px;
  font-size: 2rem;
  line-height: 1.1;
}

.checkout-shell > header h2 span {
  color: var(--accent);
}

.checkout-close {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.checkout-status {
  padding: 28px 0;
  color: var(--text-secondary);
  text-align: center;
}

.checkout-status:empty {
  display: none;
}

.checkout-fallback {
  padding: 30px 10px;
  text-align: center;
}

.checkout-fallback a {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .checkout-dialog {
    width: 100%;
    max-width: none;
    max-height: calc(100svh - 10px);
    margin: auto 0 0;
    border-radius: 22px 22px 0 0;
  }

  .checkout-shell {
    padding: 20px 16px calc(22px + env(safe-area-inset-bottom, 0px));
  }

  .checkout-shell > header h2 {
    font-size: 1.65rem;
  }

  .mobile-page .nav {
    gap: 12px;
  }

  .mobile-page .brand {
    min-width: 0;
    flex: 0 1 146px;
  }

  .mobile-page .brand img {
    width: 100%;
  }

  .mobile-page .nav-buy {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .mobile-page .hero-copy h1 {
    font-size: clamp(2.75rem, 11.5vw, 3.35rem);
    line-height: 1.01;
  }

  .mobile-page .intro h2,
  .mobile-page .section-heading h2,
  .mobile-page .guide-copy h2,
  .mobile-page .fit-copy h2,
  .mobile-page .offer h2,
  .mobile-page .faq h2 {
    font-size: clamp(2.25rem, 9.5vw, 2.85rem);
  }

  footer img {
    width: 165px;
    height: auto;
    max-height: 64px;
  }
}

.simple-steps {
  display: grid;
  gap: 14px;
}

.simple-steps article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.simple-steps article:first-child {
  border-top: 1px solid var(--border);
}

.simple-steps article > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
}

.simple-steps h3,
.simple-steps p {
  margin: 0;
}

.simple-steps h3 {
  font-size: 1.8rem;
}

.simple-steps p {
  color: var(--text-secondary);
  line-height: 1.45;
}

@media (max-width: 900px) {
  .simple-steps {
    margin-top: 30px;
  }

  .simple-steps article {
    grid-template-columns: 48px 1fr;
    gap: 15px;
    padding: 20px 0;
  }

  .simple-steps article > span {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
  }

  .simple-steps h3 {
    font-size: 1.5rem;
  }
}
