:root {
  --bd-primary: #7a8f55;
  --bd-primary-dark: #3f5537;
  --bd-accent: #b98f5d;
  --bd-bg: #f4f0e7;
  --bd-text: #253126;
  --bd-muted: #687160;
  --bd-surface: rgba(255, 252, 245, 0.97);
  --bd-glass: rgba(247, 244, 235, 0.94);
  --bd-border: rgba(65, 76, 58, 0.14);
  --bd-success: #198754;
  --bd-danger: #d9534f;
  --bd-shadow: 0 18px 60px rgba(27, 39, 27, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--bd-text);
  background: var(--bd-bg);
}

body {
  min-height: 100svh;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.site-shell {
  min-height: 100svh;
}

.hero {
  position: relative;
  min-height: 100svh;
  background:
    radial-gradient(circle at 78% 18%, rgba(186, 143, 91, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(22, 31, 24, 0.68), rgba(55, 70, 48, 0.34)),
    var(--bd-hero-image) center/cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 27, 22, 0.7), rgba(36, 46, 34, 0.2) 56%, rgba(23, 31, 27, 0.32)),
    linear-gradient(180deg, rgba(88, 80, 55, 0.08), rgba(17, 28, 22, 0.4));
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 5vw, 54px) clamp(30px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(410px, 520px) minmax(620px, 760px);
  grid-template-areas:
    "brand funnel"
    "brand credit";
  gap: 14px clamp(44px, 6vw, 86px);
  align-items: center;
  justify-content: space-between;
  min-height: 100svh;
}

.brand-card {
  grid-area: brand;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
  min-width: 0;
  align-self: center;
}

.brand-card__logos {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: clamp(22px, 4vh, 34px);
}

.brand-card__logo {
  max-height: 68px;
  width: auto;
  object-fit: contain;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 252, 245, 0.9);
  box-shadow: 0 12px 28px rgba(24, 30, 22, 0.18);
}

.brand-card__eyebrow {
  margin: 0 0 10px;
  font-weight: 700;
  color: #e8dcc2;
  white-space: pre-line;
}

.brand-card__title {
  margin: 0 0 16px;
  font-size: clamp(2.25rem, 3.05vw, 3.15rem);
  line-height: 1.08;
  max-width: 15ch;
  text-wrap: balance;
}

.brand-card__text {
  margin: 0;
  max-width: 43ch;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(250, 246, 235, 0.9);
}

.brand-card__trust {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 252, 245, 0.94);
  font-size: 0.98rem;
  font-weight: 700;
}

.brand-card__trust li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand-card__trust li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--bd-accent);
  box-shadow: 0 0 0 4px rgba(185, 143, 93, 0.16);
}

.brand-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.brand-card__link {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(232, 220, 194, 0.42);
  background: rgba(244, 240, 231, 0.1);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  text-shadow: none;
}

.agency-credit {
  grid-area: credit;
  justify-self: end;
  align-self: start;
  display: inline-flex;
  align-items: center;
  margin-top: -4px;
  padding: 6px 9px;
  border-radius: 9px;
  background: rgba(255, 252, 245, 0.82);
  box-shadow: 0 10px 26px rgba(24, 30, 22, 0.16);
  opacity: 0.78;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.agency-credit:hover,
.agency-credit:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
  outline: none;
}

.agency-credit img {
  width: 118px;
  height: auto;
}

.funnel-card {
  grid-area: funnel;
  width: 100%;
  max-width: 760px;
  justify-self: end;
  border-radius: 18px;
  background: var(--bd-glass);
  box-shadow: var(--bd-shadow);
  backdrop-filter: blur(14px);
  overflow: hidden;
  min-width: 0;
}

.funnel-card__step-label {
  padding: 14px 26px 0;
  color: var(--bd-muted);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.funnel-card__promise {
  display: grid;
  gap: 4px;
  padding: 18px 26px 0;
  color: var(--bd-text);
  min-width: 0;
}

.funnel-card__promise strong {
  font-size: 1rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.funnel-card__promise span {
  color: var(--bd-muted);
  font-size: 0.92rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.funnel-card__progress {
  height: 6px;
  margin-top: 10px;
  background: rgba(65, 76, 58, 0.1);
}

.funnel-card__progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--bd-accent), var(--bd-primary-dark));
  transition: width 0.25s ease;
}

.funnel-card__content {
  padding: clamp(24px, 2.4vw, 32px);
  min-width: 0;
}

.step-header {
  min-width: 0;
}

.step-header h2 {
  margin: 0;
  font-size: clamp(1.65rem, 1.8vw, 2.12rem);
  line-height: 1.12;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.step-header p {
  margin: 10px 0 0;
  color: var(--bd-muted);
  line-height: 1.5;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  min-width: 0;
}

.answer-grid--text {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.answer-card {
  appearance: none;
  width: 100%;
  min-height: 112px;
  border: 1px solid rgba(65, 76, 58, 0.12);
  border-radius: 10px;
  background: rgba(255, 252, 245, 0.78);
  padding: 10px;
  text-align: center;
  cursor: pointer;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 10px;
  align-items: center;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.answer-card--image {
  min-height: 184px;
  padding: 20px 16px 18px;
}

.answer-card:hover,
.answer-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(122, 143, 85, 0.55);
  background: rgba(255, 252, 245, 0.98);
  box-shadow: 0 10px 22px rgba(63, 85, 55, 0.14);
  outline: none;
}

.answer-card__image-wrap {
  width: 116px;
  height: 116px;
  justify-self: center;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.answer-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.answer-card__label {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.answer-card--text {
  min-height: 82px;
  grid-template-rows: auto;
  place-items: center;
}

.form-stack {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 700;
}

.field input {
  width: 100%;
  border: 1px solid var(--bd-border);
  border-radius: 10px;
  padding: 15px 16px;
  font-size: 1rem;
  background: rgba(255, 252, 245, 0.86);
}

.field input:focus {
  border-color: rgba(122, 143, 85, 0.68);
  outline: 3px solid rgba(122, 143, 85, 0.14);
}

.helper-text,
.privacy-note,
.message {
  font-size: 0.95rem;
  line-height: 1.5;
}

.helper-text,
.privacy-note {
  color: var(--bd-muted);
}

.privacy-note a {
  color: var(--bd-primary-dark);
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 15px 22px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.button--primary {
  background: var(--bd-primary);
  color: #fff;
}

.button--secondary {
  background: rgba(65, 76, 58, 0.1);
  color: var(--bd-text);
}

.message {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
}

.message--error {
  background: rgba(217, 83, 79, 0.1);
  color: var(--bd-danger);
}

.message--success {
  background: rgba(25, 135, 84, 0.1);
  color: var(--bd-success);
}

.thankyou {
  text-align: center;
  padding: 18px 8px 6px;
}

.thankyou h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.thankyou p {
  margin: 10px 0;
  white-space: pre-line;
  line-height: 1.6;
  color: var(--bd-muted);
}

.fallback {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 20px;
}

@media (max-width: 920px) {
  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "funnel"
      "credit";
    gap: 22px;
    align-items: start;
    min-height: auto;
    max-width: 720px;
  }

  .answer-grid,
  .answer-grid--text {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-card__title {
    max-width: 18ch;
  }

  .agency-credit {
    justify-self: center;
    margin-top: -4px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
  }

  .brand-card {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    text-align: center;
  }

  .funnel-card {
    width: 100%;
    max-width: calc(100vw - 36px);
    overflow: hidden;
  }

  .hero__inner {
    padding: 18px 18px 22px;
    gap: 16px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .funnel-card__content {
    padding: 18px;
  }

  .funnel-card__step-label {
    padding: 12px 18px 0;
  }

  .brand-card__title {
    width: 100%;
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.16rem, 5vw, 1.36rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
    text-wrap: auto;
  }

  .step-header h2 {
    max-width: 100%;
    font-size: clamp(1.25rem, 5.4vw, 1.5rem);
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .brand-card__logos {
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
  }

  .brand-card__logo {
    max-width: min(205px, 68vw);
    max-height: 68px;
  }

  .brand-card__text {
    font-size: 0.9rem;
    max-width: 34ch;
    margin-left: auto;
    margin-right: auto;
  }

  .brand-card__trust {
    max-width: 32ch;
    margin: 16px auto 0;
    gap: 7px;
    font-size: 0.88rem;
    text-align: left;
  }

  .brand-card__trust li {
    align-items: flex-start;
  }

  .brand-card__meta {
    justify-content: center;
    margin-top: 14px;
    gap: 8px;
  }

  .brand-card__link {
    width: auto;
    padding: 7px 0;
    border: 0;
    background: transparent;
    font-size: 0.88rem;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .funnel-card__promise {
    padding: 16px 18px 0;
    text-align: left;
  }

  .funnel-card__promise strong {
    font-size: 0.88rem;
  }

  .funnel-card__promise span {
    font-size: 0.82rem;
  }

  .answer-grid,
  .answer-grid--text {
    grid-template-columns: 1fr;
  }

  .answer-card {
    min-height: 88px;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    text-align: left;
    justify-items: start;
  }

  .answer-card__image-wrap {
    width: 58px;
    height: 58px;
  }

  .answer-card--text {
    min-height: 64px;
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .agency-credit {
    justify-self: center;
    margin-top: -2px;
    padding: 5px 8px;
    opacity: 0.72;
  }

  .agency-credit img {
    width: 104px;
  }
}
