:root {
  --cream: #faf5ea;
  --cream-2: #f7efe1;
  --ink: #172815;
  --green: #3f7428;
  --green-dark: #234f18;
  --green-soft: #73954b;
  --orange: #eb7408;
  --orange-dark: #cf5f00;
  --line: #bfd099;
  --page-scale: 1;
  --content-width: calc(1024px * var(--page-scale));
  --content-offset: max(0px, calc((100vw - var(--content-width)) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #efe6d6;
  color: var(--ink);
  font-family: "Nunito Sans", Arial, sans-serif;
}

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

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

.site-shell {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: var(--cream);
}

.hero {
  position: relative;
  min-height: calc(804px * var(--page-scale));
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 44%, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0) 22%),
    linear-gradient(90deg, #fbf7ed 0%, #fbf7ef 45%, #f8f0e4 100%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 211px;
  background:
    linear-gradient(180deg, rgba(250, 245, 234, 0.97) 0%, rgba(250, 245, 234, 0.62) 20%, rgba(250, 245, 234, 0.05) 46%),
    url("assets/hero-landscape.png") center bottom / cover no-repeat;
  content: "";
}

.topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 34px;
  height: calc(96px * var(--page-scale));
  padding: calc(12px * var(--page-scale)) calc(var(--content-offset) + (24px * var(--page-scale))) 0 calc(var(--content-offset) + (26px * var(--page-scale)));
}

.brand {
  flex: 0 0 auto;
  width: calc(285px * var(--page-scale));
}

.nav {
  display: flex;
  align-items: center;
  gap: calc(33px * var(--page-scale));
  margin-left: calc(28px * var(--page-scale));
  font-size: calc(15px * var(--page-scale));
  font-weight: 600;
  color: #0f1f14;
  white-space: nowrap;
}

.nav a {
  position: relative;
  padding: 12px 0 14px;
}

.nav a.active::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--green);
  content: "";
}

.join-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: calc(110px * var(--page-scale));
  height: calc(39px * var(--page-scale));
  margin-left: auto;
  border-radius: 6px;
  background: linear-gradient(180deg, #3f7428 0%, #285d19 100%);
  color: #fffdf5;
  font-size: calc(14px * var(--page-scale));
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.hero-copy {
  position: absolute;
  top: calc(146px * var(--page-scale));
  left: calc(var(--content-offset) + (52px * var(--page-scale)));
  z-index: 2;
  width: calc(472px * var(--page-scale));
}

.hero-copy h1 {
  margin: 0 0 20px;
  color: #1b3d1d;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: calc(46px * var(--page-scale));
  font-weight: 700;
  line-height: 1.04;
}

.hero-copy p {
  width: calc(430px * var(--page-scale));
  margin: 0;
  color: #142119;
  font-size: calc(16px * var(--page-scale));
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 29px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: calc(122px * var(--page-scale));
  height: calc(45px * var(--page-scale));
  border-radius: 7px;
  font-size: calc(15px * var(--page-scale));
  font-weight: 700;
}

.button.primary {
  background: linear-gradient(180deg, #457b2d 0%, #2e641e 100%);
  color: #fffaf0;
}

.button.secondary {
  min-width: calc(124px * var(--page-scale));
  border: 1px solid #4a7936;
  background: rgba(255, 255, 255, 0.43);
  color: #31651f;
}

.hero-values {
  position: absolute;
  top: calc(524px * var(--page-scale));
  left: calc(var(--content-offset) + (52px * var(--page-scale)));
  z-index: 2;
  display: flex;
  gap: calc(52px * var(--page-scale));
}

.value {
  width: calc(83px * var(--page-scale));
  text-align: center;
  color: #142418;
  font-size: calc(13.5px * var(--page-scale));
  line-height: 1.25;
}

.round-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 9px;
  border: 1px solid #d4dbbd;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  color: var(--green);
}

.round-icon svg,
.large-icon svg,
.footer-mark svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.cycle {
  position: absolute;
  top: calc(106px * var(--page-scale));
  left: calc(var(--content-offset) + (421px * var(--page-scale)));
  z-index: 2;
  width: 548px;
  height: 610px;
  transform: scale(var(--page-scale));
  transform-origin: top left;
}

.cycle-arrows {
  position: absolute;
  top: 66px;
  left: 20px;
  z-index: 0;
  width: 496px;
  height: 490px;
  overflow: visible;
}

.cycle-arrows path {
  fill: none;
  stroke: #4a7730;
  stroke-linecap: round;
  stroke-width: 3.4;
}

.cycle-node {
  position: absolute;
  z-index: 2;
  display: grid;
  justify-items: center;
}

.cycle-node img {
  width: 158px;
  height: 158px;
  border-radius: 50%;
  object-fit: cover;
}

.cycle-node strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 106px;
  min-height: 31px;
  margin-top: -2px;
  padding: 4px 18px 5px;
  border-radius: 18px;
  background: linear-gradient(180deg, #5b8d37 0%, #3d7426 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.08;
  text-align: center;
}

.cycle-node.restaurant strong {
  min-width: 141px;
  background: linear-gradient(180deg, #f28c18 0%, #de6900 100%);
}

.cycle-node.farmer {
  top: 4px;
  left: 181px;
}

.cycle-node.restaurant {
  top: 287px;
  left: 7px;
}

.cycle-node.eco {
  top: 286px;
  left: 358px;
}

.cycle-node.eco strong {
  min-width: 156px;
}

.cycle-logo {
  position: absolute;
  top: 218px;
  left: 198px;
  z-index: 2;
  width: 150px;
}

.cycle-notes {
  position: absolute;
  z-index: 2;
  margin: 0;
  padding-left: 14px;
  color: #23451b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(250, 245, 234, 0.88);
}

.cycle-notes li {
  margin: 0 0 7px;
}

.cycle-notes li::marker {
  color: var(--green);
  font-size: 12px;
}

.cycle-notes.accent {
  color: var(--orange);
}

.cycle-notes.accent li::marker {
  color: var(--orange);
}

.farmer-notes {
  top: 50px;
  left: 363px;
  width: 155px;
}

.restaurant-notes {
  top: 492px;
  left: 17px;
  width: 160px;
}

.eco-notes {
  top: 496px;
  left: 361px;
  width: 190px;
}

.benefits {
  position: relative;
  z-index: 4;
  min-height: calc(623px * var(--page-scale));
  margin-top: -3px;
  padding: calc(24px * var(--page-scale)) calc(var(--content-offset) + (51px * var(--page-scale))) 0;
  border-radius: 16px 16px 0 0;
  background:
    radial-gradient(circle at 55% 35%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 28%),
    linear-gradient(180deg, #fbf8ef 0%, #faf4e8 100%);
}

.section-title {
  text-align: center;
}

.section-title h2,
.bottom-benefits h2 {
  margin: 0;
  color: #24231f;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: calc(31px * var(--page-scale));
  font-weight: 700;
  line-height: 1;
}

.title-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--green);
}

.title-flourish span {
  width: 38px;
  height: 1px;
  background: #aac184;
}

.title-flourish svg {
  width: 20px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(15px * var(--page-scale));
  margin-top: calc(15px * var(--page-scale));
}

.benefit-card {
  position: relative;
  height: calc(377px * var(--page-scale));
  overflow: hidden;
  border: 1px solid #c7d2a8;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(250, 246, 235, 0.22)),
    #faf5e9;
}

.benefit-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 268px;
  background: linear-gradient(180deg, rgba(250, 246, 235, 1) 0%, rgba(250, 246, 235, 0.99) 48%, rgba(250, 246, 235, 0.78) 63%, rgba(250, 246, 235, 0.12) 86%, rgba(250, 246, 235, 0) 100%);
  pointer-events: none;
  content: "";
}

.restaurants-card {
  border-color: #edb56c;
}

.card-head {
  position: relative;
  z-index: 3;
  display: flex;
  gap: calc(20px * var(--page-scale));
  align-items: flex-start;
  padding: calc(18px * var(--page-scale)) calc(17px * var(--page-scale)) 0 calc(26px * var(--page-scale));
}

.large-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(88px * var(--page-scale));
  height: calc(88px * var(--page-scale));
  border-radius: 50%;
  color: var(--green);
}

.large-icon svg {
  width: calc(55px * var(--page-scale));
  height: calc(55px * var(--page-scale));
  stroke-width: 2.8;
}

.large-icon.outline {
  border: 2px solid var(--green);
  background: rgba(255, 255, 255, 0.26);
}

.large-icon.filled {
  color: #fff;
}

.large-icon.orange {
  background: linear-gradient(180deg, #f39218, #e46d00);
}

.large-icon.green-fill {
  background: linear-gradient(180deg, #5d9339, #3d7426);
}

.card-head h3 {
  margin: 8px 0 15px;
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: calc(27px * var(--page-scale));
  font-weight: 700;
  line-height: 0.98;
}

.restaurants-card .card-head h3 {
  color: var(--orange);
}

.card-head ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #142418;
  font-size: calc(12px * var(--page-scale));
  font-weight: 700;
  line-height: 1.28;
}

.eco-card .card-head ul {
  font-size: calc(11.5px * var(--page-scale));
  line-height: 1.22;
}

.card-head li {
  position: relative;
  padding-left: 18px;
}

.card-head li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  place-items: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  content: "✓";
}

.card-photo {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: calc(235px * var(--page-scale));
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.eco-card .card-photo img {
  object-position: center center;
}

.card-button {
  position: absolute;
  bottom: 7px;
  left: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(153px * var(--page-scale));
  height: calc(43px * var(--page-scale));
  transform: translateX(-50%);
  border: 1px solid #fff6df;
  border-radius: 6px;
  color: #fff;
  font-size: calc(16px * var(--page-scale));
  font-weight: 800;
  box-shadow: 0 1px 2px rgba(22, 43, 15, 0.18);
}

.card-button.green {
  background: linear-gradient(180deg, #477c2e, #2f661f);
}

.card-button.orange {
  background: linear-gradient(180deg, #f18413, #e16900);
}

.bottom-benefits {
  padding: calc(23px * var(--page-scale)) 4px 0;
  text-align: center;
}

.bottom-benefits h2 {
  font-size: calc(24px * var(--page-scale));
  line-height: 1.08;
}

.benefit-row {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.2fr 1.1fr;
  gap: calc(31px * var(--page-scale));
  margin-top: calc(21px * var(--page-scale));
  text-align: left;
}

.benefit-row article {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.round-icon.large {
  width: 70px;
  height: 70px;
  margin: 0;
  background: rgba(255, 255, 255, 0.2);
}

.round-icon.large svg {
  width: 43px;
  height: 43px;
}

.benefit-row h3 {
  margin: 0 0 4px;
  color: #111e14;
  font-size: calc(15.5px * var(--page-scale));
  font-weight: 800;
}

.benefit-row p {
  margin: 0;
  color: #17251a;
  font-size: calc(13px * var(--page-scale));
  line-height: 1.26;
}

.footer {
  position: relative;
  z-index: 5;
  min-height: calc(109px * var(--page-scale));
  overflow: hidden;
  padding-top: calc(17px * var(--page-scale));
  background:
    radial-gradient(circle at 50% 0%, rgba(120, 152, 72, 0.35), rgba(120, 152, 72, 0) 36%),
    linear-gradient(90deg, #133d1d 0%, #214f21 50%, #153e1c 100%);
  color: #fff;
}

.footer-leaves {
  position: absolute;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.footer-leaves.left {
  left: 0;
}

.footer-leaves.right {
  right: 0;
}

.footer-cta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(20px * var(--page-scale));
}

.footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 50%;
  color: #fff;
}

.footer-mark svg {
  width: 28px;
  height: 28px;
}

.footer-cta p {
  margin: 0 12px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: calc(22px * var(--page-scale));
  font-weight: 700;
}

.footer-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(147px * var(--page-scale));
  height: calc(42px * var(--page-scale));
  border-radius: 7px;
  background: #fffaf0;
  color: #143018;
  font-size: calc(15px * var(--page-scale));
  font-weight: 800;
}

.footer-links {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: calc(18px * var(--page-scale));
  font-size: calc(13px * var(--page-scale));
  font-weight: 700;
}

.footer-links a {
  min-width: 156px;
  padding: 0 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  text-align: center;
}

.footer-links a:first-child {
  border-left: 0;
}

@media (min-width: 1180px) {
  :root {
    --page-scale: 1.08;
  }
}

@media (min-width: 1360px) {
  :root {
    --page-scale: 1.14;
  }
}

@media (min-width: 1560px) {
  :root {
    --page-scale: 1.2;
  }
}

@media (max-width: 900px) {
  :root {
    --page-scale: 1;
  }

  .site-shell {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-bottom: 260px;
  }

  .topbar {
    height: auto;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 14px 18px;
  }

  .brand {
    width: 240px;
  }

  .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-copy,
  .hero-values,
  .cycle {
    position: relative;
    top: auto;
    left: auto;
  }

  .hero-copy {
    width: auto;
    max-width: 560px;
    margin: 26px 24px 0;
  }

  .hero-copy h1 {
    font-size: clamp(36px, 8vw, 46px);
  }

  .hero-copy p {
    width: auto;
  }

  .hero-values {
    justify-content: flex-start;
    gap: 22px;
    margin: 34px 24px 0;
  }

  .cycle {
    width: min(548px, calc(100% - 24px));
    height: 610px;
    margin: 34px auto 0;
    transform-origin: top center;
  }

  .benefits {
    padding: 26px 20px 0;
  }

  .cards {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-right: auto;
    margin-left: auto;
  }

  .bottom-benefits {
    padding-bottom: 24px;
  }

  .benefit-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .footer-cta {
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 10px 0;
  }
}

@media (max-width: 580px) {
  .join-button {
    min-width: 102px;
  }

  .hero {
    padding-bottom: 220px;
  }

  .hero-values {
    flex-wrap: wrap;
  }

  .cycle {
    height: 540px;
    transform: scale(0.82);
    margin-bottom: -90px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .benefit-row {
    grid-template-columns: 1fr;
    max-width: 330px;
    margin-right: auto;
    margin-left: auto;
  }

  .footer-cta p {
    width: 100%;
    text-align: center;
  }
}
