:root {
  color-scheme: light;
  --ink: #16211f;
  --muted: #5d6a66;
  --line: #d9e2de;
  --paper: #f7faf8;
  --panel: #ffffff;
  --accent: #18735f;
  --accent-strong: #0f594a;
  --gold: #c78f2e;
  --error: #a52828;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

input,
button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 48px;
  align-items: center;
  min-height: 84vh;
  padding: 56px clamp(20px, 5vw, 80px) 36px;
  background:
    linear-gradient(90deg, rgba(247, 250, 248, 0.98), rgba(247, 250, 248, 0.84)),
    url("../img/hero.jpg") center / cover;
}

.language-toggle {
  position: absolute;
  top: 22px;
  right: clamp(20px, 5vw, 80px);
  display: inline-flex;
  overflow: hidden;
  border: 1px solid rgba(24, 115, 95, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.language-toggle a {
  padding: 8px 12px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.language-toggle a[aria-current="page"] {
  background: var(--accent);
  color: #fff;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.35rem, 5.5vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-text {
  max-width: 650px;
  margin: 24px 0 0;
  color: #31413c;
  font-size: 1.18rem;
  line-height: 1.65;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.proof-row span,
.steps span {
  border: 1px solid rgba(24, 115, 95, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  padding: 10px 14px;
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.92rem;
}

.lead-form,
.thanks-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 55px rgba(22, 33, 31, 0.14);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.lead-form h2 {
  margin: 0;
  font-size: 1.55rem;
}

.form-subtitle,
.privacy-note,
.thanks-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.form-subtitle {
  margin: -6px 0 4px;
}

label {
  display: grid;
  gap: 7px;
  color: #273632;
  font-weight: 700;
}

input {
  width: 100%;
  border: 1px solid #cbd6d1;
  border-radius: 6px;
  background: #fff;
  padding: 12px 13px;
  color: var(--ink);
}

input:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(24, 115, 95, 0.15);
}

.consent-line {
  grid-template-columns: 18px 1fr;
  align-items: start;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.45;
}

.consent-line input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.captcha-box {
  min-height: 78px;
}

button,
.button-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  padding: 13px 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
.button-link:hover {
  background: var(--accent-strong);
}

.privacy-note {
  margin: 0;
  font-size: 0.82rem;
  text-align: center;
}

.form-errors {
  border-left: 4px solid var(--error);
  background: #fff3f3;
  padding: 10px 12px;
  color: var(--error);
}

.form-errors p {
  margin: 0;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.supporting {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 28px;
  align-items: center;
  padding: 36px clamp(20px, 5vw, 80px) 52px;
  background: #fff;
}

.supporting h2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
}

.supporting p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: flex-end;
}

.steps span {
  white-space: nowrap;
}

.thanks-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(247, 250, 248, 0.94), rgba(247, 250, 248, 0.94)),
    url("https://images.unsplash.com/photo-1510798831971-661eb04b3739?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.thanks-panel {
  width: min(100%, 680px);
  padding: clamp(28px, 6vw, 54px);
}

.thanks-panel h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.secondary-link {
  display: inline-flex;
  margin-left: 14px;
  color: var(--accent-strong);
  font-weight: 700;
}

@media (max-width: 860px) {
  .hero,
  .supporting {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 30px;
    align-items: start;
    padding-top: 34px;
  }

  .lead-form {
    padding: 22px;
  }

  .steps {
    justify-content: flex-start;
  }

  .steps {
    flex-wrap: wrap;
  }

  .steps span {
    white-space: normal;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.25rem;
    line-height: 1.03;
  }

  .hero-text {
    font-size: 1rem;
  }

  .proof-row span,
  .steps span {
    width: 100%;
  }

  .secondary-link {
    display: flex;
    margin: 16px 0 0;
  }
}
