.lp-hero-band {
  position: relative;
  z-index: 1;
  background: #edf6fb;
  border-bottom: 2px solid var(--line);
  box-shadow: 0 6px 16px rgba(22, 50, 63, 0.05);
}

.lp-wrap {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.lp-topbar {
  display: flex;
  align-items: center;
  padding: 22px 0;
}

.lp-topbar .brand__mark {
  width: 40px;
  height: 40px;
}

.lp-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 44px 0 56px;
}

.lp-hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.lp-lede {
  margin-top: 20px;
  max-width: 46ch;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-2);
}

.lp-signup {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.lp-signup input[type="email"] {
  flex: 1 1 240px;
  min-height: 54px;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  box-shadow: inset 0 -2px 0 rgba(22, 50, 63, 0.04);
}

.lp-signup input[type="email"]::placeholder {
  color: var(--ink-3);
  font-weight: 600;
}

.lp-signup input[type="email"]:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px var(--sky-soft);
  outline: none;
}

.lp-signup .btn {
  flex: none;
}

.lp-form-note {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-3);
}

.lp-form-error {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--rose-3);
}

.lp-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lp-art {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: start;
  min-height: 420px;
  padding: 18px 18px 18px 28px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #e9f9f0, #e5f5fe);
  border: 2px solid #c6edd7;
  box-shadow: 0 1px 2px rgba(22, 50, 63, 0.06);
  overflow: hidden;
}

.lp-art__route {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 62%;
  z-index: 0;
  opacity: 0.9;
}

.lp-art__say {
  position: absolute;
  top: 36%;
  right: 4%;
  z-index: 3;
  width: max-content;
  max-width: 46%;
  padding: 8px 12px 9px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: 0 6px 16px rgba(22, 50, 63, 0.12);
  text-align: center;
  transition: opacity 0.25s ease;
}

.lp-art__say::after {
  content: "";
  position: absolute;
  left: -8px;
  top: 58%;
  width: 14px;
  height: 14px;
  background: var(--surface);
  border-left: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  transform: translateY(-50%) rotate(45deg);
}

.lp-art__say-who {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sprout-4);
}

.lp-art__say-line {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.lp-art__say.is-fading {
  opacity: 0;
}

.lp-art__sprig {
  position: relative;
  z-index: 1;
  width: min(250px, 60%);
  height: auto;
  margin-left: 5%;
}

.lp-about,
.lp-route {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1080px;
  margin-inline: auto;
  padding: 64px 0 80px;
}

.lp-about h2,
.lp-route h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
}

.lp-about p,
.lp-route p {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-2);
}

.lp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.lp-chips li {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink-2);
}

.lp-about__visual .panel {
  padding: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.lp-trailrows {
  display: grid;
  gap: 16px;
}

.lp-trailrow__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}

.lp-trailrow__top b {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.lp-trailrow__top span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-2);
}

.lp-route__demo {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--r-xl);
  padding: 18px;
  box-shadow: 0 1px 2px rgba(22, 50, 63, 0.06);
}

.lp-demo__hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink-2);
}

.lp-demo__hud b {
  color: var(--sprout-4);
}

.lp-route .path--wide {
  height: 260px;
}

.lp-demo__seg {
  fill: none;
  stroke: var(--sprout);
  stroke-width: 9;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lp-demo__seg.is-on {
  opacity: 1;
}

.lp-route .pnode:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 12px;
}

.lp-demo__done {
  margin-top: 8px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--sprout-4);
}

.lp-route__hint {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-3);
}

.lp-fleck {
  position: absolute;
  z-index: 5;
  width: 7px;
  height: 10px;
  border-radius: 3px;
  pointer-events: none;
  animation: lp-fleck 0.7s ease-out forwards;
}

@keyframes lp-fleck {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(0);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx, 0), var(--ty, 40px)) rotate(220deg);
  }
}

.lp-cta {
  max-width: 520px;
  margin-inline: auto;
  padding: 8px 0 72px;
  text-align: center;
}

.lp-cta h2 {
  font-size: clamp(24px, 3.4vw, 32px);
}

.lp-cta .lp-signup {
  justify-content: center;
  margin-top: 22px;
}

.lp-cta .lp-form-note {
  text-align: center;
}

@keyframes lp-nudge {
  0% {
    transform: scale(1);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18), 0 0 0 0 rgba(53, 196, 106, 0.55);
  }
  50% {
    transform: scale(1.06);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18), 0 0 0 10px rgba(53, 196, 106, 0.18);
  }
  100% {
    transform: scale(1);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18), 0 0 0 16px rgba(53, 196, 106, 0);
  }
}

.btn.is-nudging {
  animation: lp-nudge 1.1s ease-in-out 3;
}

@keyframes lp-wiggle {
  0% {
    transform: rotate(0);
  }
  20% {
    transform: rotate(-4deg);
  }
  40% {
    transform: rotate(4deg);
  }
  60% {
    transform: rotate(-3deg);
  }
  80% {
    transform: rotate(3deg);
  }
  100% {
    transform: rotate(0);
  }
}

.btn.is-wiggling {
  animation: lp-wiggle 0.5s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .btn.is-nudging,
  .btn.is-wiggling {
    animation: none;
  }
}

.lp-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-top: 2px solid var(--line);
  padding: 26px 0 40px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-3);
}

.lp-foot__mark {
  width: 28px;
  height: 28px;
  flex: none;
}

.lp-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(22, 50, 63, 0.5);
}

.lp-modal.is-open {
  display: grid;
}

.lp-modal__card {
  width: min(440px, 100%);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--r-xl);
  padding: 30px 28px;
  text-align: center;
  box-shadow: var(--shadow-lift);
}

.lp-modal__card .lp-art__sprig {
  width: 150px;
  margin-inline: auto;
}

.lp-modal__card h2 {
  margin-top: 12px;
  font-size: 24px;
}

.lp-modal__card p {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
}

.lp-modal__card .btn {
  margin-top: 22px;
}

.lp-thanks {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lp-thanks__card {
  width: min(460px, 100%);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px 30px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(22, 50, 63, 0.06);
}

.lp-thanks__card .lp-art__sprig {
  width: 160px;
  margin-inline: auto;
}

.lp-thanks__card h1 {
  margin-top: 14px;
  font-size: 28px;
}

.lp-thanks__card p {
  margin-top: 12px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.lp-thanks__card .btn {
  margin-top: 24px;
}

@media (max-width: 860px) {
  .lp-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 24px;
  }

  .lp-art {
    order: -1;
    min-height: 340px;
    padding: 14px;
  }

  .lp-art__sprig {
    width: min(170px, 46%);
    margin-left: 4%;
  }

  .lp-art__say {
    top: 28%;
    right: 3%;
    max-width: 56%;
    padding: 8px 12px 10px;
  }

  .lp-art__say-line {
    font-size: 13px;
  }

  .lp-about,
  .lp-route {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .lp-route .path--wide {
    height: 240px;
  }
}
