:root {
  --ink: #16242f;
  --muted: #61717f;
  --line: #dbe5ea;
  --paper: #ffffff;
  --mist: #eef6f4;
  --green: #0c8f73;
  --green-dark: #06745d;
  --blue: #2369a8;
  --coral: #d86145;
  --gold: #c58a2b;
  --shadow: 0 22px 70px rgba(22, 36, 47, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: #f7faf9;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand img {
  display: block;
  width: clamp(190px, 22vw, 280px);
  height: auto;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.top-nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 480px);
  gap: clamp(28px, 5vw, 64px);
  min-height: calc(100vh - 78px);
  padding: clamp(36px, 6vw, 76px) clamp(18px, 5vw, 72px) clamp(28px, 5vw, 62px);
  background:
    linear-gradient(100deg, rgba(247, 250, 249, 0.98) 0%, rgba(247, 250, 249, 0.94) 46%, rgba(247, 250, 249, 0.82) 100%),
    url("../images/banner-bg.jpg") center / cover no-repeat;
}

.hero-copy {
  max-width: 760px;
  align-self: center;
}

.eyebrow,
.step-kicker {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 5.8vw, 72px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.lede {
  max-width: 620px;
  color: #334554;
  font-size: 20px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 34px;
}

.hero-highlights article {
  min-height: 154px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(22, 36, 47, 0.09);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(22, 36, 47, 0.08);
}

.hero-highlights span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.hero-highlights strong {
  display: block;
  margin-bottom: 7px;
  font-size: 16px;
}

.hero-highlights p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  padding: 9px 12px;
  color: #173328;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(12, 143, 115, 0.2);
  border-radius: 6px;
}

.lead-panel {
  align-self: center;
  padding: 0;
  background: var(--paper);
  border: 1px solid rgba(22, 36, 47, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-head {
  padding: 28px 30px 22px;
  background:
    linear-gradient(135deg, rgba(12, 143, 115, 0.12), rgba(35, 105, 168, 0.1)),
    #fbfdfc;
  border-bottom: 1px solid var(--line);
}

.panel-head h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.panel-head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.progress {
  height: 8px;
  background: #e7eeeb;
}

.progress-fill {
  display: block;
  width: 16%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transition: width 180ms ease;
}

.lead-form {
  min-height: 510px;
  padding: 30px;
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
}

label {
  display: block;
  margin: 16px 0 8px;
  font-size: 14px;
  font-weight: 800;
}

label span {
  color: var(--muted);
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
  border: 1px solid #c8d6dd;
  border-radius: 6px;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin: 16px 0 10px;
  font-size: 14px;
  font-weight: 800;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.option-card {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  min-height: 92px;
  padding: 12px 14px;
  font-size: 15px;
  background: #fff;
  border: 1px solid #c8d6dd;
  border-radius: 6px;
  cursor: pointer;
}

.option-card:has(input:checked) {
  border-color: var(--green);
  background: #eefaf6;
  box-shadow: inset 0 0 0 1px rgba(12, 143, 115, 0.24);
}

.option-card input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.option-card strong,
.option-card small {
  display: block;
}

.option-card strong {
  margin-bottom: 5px;
  font-size: 14px;
}

.option-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

input:focus,
select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(12, 143, 115, 0.15);
}

.field-hint {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  margin-top: 18px;
  color: #405261;
  font-size: 13px;
  font-weight: 400;
}

.consent input {
  min-height: 20px;
  margin: 2px 0 0;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
}

.primary-btn {
  width: 100%;
  color: #fff;
  background: var(--green);
  border: 1px solid var(--green);
}

.primary-btn:hover {
  background: var(--green-dark);
}

.ghost-btn {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.button-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  margin-top: 18px;
}

.form-error {
  min-height: 22px;
  margin: 18px 0 0;
  color: #a43721;
  font-size: 14px;
  font-weight: 700;
}

.section,
.split-section {
  padding: clamp(46px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.section-header {
  max-width: 720px;
  margin-bottom: 28px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cards article {
  min-height: 210px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card-number {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--coral);
  font-weight: 900;
}

.cards p,
.split-section p,
.faq p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 620px);
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 5vw, 72px);
  background: var(--mist);
}

.split-section img {
  width: 100%;
  max-width: 360px;
  justify-self: center;
}

.text-link {
  color: var(--green-dark);
  font-weight: 800;
}

.faq details {
  margin-bottom: 12px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq summary {
  font-weight: 900;
  cursor: pointer;
}

.faq p {
  margin: 14px 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: #d6e4e0;
  background: #15252e;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: #fff;
}

.legal-page,
.thank-you {
  max-width: 860px;
  min-height: calc(100vh - 160px);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) 18px;
}

.legal-page h1 {
  font-size: clamp(38px, 5vw, 58px);
}

.legal-page h2 {
  margin-top: 30px;
  font-size: 25px;
}

.thank-you {
  display: grid;
  align-items: center;
}

.thank-you-card {
  padding: clamp(28px, 5vw, 58px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.thank-you-card .primary-btn {
  max-width: 360px;
  margin: 12px 0;
}

@media (max-width: 900px) {
  .hero,
  .hero-highlights,
  .cards,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .lead-panel {
    align-self: start;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .lead-form {
    min-height: 500px;
    padding: 22px;
  }

  .button-row {
    grid-template-columns: 1fr;
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .ghost-btn,
  .primary-btn {
    width: 100%;
  }
}
