:root {
  --ink: #12201d;
  --muted: #61706c;
  --white: #ffffff;
  --paper: #f6f2e9;
  --line: #dce5dc;
  --forest: #073f34;
  --leaf: #2a9361;
  --gold: #f8bd2a;
  --clay: #df6d3f;
  --blue: #eaf4f7;
  --shadow: 0 18px 44px rgba(13, 45, 38, 0.15);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(246, 242, 233, 0) 0%, var(--paper) 70%),
    radial-gradient(circle at 10% 10%, rgba(248, 189, 42, 0.2), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(42, 147, 97, 0.2), transparent 32%);
}

.top-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px clamp(18px, 4vw, 56px);
  background: var(--forest);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 850;
}

.top-bar a {
  color: var(--gold);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(220, 229, 220, 0.72);
  background: rgba(246, 242, 233, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--gold);
  font-weight: 950;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--white);
  font-weight: 950;
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(7, 63, 52, 0.94) 0%, rgba(7, 63, 52, 0.82) 48%, rgba(7, 63, 52, 0.18) 100%),
    url("assets/hero-home.png");
  background-position: center;
  background-size: cover;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  width: min(1160px, calc(100% - 36px));
  min-height: calc(100vh - 108px);
  margin: 0 auto;
  padding: clamp(46px, 7vw, 78px) 0;
}

.hero-copy {
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.hero h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7.5vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  font-weight: 650;
}

.promise-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.promise-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 900;
}

.promise-list span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--forest);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 950;
}

.button-primary {
  background: var(--gold);
  color: #201507;
  box-shadow: 0 14px 28px rgba(248, 189, 42, 0.28);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
}

.lead-form {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.form-heading h2 {
  margin-bottom: 8px;
  color: var(--forest);
  font-size: 1.55rem;
  line-height: 1.08;
}

.form-heading p:not(.eyebrow) {
  color: var(--muted);
  font-weight: 750;
}

.quiz-meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6eee6;
}

.quiz-meter-fill {
  display: block;
  width: 14.2%;
  height: 100%;
  border-radius: inherit;
  background: var(--leaf);
  transition: width 180ms ease;
}

.quiz-count {
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.quiz-step {
  display: none;
}

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

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  width: 100%;
  margin-bottom: 8px;
  color: var(--forest);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 950;
  line-height: 1.05;
}

fieldset > p {
  color: var(--muted);
  font-weight: 740;
}

.quiz-options {
  display: grid;
  gap: 10px;
}

.quiz-options.two-column {
  grid-template-columns: 1fr 1fr;
}

.quiz-option {
  position: relative;
  display: block;
}

.quiz-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.quiz-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 11px 12px;
  border: 1px solid #d5e2d5;
  border-radius: var(--radius);
  background: #f6fbf5;
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 900;
  text-align: center;
}

.quiz-option input:checked + span {
  border-color: var(--leaf);
  background: var(--leaf);
  color: var(--white);
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 850;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cddbd0;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

input:focus,
select:focus {
  border-color: var(--leaf);
  outline: 3px solid rgba(42, 147, 97, 0.18);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.quiz-actions {
  display: grid;
  grid-template-columns: minmax(92px, 0.35fr) 1fr;
  gap: 10px;
  margin-top: 18px;
}

.quiz-actions .button:first-child[disabled] {
  opacity: 0;
  pointer-events: none;
}

.button-back {
  background: #e8ebe3;
  color: var(--forest);
}

.button-submit {
  width: 100%;
  background: var(--leaf);
  color: var(--white);
}

.button-submit:disabled {
  opacity: 0.62;
  cursor: wait;
}

.is-hidden {
  display: none !important;
}

.form-note,
.form-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.form-status {
  color: var(--forest);
  font-weight: 900;
}

.quiz-form.is-complete .quiz-meter,
.quiz-form.is-complete .quiz-count,
.quiz-form.is-complete .quiz-actions,
.quiz-form.is-complete .form-note,
.quiz-form.is-complete .quiz-step {
  display: none;
}

.quiz-form.is-complete .form-status {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(42, 147, 97, 0.26);
  border-radius: var(--radius);
  background: #eff8f0;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 4px solid var(--gold);
  background: var(--forest);
}

.proof-band p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 22px 16px;
  color: var(--white);
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-band strong {
  color: var(--gold);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 88px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section h2,
.final-cta h2,
.prose h1 {
  margin-bottom: 12px;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.section p {
  color: var(--muted);
}

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

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 32, 29, 0.06);
}

.card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--forest);
  font-weight: 950;
}

.card h3 {
  margin-bottom: 8px;
  color: var(--forest);
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(26px, 6vw, 76px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips span {
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--forest);
  font-weight: 900;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 64px;
  padding: clamp(28px, 5vw, 44px);
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--white);
}

.final-cta h2 {
  color: var(--white);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 760;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a,
.prose a {
  color: var(--forest);
  font-weight: 900;
  text-decoration: underline;
}

.policy-page {
  min-height: calc(100vh - 80px);
}

.prose {
  max-width: 820px;
}

.prose h2 {
  margin: 34px 0 8px;
  color: var(--forest);
}

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

  .hero-inner {
    min-height: auto;
  }

  .proof-band,
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .top-bar {
    display: none;
  }

  .site-header {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 12px 14px;
  }

  .header-call {
    width: 100%;
  }

  .brand strong {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    background-image:
      linear-gradient(180deg, rgba(7, 63, 52, 0.96) 0%, rgba(7, 63, 52, 0.82) 56%, rgba(7, 63, 52, 0.42) 100%),
      url("assets/hero-home.png");
  }

  .hero h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  .field-grid,
  .proof-band,
  .cards,
  .quiz-options.two-column {
    grid-template-columns: 1fr;
  }

  .hero-cta-row .button,
  .final-cta .button {
    width: 100%;
  }

  .final-cta,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
