@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/Fonts/Archivo/Archivo-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 100 1000;
}

@font-face {
  font-family: "Archivo Black";
  src: url("../assets/fonts/Fonts/Archivo_Black/ArchivoBlack-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Public Sans";
  src: url("../assets/fonts/Fonts/Public_Sans/PublicSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 1000;
}

@font-face {
  font-family: "Aeonik Fono";
  src: url("../assets/fonts/mergdata/AeonikFono-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Aeonik Trial";
  src: url("../assets/fonts/mergdata/AeonikTRIAL-Bold.woff2") format("woff2");
  font-weight: 800;
}

@font-face {
  font-family: "PP Agrandir";
  src: url("../assets/fonts/mergdata/PPAgrandir-Bold.woff2") format("woff2");
  font-weight: 800;
}

:root {
  --black: #0a0a0a;
  --deep: #002f2a;
  --teal: #00c9ba;
  --teal-ink: #007a70;
  --yellow: #fff800;
  --amber: #ffa000;
  --blue: #289bff;
  --ivory: #eae2da;
  --paper: #f8f5ec;
  --white: #fffdf6;
  --muted: #5e6966;
  --line: rgba(10, 10, 10, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@keyframes navSpyPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 248, 0, 0);
  }
  45% {
    box-shadow: 0 0 0 5px rgba(255, 248, 0, 0.24);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 248, 0, 0);
  }
}

[id] {
  scroll-margin-top: 130px;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--paper);
  font-family: "Public Sans", Arial, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

img {
  max-width: 100%;
}

.page {
  min-height: 100vh;
  overflow-x: clip;
}

.section {
  padding: 96px max(22px, calc((100vw - 1180px) / 2));
}

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

.kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-family: "Aeonik Fono", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.42;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--black);
  background: var(--yellow);
  font-weight: 900;
}

.button.dark {
  color: var(--white);
  background: var(--black);
}

.button.ghost {
  color: inherit;
  background: transparent;
  border-color: currentColor;
}

.farmerline-logo,
.mergdata-logo {
  display: inline-flex;
  align-items: center;
}

.farmerline-logo img {
  display: block;
  width: auto;
  height: 27px;
  object-fit: contain;
}

.farmerline-logo.is-compact img {
  height: 22px;
}

.mergdata-logo img {
  display: block;
  width: auto;
  height: 24px;
  max-width: 200px;
  object-fit: contain;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.metric-card {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.metric-card strong {
  display: block;
  margin-bottom: 12px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 0.9;
}

.metric-card span {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.25;
}

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

.product-card {
  min-height: 320px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover,
.product-card.is-active {
  border-color: var(--teal);
  box-shadow: 0 20px 60px rgba(0, 201, 186, 0.16);
  transform: translateY(-4px);
}

.product-card small {
  color: var(--teal-ink);
  font-family: "Aeonik Fono", monospace;
  font-weight: 900;
}

.product-card h3 {
  margin: 18px 0 12px;
  font-family: "PP Agrandir", "Archivo Black", sans-serif;
  font-size: 34px;
  line-height: 0.92;
}

.product-card p {
  color: var(--muted);
  line-height: 1.45;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.tag-row span {
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(0, 201, 186, 0.12);
  color: var(--deep);
  font-family: "Aeonik Fono", monospace;
  font-size: 11px;
  font-weight: 900;
}

.audience-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.audience-band article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.audience-band h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.audience-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.partner-proof {
  display: grid;
  gap: 20px;
}

.partner-proof__intro,
.partner-logo-card,
.news-slide a,
.company-paths a {
  border: 1px solid var(--line);
  background: var(--white);
}

.partner-proof__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(260px, 0.36fr);
  gap: 24px;
  align-items: end;
  min-height: auto;
  padding: 0 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.partner-proof .partner-proof__intro h2 {
  max-width: 760px;
  margin: 0;
  font-family: "PP Agrandir", "Archivo Black", sans-serif;
  font-size: clamp(34px, 4.3vw, 64px);
  line-height: 0.9;
}

.partner-proof__intro p:not(.kicker) {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.partner-proof.is-compact .partner-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.partner-logo-card {
  display: grid;
  min-height: 118px;
  place-items: center;
  padding: 18px;
  border-radius: 20px;
  background: #ffffff;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.partner-logo-card:hover {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(10, 10, 10, 0.1);
  transform: translateY(-4px);
}

.partner-logo-card img {
  display: block;
  width: 100%;
  max-width: 148px;
  max-height: 68px;
  filter: saturate(1.12) contrast(1.08);
  object-fit: contain;
}

.news-module .news-slide span {
  color: var(--teal-ink);
  font-family: "Aeonik Fono", monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-module.is-dark .news-slide a,
.company-paths.is-dark a {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.news-module.is-dark .news-slide span {
  color: var(--teal);
}

.partner-proof.is-dark .partner-logo-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 253, 246, 0.95);
}

.partner-proof.is-dark .partner-proof__intro p:not(.kicker),
.news-module.is-dark .news-slide time,
.company-paths.is-dark span {
  color: rgba(255, 255, 255, 0.68);
}

.partner-proof.is-dark .partner-proof__intro h2 {
  color: var(--white);
}

.news-module {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.news-carousel {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.news-carousel__viewport {
  overflow: hidden;
  width: 100%;
  min-width: 0;
}

.news-cards {
  display: flex;
  gap: 12px;
  min-width: 0;
  touch-action: pan-y pinch-zoom;
}

.news-slide {
  flex: 0 0 clamp(230px, calc((100% - 36px) / 4), 330px);
  min-width: 0;
}

.news-slide a {
  display: grid;
  grid-template-rows: 150px 1fr;
  min-height: 360px;
  overflow: hidden;
  padding: 0;
  border-radius: 26px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.news-slide a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-slide a > div {
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 18px;
}

.news-slide a:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
}

.news-slide h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font-size: 21px;
  line-height: 1.05;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.news-slide time {
  color: var(--muted);
  font-weight: 850;
}

.news-carousel__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-carousel__controls button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--black);
  background: var(--white);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;
}

.news-carousel__controls button:not(:disabled):hover {
  background: var(--yellow);
  transform: translateY(-2px);
}

.news-carousel__controls button:disabled {
  cursor: default;
  opacity: 0.38;
}

.news-carousel__dots {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 7px;
}

.news-carousel__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  background: rgba(10, 10, 10, 0.18);
}

.news-carousel__dots button.is-active {
  width: 30px;
  background: var(--teal);
}

.news-module.is-dark .news-carousel__controls button {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
}

.news-module.is-dark .news-carousel__controls button:not(:disabled):hover {
  color: var(--black);
  background: var(--yellow);
}

.news-module.is-dark .news-carousel__dots button {
  background: rgba(255, 255, 255, 0.22);
}

.news-module.is-dark .news-carousel__dots button.is-active {
  background: var(--teal);
}

.news-more {
  justify-self: start;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--black);
  background: var(--yellow);
  font-weight: 950;
}

.news-module.is-dark .news-more {
  color: var(--black);
  background: var(--yellow);
}

.company-paths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.company-paths a {
  position: relative;
  display: grid;
  min-height: 220px;
  gap: 18px;
  align-content: start;
  padding: 22px;
  border-radius: 26px;
  overflow: hidden;
  transition: transform 180ms ease, background 180ms ease;
}

.company-paths a:hover {
  background: var(--yellow);
  transform: translateY(-4px);
}

.company-paths strong {
  font-family: "PP Agrandir", "Archivo Black", sans-serif;
  font-size: 28px;
  line-height: 0.95;
}

.company-paths span {
  color: var(--muted);
  line-height: 1.42;
}

.company-paths svg {
  position: absolute;
  right: 18px;
  bottom: 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.72fr) minmax(170px, 0.46fr) auto;
  gap: 28px;
  align-items: start;
  padding: 46px max(22px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer.is-dark {
  color: var(--white);
  background: var(--black);
}

.site-footer p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer.is-dark p {
  color: rgba(255, 255, 255, 0.68);
}

.footer-contact {
  display: grid;
  gap: 11px;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: inherit;
  font-weight: 850;
}

.site-footer.is-dark .footer-links a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-contact a,
.footer-contact span,
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 850;
}

.footer-cta {
  min-height: 44px;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--black);
  background: var(--yellow);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .section,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-head,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .product-cards,
  .audience-band,
  .company-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-slide {
    flex-basis: calc((100% - 12px) / 2);
  }

  .partner-proof__intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .partner-grid,
  .partner-proof.is-compact .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  [id] {
    scroll-margin-top: 132px;
  }

  .section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .metric-grid,
  .product-cards,
  .audience-band,
  .company-paths {
    grid-template-columns: 1fr;
  }

  .news-slide {
    flex-basis: 100%;
  }

  .partner-grid,
  .partner-proof.is-compact .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-card,
  .product-card,
  .partner-logo-card {
    min-height: auto;
  }
}
