:root {
  --green: #176f42;
  --green-dark: #0b3b2a;
  --lime: #b8d957;
  --gold: #f5b94b;
  --ink: #102019;
  --muted: #637267;
  --cream: #f7f4eb;
  --white: #ffffff;
  --line: #d9dfd2;
  --shadow: 0 24px 70px rgba(16, 32, 25, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(247, 244, 235, 0.88);
  border-bottom: 1px solid rgba(23, 111, 66, 0.14);
  backdrop-filter: blur(16px);
}

.brand,
nav,
.hero-actions,
.role-list,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
}

nav {
  gap: 22px;
  font-size: 0.94rem;
  color: #35433a;
}

.header-action {
  padding: 10px 16px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 8px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 350px);
  align-items: end;
  gap: clamp(24px, 6vw, 72px);
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px) 42px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(11, 59, 42, 0.92) 0%, rgba(11, 59, 42, 0.74) 46%, rgba(245, 185, 75, 0.12) 100%),
    url("https://images.unsplash.com/photo-1500937386664-56d1dfef3854?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18vh;
  background: linear-gradient(to bottom, transparent, rgba(247, 244, 235, 0.95));
  pointer-events: none;
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
  padding-bottom: 8vh;
}

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 660px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 28px rgba(23, 111, 66, 0.24);
}

.secondary {
  color: var(--green-dark);
  background: var(--white);
}

.hero-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 7vh;
}

.hero-panel > div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.metric {
  display: block;
  margin-bottom: 4px;
  font-size: 1.7rem;
  font-weight: 800;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.impact {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

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

.impact-grid article,
.market-item,
.plan,
.register-card,
.advisor-form,
.advisor-output,
.modal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(16, 32, 25, 0.06);
}

.impact-grid article {
  padding: 24px;
}

.icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  color: var(--green-dark);
  background: #e7f1d2;
  font-weight: 900;
}

.impact-grid p,
.section-heading p,
.market-item p,
.plan p,
.split p,
.advisor-output p,
footer span {
  color: var(--muted);
  line-height: 1.65;
}

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

.advisor {
  background: #edf4e9;
}

.advisor-layout,
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: start;
}

form {
  display: grid;
  gap: 16px;
}

.advisor-form,
.advisor-output,
.register-card,
.modal-card {
  padding: clamp(20px, 3vw, 30px);
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cad3c7;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcf8;
  font: inherit;
}

textarea {
  resize: vertical;
}

.advisor-output {
  min-height: 100%;
  border-color: rgba(23, 111, 66, 0.28);
}

.status-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 8px rgba(184, 217, 87, 0.18);
}

.advisor-output ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

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

.market-item,
.plan {
  padding: 18px;
}

.item-visual {
  min-height: 170px;
  margin-bottom: 18px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.seed {
  background-image: linear-gradient(rgba(11, 59, 42, 0.08), rgba(11, 59, 42, 0.08)), url("https://images.unsplash.com/photo-1598512752271-33f913a5af13?auto=format&fit=crop&w=800&q=80");
}

.tomato {
  background-image: linear-gradient(rgba(11, 59, 42, 0.08), rgba(11, 59, 42, 0.08)), url("https://images.unsplash.com/photo-1592924357228-91a4daadcfea?auto=format&fit=crop&w=800&q=80");
}

.soil {
  background-image: linear-gradient(rgba(11, 59, 42, 0.08), rgba(11, 59, 42, 0.08)), url("https://images.unsplash.com/photo-1464226184884-fa280b87c399?auto=format&fit=crop&w=800&q=80");
}

.role-list {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.role-list span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 800;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.plans {
  background: #f1eee3;
}

.plan {
  display: grid;
  gap: 14px;
}

.plan strong {
  display: block;
  font-size: 2rem;
}

.plan strong span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

.featured {
  border-color: rgba(23, 111, 66, 0.45);
  box-shadow: var(--shadow);
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 32, 25, 0.58);
}

.payment-modal[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: min(100%, 510px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: #eef2ea;
  font-size: 1.4rem;
  cursor: pointer;
}

footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--green-dark);
  color: var(--white);
}

footer span {
  color: rgba(255, 255, 255, 0.76);
}

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

  .hero,
  .impact,
  .advisor-layout,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-content,
  .hero-panel {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .market-grid,
  .plan-grid,
  .impact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
  }

  .header-action {
    display: none;
  }

  h1 {
    font-size: 3.4rem;
  }

  .hero-actions,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
