/* Landing at "/" (landing.js adds html.lp-on). Elsewhere the landing blocks stay hidden. */
.lp-top,
.lp-hero,
.lp-more,
.lp-modal {
  display: none;
}

html.lp-on {
  --lp-gutter: clamp(16px, 5vw, 64px);
  --lp-ink: #0f1a15;
  --lp-muted: #5d6b64;
  --lp-accent: #12805c;
  --lp-accent-2: #0b5f43;
  --lp-soft: #e2f3eb;
  --lp-paper: #f2f4f1;
  --lp-night: #0d1511;
}

html.lp-on .auth-pending .auth-screen,
html.lp-on .auth-required .auth-screen,
html.lp-on .auth-offline .auth-screen {
  display: grid;
}

html.lp-on .auth-screen {
  position: fixed;
  inset: 0;
  overflow-y: auto;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 400px);
  grid-template-areas: "top top" "hero form" "more more";
  align-content: start;
  align-items: center;
  column-gap: clamp(32px, 6vw, 88px);
  padding: 0 var(--lp-gutter);
  background: radial-gradient(1100px 620px at 15% 0%, #1b5040 0%, transparent 60%), radial-gradient(900px 600px at 100% 40%, #123a2c 0%, transparent 55%), var(--lp-night);
  color: #e6eee9;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html.lp-on .lp-top {
  grid-area: top;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
}

html.lp-on .lp-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

html.lp-on .lp-logo__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(140deg, #1fa077, var(--lp-accent-2));
  font-size: 16px;
}

html.lp-on .lp-top__nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

html.lp-on .lp-top__nav a {
  color: #b8c7bf;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

html.lp-on .lp-top__nav a:hover {
  color: #fff;
}

html.lp-on .lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 13px;
  padding: 0 20px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.15s, background 0.15s;
}

html.lp-on .lp-btn:hover {
  transform: translateY(-1px);
}

html.lp-on .lp-btn.is-primary {
  background: var(--lp-accent);
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(18, 128, 92, 0.8);
}

html.lp-on .lp-btn.is-primary:hover {
  background: #169068;
}

html.lp-on .lp-btn.is-light {
  min-height: 38px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

html.lp-on .lp-btn.is-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #e6eee9;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

html.lp-on .lp-hero {
  grid-area: hero;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-block: 48px 64px;
  max-width: 640px;
}

html.lp-on .lp-kicker {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 160, 119, 0.16);
  color: #7fe0b8;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html.lp-on .lp-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

html.lp-on .lp-hero p {
  margin: 0;
  max-width: 56ch;
  color: #b8c7bf;
  font-size: clamp(15px, 1.4vw, 17.5px);
  font-weight: 600;
  line-height: 1.6;
}

html.lp-on .lp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

html.lp-on .auth-card {
  grid-area: form;
  align-self: center;
  justify-self: stretch;
  margin-block: 24px;
  color: var(--lp-ink);
}

html.lp-on .lp-more {
  grid-area: more;
  display: flex;
  flex-direction: column;
  gap: 72px;
  margin-inline: calc(-1 * var(--lp-gutter));
  padding: 72px var(--lp-gutter) 32px;
  border-radius: 32px 32px 0 0;
  background: var(--lp-paper);
  color: var(--lp-ink);
}

html.lp-on .lp-section {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  scroll-margin-top: 24px;
}

html.lp-on .lp-section h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

html.lp-on .lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

html.lp-on .lp-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 26, 21, 0.04), 0 10px 30px -12px rgba(15, 26, 21, 0.12);
}

html.lp-on .lp-card__ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--lp-soft);
  color: var(--lp-accent-2);
}

html.lp-on .lp-card__ic svg {
  width: 22px;
  height: 22px;
}

html.lp-on .lp-card h3 {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 800;
}

html.lp-on .lp-card p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.55;
}

html.lp-on .lp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: lp-step;
}

html.lp-on .lp-steps li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  counter-increment: lp-step;
}

html.lp-on .lp-steps li::before {
  content: counter(lp-step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--lp-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

html.lp-on .lp-steps b {
  font-size: 17px;
  font-weight: 800;
}

html.lp-on .lp-steps span {
  color: var(--lp-muted);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
}

html.lp-on .lp-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 28px;
  border-radius: 24px;
  background: var(--lp-night);
  color: #fff;
}

html.lp-on .lp-cta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

html.lp-on .lp-cta b {
  font-size: 20px;
  font-weight: 800;
}

html.lp-on .lp-cta span {
  color: #b8c7bf;
  font-size: 14px;
  font-weight: 600;
}

html.lp-on .lp-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 26, 21, 0.08);
  color: var(--lp-muted);
  font-size: 13px;
  font-weight: 600;
}

html.lp-on .lp-link {
  border: 0;
  padding: 0;
  min-height: 0;
  background: none;
  color: var(--lp-accent-2);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
}

html.lp-on .lp-modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(8, 14, 11, 0.6);
  backdrop-filter: blur(4px);
}

html.lp-on .lp-modal__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(480px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  color: var(--lp-ink);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

html.lp-on .lp-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

html.lp-on .lp-modal__head h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
}

html.lp-on .lp-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-height: 0;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: var(--lp-paper);
  color: var(--lp-ink);
  font-size: 20px;
  cursor: pointer;
  box-shadow: none;
}

html.lp-on #lpRequestForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

html.lp-on #lpRequestForm[hidden] {
  display: none;
}

html.lp-on #lpRequestForm label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  color: var(--lp-muted);
  font-size: 12.5px;
  font-weight: 800;
}

html.lp-on #lpRequestForm input,
html.lp-on #lpRequestForm textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 12px;
  padding: 11px 13px;
  background: var(--lp-paper);
  color: var(--lp-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(15, 26, 21, 0.08);
  resize: vertical;
}

html.lp-on #lpRequestForm input:focus,
html.lp-on #lpRequestForm textarea:focus {
  outline: none;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--lp-accent);
}

html.lp-on .lp-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

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

html.lp-on .lp-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fdebe9;
  color: #a3322b;
  font-size: 13.5px;
  font-weight: 700;
}

html.lp-on .lp-error[hidden],
html.lp-on .lp-done[hidden] {
  display: none;
}

html.lp-on .lp-done {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
}

html.lp-on .lp-done b {
  font-size: 18px;
  font-weight: 800;
}

html.lp-on .lp-done span {
  color: var(--lp-muted);
  font-size: 14.5px;
  font-weight: 600;
}

@media (max-width: 900px) {
  html.lp-on .auth-screen {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "top" "hero" "form" "more";
  }

  html.lp-on .lp-top__nav a {
    display: none;
  }

  html.lp-on .lp-hero {
    padding-block: 24px 8px;
  }

  html.lp-on .auth-card {
    max-width: none;
    margin-block: 16px 48px;
  }

  html.lp-on .lp-more {
    gap: 48px;
    padding-top: 48px;
  }
}

@media (max-width: 480px) {
  html.lp-on .lp-row2 {
    grid-template-columns: 1fr;
  }

  html.lp-on .lp-hero__cta .lp-btn {
    flex: 1 1 100%;
  }
}

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