:root {
  --ink: #13261c;
  --grove: #1f4d38;
  --leaf: #3d7a55;
  --mist: #dfe8e2;
  --milk: #f3f6f4;
  --straw: #d4a84b;
  --lake: #3a6a78;
  --wood: #5a4634;
  --line: rgba(19, 38, 28, 0.12);
  --shadow: 0 24px 60px rgba(19, 38, 28, 0.18);
  --radius: 18px;
  --font-display: "Unbounded", "Segoe UI", sans-serif;
  --font-body: "Golos Text", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(61, 122, 85, 0.16), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(58, 106, 120, 0.12), transparent 55%),
    linear-gradient(180deg, #eef3ef 0%, var(--milk) 40%, #e8eee9 100%);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.65rem;
  background:
    linear-gradient(145deg, var(--leaf), var(--grove));
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 28% 22% auto;
  height: 42%;
  background: var(--straw);
  clip-path: polygon(10% 100%, 50% 0, 90% 100%);
}

.nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.95rem;
}

.nav a {
  opacity: 0.86;
}

.nav a:hover {
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--straw);
  color: var(--ink);
}

.btn-primary:hover {
  background: #e0b759;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn-dark {
  background: var(--grove);
  color: #fff;
}

.btn-line {
  background: transparent;
  border-color: var(--line);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19, 38, 28, 0.35) 0%, rgba(19, 38, 28, 0.55) 45%, rgba(19, 38, 28, 0.88) 100%),
    url("https://images.unsplash.com/photo-1500595046743-cd271d973d8b?auto=format&fit=crop&w=2200&q=80") center/cover no-repeat;
  transform: scale(1.04);
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 7.5rem 0 4.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin: 0 0 1rem;
  max-width: 12ch;
  animation: rise 0.9s ease both;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  max-width: 18ch;
  animation: rise 0.9s ease 0.08s both;
}

.hero p {
  margin: 0 0 1.6rem;
  max-width: 36ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  animation: rise 0.9s ease 0.16s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s ease 0.24s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.section {
  padding: 5rem 0;
}

.section-head {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 2.2rem;
  max-width: 42rem;
}

.eyebrow {
  color: var(--lake);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.section-head p {
  margin: 0;
  color: rgba(19, 38, 28, 0.72);
  font-size: 1.05rem;
}

.infographic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.infographic::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 2.4rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--leaf), var(--straw), var(--lake), transparent);
  opacity: 0.45;
}

.step {
  position: relative;
  padding: 1.3rem 1rem 1.2rem;
  text-align: center;
}

.step-num {
  width: 3.1rem;
  height: 3.1rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--grove);
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: rgba(19, 38, 28, 0.7);
  font-size: 0.95rem;
}

.roles {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.role {
  padding: 1.6rem;
  border-radius: var(--radius);
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.role::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.role:hover::before {
  transform: scale(1.06);
}

.role::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(19, 38, 28, 0.15), rgba(19, 38, 28, 0.82));
}

.role-buyer::before {
  background-image: url("https://images.unsplash.com/photo-1488459716781-31db52582fe9?auto=format&fit=crop&w=1200&q=80");
}

.role-farm::before {
  background-image: url("https://images.unsplash.com/photo-1464226184884-fa280b87c399?auto=format&fit=crop&w=1200&q=80");
}

.role-pro::before {
  background-image: url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1200&q=80");
}

.role span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.role h3 {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.role p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.scheme {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.scheme-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.scheme svg {
  width: 100%;
  height: auto;
}

.settlement {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
}

.settlement-copy,
.settlement-card {
  border-radius: 28px;
  padding: 2rem;
}

.settlement-copy {
  background:
    linear-gradient(145deg, rgba(31, 77, 56, 0.94), rgba(58, 106, 120, 0.9)),
    url("https://images.unsplash.com/photo-1444858291040-58f756a3bdd6?auto=format&fit=crop&w=1400&q=80") center/cover;
  color: #fff;
}

.settlement-copy h2 {
  margin: 0.4rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
}

.settlement-card {
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  align-content: start;
}

.plain-grid,
.trades,
.features {
  display: grid;
  gap: 1rem;
}

.plain-grid {
  grid-template-columns: repeat(3, 1fr);
}

.plain,
.trade,
.features article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.35rem 1.4rem;
}

.plain h3,
.trade h3,
.features article h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.plain p,
.trade p {
  margin: 0;
  color: rgba(19, 38, 28, 0.72);
}

.trades {
  grid-template-columns: repeat(3, 1fr);
}

.features {
  grid-template-columns: repeat(3, 1fr);
}

.features ul {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(19, 38, 28, 0.75);
}

.features li + li {
  margin-top: 0.35rem;
}

.diff-list {
  display: grid;
  gap: 0.9rem;
}

.diff-list div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1.15rem;
  display: grid;
  gap: 0.35rem;
}

.diff-list strong {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.diff-list span {
  color: rgba(19, 38, 28, 0.72);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--mist);
  font-size: 0.88rem;
  font-weight: 600;
}

.footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: rgba(19, 38, 28, 0.7);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 900px) {
  .infographic,
  .roles,
  .scheme,
  .settlement,
  .plain-grid,
  .trades,
  .features {
    grid-template-columns: 1fr;
  }

  .infographic::before {
    display: none;
  }

  .nav .hide-sm {
    display: none;
  }

  .hero-content {
    padding-top: 6.5rem;
  }
}
