:root {
  --green-950: #07140f;
  --green-900: #0f231a;
  --green-800: #183728;
  --green-700: #21543a;
  --green-600: #2c744c;
  --gold: #c79a49;
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --ink: #162019;
  --muted: #617066;
  --line: #dfe5dc;
  --shadow: 0 24px 70px rgba(7, 20, 15, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 32px;
  background: rgba(7, 20, 15, .86);
  color: #fff;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  color: var(--green-950);
  background: var(--gold);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
}

.nav a,
.header-cta,
.text-link {
  text-decoration: none;
}

.nav a:hover {
  color: #fff;
}

.header-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 6px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 820px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-950);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("assets/cropbuyer-hero.png") center right / cover no-repeat;
  opacity: .82;
}

.hero-overlay {
  background:
    radial-gradient(circle at 80% 20%, rgba(199, 154, 73, .22), transparent 28%),
    linear-gradient(90deg, rgba(7, 20, 15, .97) 0%, rgba(7, 20, 15, .88) 42%, rgba(7, 20, 15, .28) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding-top: 90px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: #ddc28c;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
}

.eyebrow.dark {
  color: var(--green-600);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 790px;
  margin: 0;
  font-size: 70px;
  line-height: 1.02;
  font-weight: 800;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 21px;
  line-height: 1.6;
}

.state-card {
  width: min(850px, 100%);
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 253, 248, .96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.state-card label {
  display: block;
  font-weight: 800;
  margin-bottom: 5px;
}

.state-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.state-actions {
  display: grid;
  grid-template-columns: minmax(210px, 260px) auto;
  gap: 10px;
}

select {
  min-height: 48px;
  width: 100%;
  border: 1px solid #cfd8ce;
  border-radius: 6px;
  background: #fff;
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}

.primary {
  background: var(--green-600);
  color: #fff;
}

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

.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .07);
}

.secondary:hover {
  border-color: rgba(255, 255, 255, .48);
}

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

.hero-bullets {
  max-width: 850px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
}

.hero-bullets li {
  position: relative;
  padding-left: 22px;
}

.hero-bullets li::before,
.cb-check::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.section {
  padding: 86px 0;
}

.section-inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.intro {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 42px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.12;
}

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

.section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.muted {
  background: var(--cream);
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article,
.large-card,
.steps article,
.benefit-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 26px;
}

.feature-list p,
.large-card p,
.steps p {
  margin-bottom: 0;
}

.cards {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
}

.benefit-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.benefit-grid p {
  margin-bottom: 0;
}

.large-card {
  min-height: 310px;
}

.vendor-card {
  background: var(--green-900);
  color: #fff;
  border-color: var(--green-800);
}

.vendor-card p {
  color: rgba(255, 255, 255, .78);
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: #ddc28c;
  font-weight: 800;
}

.rebate {
  background: var(--green-950);
  color: #fff;
}

.rebate-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: center;
}

.rebate h2 {
  color: #fff;
}

.rebate p {
  color: rgba(255, 255, 255, .78);
}

.rebate-number {
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(199, 154, 73, .28), rgba(255, 255, 255, .04));
  font-size: 76px;
  font-weight: 800;
}

.rebate-number span {
  font-size: 34px;
  color: #ddc28c;
}

.process {
  background: var(--paper);
}

.steps {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.steps span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--green-600);
  font-weight: 800;
}

.final-cta {
  padding-top: 0;
  background: var(--paper);
}

.final-panel {
  padding: 52px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
}

.final-panel h2 {
  color: #fff;
}

.final-panel p {
  max-width: 760px;
  color: rgba(255, 255, 255, .8);
}

.footer {
  min-height: 104px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 0 32px;
  background: var(--green-950);
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
}

.footer span:first-child {
  display: block;
  color: #fff;
  font-weight: 800;
}

.footer small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .62);
}

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

.footer-links a {
  color: rgba(255, 255, 255, .76);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.form-page,
.simple-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 12%, rgba(199, 154, 73, .12), transparent 28%),
    linear-gradient(135deg, var(--green-950), var(--green-800));
}

.form-shell,
.simple-shell {
  width: min(980px, calc(100% - 44px));
  margin: 0 auto;
  padding: 132px 0 70px;
  color: #fff;
}

.form-intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.form-intro h1,
.simple-shell h1 {
  color: #fff;
  font-size: 52px;
}

.form-intro p,
.simple-shell p {
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  line-height: 1.7;
}

.lead-form {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  background: rgba(255, 253, 248, .96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 800;
  font-size: 14px;
}

.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  border: 1px solid #cfd8ce;
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.lead-form textarea {
  resize: vertical;
}

.form-status {
  margin: 14px 0 0;
  color: var(--green-700);
  font-weight: 700;
}

.simple-shell {
  max-width: 760px;
}

.simple-shell .text-link {
  margin-bottom: 24px;
}

.legal-copy {
  max-width: 900px;
}

.legal-copy h1,
.legal-copy h2,
.legal-copy h3,
.legal-copy h4,
.legal-copy p,
.legal-copy li {
  color: rgba(255, 255, 255, .84);
}

.legal-copy h1,
.legal-copy h2,
.legal-copy h3,
.legal-copy h4 {
  margin-top: 30px;
  margin-bottom: 12px;
  color: #fff;
}

.legal-copy hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  margin: 28px 0;
}

.legal-copy a {
  color: #ddc28c;
}

@media (max-width: 940px) {
  .nav {
    display: none;
  }

  h1 {
    font-size: 48px;
  }

  .hero {
    min-height: auto;
    padding: 118px 0 64px;
  }

  .state-card,
  .intro-grid,
  .split,
  .cards,
  .rebate-grid,
  .steps,
  .benefit-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .state-actions,
  .hero-bullets {
    grid-template-columns: 1fr;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .site-header {
    height: auto;
    min-height: 72px;
    padding: 14px 22px;
  }

  .header-cta {
    max-width: 160px;
  }

  .final-panel {
    padding: 34px 24px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 24px;
  }

  .form-intro h1,
  .simple-shell h1 {
    font-size: 40px;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 31px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .section {
    padding: 62px 0;
  }
}
