/* ==========================================================================
   MeshFlock — Poultry Management System
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --mf-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --mf-navy: #0b1620;
  --mf-green: #0e5537;
  --mf-green-600: #1f6247;
  --mf-green-icon: #1f5a40;
  --mf-orange: #fa6709;
  --mf-orange-hover: #e85b00;
  --mf-orange-active: #d45200;
  --mf-text: #3e4146;
  --mf-text-strong: #2b2e34;
  --mf-muted: #747b7b;
  --mf-surface: #f5f6f8;

  --mf-header-height: 62px;
  --mf-container: 1200px;
  --mf-gutter: 24px;

  --bs-font-sans-serif: var(--mf-font);
  --bs-body-font-family: var(--mf-font);

}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--mf-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

[id] {
  scroll-margin-top: calc(var(--mf-header-height) + 16px);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container,
.site-container {
  max-width: calc(var(--mf-container) + var(--mf-gutter) * 2);
  padding-left: var(--mf-gutter);
  padding-right: var(--mf-gutter);
}

@media (min-width: 768px) {
  :root {
    --mf-gutter: 40px;
  }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1080;
  padding: 0.5rem 1rem;
  background-color: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
}

/* ---------- Buttons ---------- */
.btn-pill {
  border-radius: 999px;
}

.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--mf-orange);
  --bs-btn-border-color: var(--mf-orange);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--mf-orange-hover);
  --bs-btn-hover-border-color: var(--mf-orange-hover);
  --bs-btn-focus-shadow-rgb: 250, 103, 9;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--mf-orange-active);
  --bs-btn-active-border-color: var(--mf-orange-active);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--mf-orange);
  --bs-btn-disabled-border-color: var(--mf-orange);
}

.btn-outline-brand {
  --bs-btn-color: var(--mf-green);
  --bs-btn-bg: rgba(255, 255, 255, 0.85);
  --bs-btn-border-color: var(--mf-green-600);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--mf-green);
  --bs-btn-hover-border-color: var(--mf-green);
  --bs-btn-focus-shadow-rgb: 14, 85, 55;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--mf-green);
  --bs-btn-active-border-color: var(--mf-green);
}

.btn-brand .bi-arrow-right,
.btn-outline-brand .bi-arrow-right {
  transition: transform 0.2s ease;
}

.btn-brand:hover .bi-arrow-right,
.btn-outline-brand:hover .bi-arrow-right {
  transform: translateX(3px);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: #fff;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.68);
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.55),
    0 1px 0 rgba(11, 22, 32, 0.06),
    0 10px 30px rgba(11, 22, 32, 0.08);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
}

.site-header.is-scrolled:has(.navbar-collapse.show, .navbar-collapse.collapsing) {
  background-color: rgba(255, 255, 255, 0.96);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.96);
  }
}

.site-navbar {
  min-height: var(--mf-header-height);
  padding-top: 0;
  padding-bottom: 0;
}

.site-brand {
  padding: 0;
  margin-right: 0;
}

.site-brand img {
  display: block;
  width: auto;
  height: 54px;
}

.site-navbar-toggler {
  border: 0;
  padding: 0.5rem;
}

.site-navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(14, 85, 55, 0.25);
}

.main-nav .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 15px;
  font-weight: 500;
  color: var(--mf-text-strong);
  transition: color 0.15s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus-visible,
.main-nav .nav-link.show {
  color: var(--mf-green);
}

.main-nav .nav-link.active {
  font-weight: 600;
  color: var(--mf-navy);
}

.main-nav .dropdown-toggle::after {
  display: none;
}

.nav-chevron {
  font-size: 10px;
  -webkit-text-stroke: 0.4px;
  transition: transform 0.2s ease;
}

.main-nav .dropdown-toggle.show .nav-chevron {
  transform: rotate(180deg);
}

.main-nav .dropdown-menu {
  --bs-dropdown-min-width: 13rem;
  --bs-dropdown-padding-y: 0.5rem;
  --bs-dropdown-border-width: 0;
  --bs-dropdown-border-radius: 12px;
  --bs-dropdown-font-size: 14px;
  --bs-dropdown-link-color: var(--mf-text-strong);
  --bs-dropdown-link-hover-color: var(--mf-green);
  --bs-dropdown-link-hover-bg: #eef5f1;
  --bs-dropdown-link-active-color: #fff;
  --bs-dropdown-link-active-bg: var(--mf-green);
  --bs-dropdown-item-padding-x: 0.875rem;
  --bs-dropdown-item-padding-y: 0.5rem;
  box-shadow: 0 12px 32px rgba(11, 22, 32, 0.12);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.main-nav .dropdown-item {
  border-radius: 8px;
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 45px;
  padding: 0 17px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

/* Mobile / tablet menu */
@media (max-width: 991.98px) {
  .site-navbar .navbar-collapse {
    padding: 0.5rem 0 1.25rem;
  }

  .main-nav .nav-link {
    padding: 0.7rem 0;
    border-bottom: 1px solid #eef0f2;
  }

  .main-nav .nav-link.active {
    color: var(--mf-green);
  }

  .main-nav .nav-chevron {
    margin-left: auto;
  }

  .main-nav .dropdown-menu {
    box-shadow: none;
    padding: 0.25rem 0 0.5rem;
  }

  .header-actions {
    margin-top: 1.25rem;
  }
}

/* Desktop menu */
@media (min-width: 992px) {
  .main-nav {
    --bs-navbar-nav-link-padding-x: 1.125rem;
    margin-right: auto;
    margin-left: auto;
  }

  .main-nav .nav-link {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .main-nav .nav-link.active::before {
    content: "";
    position: absolute;
    left: var(--bs-navbar-nav-link-padding-x);
    right: var(--bs-navbar-nav-link-padding-x);
    bottom: 0;
    height: 2px;
    background-color: var(--mf-green-600);
    border-radius: 2px;
  }

  .header-actions {
    flex-shrink: 0;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .main-nav {
    --bs-navbar-nav-link-padding-x: 0.75rem;
  }

  .header-actions {
    gap: 12px;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  /* Rendered width of the 1024x384 photo, right-aligned. Capped so the worker stays clear of the text on wide screens. */
  --hero-photo-w: clamp(1368px, 100cqw, 1600px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  container-type: inline-size;
  background-color: #f5f1ea;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(253, 253, 252, 1) 0%,
      rgba(255, 255, 255, 0.94) 30%,
      rgba(255, 255, 255, 0.82) 40%,
      rgba(255, 255, 255, 0.4) 48%,
      rgba(255, 255, 255, 0) 56%
    ) right top / calc(var(--hero-photo-w) + 6px) 100% no-repeat,
    url("../images/hero-bg.jpg") right top / var(--hero-photo-w) auto no-repeat,
    #fdfdfc;
}

.hero-container {
  min-height: calc(var(--hero-photo-w) * 0.375);
  padding-top: 47px;
  padding-bottom: 56px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-eyebrow {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #3b3d41;
}

.hero-title {
  margin-bottom: 14px;
  font-size: 49px;
  font-weight: 800;
  line-height: 1.047;
  letter-spacing: -0.02em;
  color: var(--mf-navy);
}

.hero-title-accent {
  display: block;
  color: var(--mf-green);
}

.hero-lead {
  max-width: 500px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--mf-text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 600;
  border-width: 1.5px;
}

.btn-hero.btn-brand {
  min-width: 193px;
}

.hero-features {
  display: flex;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.hero-feature span {
  white-space: nowrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: #303336;
  border-left: 1px solid rgba(11, 22, 32, 0.12);
}

.hero-feature:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-feature-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  color: var(--mf-green-icon);
}

.bi.hero-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
}

/* ---------- Hero visual (photo + floating cards) ---------- */
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-photo {
  display: none;
}

/* Floating cards */
.hero-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 205px;
  padding: 0 14px 0 14px;
  background-color: rgba(255, 255, 255, 0.86);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(11, 22, 32, 0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-float-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: #292e31;
  white-space: nowrap;
}

.hero-float-text {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--mf-muted);
}

.hero-float-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}

.hero-float-icon.is-green {
  color: var(--mf-green-icon);
}

.hero-float-icon.is-orange {
  color: var(--mf-orange);
}

.hero-float-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background-color: #fdebdd;
  border-radius: 50%;
}

.hero-float-badge .hero-float-icon {
  width: 26px;
  height: 26px;
}

/* Card positions are fractions of the photo, so they stay pinned to the laptop in it. */
.hero-float-economics {
  top: calc(var(--hero-photo-w) * 0.375 * 0.075);
  left: calc(100% - var(--hero-photo-w) * (1 - 0.585));
  height: 57px;
  padding-left: 22px;
}

.hero-float-farms {
  top: calc(var(--hero-photo-w) * 0.375 * 0.045);
  left: calc(100% - var(--hero-photo-w) * (1 - 0.825));
  width: auto;
  min-width: 203px;
  height: 76px;
  padding-left: 12px;
}

.hero-float-farms .hero-float-icon {
  width: 34px;
  height: 34px;
}

.hero-float-processing {
  top: calc(var(--hero-photo-w) * 0.375 * 0.8);
  left: calc(100% - var(--hero-photo-w) * (1 - 0.805));
  width: auto;
  min-width: 200px;
  height: 65px;
  padding-left: 10px;
}

.hero-float-farms .hero-float-text,
.hero-float-processing .hero-float-text {
  max-width: 132px;
}

/* ---------- Hero: responsive ---------- */
@media (min-width: 1280px) and (max-width: 1399.98px) {
  .hero-title {
    font-size: 45px;
  }

  .hero-content {
    max-width: 560px;
  }
}

/* Below 1280px the photo no longer fits beside the text, so the hero stacks. */
@media (max-width: 1279.98px) {
  .hero-media {
    background: linear-gradient(100deg, #fdfdfc 0%, #f7f3ec 55%, #ede3d3 100%);
  }

  .hero-container {
    min-height: 0;
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .hero-content {
    max-width: 640px;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    margin-top: 40px;
  }

  .hero-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: 85% 50%;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(11, 22, 32, 0.18);
  }

  .hero-float {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 42px;
  }
}

@media (max-width: 575.98px) {
  :root {
    --mf-gutter: 16px;
  }

  .hero-container {
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .hero-title {
    font-size: 34px;
    line-height: 1.12;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-actions .btn-hero {
    flex: 1 1 100%;
  }

  .hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
  }

  .hero-feature,
  .hero-feature:first-child {
    padding: 0;
    border-left: 0;
  }

  .hero-visual {
    margin-top: 32px;
  }

  .hero-photo {
    aspect-ratio: 4 / 3;
    object-position: 82% 50%;
    border-radius: 16px;
  }
}

/* ==========================================================================
   Poultry business challenge
   ========================================================================== */
.challenge {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(640px 420px at 92% 6%, rgba(250, 103, 9, 0.08), transparent 70%),
    radial-gradient(720px 520px at 0% 100%, rgba(14, 85, 55, 0.08), transparent 70%),
    linear-gradient(180deg, #fbfaf7 0%, #f3f5f2 100%);
}

.challenge::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(11, 22, 32, 0.08) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 55% 50% at 78% 28%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 50% at 78% 28%, #000 0%, transparent 75%);
}

.challenge-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  margin-bottom: 60px;
}

.challenge-eyebrow,
.ecosystem-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #3b3d41;
}

.challenge-eyebrow::before,
.ecosystem-eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 30px;
  height: 2px;
  background-color: var(--mf-orange);
  border-radius: 2px;
}

.challenge-title,
.ecosystem-title {
  margin-bottom: 16px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--mf-navy);
  text-wrap: balance;
}

.challenge-title-accent,
.ecosystem-title-accent {
  display: block;
  color: var(--mf-green);
}

.challenge-lead {
  max-width: 540px;
  margin-bottom: 26px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--mf-text);
}

.challenge-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 540px;
  margin: 0;
  padding: 13px 18px 13px 16px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--mf-text-strong);
  background-color: #fff;
  border: 1px solid #f5dccb;
  border-left: 3px solid var(--mf-orange);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(11, 22, 32, 0.05);
}

/* ---------- Scattered-data diagram ---------- */
/* Everything inside is sized in cqw so the diagram scales as one piece; the SVG viewBox shares the 4:3 ratio. */
.challenge-map {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  aspect-ratio: 4 / 3;
  container-type: inline-size;
}

.challenge-map::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.55) 45%, rgba(255, 255, 255, 0) 70%);
  transform: translate(-50%, -50%);
}

.challenge-map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.challenge-map-orbit {
  fill: none;
  stroke: rgba(14, 85, 55, 0.18);
  stroke-width: 1;
  stroke-dasharray: 2 6;
}

.challenge-map-links path {
  fill: none;
  stroke: #b7c1bb;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 5 6;
  animation: challenge-flow 1.8s linear infinite;
}

.challenge-map-dots circle {
  stroke: #fff;
  stroke-width: 2;
}

.challenge-map-dots .is-orange {
  fill: var(--mf-orange);
}

.challenge-map-dots .is-green {
  fill: #2c8a58;
}

.challenge-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25cqw;
  aspect-ratio: 1;
  font-size: 10cqw;
  color: var(--mf-green);
  background: linear-gradient(145deg, #fff 0%, #f1f5f2 100%);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(11, 22, 32, 0.14), inset 0 0 0 1px rgba(11, 22, 32, 0.04);
  translate: -50% -50%;
}

.challenge-hub::before,
.challenge-hub::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(250, 103, 9, 0.4);
  border-radius: 50%;
  animation: challenge-pulse 3.2s ease-out infinite;
}

.challenge-hub::after {
  animation-delay: 1.6s;
}

.challenge-hub-logo {
  width: 58%;
  height: auto;
}

.challenge-node {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6cqw;
  width: 24cqw;
  padding: 2.4cqw 1.6cqw 2.2cqw;
  font-size: clamp(9px, 2.6cqw, 12.5px);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: #292e31;
  background-color: #fff;
  border: 1px solid rgba(11, 22, 32, 0.05);
  border-radius: 3cqw;
  box-shadow: 0 10px 26px rgba(11, 22, 32, 0.1);
  translate: -50% -50%;
  animation: challenge-float 6s ease-in-out infinite;
}

.challenge-node-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8cqw;
  aspect-ratio: 1;
  font-size: 3.9cqw;
  border-radius: 2.4cqw;
}

.challenge-node-icon.is-orange {
  color: var(--mf-orange);
  background-color: #fdebdd;
}

.challenge-node-icon.is-green {
  color: var(--mf-green-icon);
  background-color: #e4f0e9;
}

/* Node centres match the link end points in the 480x360 SVG viewBox. */
.challenge-node.is-pos-1 { left: 27.08%; top: 14.44%; }
.challenge-node.is-pos-2 { left: 72.92%; top: 14.44%; animation-delay: -1s; }
.challenge-node.is-pos-3 { left: 84.38%; top: 50%; animation-delay: -2s; }
.challenge-node.is-pos-4 { left: 72.92%; top: 85.56%; animation-delay: -3s; }
.challenge-node.is-pos-5 { left: 27.08%; top: 85.56%; animation-delay: -4s; }
.challenge-node.is-pos-6 { left: 15.63%; top: 50%; animation-delay: -5s; }

@keyframes challenge-flow {
  to { stroke-dashoffset: -22; }
}

@keyframes challenge-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.65); opacity: 0; }
}

@keyframes challenge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---------- Challenge cards ---------- */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}

.challenge-card {
  --challenge-accent: var(--mf-orange);
  --challenge-accent-soft: #fdebdd;
  --challenge-tint: #fff6ee;
  --challenge-border: #f6e0cf;
  --challenge-num-hover: #fcc7a3;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 100%;
  padding: 28px 26px 26px;
  background: linear-gradient(160deg, var(--challenge-tint) 0%, #fff 65%);
  border: 1px solid var(--challenge-border);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(11, 22, 32, 0.04), 0 10px 30px rgba(11, 22, 32, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.challenge-card.is-green {
  --challenge-accent: var(--mf-green-600);
  --challenge-accent-soft: #e4f0e9;
  --challenge-tint: #edf6f0;
  --challenge-border: #dcebe2;
  --challenge-num-hover: #a8d4b9;
}

.challenge-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--challenge-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.challenge-card::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  z-index: -1;
  width: 170px;
  height: 170px;
  background-color: var(--challenge-accent-soft);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.challenge-card:hover {
  border-color: transparent;
  box-shadow: 0 22px 46px rgba(11, 22, 32, 0.1);
  transform: translateY(-6px);
}

.challenge-card:hover::before {
  transform: scaleX(1);
}

.challenge-card:hover::after {
  opacity: 0.55;
}

.challenge-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.challenge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  font-size: 22px;
  line-height: 1;
  color: var(--challenge-accent);
  background-color: var(--challenge-accent-soft);
  border-radius: 14px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.challenge-icon svg {
  width: 24px;
  height: 24px;
}

.challenge-card:hover .challenge-icon {
  color: #fff;
  background-color: var(--challenge-accent);
}

.challenge-card-num {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(11, 22, 32, 0.16);
  transition: color 0.3s ease, -webkit-text-stroke-color 0.3s ease;
}

.challenge-card:hover .challenge-card-num {
  color: var(--challenge-num-hover);
  -webkit-text-stroke-color: var(--challenge-num-hover);
}

.challenge-card-title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mf-navy);
}

.challenge-card-text {
  margin-bottom: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--mf-muted);
}

/* ---------- Bridge banner ---------- */
.challenge-bridge {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding: 32px 40px;
  color: #fff;
  background: linear-gradient(120deg, #0e5537 0%, #136742 55%, #1c7a4f 100%);
  border-radius: 22px;
  box-shadow: 0 20px 44px rgba(14, 85, 55, 0.22);
}

.challenge-bridge::before,
.challenge-bridge::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}

.challenge-bridge::before {
  top: -150px;
  right: 120px;
  width: 320px;
  height: 320px;
  border: 46px solid rgba(255, 255, 255, 0.05);
}

.challenge-bridge::after {
  bottom: -110px;
  left: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(250, 103, 9, 0.28) 0%, rgba(250, 103, 9, 0) 70%);
}

.challenge-bridge-title {
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.challenge-bridge-lead {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}

.challenge-bridge-btn {
  flex-shrink: 0;
}

/* ---------- Challenge: responsive ---------- */
@media (max-width: 1199.98px) {
  .challenge-intro {
    gap: 40px;
  }

  .challenge-title {
    font-size: 32px;
  }
}

@media (max-width: 991.98px) {
  .challenge {
    padding: 64px 0 72px;
  }

  .challenge-intro {
    grid-template-columns: 1fr;
    margin-bottom: 48px;
  }

  .challenge-map {
    max-width: 520px;
    margin-right: auto;
  }

  .challenge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .challenge-bridge {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 30px;
  }
}

@media (max-width: 575.98px) {
  .challenge {
    padding: 52px 0 56px;
  }

  .challenge-eyebrow {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .challenge-title {
    font-size: 26px;
    line-height: 1.15;
  }

  .challenge-lead {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .challenge-note {
    font-size: 13.5px;
  }

  .challenge-intro {
    gap: 32px;
    margin-bottom: 36px;
  }

  .challenge-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 28px;
  }

  .challenge-card {
    padding: 22px 20px;
  }

  .challenge-card-head {
    margin-bottom: 16px;
  }

  .challenge-bridge {
    padding: 24px 22px;
    border-radius: 18px;
  }

  .challenge-bridge-title {
    font-size: 19px;
  }

  .challenge-bridge-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .challenge-map-links path,
  .challenge-hub::before,
  .challenge-hub::after,
  .challenge-node {
    animation: none;
  }

  .challenge-card,
  .challenge-card::before,
  .challenge-card::after,
  .challenge-icon,
  .challenge-card-num {
    transition: none;
  }

  .challenge-card:hover {
    transform: none;
  }
}

/* ==========================================================================
   MeshFlock ecosystem
   ========================================================================== */
.ecosystem {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 80px 0;
  background:
    linear-gradient(90deg, #fff 0%, #fff 26%, rgba(255, 255, 255, 0) 56%),
    radial-gradient(900px 420px at 72% 108%, #dcebcc 0%, rgba(220, 235, 204, 0) 70%),
    radial-gradient(760px 480px at 68% 18%, #fdecd9 0%, rgba(253, 236, 217, 0) 70%),
    #f8f6f1;
}

.ecosystem-container {
  display: grid;
  grid-template-columns: 460px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.ecosystem-title {
  font-size: 32px;
}

.ecosystem-lead {
  max-width: 440px;
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--mf-text);
}

.ecosystem-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.ecosystem-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--mf-text-strong);
}

.ecosystem-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  font-size: 24px;
  color: var(--mf-green-icon);
  background-color: #fff;
  border: 1px solid #e1ebe4;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(14, 85, 55, 0.08);
}

.ecosystem-feature-icon svg {
  width: 28px;
  height: 28px;
}

.ecosystem-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* ---------- Ecosystem visual ---------- */
/* Stage positions are fractions of the 800x560 SVG viewBox; everything is sized in cqw so it scales as one piece. */
.ecosystem-visual {
  position: relative;
  container-type: inline-size;
}

.ecosystem-stage {
  position: relative;
  aspect-ratio: 10 / 7;
  pointer-events: none;
}

.ecosystem-stage::before {
  content: "";
  position: absolute;
  top: 46%;
  left: 50%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.55) 45%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  translate: -50% -50%;
}

.ecosystem-stage::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 22%;
  bottom: 0;
  height: 7%;
  background: radial-gradient(ellipse at center, rgba(11, 22, 32, 0.2) 0%, rgba(11, 22, 32, 0) 70%);
  border-radius: 50%;
}

.ecosystem-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ecosystem-arc-glow {
  fill: none;
  stroke: url(#ecosystemArcGradient);
  stroke-width: 16;
  opacity: 0.12;
}

.ecosystem-arc-line {
  fill: none;
  stroke: url(#ecosystemArcGradient);
  stroke-width: 3;
  stroke-linecap: round;
}

.ecosystem-arc-links path {
  fill: none;
  stroke: #9fb3a6;
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
}

.ecosystem-arc-dots circle {
  stroke: #fff;
  stroke-width: 2.5;
}

.ecosystem-arc-dots .is-green {
  fill: #1f8a4c;
}

.ecosystem-arc-dots .is-orange {
  fill: var(--mf-orange);
}

.ecosystem-logo {
  position: absolute;
  top: 33.93%;
  left: 50%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
  translate: -50% 0;
}

.ecosystem-logo img {
  width: 7.8cqw;
  height: auto;
}

.ecosystem-logo-name {
  margin-top: 0.8cqw;
  font-size: 3.75cqw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--mf-orange);
}

.ecosystem-logo-name span {
  color: #1f8a4c;
}

.ecosystem-logo-tagline {
  margin-top: 0.7cqw;
  font-size: 1.2cqw;
  font-weight: 500;
  color: #3b4a56;
}

/* Laptop */
.ecosystem-laptop {
  position: absolute;
  top: 59.29%;
  left: 50%;
  z-index: 2;
  width: 35cqw;
  translate: -50% 0;
}

.ecosystem-laptop-screen {
  aspect-ratio: 16 / 10;
  padding: 0.55cqw;
  background-color: #1b1f24;
  border-radius: 1.2cqw 1.2cqw 0.4cqw 0.4cqw;
  box-shadow: 0 2cqw 4cqw rgba(11, 22, 32, 0.25);
}

.ecosystem-laptop-base {
  position: relative;
  width: 118%;
  height: 1.4cqw;
  margin-left: -9%;
  background: linear-gradient(180deg, #eef0f2 0%, #c4cad0 100%);
  border-radius: 0 0 1.6cqw 1.6cqw / 0 0 1.2cqw 1.2cqw;
}

.ecosystem-laptop-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 16%;
  height: 0.45cqw;
  background-color: #aab1b8;
  border-radius: 0 0 0.5cqw 0.5cqw;
  translate: -50% 0;
}

.eco-dash {
  display: flex;
  height: 100%;
  overflow: hidden;
  font-size: 0.8cqw;
  line-height: 1.2;
  color: #2b2e34;
  background-color: #f5f7f6;
  border-radius: 0.6cqw;
}

.eco-dash i {
  font-size: 1em;
  line-height: 1;
}

.eco-dash-side {
  display: flex;
  flex: 0 0 22%;
  flex-direction: column;
  gap: 0.25em;
  padding: 0.9em 0.6em;
  background-color: #fff;
  border-right: 1px solid #edf0ee;
}

.eco-dash-brand {
  display: flex;
  align-items: center;
  gap: 0.3em;
  margin-bottom: 0.6em;
  font-size: 1.15em;
  font-weight: 700;
  color: var(--mf-orange);
}

.eco-dash-brand img {
  width: auto;
  height: 1.6em;
}

.eco-dash-brand b {
  margin-right: -0.3em;
  color: #1f8a4c;
}

.eco-dash-nav {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.3em 0.5em;
  white-space: nowrap;
  color: #5b6166;
  border-radius: 0.4em;
}

.eco-dash-nav.is-active {
  color: #fff;
  background-color: var(--mf-green);
}

.eco-dash-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.7em;
  min-width: 0;
  padding: 0.8em 1em;
}

.eco-dash-top {
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.eco-dash-select,
.eco-dash-search {
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.35em 0.6em;
  background-color: #fff;
  border: 1px solid #e6eae8;
  border-radius: 0.4em;
}

.eco-dash-select {
  font-weight: 600;
}

.eco-dash-search {
  width: 34%;
  margin-left: auto;
  color: #9aa0a6;
}

.eco-dash-avatar {
  width: 1.9em;
  height: 1.9em;
  background: linear-gradient(135deg, #1f6247, #0e5537);
  border-radius: 50%;
}

.eco-dash-heading {
  font-size: 1.3em;
  font-weight: 700;
}

.eco-dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6em;
}

.eco-dash-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  padding: 0.6em 0.7em;
  background-color: #fff;
  border-radius: 0.5em;
  box-shadow: 0 0.2em 0.6em rgba(11, 22, 32, 0.05);
}

.eco-dash-kpi small {
  font-size: 0.85em;
  white-space: nowrap;
  color: #7b8287;
}

.eco-dash-kpi b {
  font-size: 1.55em;
  font-weight: 700;
  white-space: nowrap;
}

.eco-dash-kpi em {
  font-size: 0.8em;
  font-style: normal;
  font-weight: 600;
  color: #1f8a4c;
}

.eco-dash-panels {
  display: grid;
  flex: 1;
  grid-template-columns: 1.6fr 1fr;
  gap: 0.6em;
  min-height: 0;
}

.eco-dash-panel {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  min-height: 0;
  padding: 0.6em 0.7em;
  background-color: #fff;
  border-radius: 0.5em;
}

.eco-dash-panel > small {
  font-size: 0.9em;
  font-weight: 600;
}

.eco-dash-panel svg {
  flex: 1;
  width: 100%;
  min-height: 0;
}

.eco-dash-bars rect {
  fill: #fdd8bc;
  rx: 1.5px;
}

.eco-dash-line {
  fill: none;
  stroke: var(--mf-orange);
  stroke-width: 1.6;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.eco-dash-panel.is-donut {
  align-items: center;
}

.eco-dash-donut {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 7.2em;
  aspect-ratio: 1;
  margin: auto;
  background: conic-gradient(#1f8a4c 0 78%, #f2a516 78% 88%, #e5484d 88% 93%, #e9ecef 93% 100%);
  border-radius: 50%;
}

.eco-dash-donut::before {
  content: "";
  position: absolute;
  inset: 17%;
  background-color: #fff;
  border-radius: 50%;
}

.eco-dash-donut b,
.eco-dash-donut small {
  position: relative;
}

.eco-dash-donut b {
  font-size: 1.5em;
}

.eco-dash-donut small {
  font-size: 0.8em;
  color: #7b8287;
}

/* Phone */
.ecosystem-phone {
  position: absolute;
  top: 67.86%;
  left: 16.25%;
  z-index: 3;
  width: 10cqw;
  aspect-ratio: 9 / 19;
  padding: 0.45cqw;
  background-color: #16191d;
  border-radius: 1.8cqw;
  box-shadow: 0 2cqw 3.5cqw rgba(11, 22, 32, 0.28);
}

.ecosystem-phone-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  height: 100%;
  padding: 1.4em 0.7em;
  overflow: hidden;
  font-size: 0.75cqw;
  background-color: #fff;
  border-radius: 1.4cqw;
}

.ecosystem-phone-screen img {
  width: 3.4em;
  height: auto;
}

.ecosystem-phone-name {
  margin-bottom: 0.4em;
  font-size: 1.25em;
  font-weight: 700;
  color: var(--mf-orange);
}

.ecosystem-phone-name b {
  color: #1f8a4c;
}

.ecosystem-phone-item {
  display: flex;
  align-items: center;
  gap: 0.6em;
  width: 100%;
  padding: 0.55em 0.6em;
  font-weight: 600;
  line-height: 1.2;
  color: #3b4046;
  background-color: #f3f6f4;
  border-radius: 0.5em;
}

.ecosystem-phone-item i {
  line-height: 1;
  color: var(--mf-green-icon);
}

/* Module cards */
.ecosystem-modules {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ecosystem-module {
  --eco-color: var(--mf-green);
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.8cqw;
  width: 26.25cqw;
  padding: 1cqw 1cqw 1cqw 1.1cqw;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(11, 22, 32, 0.05);
  border-radius: 1.6cqw;
  box-shadow: 0 1.2cqw 3cqw rgba(11, 22, 32, 0.1);
  translate: -50% -50%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ecosystem-module:hover {
  box-shadow: 0 1.8cqw 4cqw rgba(11, 22, 32, 0.16);
  transform: translateY(-3px);
}

.ecosystem-module-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.9cqw;
  aspect-ratio: 1;
  font-size: 1.8cqw;
  line-height: 1;
  color: #fff;
  background-color: var(--eco-color);
  border-radius: 50%;
  box-shadow: 0 0.6cqw 1.4cqw color-mix(in srgb, var(--eco-color) 35%, transparent);
}

.ecosystem-module > div {
  flex: 1;
  min-width: 0;
}

.ecosystem-module-title {
  margin-bottom: 0.2em;
  overflow: hidden;
  font-size: clamp(9px, 1.45cqw, 13px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--mf-navy);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ecosystem-module-text {
  display: -webkit-box;
  min-height: 2.8em;
  margin-bottom: 0;
  overflow: hidden;
  font-size: clamp(8.5px, 1.25cqw, 11px);
  line-height: 1.4;
  color: var(--mf-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.ecosystem-module.is-farms { --eco-color: #1f8a4c; left: 50%; top: 18.21%; }
.ecosystem-module.is-hatchery { --eco-color: #fa6709; left: 28%; top: 32.14%; }
.ecosystem-module.is-feed { --eco-color: #f2a516; left: 16.5%; top: 46.07%; }
.ecosystem-module.is-health { --eco-color: #e5484d; left: 13.875%; top: 60%; }
.ecosystem-module.is-production { --eco-color: #7c4dcc; left: 72%; top: 32.14%; }
.ecosystem-module.is-cost { --eco-color: #1e78d6; left: 83.5%; top: 46.07%; }
.ecosystem-module.is-reports { --eco-color: #12a37a; left: 86.125%; top: 60%; }
.ecosystem-module.is-sales { --eco-color: #4f5bd5; left: 86.125%; top: 73.93%; }

/* ---------- Ecosystem: responsive ---------- */
@media (max-width: 1199.98px) {
  .ecosystem-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ecosystem {
    background:
      radial-gradient(900px 420px at 60% 100%, #dcebcc 0%, rgba(220, 235, 204, 0) 70%),
      radial-gradient(760px 480px at 60% 55%, #fdecd9 0%, rgba(253, 236, 217, 0) 70%),
      #fbfaf6;
  }

  .ecosystem-content {
    max-width: 640px;
  }

  .ecosystem-title {
    font-size: 32px;
  }

  .ecosystem-lead {
    max-width: 600px;
  }

  .ecosystem-features {
    max-width: 520px;
  }

  .ecosystem-visual {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
  }
}

/* Too narrow for the arc layout: the modules drop below the devices as a grid. */
@media (max-width: 767.98px) {
  .ecosystem {
    padding: 60px 0;
  }

  .ecosystem-arc-links,
  .ecosystem-arc-dots {
    display: none;
  }

  /* Without the module cards, the top of the stage is empty space above the arc. */
  .ecosystem-stage {
    margin-top: -17cqw;
  }

  .ecosystem-modules {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
  }

  .ecosystem-module {
    position: static;
    gap: 12px;
    width: auto;
    padding: 14px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(11, 22, 32, 0.07);
    translate: none;
  }

  .ecosystem-module-icon {
    width: 40px;
    font-size: 18px;
    box-shadow: none;
  }

  .ecosystem-module-title {
    font-size: 14px;
  }

  .ecosystem-module-text {
    font-size: 12.5px;
  }
}

@media (max-width: 575.98px) {
  .ecosystem {
    padding: 52px 0;
  }

  .ecosystem-eyebrow {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .ecosystem-title {
    font-size: 26px;
    line-height: 1.15;
  }

  .ecosystem-lead {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .ecosystem-features {
    gap: 6px;
  }

  .ecosystem-feature {
    font-size: 12px;
  }

  .ecosystem-feature-icon {
    width: 50px;
    height: 50px;
    font-size: 21px;
  }

  .ecosystem-feature-icon svg {
    width: 24px;
    height: 24px;
  }

  .ecosystem-actions .btn-hero {
    flex: 1 1 100%;
  }

  .ecosystem-modules {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecosystem-module {
    transition: none;
  }

  .ecosystem-module:hover {
    transform: none;
  }
}

/* ==========================================================================
   Shared sections
   ========================================================================== */
.section-padding {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section-padding.is-after-hero {
  padding-top: clamp(40px, 5vw, 64px);
}

.section-tint {
  background-color: #f5f7f5;
}

.section-warm {
  background: linear-gradient(180deg, #fbfaf7 0%, #f4f6f3 100%);
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head.is-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

@media (min-width: 1200px) {
  .section-head.is-wide {
    max-width: 1040px;
  }

  .section-head.is-wide .section-title .text-accent {
    display: block;
  }

  .section-head.is-wide .section-lead {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
  }
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #3b3d41;
}

.section-eyebrow::before,
.is-center > .section-eyebrow::after {
  content: "";
  flex-shrink: 0;
  width: 30px;
  height: 2px;
  background-color: var(--mf-orange);
  border-radius: 2px;
}

.is-center > .section-eyebrow {
  justify-content: center;
}

.section-title {
  margin-bottom: 16px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--mf-navy);
  text-wrap: balance;
}

.text-accent {
  color: var(--mf-green);
}

.section-lead {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--mf-text);
}

.section-lead + .section-lead {
  margin-top: 12px;
}

.statement {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--mf-green);
  background: linear-gradient(100deg, #edf6f0 0%, #fff 55%, #fff6ee 100%);
  border: 1px solid #dcebe2;
  border-radius: 999px;
  box-shadow: 0 12px 26px -18px rgba(14, 85, 55, 0.45);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--mf-green);
  text-decoration: none;
  transition: color 0.2s ease;
}

.link-arrow .bi {
  transition: transform 0.2s ease;
}

.link-arrow:hover,
.link-arrow:focus-visible {
  color: var(--mf-orange);
}

.link-arrow:hover .bi,
.link-arrow:focus-visible .bi {
  transform: translateX(3px);
}

.btn-outline-light-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: transparent;
  --bs-btn-border-color: rgba(255, 255, 255, 0.5);
  --bs-btn-hover-color: var(--mf-green);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-focus-shadow-rgb: 255, 255, 255;
  --bs-btn-active-color: var(--mf-green);
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: #fff;
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 48px 0 80px;
  background:
    radial-gradient(700px 420px at 92% 0%, rgba(250, 103, 9, 0.09), transparent 70%),
    radial-gradient(760px 520px at 0% 100%, rgba(14, 85, 55, 0.09), transparent 70%),
    linear-gradient(180deg, #fbfaf7 0%, #f3f5f2 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(11, 22, 32, 0.08) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 85% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 50% 60% at 85% 30%, #000 0%, transparent 75%);
}

.page-hero .breadcrumb {
  margin-bottom: 32px;
  font-size: 13.5px;
  font-weight: 500;
}

.page-hero .breadcrumb a {
  color: var(--mf-muted);
  text-decoration: none;
}

.page-hero .breadcrumb a:hover {
  color: var(--mf-green);
}

.page-hero .breadcrumb-item.active {
  color: var(--mf-navy);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.page-hero-content {
  max-width: 640px;
}

.page-hero-title {
  margin-bottom: 18px;
  font-size: 50px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--mf-navy);
  text-wrap: balance;
}

.page-hero-lead {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--mf-text);
}

.page-hero-lead + .page-hero-lead {
  margin-top: 12px;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 32px;
}

.page-hero.is-compact {
  padding-bottom: 56px;
}

.page-hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: 56%;
  pointer-events: none;
}

.page-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.45) 26%, #000 58%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.45) 26%, #000 58%);
}

.page-hero-photo.is-farm img {
  object-position: 22% 50%;
}

.page-hero-photo.is-person img {
  object-position: 50% 30%;
}

.page-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #f6f7f4 0%, rgba(246, 247, 244, 0.55) 30%, rgba(246, 247, 244, 0) 60%),
    linear-gradient(205deg, rgba(250, 103, 9, 0.28) 0%, rgba(250, 103, 9, 0) 42%),
    linear-gradient(0deg, rgba(14, 85, 55, 0.42) 0%, rgba(14, 85, 55, 0) 55%);
}

.page-hero-visual {
  display: flex;
  justify-content: center;
}

.page-hero-visual .phone-mock {
  width: 260px;
}

/* ==========================================================================
   Components
   ========================================================================== */
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  font-size: 22px;
  line-height: 1;
  color: var(--mf-green-icon);
  background-color: #e4f0e9;
  border-radius: 14px;
}

.icon-tile svg {
  width: 24px;
  height: 24px;
}

.icon-tile.is-orange {
  color: var(--mf-orange);
  background-color: #fdebdd;
}

.icon-tile.is-navy {
  color: #fff;
  background-color: var(--mf-navy);
}

.icon-tile.is-sm {
  width: 40px;
  height: 40px;
  font-size: 18px;
  border-radius: 11px;
}

.icon-tile.is-sm svg {
  width: 20px;
  height: 20px;
}

/* ---------- Info card ---------- */
.info-card {
  position: relative;
  height: 100%;
  padding: 28px 26px;
  background-color: #fff;
  border: 1px solid #e8ebe8;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(11, 22, 32, 0.04), 0 10px 30px rgba(11, 22, 32, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.info-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 44px rgba(11, 22, 32, 0.1);
  transform: translateY(-4px);
}

.info-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.info-card-num {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(11, 22, 32, 0.18);
  transition: color 0.3s ease, -webkit-text-stroke-color 0.3s ease;
}

/* Numbered cards take a soft tint matching their icon colour. */
.info-card:not(.is-dark) {
  --info-tint: #edf6f0;
  --info-border: #dcebe2;
  --info-num-hover: #a8d4b9;
  background: linear-gradient(160deg, var(--info-tint) 0%, #fff 65%);
  border-color: var(--info-border);
}

.info-card:not(.is-dark):has(.icon-tile.is-orange) {
  --info-tint: #fff6ee;
  --info-border: #f6e0cf;
  --info-num-hover: #fcc7a3;
}

.info-card:not(.is-dark):hover {
  border-color: transparent;
}

.info-card:not(.is-dark):hover .info-card-num {
  color: var(--info-num-hover);
  -webkit-text-stroke-color: var(--info-num-hover);
}

.info-card-title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mf-navy);
}

.info-card-text {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--mf-muted);
}

.info-card .link-arrow {
  margin-top: 18px;
  font-size: 15px;
}

.info-card.is-compact {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
}

.info-card.is-compact .info-card-title {
  margin-bottom: 4px;
  font-size: 16px;
}

.info-card.is-compact .info-card-text {
  font-size: 14px;
}

.info-card.is-dark {
  color: #fff;
  background: linear-gradient(140deg, #0e5537 0%, #0b3a27 100%);
  border-color: transparent;
}

.info-card.is-dark .info-card-title {
  color: #fff;
}

.info-card.is-dark .info-card-text {
  color: rgba(255, 255, 255, 0.78);
}

.info-card.is-dark .info-card-num {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.35);
}

.info-card.is-dark .icon-tile {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.14);
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--mf-muted);
  background-color: #f1f3f2;
  border-radius: 999px;
}

/* ---------- Tags ---------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list.is-center {
  justify-content: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--mf-text-strong);
  background-color: #fff;
  border: 1px solid #e3e8e4;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(11, 22, 32, 0.04);
}

.tag::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  background-color: var(--mf-green-600);
  border-radius: 50%;
}

.tag:nth-child(even)::before {
  background-color: var(--mf-orange);
}

/* ---------- Check list ---------- */
.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list.is-2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--mf-text-strong);
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: #e4f0e9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231f6247' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-radius: 50%;
}

/* ---------- Flow (steps joined by arrows) ---------- */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-step {
  display: flex;
  align-items: center;
}

.flow-step:not(:last-child)::after {
  content: "\2192";
  margin: 0 12px;
  font-size: 20px;
  line-height: 1;
  color: #9fb3a6;
}

.flow-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--mf-navy);
  background-color: #fff;
  border: 1px solid #e3e8e4;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(11, 22, 32, 0.06);
}

.flow-chip.is-text {
  padding: 12px 18px;
}

.flow-chip.is-accent {
  color: #fff;
  background-color: var(--mf-green);
  border-color: transparent;
}

.flow-chip.is-accent .icon-tile {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.16);
}

/* ---------- Intelligence journey ---------- */
.journey {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 16px 26px;
  list-style: none;
  background:
    radial-gradient(420px 160px at 0% 0%, rgba(31, 138, 76, 0.08), transparent 70%),
    radial-gradient(420px 160px at 100% 100%, rgba(250, 103, 9, 0.09), transparent 70%),
    #fff;
  border: 1px solid #e6ece8;
  border-radius: 24px;
  box-shadow: 0 26px 50px -30px rgba(11, 22, 32, 0.3);
}

.journey::before,
.journey::after {
  content: "";
  position: absolute;
  top: 60px;
  z-index: -1;
  height: 4px;
  border-radius: 4px;
}

.journey::before {
  left: 10%;
  right: 10%;
  background: linear-gradient(90deg, #1f8a4c 0%, #7fb446 50%, var(--mf-orange) 100%);
  opacity: 0.35;
}

.journey::after {
  left: 10%;
  width: 70px;
  background: linear-gradient(90deg, transparent, #fff 50%, transparent);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
  animation: journey-travel 3.6s ease-in-out infinite;
}

@keyframes journey-travel {
  0% { left: 10%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(90% - 70px); opacity: 0; }
}

.journey-step {
  --c: #1f8a4c;
  --c-tint: #edf6f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.journey-step:nth-child(2) { --c: #3c9a52; --c-tint: #ecf6ee; }
.journey-step:nth-child(3) { --c: #6fa83f; --c-tint: #f1f7e8; }
.journey-step:nth-child(4) { --c: #e98a12; --c-tint: #fff4e3; }
.journey-step:nth-child(5) { --c: var(--mf-orange); --c-tint: #fff1e5; }

.journey-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 6px;
  font-size: 24px;
  color: var(--c);
  background-color: #fff;
  border: 3px solid var(--c);
  border-radius: 50%;
  box-shadow:
    0 0 0 6px var(--c-tint),
    0 14px 26px -12px var(--c);
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.journey-step:hover .journey-icon {
  color: #fff;
  background-color: var(--c);
  transform: translateY(-3px);
}

.journey-step.is-final .journey-icon {
  color: #fff;
  background: linear-gradient(145deg, #ff8a3d, #d4560a);
  border-color: #fff;
}

.journey-step.is-final .journey-icon::before {
  content: "";
  position: absolute;
  inset: -9px;
  border: 2px solid var(--mf-orange);
  border-radius: 50%;
  opacity: 0;
  animation: challenge-pulse 2.4s ease-out infinite;
}

.journey-num {
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--c);
  background-color: var(--c-tint);
  border-radius: 999px;
}

.journey-title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mf-navy);
}

.journey-step.is-final .journey-title {
  color: var(--mf-orange);
}

@media (max-width: 767.98px) {
  .journey {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 360px;
    padding: 22px 20px;
  }

  .journey::before {
    top: 40px;
    bottom: 40px;
    left: 46px;
    right: auto;
    width: 4px;
    height: auto;
    background: linear-gradient(180deg, #1f8a4c 0%, #7fb446 50%, var(--mf-orange) 100%);
  }

  .journey::after {
    display: none;
  }

  .journey-step {
    flex-direction: row;
    gap: 12px;
    text-align: left;
  }

  .journey-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 0;
    font-size: 21px;
  }

  .journey-num {
    order: 1;
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey::after,
  .journey-step.is-final .journey-icon::before {
    animation: none;
  }

  .journey::after {
    display: none;
  }

  .journey-icon {
    transition: none;
  }

  .journey-step:hover .journey-icon {
    transform: none;
  }
}

/* ---------- Screenshot frame ---------- */
/* Placeholder until real MeshFlock screens are supplied; drop an <img> into .screen-frame-body to replace it. */
.screen-frame {
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #e3e8e4;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(11, 22, 32, 0.12);
}

.screen-frame.is-narrow {
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
}

.screen-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background-color: #f3f5f4;
  border-bottom: 1px solid #e6eae8;
}

.screen-frame-bar span {
  width: 9px;
  height: 9px;
  background-color: #d6dcd8;
  border-radius: 50%;
}

.screen-frame-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 16 / 9;
  padding: 24px;
  text-align: center;
  color: var(--mf-muted);
  background: repeating-linear-gradient(135deg, #fafbfa 0 14px, #f4f6f5 14px 28px);
}

.screen-frame-body:has(img) {
  padding: 0;
}

.screen-frame-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-frame-body .bi {
  font-size: 34px;
  color: #b3beb7;
}

.screen-frame-body strong {
  font-size: 16px;
  color: var(--mf-navy);
}

.screen-frame-body small {
  font-size: 13px;
}

/* ---------- Product screen slider ---------- */
.screen-tabs {
  display: flex;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 32px;
  padding: 6px;
  overflow-x: auto;
  background-color: #fff;
  border: 1px solid #e3e8e4;
  border-radius: 999px;
  scrollbar-width: none;
}

.screen-tabs::-webkit-scrollbar {
  display: none;
}

.screen-tab {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 9px;
  padding: 6px 18px 6px 6px;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--mf-text);
  background: transparent;
  border: 0;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.screen-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  font-size: 15px;
  color: var(--mf-green);
  background-color: #e4f0e9;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.screen-tab:hover {
  color: var(--mf-green);
}

.screen-tab:hover .screen-tab-icon {
  color: #fff;
  background-color: var(--mf-green);
  transform: rotate(-8deg) scale(1.05);
}

.screen-tab[aria-selected="true"] {
  color: #fff;
  background: linear-gradient(120deg, var(--mf-green) 0%, var(--mf-green-600) 100%);
  box-shadow: 0 10px 20px -10px rgba(14, 85, 55, 0.65);
}

.screen-tab[aria-selected="true"] .screen-tab-icon {
  color: #fff;
  background: linear-gradient(145deg, #ff8a3d, #d4560a);
  box-shadow: 0 6px 12px -4px rgba(250, 103, 9, 0.55);
  transform: none;
}

.screen-tab:focus-visible,
.screen-arrow:focus-visible,
.screen-dot:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(250, 103, 9, 0.35);
}

.screen-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.screen-track::-webkit-scrollbar {
  display: none;
}

.screen-slide {
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 8px 24px 44px;
  scroll-snap-align: center;
}

.screen-slide .screen-frame {
  box-shadow: 0 14px 26px rgba(11, 22, 32, 0.1);
}

.screen-slide-kicker {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mf-orange);
}

.screen-slide-title {
  margin-bottom: 10px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--mf-navy);
}

.screen-slide-tagline {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--mf-green);
}

.screen-slide-text {
  margin-bottom: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--mf-muted);
}

.screen-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 4px;
}

.screen-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-size: 18px;
  color: var(--mf-navy);
  background-color: #fff;
  border: 1px solid #dfe5e1;
  border-radius: 50%;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.screen-arrow:hover:not(:disabled) {
  color: #fff;
  background-color: var(--mf-green);
  border-color: var(--mf-green);
}

.screen-arrow:disabled {
  opacity: 0.4;
}

.screen-dots {
  display: flex;
  gap: 8px;
}

.screen-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  background-color: #cfd8d2;
  border: 0;
  border-radius: 999px;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.screen-dot[aria-current="true"] {
  width: 28px;
  background-color: var(--mf-orange);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 64px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(600px 320px at 100% 0%, rgba(250, 103, 9, 0.28), transparent 70%),
    linear-gradient(125deg, #0b2a1d 0%, #0e5537 60%, #146943 100%);
  border-radius: 28px;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}

.cta-band::before {
  top: -160px;
  left: -120px;
  width: 380px;
  height: 380px;
  border: 56px solid rgba(255, 255, 255, 0.04);
}

.cta-band::after {
  right: 8%;
  bottom: -140px;
  width: 260px;
  height: 260px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
}

.cta-band .section-eyebrow {
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
}

.cta-band-title {
  margin-bottom: 14px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}

.brand-flock {
  color: var(--mf-orange);
}

.cta-band-text {
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.cta-band-title + .cta-band-actions {
  margin-top: 28px;
}

/* ==========================================================================
   Home: modules + core capabilities
   ========================================================================== */
.offer-panel {
  height: 100%;
  padding: 36px;
  border-radius: 22px;
}

.offer-panel.is-poultry {
  background: linear-gradient(160deg, #fff6ee 0%, #fff 65%);
  border: 1px solid #f6e0cf;
}

.offer-panel.is-core {
  background: linear-gradient(160deg, #edf6f0 0%, #fff 65%);
  border: 1px solid #dcebe2;
}

.offer-panel-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.offer-panel-title {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mf-navy);
}

.offer-panel-text {
  margin-bottom: 0;
  font-size: 15px;
  color: var(--mf-muted);
}

.offer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px 11px 11px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--mf-navy);
  background-color: #fff;
  border: 1px solid #edf0ee;
  border-radius: 12px;
}

.offer-closing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 40px;
  text-align: center;
}

.offer-closing p {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--mf-navy);
}

/* ---------- Home: modules + capabilities board ---------- */
.offer-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr);
  align-items: stretch;
}

.offer-card {
  --offer-accent: var(--mf-orange);
  --offer-deep: #c2510a;
  --offer-soft: #fdebdd;
  --offer-tint: #fff1e5;
  --offer-border: #f6e0cf;
  --offer-border-strong: #f4c7a5;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid var(--offer-border);
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(11, 22, 32, 0.04), 0 28px 60px -28px rgba(11, 22, 32, 0.22);
}

.offer-card.is-core {
  --offer-accent: var(--mf-green-600);
  --offer-deep: var(--mf-green);
  --offer-soft: #e4f0e9;
  --offer-tint: #e9f4ee;
  --offer-border: #dcebe2;
  --offer-border-strong: #b4d5c2;
}

.offer-card-head {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 30px 30px 26px;
  background:
    radial-gradient(260px 160px at 100% 0%, color-mix(in srgb, var(--offer-accent) 16%, transparent), transparent 70%),
    linear-gradient(135deg, var(--offer-tint) 0%, #fff 85%);
  border-bottom: 1px solid var(--offer-border);
}

.offer-card-head::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: 180px;
  background-image: radial-gradient(color-mix(in srgb, var(--offer-accent) 28%, transparent) 1.2px, transparent 1.6px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
  opacity: 0.6;
}

.offer-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  font-size: 26px;
  line-height: 1;
  color: #fff;
  background: linear-gradient(145deg, var(--offer-accent), var(--offer-deep));
  border-radius: 18px;
  box-shadow: 0 14px 26px -10px color-mix(in srgb, var(--offer-accent) 70%, transparent);
}

.offer-card-icon svg {
  width: 30px;
  height: 30px;
}

.offer-card-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--offer-deep);
  background-color: #fff;
  border: 1px solid var(--offer-border);
  border-radius: 999px;
}

.offer-card-title {
  margin-bottom: 4px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--mf-navy);
}

.offer-card-text {
  min-height: 3em;
  margin-bottom: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--mf-muted);
}

.offer-grid {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  margin: 0;
  padding: 24px 30px 30px;
  list-style: none;
}

.offer-grid > li:not(.offer-tile) {
  display: flex;
}

.offer-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 66px;
  padding: 12px 14px 12px 12px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--mf-navy);
  background-color: #fbfcfb;
  border: 1px solid #edf0ee;
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.offer-tile:hover {
  background-color: #fff;
  border-color: var(--offer-border-strong);
  box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--offer-accent) 50%, transparent);
  transform: translateY(-2px);
}

.offer-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  font-size: 18px;
  line-height: 1;
  color: var(--offer-accent);
  background-color: var(--offer-soft);
  border-radius: 12px;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.offer-tile:hover .offer-tile-icon {
  color: #fff;
  background-color: var(--offer-accent);
}

.offer-tile.is-more {
  justify-content: space-between;
  padding-left: 18px;
  font-weight: 700;
  color: var(--offer-deep);
  text-decoration: none;
  background-color: transparent;
  border: 1.5px dashed var(--offer-border-strong);
}

.offer-tile.is-more i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  font-size: 16px;
  background-color: var(--offer-soft);
  border-radius: 50%;
  transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.offer-tile.is-more:hover {
  background-color: var(--offer-tint);
  border-style: solid;
}

.offer-tile.is-more:hover i {
  color: #fff;
  background-color: var(--offer-accent);
  transform: translateX(3px);
}

.offer-tile.is-more:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--offer-accent) 35%, transparent);
  outline-offset: 2px;
}

/* Connector between the two cards */
.offer-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--mf-orange), #1f8a4c);
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 6px, transparent 6px 11px);
  mask-image: repeating-linear-gradient(90deg, #000 0 6px, transparent 6px 11px);
  translate: 0 -50%;
}

.offer-link-hub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(11, 22, 32, 0.14), inset 0 0 0 1px rgba(11, 22, 32, 0.05);
}

.offer-link-hub::before,
.offer-link-hub::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(31, 138, 76, 0.35);
  border-radius: 50%;
  animation: challenge-pulse 3.2s ease-out infinite;
}

.offer-link-hub::after {
  border-color: rgba(250, 103, 9, 0.35);
  animation-delay: 1.6s;
}

.offer-link-hub img {
  width: 34px;
  height: auto;
}

/* Closing banner */
.offer-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 900px;
  margin: 44px auto 0;
  padding: 12px 12px 12px 14px;
  background-color: #fff;
  border: 1px solid #e6ebe7;
  border-radius: 999px;
  box-shadow: 0 20px 44px -24px rgba(11, 22, 32, 0.25);
}

.offer-banner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--mf-orange), #1f8a4c);
  border-radius: 50%;
}

.offer-banner-text {
  flex: 1;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--mf-navy);
}

.offer-banner .btn {
  flex-shrink: 0;
}

@media (max-width: 1199.98px) {
  .offer-card-head {
    padding: 26px 24px 22px;
  }

  .offer-grid {
    padding: 22px 24px 24px;
  }
}

@media (max-width: 991.98px) {
  .offer-board {
    grid-template-columns: 1fr;
    grid-template-rows: auto 72px auto;
  }

  .offer-link::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--mf-orange), #1f8a4c);
    -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 6px, transparent 6px 11px);
    mask-image: repeating-linear-gradient(180deg, #000 0 6px, transparent 6px 11px);
    translate: -50% 0;
  }
}

@media (max-width: 767.98px) {
  .offer-banner {
    flex-direction: column;
    gap: 14px;
    padding: 24px 22px;
    text-align: center;
    border-radius: 22px;
  }
}

@media (max-width: 575.98px) {
  .offer-card {
    border-radius: 20px;
  }

  .offer-card-head {
    align-items: flex-start;
    gap: 14px;
    padding: 22px 20px 20px;
  }

  .offer-card-icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
    border-radius: 15px;
  }

  .offer-card-icon svg {
    width: 26px;
    height: 26px;
  }

  .offer-card-title {
    font-size: 18px;
  }

  .offer-card-text {
    min-height: 0;
  }

  .offer-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 10px;
    padding: 18px 20px 20px;
  }

  .offer-tile {
    min-height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-tile,
  .offer-tile-icon,
  .offer-tile.is-more i {
    transition: none;
  }

  .offer-tile:hover,
  .offer-tile.is-more:hover i {
    transform: none;
  }

  .offer-link-hub::before,
  .offer-link-hub::after {
    animation: none;
  }
}

/* ---------- Business stacks ---------- */
.stack-visual {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 16px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  background-color: #fff;
  border: 1px solid #e8ebe8;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(11, 22, 32, 0.08);
}

.stack-label {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  color: var(--mf-muted);
}

.stack-block {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--mf-navy);
  background-color: #fff3ea;
  border: 1px solid #fbdcc4;
  border-radius: 10px;
}

.stack-block .bi {
  color: var(--mf-orange);
}

.stack-block.is-core {
  color: #fff;
  background-color: var(--mf-green);
  border-color: transparent;
}

.stack-block.is-core .bi {
  color: #fff;
}

.choose-notes {
  display: grid;
  gap: 16px;
  margin: 28px 0 32px;
}

.callout {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--mf-text-strong);
  background: linear-gradient(100deg, #fff6ee 0%, #fff 60%);
  border: 1px solid #f5dccb;
  border-left: 3px solid var(--mf-orange);
  border-radius: 12px;
}

/* ---------- Home: choose your modules ---------- */
.choose-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(720px 440px at 88% 35%, rgba(250, 103, 9, 0.07), transparent 70%),
    radial-gradient(620px 420px at 6% 92%, rgba(31, 138, 76, 0.08), transparent 70%),
    #fff;
}

.choose-steps {
  margin: 28px 0 14px;
  padding: 20px 20px 18px;
  background: linear-gradient(135deg, #edf6f0 0%, #fff 85%);
  border: 1px solid #dcebe2;
  border-radius: 18px;
}

.choose-steps-title {
  margin-bottom: 18px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--mf-green);
}

.choose-steps-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.choose-steps-list::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #9cc7ad 0 6px, transparent 6px 11px);
}

.choose-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--mf-navy);
}

.choose-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 18px;
  color: var(--mf-green-600);
  background-color: #fff;
  border: 1px solid #cfe3d7;
  border-radius: 50%;
  box-shadow: 0 8px 18px -10px rgba(14, 85, 55, 0.45);
}

.choose-step:last-child .choose-step-icon {
  color: #fff;
  background: linear-gradient(145deg, #2c8a58, var(--mf-green));
  border-color: transparent;
}

.choose-note {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--mf-text);
  background-color: #fff;
  border: 1px solid #e8ece9;
  border-left: 3px solid var(--mf-orange);
  border-radius: 14px;
}

.build-board {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px 26px 26px;
  background: linear-gradient(160deg, #fbfaf7 0%, #f2f7f3 100%);
  border: 1px solid #e6ece8;
  border-radius: 28px;
  box-shadow: 0 34px 70px -38px rgba(11, 22, 32, 0.32);
}

.build-board::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(11, 22, 32, 0.08) 1px, transparent 1.5px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}

.build-board-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin: 0 0 20px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: #b44a06;
  background-color: #fff1e5;
  border: 1px solid #f6d6bd;
  border-radius: 999px;
}

.build-board-badge .bi {
  color: var(--mf-orange);
}

.build-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.build-col-visual {
  --emblem-from: #2c8a58;
  --emblem-to: var(--mf-green);
  --emblem-glow: rgba(31, 138, 76, 0.35);
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.build-col-visual.is-orange {
  --emblem-from: #ff8a3d;
  --emblem-to: #d4560a;
  --emblem-glow: rgba(250, 103, 9, 0.35);
}

.build-col-visual.is-navy {
  --emblem-from: #2a4a5e;
  --emblem-to: var(--mf-navy);
  --emblem-glow: rgba(11, 22, 32, 0.3);
}

.build-col-visual::after {
  content: "";
  flex: 1;
  min-height: 12px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--emblem-from) 0 4px, transparent 4px 8px);
  opacity: 0.55;
}

.build-col-emblem {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  font-size: 25px;
  color: #fff;
  background: linear-gradient(145deg, var(--emblem-from), var(--emblem-to));
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 14px 28px -10px var(--emblem-glow);
}

.build-col-emblem::before {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: -1;
  border: 2px solid var(--emblem-from);
  border-radius: 50%;
  opacity: 0;
  animation: challenge-pulse 2.6s ease-out infinite;
}

.build-col:nth-child(2) .build-col-emblem::before {
  animation-delay: 0.85s;
}

.build-col:nth-child(3) .build-col-emblem::before {
  animation-delay: 1.7s;
}

.build-col-caption {
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--emblem-to);
  white-space: nowrap;
  background-color: #fff;
  border: 1px solid #e6ece8;
  border-radius: 999px;
  box-shadow: 0 6px 14px -10px rgba(11, 22, 32, 0.35);
}

.build-col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 24px;
}

.build-col::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 24px;
  background: repeating-linear-gradient(180deg, #2c8a58 0 4px, transparent 4px 8px);
  translate: -50% 0;
}

.build-col-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background-color: #fff;
  border: 1px solid #e6ece8;
  border-radius: 14px;
  box-shadow: 0 8px 20px -14px rgba(11, 22, 32, 0.3);
}

.build-col-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--mf-orange), #c2510a);
  border-radius: 50%;
}

.build-col-name {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--mf-navy);
}

.build-col-meta {
  margin: 2px 0 0;
  font-size: 11.5px;
  line-height: 1.2;
  color: var(--mf-muted);
}

.build-stack {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.build-block {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 9px 9px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--mf-navy);
  background-color: #fff;
  border: 1px solid #f6e0cf;
  border-radius: 12px;
  box-shadow: 0 8px 18px -12px rgba(250, 103, 9, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.build-block:hover {
  border-color: #f4c7a5;
  box-shadow: 0 14px 24px -14px rgba(250, 103, 9, 0.55);
  transform: translateY(-2px);
}

.build-block-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  font-size: 15px;
  color: var(--mf-orange);
  background-color: #fdebdd;
  border-radius: 9px;
}

.build-core {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
  padding: 18px 20px;
  color: #fff;
  background:
    radial-gradient(360px 160px at 100% 0%, rgba(250, 103, 9, 0.3), transparent 70%),
    radial-gradient(300px 150px at 0% 100%, rgba(63, 191, 117, 0.35), transparent 70%),
    linear-gradient(120deg, #0a4329 0%, var(--mf-green) 38%, var(--mf-green-600) 68%, #2c8a58 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 24px 44px -22px rgba(14, 85, 55, 0.8);
}

.build-core::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  z-index: -1;
  width: 35%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.12) 50%, transparent 100%);
  transform: skewX(-18deg);
  animation: build-core-shine 6s ease-in-out infinite;
}

@keyframes build-core-shine {
  0%, 55% { left: -40%; }
  100% { left: 120%; }
}

.build-core::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: 55%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.5px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
}

.build-core-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  width: 48px;
  height: 48px;
  font-size: 22px;
  color: var(--mf-green);
  background: linear-gradient(145deg, #fff 0%, #e4f0e9 100%);
  border-radius: 14px;
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.1),
    0 12px 22px -10px rgba(0, 0, 0, 0.45);
}

.build-core-icon::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 12px;
  height: 12px;
  background-color: var(--mf-orange);
  border: 2px solid #fff;
  border-radius: 50%;
}

.build-core-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.build-core-text {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}

.build-core-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0 0 0 64px;
  list-style: none;
}

.build-core-tags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 6px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.build-core-tags .bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 11px;
  color: #fff;
  background: linear-gradient(145deg, #ff8a3d, #d4560a);
  border-radius: 50%;
}

.build-core-tags li:hover {
  color: var(--mf-green);
  background-color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 575.98px) {
  .build-core-tags {
    padding-left: 0;
  }

  .choose-steps {
    padding: 18px 14px 16px;
  }

  .choose-step {
    font-size: 12px;
  }

  .build-board {
    padding: 20px 16px 16px;
    border-radius: 22px;
  }

  .build-columns {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .build-col:not(:last-child) {
    padding-bottom: 0;
  }

  .build-col:not(:last-child)::after {
    content: none;
  }

  .build-col-visual {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .build-block {
    transition: none;
  }

  .build-col-emblem::before,
  .build-core::before,
  .phone-bars span,
  .econ-links path {
    animation: none;
  }

  .build-core-tags li {
    transition: none;
  }

  .build-core-tags li:hover {
    transform: none;
  }

  .build-block:hover {
    transform: none;
  }
}

/* ---------- Farm App promo ---------- */
.farmapp-promo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px;
  padding: 0 56px;
  background: linear-gradient(120deg, #fff4ea 0%, #ffe3cc 100%);
  border: 1px solid #fbd9c0;
  border-radius: 28px;
}

.farmapp-promo::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  z-index: -1;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
}

.farmapp-promo-content {
  align-self: center;
  padding: 56px 0;
}

.farmapp-promo-content .section-eyebrow {
  color: #8a4a1c;
}

.farmapp-promo-content .section-lead {
  max-width: 520px;
  margin-bottom: 28px;
}

.farmapp-promo-visual {
  display: flex;
  justify-content: center;
  padding-top: 40px;
}

/* ---------- Phone mockup (brand only, no app UI) ---------- */
.phone-mock {
  position: relative;
  width: 240px;
  height: 320px;
  padding: 11px 11px 0;
  background-color: #16191d;
  border-radius: 38px 38px 0 0;
  box-shadow: 0 -10px 40px rgba(11, 22, 32, 0.18);
}

.phone-mock.is-full {
  height: auto;
  aspect-ratio: 9 / 18.5;
  padding-bottom: 11px;
  border-radius: 38px;
  box-shadow: 0 30px 60px rgba(11, 22, 32, 0.22);
}

.phone-mock::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 1;
  width: 70px;
  height: 18px;
  background-color: #16191d;
  border-radius: 999px;
  translate: -50% 0;
}

.phone-mock-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  padding: 40px 20px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f1f7f3 100%);
  border-radius: 28px 28px 0 0;
}

.phone-mock.is-full .phone-mock-screen {
  border-radius: 28px;
}

.phone-mock-screen img {
  width: 64px;
  height: auto;
}

.phone-mock-name {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  color: var(--mf-orange);
}

.phone-mock-name b {
  color: #1f8a4c;
}

.phone-mock-label {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mf-green);
  background-color: #e4f0e9;
  border-radius: 999px;
}

.phone-mock-note {
  max-width: 160px;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--mf-muted);
}

.phone-mock-screen.has-charts {
  justify-content: flex-start;
  gap: 6px;
  padding: 38px 12px 0;
  overflow: hidden;
}

.phone-mock-screen.has-charts img {
  width: 44px;
}

.phone-mock-screen.has-charts .phone-mock-name {
  font-size: 16px;
}

.phone-mock-screen.has-charts .phone-mock-label {
  padding: 3px 10px;
  font-size: 9.5px;
}

.phone-ui {
  display: grid;
  gap: 8px;
  width: 100%;
  margin-top: 6px;
  text-align: left;
}

.phone-card {
  padding: 8px 10px;
  background-color: #fff;
  border: 1px solid #e6ece8;
  border-radius: 12px;
  box-shadow: 0 8px 16px -10px rgba(11, 22, 32, 0.28);
}

.phone-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--mf-navy);
}

.phone-trend {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 1px 6px;
  font-size: 9px;
  font-weight: 700;
  color: #1f8a4c;
  background-color: #e4f0e9;
  border-radius: 999px;
}

.phone-line {
  display: block;
  width: 100%;
  height: 42px;
  margin-top: 6px;
  overflow: visible;
}

.phone-line-area {
  fill: url(#phoneAreaFill);
}

.phone-line-stroke {
  fill: none;
  stroke: var(--mf-orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.phone-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.phone-kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 8px 7px;
}

.phone-kpi small {
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--mf-muted);
  white-space: nowrap;
}

.phone-donut {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: conic-gradient(#1f8a4c calc(var(--p) * 1%), #fdebdd 0);
  border-radius: 50%;
}

.phone-donut::before {
  content: "";
  position: absolute;
  inset: 5px;
  background-color: #fff;
  border-radius: 50%;
}

.phone-donut b {
  position: relative;
  font-size: 9px;
  font-weight: 800;
  color: #1f8a4c;
}

.phone-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 100%;
  height: 38px;
}

.phone-bars span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, #ffb07a 0%, var(--mf-orange) 100%);
  border-radius: 3px 3px 1px 1px;
  transform-origin: bottom;
  animation: phone-bar-grow 0.9s ease-out both;
}

.phone-bars span:last-child {
  background: linear-gradient(180deg, #5fbf86 0%, #1f8a4c 100%);
}

.phone-bars span:nth-child(2) { animation-delay: 0.08s; }
.phone-bars span:nth-child(3) { animation-delay: 0.16s; }
.phone-bars span:nth-child(4) { animation-delay: 0.24s; }
.phone-bars span:nth-child(5) { animation-delay: 0.32s; }
.phone-bars span:nth-child(6) { animation-delay: 0.4s; }

@keyframes phone-bar-grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.phone-tasks ul {
  display: grid;
  gap: 5px;
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
}

.phone-tasks li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--mf-text);
}

.phone-tasks li .bi {
  font-size: 11px;
  color: #c7d3cc;
}

.phone-tasks li.is-done {
  color: var(--mf-muted);
}

.phone-tasks li.is-done .bi {
  color: #1f8a4c;
}

.phone-mock.is-full .phone-mock-screen.has-charts {
  padding-bottom: 10px;
}

.phone-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  margin-top: auto;
  padding: 6px 4px;
  background-color: #fff;
  border: 1px solid #e6ece8;
  border-radius: 14px;
  box-shadow: 0 8px 16px -10px rgba(11, 22, 32, 0.28);
}

.phone-nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 13px;
  color: #9aa6a0;
  border-radius: 50%;
}

.phone-nav span.is-active {
  color: #fff;
  background: linear-gradient(145deg, #ff8a3d, #d4560a);
  box-shadow: 0 6px 12px -4px rgba(250, 103, 9, 0.55);
}

@media (max-width: 575.98px) {
  .phone-tasks {
    display: none;
  }
}

.phone-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.phone-row .phone-mock {
  width: 230px;
}

/* ==========================================================================
   Platform
   ========================================================================== */
.eco-diagram {
  padding: 32px 28px;
  background-color: #fff;
  border: 1px solid #e8ebe8;
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(11, 22, 32, 0.08);
}

.eco-diagram-label {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  color: var(--mf-muted);
}

.eco-diagram-ops {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eco-diagram-ops.is-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.eco-diagram-ops.is-7 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.eco-diagram-ops::before {
  content: "";
  position: absolute;
  top: 26px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: linear-gradient(90deg, #1f8a4c, #fa6709);
  opacity: 0.35;
}

.eco-op {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: var(--mf-navy);
}

.eco-op .icon-tile {
  background-color: #fff;
  border: 1px solid #e3e8e4;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(11, 22, 32, 0.08);
}

.eco-diagram-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 18px 0;
}

.eco-diagram-hub::before,
.eco-diagram-hub::after {
  content: "";
  width: 2px;
  height: 22px;
  background: repeating-linear-gradient(180deg, #b7c1bb 0 4px, transparent 4px 8px);
}

.eco-diagram-hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 12px;
  font-size: 17px;
  font-weight: 800;
  color: var(--mf-orange);
  background-color: #fff;
  border: 1px solid #e3e8e4;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(11, 22, 32, 0.1);
}

.eco-diagram-hub-badge img {
  width: 30px;
  height: auto;
}

.eco-diagram-hub-badge b {
  color: #1f8a4c;
}

.layer-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.layer-chips li {
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mf-green);
  background-color: #e8f3ec;
  border-radius: 999px;
}

.layer-chips.is-orange li {
  color: #b44a06;
  background-color: #fff0e4;
}

.layer-chips.is-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin-inline: auto;
}

.layer-chips.is-grid li {
  --chip-tint: #edf6f0;
  --chip-border: #dcebe2;
  --chip-accent: #1f8a4c;
  --chip-accent-deep: var(--mf-green);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 12px 8px 8px;
  font-size: 13.5px;
  color: var(--mf-navy);
  background: linear-gradient(160deg, var(--chip-tint) 0%, #fff 75%);
  border: 1px solid var(--chip-border);
  border-radius: 14px;
  box-shadow: 0 10px 20px -16px rgba(11, 22, 32, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.layer-chips.is-grid li:nth-child(odd) {
  --chip-tint: #fff6ee;
  --chip-border: #f6e0cf;
  --chip-accent: #ff8a3d;
  --chip-accent-deep: #d4560a;
}

.layer-chips.is-grid li:hover {
  border-color: var(--chip-accent);
  box-shadow: 0 14px 24px -14px rgba(11, 22, 32, 0.35);
  transform: translateY(-2px);
}

.layer-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--chip-accent), var(--chip-accent-deep));
  border-radius: 9px;
  box-shadow: 0 6px 12px -6px var(--chip-accent);
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .layer-chips.is-grid li {
    flex-direction: column;
    gap: 6px;
    padding: 10px 6px;
    font-size: 12.5px;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .layer-chips.is-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .layer-chips.is-grid li {
    transition: none;
  }

  .layer-chips.is-grid li:hover {
    transform: none;
  }
}

/* ---------- Flow of costs into the flock ---------- */
.econ {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 32px 76px;
}

.econ > div {
  position: relative;
  z-index: 1;
}

.econ-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.econ-links path {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 0 9;
  animation: econ-flow 1.1s linear infinite;
}

.econ-links .is-cost {
  stroke: var(--mf-orange);
}

.econ-links .is-output {
  stroke: #1f8a4c;
}

.econ-links circle {
  fill: #fff;
  stroke-width: 2;
}

.econ-links circle.is-end.is-cost {
  fill: var(--mf-orange);
}

.econ-links circle.is-end.is-output {
  fill: #1f8a4c;
}

@keyframes econ-flow {
  to { stroke-dashoffset: -18; }
}

.econ-col-title {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mf-muted);
}

.econ-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.econ-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mf-navy);
  background-color: #fff;
  border: 1px solid #e8ebe8;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(11, 22, 32, 0.05);
}

.econ-hub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 190px;
  aspect-ratio: 1;
  text-align: center;
  color: #fff;
  background: radial-gradient(circle at 30% 30%, #1d7a50 0%, #0e5537 70%);
  border-radius: 50%;
  box-shadow: 0 22px 46px rgba(14, 85, 55, 0.3);
}

.econ-hub::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1.5px dashed rgba(14, 85, 55, 0.35);
  border-radius: 50%;
}

.econ-hub-icon {
  width: 58px;
  height: auto;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

.econ-hub strong {
  font-size: 18px;
}

.econ-hub small {
  max-width: 130px;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Progressive module ladder ---------- */
.ladder {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ladder-board {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px 26px 26px;
  background: linear-gradient(160deg, #fbfaf7 0%, #f2f7f3 100%);
  border: 1px solid #e6ece8;
  border-radius: 28px;
  box-shadow: 0 34px 70px -38px rgba(11, 22, 32, 0.32);
}

.ladder-board::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(11, 22, 32, 0.08) 1px, transparent 1.5px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.ladder-step {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: calc(var(--step, 0) * 22px);
  padding: 10px 12px 10px 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mf-navy);
  background: linear-gradient(100deg, #fff6ee 0%, #fff 55%);
  border: 1px solid #f6e0cf;
  border-radius: 14px;
  box-shadow: 0 10px 20px -14px rgba(250, 103, 9, 0.45);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ladder-step:hover {
  border-color: #f4c7a5;
  box-shadow: 0 16px 26px -16px rgba(250, 103, 9, 0.6);
  transform: translateX(4px);
}

.ladder-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(145deg, #ff8a3d, #d4560a);
  border-radius: 11px;
  box-shadow: 0 6px 12px -6px rgba(250, 103, 9, 0.7);
}

.ladder-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-left: auto;
  padding: 0;
  font-size: 15px;
  line-height: 1;
  color: var(--mf-orange);
  background-color: #fff;
  border: 1.5px dashed #f4c7a5;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ladder-toggle:hover {
  color: #fff;
  background-color: var(--mf-orange);
  border-color: var(--mf-orange);
  border-style: solid;
  transform: scale(1.08);
}

.ladder-toggle:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(250, 103, 9, 0.35);
}

.ladder-step.is-added .ladder-toggle {
  color: #c2410c;
  background-color: #fdebdd;
  border: 1.5px solid #f4c7a5;
}

.ladder-step.is-added .ladder-toggle:hover {
  color: #fff;
  background-color: #e5484d;
  border-color: #e5484d;
}

.ladder-step.is-added .ladder-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.3);
}

.ladder-step:not(.is-base):not(.is-added) {
  color: #8b9590;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed #dcc9b9;
  box-shadow: none;
}

.ladder-step:not(.is-base):not(.is-added) .ladder-icon {
  color: #d7a07b;
  background: #f6efe9;
  box-shadow: none;
}

.ladder-step:not(.is-base):not(.is-added):hover {
  border-color: #f4c7a5;
  box-shadow: none;
}

.ladder-step.is-added .ladder-icon {
  animation: ladder-pop 0.35s ease-out;
}

@keyframes ladder-pop {
  0% { transform: scale(0.7); }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.ladder-board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.ladder-board-head .build-board-badge {
  margin: 0;
}

.ladder-count {
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mf-muted);
  background-color: #fff;
  border: 1px solid #e6ece8;
  border-radius: 999px;
}

.ladder-count b {
  font-weight: 800;
  color: var(--mf-green);
}

.ladder-step.is-base {
  color: #fff;
  background: linear-gradient(120deg, var(--mf-green) 0%, var(--mf-green-600) 60%, #2c8a58 100%);
  border-color: transparent;
  box-shadow: 0 18px 32px -18px rgba(14, 85, 55, 0.75);
}

.ladder-step.is-base .ladder-icon {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.ladder-tag {
  margin-left: auto;
  padding: 3px 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.choose-steps.is-plain {
  margin: 0 0 20px;
  padding: 18px 16px 14px;
}

.choose-steps-list.is-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choose-steps-list.is-4::before {
  left: 12.5%;
  right: 12.5%;
}

@media (max-width: 575.98px) {
  .ladder-board {
    padding: 20px 16px 16px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ladder-step,
  .ladder-toggle {
    transition: none;
  }

  .ladder-step:hover,
  .ladder-toggle:hover {
    transform: none;
  }

  .ladder-step.is-added .ladder-icon {
    animation: none;
  }
}

/* ==========================================================================
   Modules
   ========================================================================== */
.module-picker {
  padding: 32px;
  background-color: #fff;
  border: 1px solid #e8ebe8;
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(11, 22, 32, 0.08);
}

.module-picker-title {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mf-muted);
}

.module-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  border: 0;
}

.module-option {
  position: relative;
}

.module-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.module-option label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mf-text);
  cursor: pointer;
  background-color: #fff;
  border: 1.5px solid #dfe5e1;
  border-radius: 999px;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.module-option label:hover {
  border-color: #f5b88e;
}

.module-option input:checked + label {
  color: var(--mf-navy);
  background-color: #fff3ea;
  border-color: var(--mf-orange);
}

.module-option input:focus-visible + label {
  box-shadow: 0 0 0 3px rgba(250, 103, 9, 0.3);
}

.module-option .bi {
  color: var(--mf-orange);
}

.module-option input:checked + label .bi-plus-lg,
.module-option input:not(:checked) + label .bi-check-lg {
  display: none;
}

.module-result {
  padding: 22px;
  background-color: #f5f7f5;
  border-radius: 18px;
}

.module-result-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.module-result-empty {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--mf-muted);
}

.module-result .stack-block {
  display: inline-flex;
}

/* ---------- Poultry module card ---------- */
.module-card {
  display: flex;
  flex-direction: column;
}

.module-card .info-card-text {
  flex: 1;
}

/* ==========================================================================
   Request a demo
   ========================================================================== */
.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 48px;
}

.demo-visual {
  position: sticky;
  top: calc(var(--mf-header-height) + 24px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 600px;
  padding: 40px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(11, 22, 32, 0.05) 0%, rgba(11, 22, 32, 0.55) 45%, rgba(8, 30, 20, 0.92) 100%),
    url("../images/hero-bg.jpg") 72% center / cover no-repeat;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(11, 22, 32, 0.18);
}

.demo-visual-title {
  margin-bottom: 18px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

.demo-visual .check-list li {
  color: #fff;
}

.demo-visual .check-list li::before {
  background-color: rgba(255, 255, 255, 0.92);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 40px;
}

.contact-info,
.contact-list {
  display: grid;
  gap: 16px;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list .info-card-text {
  word-break: break-word;
}

.demo-form-card {
  padding: 40px;
  background-color: #fff;
  border: 1px solid #e8ebe8;
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(11, 22, 32, 0.07);
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mf-green);
}

.form-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #e6eae8;
}

.demo-form > .form-section-title:first-of-type {
  margin-top: 0;
}

.demo-form .form-label {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mf-navy);
}

.demo-form .form-control,
.demo-form .form-select {
  padding: 0.7rem 0.9rem;
  font-size: 15px;
  border-color: #dfe5e1;
  border-radius: 10px;
}

.demo-form .form-control:focus,
.demo-form .form-select:focus,
.demo-form .form-check-input:focus {
  border-color: var(--mf-green-600);
  box-shadow: 0 0 0 3px rgba(14, 85, 55, 0.15);
}

.demo-form .form-check-input:checked {
  background-color: var(--mf-green);
  border-color: var(--mf-green);
}

.check-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.check-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mf-text-strong);
  cursor: pointer;
  border: 1px solid #e3e8e4;
  border-radius: 10px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.check-tile .form-check-input {
  flex-shrink: 0;
  margin: 0;
}

.check-tile:has(input:checked) {
  background-color: #f0f7f3;
  border-color: var(--mf-green-600);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.7);
  background:
    radial-gradient(900px 520px at 4% 108%, rgba(31, 138, 76, 0.34), transparent 62%),
    radial-gradient(760px 440px at 98% -8%, rgba(250, 103, 9, 0.2), transparent 60%),
    radial-gradient(640px 320px at 52% 46%, rgba(14, 85, 55, 0.16), transparent 70%),
    linear-gradient(135deg, #060e0d 0%, #0a1820 42%, #0b1a17 72%, #070f12 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mf-orange) 0%, #f2a516 30%, #1f8a4c 70%, var(--mf-green) 100%);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}

.footer-main {
  position: relative;
  padding-top: 80px;
  padding-bottom: 56px;
}

.footer-main::before {
  content: "";
  position: absolute;
  right: -200px;
  bottom: -170px;
  z-index: -1;
  width: 460px;
  aspect-ratio: 211 / 236;
  background: url("../images/meshflock-mark.png") center / contain no-repeat;
  opacity: 0.04;
  filter: grayscale(1) brightness(2.2);
  pointer-events: none;
}

.footer-main::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: min(900px, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: translateX(-50%);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 380px;
  padding: 26px 24px;
  text-align: center;
  background:
    radial-gradient(260px 180px at 50% 0%, rgba(31, 138, 76, 0.18), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 60px -24px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.footer-logo {
  display: inline-block;
}

.footer-logo img {
  display: block;
  width: 128px;
  height: auto;
}

.footer-brand-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.footer-tagline {
  max-width: 280px;
  margin: 18px auto 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.footer-badges li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px 4px 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.86);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.footer-badges .bi {
  font-size: 12px;
  color: #3fbf75;
}

.footer-heading {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--mf-orange), #f2a516);
  border-radius: 2px;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 12px;
}

.footer-links a,
.footer-legal a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #fff;
}

.footer-links.has-arrows a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-links.has-arrows a::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--mf-orange);
  border-right: 1.5px solid var(--mf-orange);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.footer-links.has-arrows a:hover::before,
.footer-links.has-arrows a:focus-visible::before {
  transform: translateX(3px) rotate(45deg);
}

.footer-bottom {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.42));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 13.5px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.footer-legal li + li {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-legal li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.footer-legal a {
  font-size: 13.5px;
}

.footer-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-top:hover,
.footer-top:focus-visible {
  color: #fff;
  background-color: var(--mf-orange);
  border-color: var(--mf-orange);
  transform: translateY(-2px);
}

@media (min-width: 992px) {
  .footer-main > .row {
    align-items: center;
  }

  .footer-links a {
    white-space: nowrap;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .footer-main > .row {
    --bs-gutter-x: 2rem;
  }
}

@media (max-width: 991.98px) {
  .footer-brand {
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  .footer-brand {
    padding: 22px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
    margin-left: 0;
  }
}

/* ==========================================================================
   Page transition loader
   ========================================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background:
    radial-gradient(520px 360px at 50% 42%, rgba(31, 138, 76, 0.08), transparent 70%),
    radial-gradient(420px 300px at 60% 60%, rgba(250, 103, 9, 0.07), transparent 70%),
    #fbfaf7;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  /* Hides the loader even if the script never runs. */
  animation: page-loader-failsafe 0.4s ease 4s forwards;
}

.is-loaded .page-loader {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  animation: none;
}

.is-loaded.is-leaving .page-loader {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.page-loader-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
}

.page-loader-mark img {
  width: 58px;
  height: auto;
  animation: page-loader-pulse 1.6s ease-in-out infinite;
}

.page-loader-ring {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, rgba(31, 138, 76, 0) 0%, #1f8a4c 55%, #fa6709 100%);
  border-radius: 50%;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px));
  animation: page-loader-spin 0.9s linear infinite;
}

.page-loader-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 4px solid rgba(11, 22, 32, 0.06);
  border-radius: 50%;
}

.page-loader-name {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--mf-orange);
}

.page-loader-name b {
  color: #1f8a4c;
}

@keyframes page-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes page-loader-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.92);
  }
}

@keyframes page-loader-failsafe {
  to {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
}

/* ==========================================================================
   Shared responsive
   ========================================================================== */
@media (min-width: 992px) {
  .section-padding {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

@media (max-width: 1199.98px) {
  .page-hero-title {
    font-size: 44px;
  }

  .farmapp-promo {
    padding: 0 40px;
  }
}

@media (max-width: 991.98px) {
  .page-hero {
    padding-bottom: 64px;
  }

  .page-hero-photo {
    display: none;
  }

  .page-hero-grid,
  .demo-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-title,
  .cta-band-title {
    font-size: 30px;
  }

  .screen-slide {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .farmapp-promo {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .farmapp-promo-content {
    padding-bottom: 8px;
  }

  .econ {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 32px;
  }

  .econ-links {
    display: none;
  }

  .econ > div:not(.econ-hub) {
    width: 100%;
    max-width: 460px;
  }

  .econ-hub {
    width: 170px;
  }

  .demo-visual {
    position: relative;
    top: auto;
    min-height: 360px;
  }

  .cta-band {
    padding: 56px 32px;
  }
}

@media (max-width: 767.98px) {
  .flow {
    flex-direction: column;
    gap: 0;
  }

  .flow-step {
    flex-direction: column;
  }

  .flow-step:not(:last-child)::after {
    content: "\2193";
    margin: 8px 0;
  }

  .eco-diagram-ops,
  .eco-diagram-ops.is-6,
  .eco-diagram-ops.is-7 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 18px;
  }

  .eco-diagram-ops::before {
    display: none;
  }

  .check-list.is-2col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .page-hero {
    padding: 32px 0 52px;
  }

  .page-hero .breadcrumb {
    margin-bottom: 22px;
  }

  .page-hero-title {
    font-size: 34px;
    line-height: 1.12;
  }

  .page-hero-lead {
    font-size: 16px;
  }

  .page-hero-actions .btn-hero,
  .cta-band-actions .btn-hero {
    flex: 1 1 100%;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-title,
  .cta-band-title {
    font-size: 26px;
    line-height: 1.18;
  }

  .section-lead {
    font-size: 16px;
  }

  .statement {
    border-radius: 16px;
  }

  .offer-panel {
    padding: 24px 20px;
  }

  .offer-list,
  .check-tiles,
  .stack-visual {
    grid-template-columns: 1fr;
  }

  .farmapp-promo {
    padding: 0 22px;
    border-radius: 22px;
  }

  .farmapp-promo-content {
    padding-top: 40px;
  }

  .cta-band {
    padding: 44px 22px;
    border-radius: 22px;
  }

  .module-picker,
  .demo-form-card,
  .eco-diagram {
    padding: 22px 18px;
  }

  .demo-visual {
    padding: 28px 24px;
  }

  .screen-slide-title {
    font-size: 22px;
  }

  .ladder-step {
    margin-left: calc(var(--step, 0) * 10px);
  }

  .footer-main {
    padding-top: 52px;
    padding-bottom: 32px;
  }

  /* Keep wide gutters inside the 16px mobile container padding. */
  .site-container .g-5 {
    --bs-gutter-x: 2rem;
  }

  .phone-row {
    gap: 20px;
  }

  .phone-row .phone-mock {
    width: 150px;
  }

  .page-hero-visual .phone-mock {
    width: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header,
  .btn-brand .bi-arrow-right,
  .btn-outline-brand .bi-arrow-right,
  .nav-chevron,
  .info-card,
  .info-card-num,
  .footer-links.has-arrows a::before,
  .footer-top,
  .link-arrow .bi,
  .screen-tab-icon,
  .screen-dot {
    transition: none;
  }

  .screen-tab:hover .screen-tab-icon,
  .info-card:hover,
  .footer-top:hover,
  .footer-top:focus-visible {
    transform: none;
  }

  .screen-track {
    scroll-behavior: auto;
  }

  .page-loader-ring {
    animation-duration: 2.4s;
  }

  .page-loader-mark img {
    animation: none;
  }
}
