:root {
  color-scheme: light;
  --ink: #172016;
  --muted: #596654;
  --line: #dce5d4;
  --field: #f7f9f2;
  --panel: #ffffff;
  --leaf: #2f6f43;
  --leaf-dark: #1d4d30;
  --sun: #f3c91f;
  --danger: #a63f2e;
  --graphite: #172016;
  --cream: #f4f0e7;
  --shadow: 0 24px 80px rgba(39, 60, 36, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 78% 10%, rgba(243, 201, 31, .13), transparent 28%),
    linear-gradient(180deg, #f8f6ee 0%, #fbfcf6 42%, #f4f0e7 100%);
  color: var(--ink);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.page {
  overflow: hidden;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 252, 246, .94);
  border-bottom: 1px solid rgba(220, 229, 212, .9);
  backdrop-filter: blur(18px);
}

.top-contact {
  background: var(--leaf-dark);
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  font-weight: 750;
}

.top-contact-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.top-contact a {
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

.top-contact a:hover {
  text-decoration: underline;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
}

.brand-logo {
  width: 210px;
  height: 70px;
  object-fit: contain;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 650;
  font-size: 12px;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav-links a {
  text-decoration: none;
}

.language-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.lang-button {
  min-width: 38px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
  cursor: pointer;
}

.lang-button.is-active {
  background: var(--leaf);
  color: #fff;
}

.button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--leaf);
  color: #fff;
  text-decoration: none;
  font-weight: 850;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(47, 111, 67, .22);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--leaf-dark);
  box-shadow: 0 18px 40px rgba(47, 111, 67, .22);
}

.button.secondary {
  background: rgba(255, 255, 255, .76);
  color: var(--leaf-dark);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button.secondary:hover {
  background: #fbfcf6;
  border-color: rgba(47, 111, 67, .28);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  padding: 64px 0 30px;
  display: grid;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 246, 238, .99) 0%, rgba(248, 246, 238, .96) 48%, rgba(248, 246, 238, .82) 100%),
    url("assets/appibuster-farm-hero.png") right center / cover no-repeat;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(0deg, #fbfcf6 0%, rgba(251, 252, 246, 0) 100%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(320px, 1fr);
  gap: 48px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  border: 1px solid rgba(47, 111, 67, .24);
  background: rgba(255, 255, 255, .78);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 850;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(243, 201, 31, .18);
}

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.04;
}

h3 {
  font-size: 21px;
}

.lead {
  max-width: 660px;
  margin-bottom: 28px;
  color: #33412f;
  font-size: clamp(18px, 2vw, 22px);
}

.body-copy,
.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-primary {
  min-width: 210px;
}

.hero-action-note {
  max-width: 260px;
  color: #53624e;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 690px;
}

.stat,
.card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
}

.stat {
  padding: 16px;
}

.stat strong {
  display: block;
  margin-bottom: 5px;
  color: var(--leaf-dark);
  font-size: 25px;
  line-height: 1.05;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.product-panel {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(220, 229, 212, .9);
  background: rgba(255, 255, 255, .88);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}

.product-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 90px rgba(39, 60, 36, .18);
}

.product-panel img {
  flex: 1 1 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 58% 36%;
}

.panel-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(243, 201, 31, .22), transparent);
  transform: translateX(-120%);
  animation: panelScan 4.2s ease-in-out infinite;
}

.next-peek {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.peek-item {
  background: #fff;
  padding: 16px;
  min-height: 112px;
}

.peek-item b {
  display: block;
  margin-bottom: 4px;
  color: var(--leaf-dark);
  font-size: 14px;
}

.peek-item span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
}

section {
  padding: 84px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
  gap: 46px;
  align-items: end;
  margin-bottom: 34px;
}

.benefits-head,
.use-head {
  grid-template-columns: minmax(0, 560px) minmax(320px, 1fr);
  align-items: center;
  gap: 36px;
  margin-bottom: 26px;
}

.benefits-head h2,
.use-head h2 {
  max-width: 560px;
}

.benefits-head > p,
.use-head > p {
  position: relative;
  margin: 0;
  padding: 20px 22px 20px 26px;
  border: 1px solid rgba(47, 111, 67, .16);
  border-left: 4px solid var(--sun);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 36px rgba(39, 60, 36, .06);
  color: #3f4d3a;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

.card {
  padding: 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover,
.step:hover,
.peek-item:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 111, 67, .28);
  box-shadow: 0 18px 44px rgba(39, 60, 36, .09);
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.media-band {
  background: linear-gradient(180deg, #fbfcf6 0%, #f3f8ee 18%, #f3f8ee 78%, #fbfcf6 100%);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.image-frame {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 44px rgba(39, 60, 36, .10);
}

.image-frame img {
  width: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}

.placement-product-frame {
  aspect-ratio: 607 / 458;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
}

.placement-product-frame img {
  width: min(82%, 430px);
  height: auto;
  max-height: 88%;
}

.image-frame:hover img {
  transform: scale(1.025);
}

.checks {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--muted);
}

.checkmark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(47, 111, 67, .1);
  color: var(--leaf-dark);
  font-weight: 900;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}

.step {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 8px;
  background: var(--sun);
  color: #312b12;
  font-weight: 900;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.contact-band {
  background: #fbfcf6;
  color: var(--ink);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 560px);
  gap: 46px;
  align-items: start;
  padding: 46px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: var(--leaf-dark);
  color: #fff;
  box-shadow: 0 24px 78px rgba(29, 77, 48, .20);
}

.contact p {
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list div {
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, .08);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.contact-list div:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .12);
}

.contact-list b {
  display: block;
  margin-bottom: 3px;
}

.contact-list span {
  color: rgba(255, 255, 255, .78);
}

.jotform-card {
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease;
}

.jotform-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 88px rgba(23, 32, 22, .18);
}

.jotform-frame {
  width: 100%;
  min-height: 760px;
  border: 0;
  display: block;
  background: #fff;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--leaf-dark);
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes panelScan {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }

  20%,
  70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

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

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(251, 252, 246, .99) 0%, rgba(251, 252, 246, .9) 60%, rgba(251, 252, 246, .7) 100%),
      url("assets/appibuster-farm-hero.png") center bottom / cover no-repeat;
  }

  .hero-grid,
  .section-head,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .benefits-head,
  .use-head {
    gap: 18px;
  }

  .product-panel {
    align-self: auto;
    max-width: 520px;
  }

  .product-panel img {
    flex: none;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 4.35;
  }

  .cards,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .next-peek {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .top-contact-inner {
    min-height: auto;
    justify-content: center;
    gap: 8px 14px;
    flex-wrap: wrap;
    padding: 8px 0;
    text-align: center;
    font-size: 12px;
  }

  .nav {
    min-height: 68px;
    gap: 10px;
  }

  .brand-logo {
    width: 150px;
    height: 50px;
  }

  .brand small,
  .brand [data-i18n="site.brand"] {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-cta {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .hero {
    padding: 36px 0 22px;
  }

  .stats,
  .cards,
  .steps,
  .next-peek {
    grid-template-columns: 1fr;
  }

  section {
    padding: 58px 0;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-action-note {
    max-width: none;
    text-align: center;
    width: 100%;
  }

  .contact {
    padding: 28px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition-delay: 0ms !important;
  }
}
