:root {
  color-scheme: light;
  --ink: #14201d;
  --muted: #5c6a66;
  --line: #d8e0dc;
  --paper: #f7f4ef;
  --panel: #ffffff;
  --green: #136f63;
  --green-dark: #0b5149;
  --coral: #d95f45;
  --gold: #c89b3c;
  --shadow: 0 24px 70px rgba(23, 35, 31, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(19, 111, 99, 0.12), transparent 34%),
    linear-gradient(300deg, rgba(217, 95, 69, 0.12), transparent 38%),
    var(--paper);
}

button,
input {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: 40px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 48px;
  align-items: center;
}

.hero__content {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 66px;
  font-weight: 800;
}

.brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--green) 0 52%, transparent 52%),
    linear-gradient(315deg, var(--coral) 0 52%, var(--gold) 52%);
  box-shadow: 0 10px 24px rgba(19, 111, 99, 0.24);
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(19, 111, 99, 0.24);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  font-weight: 700;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

#hero-title {
  max-width: 820px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.14;
}

.hero__text {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 680px;
  margin-top: 48px;
}

.hero__stats div {
  min-height: 94px;
  padding: 18px;
  border-top: 1px solid rgba(20, 32, 29, 0.18);
}

.hero__stats strong,
.hero__stats span {
  display: block;
}

.hero__stats strong {
  font-size: 28px;
  line-height: 1;
}

.hero__stats span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.lead-form {
  width: 100%;
  padding: 30px;
  border: 1px solid rgba(20, 32, 29, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.form-heading {
  margin-bottom: 22px;
}

.form-heading p {
  margin: 0 0 6px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.form-heading h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0;
}

.field,
.messenger-group {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.field span,
.group-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.field input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fbfcfb;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input:focus {
  border-color: var(--green);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(19, 111, 99, 0.12);
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef3f0;
}

.segmented label {
  cursor: pointer;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: grid;
  min-height: 42px;
  place-items: center;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.segmented input:checked + span {
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 8px 20px rgba(19, 111, 99, 0.22);
}

.submit-button {
  width: 100%;
  min-height: 54px;
  margin-top: 22px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  background: var(--green-dark);
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.submit-button:hover {
  background: #083f39;
  transform: translateY(-1px);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.submit-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex: 0 0 auto;
}

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.form-status.is-error {
  color: #b42318;
}

.form-status.is-success {
  color: var(--green-dark);
}

@media (max-width: 920px) {
  .page-shell {
    align-items: start;
    padding: 28px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .brand {
    margin-bottom: 42px;
  }

  .hero__stats {
    margin-top: 32px;
  }

  .lead-form {
    max-width: 560px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
    padding: 18px 0 28px;
  }

  .brand {
    margin-bottom: 34px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.02;
  }

  #hero-title {
    font-size: 28px;
    line-height: 1.16;
  }

  .hero__text {
    font-size: 15px;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero__stats div {
    min-height: auto;
    padding: 14px 0;
  }

  .lead-form {
    padding: 22px;
  }
}
