:root {
  --primary: var(--sp-forest);
  --secondary: var(--sp-lime);
  --bg-white: var(--sp-card);
  --bg-cream: var(--sp-surface);
  --brand-deep: #082313;
  --brand-green: #376344;
  --accent-harvest: #a4d1af;
  --accent-harvest-soft: var(--sp-soft);
  --mist: var(--sp-soft);
  --border-light: var(--sp-border);
  --ink: var(--sp-forest);
  --slate: var(--sp-muted);
  --max-width: 1280px;
  --page-gutter: var(--sp-space-8);
  --section-space: clamp(48px, 6vw, 88px);
  --font-body: var(--font-brand);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--slate);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Keep navigation readable independently of the hero photograph. */
.site-navigation {
  --ink: var(--sp-heading);
  background: var(--sp-card);
  border-bottom: 1px solid var(--sp-border);
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 100;
}
[data-theme="dark"] .site-navigation .logo-img {
  content: url("/assets/shambapass-logo-reversed-v4.webp");
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.88;
}

.logo-img {
  height: 38px;
  width: auto;
  max-width: 190px;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a,
.nav-cta-group > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a {
  color: var(--sp-heading);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--sp-accent-text);
}

.nav-links a.is-active {
  color: var(--sp-accent-text);
  font-weight: 700;
}
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-login {
  color: var(--ink) !important;
}

.btn-nav {
  position: relative;
  isolation: isolate;
  padding: 0 12px;
  color: var(--bg-white) !important;
  transition: transform 0.2s ease;
}

/* Compact visible pill; retain the shared 44px navigation hit area. */
.btn-nav::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 6px 0;
  border: 1px solid var(--ink);
  border-radius: 16px;
  background: var(--ink);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease;
}

.btn-nav:hover {
  transform: translateY(-1px);
}

.btn-nav:hover::before {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Hero Viewport with real hill photography, inspired by 7ee98e7ca17a15f8c9b3ee6c7b074001.webp */
.hero-viewport {
  position: relative;
  padding-top: 160px;
  padding-bottom: 32px;
  text-align: center;
  background: var(--sp-soft);
  overflow: hidden;
}

.hero-photo-bg {
  position: absolute;
  inset: 0;
  background: url("assets/hero-hills.webp") center 30% / cover no-repeat;
  z-index: 0;
}

.hero-fg-hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  width: 100%;
  z-index: 6;
  /* Keep the hills in front, with a bounded overlap on wide screens. */
  transform: translateY(max(40%, calc(100% - 160px)));
  pointer-events: none;
  line-height: 0;
}

.hero-fg-hills img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

h1 {
  font-family: var(--font-heading);
  font-size: var(--type-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: 0;
  margin-bottom: 24px;
  word-break: break-word;
}

.hero-description {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--slate);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.cta-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 16px);
  width: min(100%, 520px);
  margin: 0 auto 56px;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg-white);
  padding: 12px clamp(10px, 2vw, 24px);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: var(--type-button);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 0;
  line-height: var(--line-control);
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-primary:hover {
  box-shadow: 0 7px 18px rgba(11,45,25, 0.13);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  padding: 12px clamp(10px, 2vw, 24px);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: var(--type-button);
  border: 1px solid rgba(10, 17, 40, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 0;
  line-height: var(--line-control);
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-secondary:hover {
  box-shadow: 0 7px 18px rgba(11,45,25, 0.1);
}

/* Floating Dashboard Screenshot, inspired by 7ee98e7ca17a15f8c9b3ee6c7b074001.webp */
.mockup-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  top: 32px;
  z-index: 5;
  margin-bottom: 0;
}

.dashboard-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 24px 48px rgba(20, 48, 27, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Stats row   real figures from shambapass.co.ke */

/* Partners Section */

/* Section header shared pattern */
.section-header {
  margin-bottom: 48px;
  max-width: 640px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: var(--type-h2);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
}

.section-header p {
  font-size: 15px;
  color: var(--slate);
}

/* Supported Enterprise Species */

/* Alternating feature blocks   pattern seen across AgriWebb/Herdwatch style
   category pages: icon-bullet copy on one side, a visual panel on the other. */

.feature-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-green);
  display: block;
  margin-bottom: 10px;
}

/* Why ShambaPass   trust triad */

/* Closing CTA card */
.final-cta {
  background: var(--sp-soft);
  width: calc(100% - 64px);
  max-width: 1216px;
  margin: 0 auto 60px;
  padding: 65px;
  border-radius: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  text-align: left;
}
.final-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.15;
  overflow-wrap: break-word;
}
.final-cta p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--slate);
  margin: 0;
  line-height: 1.6;
}
.final-cta .cta-group {
  display: flex;
  width: auto;
  gap: 12px;
  flex-shrink: 0;
  margin: 0;
}
.final-cta .btn-primary,
.final-cta .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 13px 24px;
  font-size: 13px;
}
.final-cta .btn-secondary {
  background: transparent;
  border: 1px solid #bdcfa9;
  color: var(--ink);
}
@media (max-width: 1050px) {
  .final-cta {
    width: calc(100% - 56px);
    padding: 40px;
    flex-wrap: wrap;
  }
}
@media (max-width: 650px) {
  .final-cta {
    width: calc(100% - 40px);
    padding: 32px 25px;
    margin-bottom: 35px;
    gap: 25px;
  }
  .final-cta .cta-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .final-cta .btn-primary,
  .final-cta .btn-secondary {
    padding: 12px 14px;
    white-space: normal;
    text-align: center;
  }
  .final-cta h2 {
    font-size: 32px;
  }
}

/* Pricing   three tier, matching shambapass.co.ke */

/* Footer   matches shambapass.co.ke content */
footer {
  background: var(--sp-forest);
  color: #a0b5ac;
  padding: 64px 32px 32px;
  font-size: 14px;
  border-top: 1px solid rgba(167,222,51, 0.15);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand p {
  max-width: 300px;
  color: #a0aec0;
  font-size: 13px;
  line-height: 1.6;
}

.footer-col strong {
  color: var(--bg-white);
  display: block;
  margin-bottom: 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-body);
}

.footer-col a {
  color: #a0aec0;
  text-decoration: none;
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
}

.footer-col a:hover {
  color: var(--bg-white);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal-links a {
  color: #a0aec0;
  text-decoration: none;
  margin-left: 18px;
}

.footer-legal-links a:hover {
  color: var(--bg-white);
}

/* Mobile Drawer & Hamburger */
.mobile-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 105;
}

.mobile-hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,45,25, 0.45);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, calc(100% - 24px));
  height: 100vh;
  height: 100dvh;
  visibility: hidden;
  transform: translateX(calc(100% + 20px));
  background: #ffffff;
  z-index: 999;
  box-shadow: -8px 0 28px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  transition:
    transform 0.28s var(--motion-ease),
    visibility 0.28s;
}

.mobile-drawer.is-open {
  visibility: visible;
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-drawer-close {
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--slate);
  cursor: pointer;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0;
  min-height: 0;
  overflow-y: auto;
  flex: 1;
}

.mobile-drawer-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  transition: color 0.15s ease;
}

.mobile-drawer-links a:hover {
  color: var(--brand-green);
}

.mobile-drawer-footer {
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

/* Calculator Section */
.calculator-section {
  padding: var(--section-space) var(--page-gutter);
  background: var(--bg-cream);
  border-top: 1px solid var(--border-light);
}

.calculator-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.calculator-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(11,45,25, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  max-width: 1040px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .calculator-card {
    grid-template-columns: 1fr;
  }
}

.calc-controls {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.calc-control-group {
  display: flex;
  flex-direction: column;
}

.calc-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
  margin-bottom: 12px;
}

.calc-species-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.calc-species-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-space-2, 8px);
  background: var(--bg-cream);
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  font-family: var(--font-body);
}

.calc-species-btn svg { flex: none; }

.calc-species-btn:hover {
  border-color: var(--brand-green);
  background: #ffffff;
}

.calc-species-btn.is-active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(11,45,25, 0.2);
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  margin: 12px 0 6px;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--secondary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.1s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-count-badge {
  background: rgba(164, 209, 175, 0.35);
  color: var(--primary);
  border: 1px solid rgba(164, 209, 175, 0.7);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-body);
}

.calc-results-box {
  background: linear-gradient(
    160deg,
    var(--primary) 0%,
    var(--brand-deep) 100%
  );
  color: #ffffff;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.calc-result-metric {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 14px;
}

.calc-result-metric:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.calc-metric-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
  display: block;
  margin-bottom: 4px;
}

.calc-metric-val {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-body);
  color: #ffffff;
  display: block;
}

.calc-metric-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.calc-total-banner {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(167,222,51, 0.3);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Partner Testimonial Quote */

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 900;
  font-size: 13.5px;
  font-weight: 700;
  font-family: var(--font-body);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  filter: brightness(1.05);
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-cta-group {
    display: none;
  }
  .mobile-hamburger {
    display: flex;
    margin-left: auto;
  }
  .nav-container {
    padding: 16px 20px;
    width: 100%;
    max-width: 100vw;
  }
  .hero-viewport {
    padding-top: 100px;
  }
  .hero-content {
    padding: 0 16px;
  }
  .hero-description {
    font-size: 14px;
    margin-bottom: 28px;
  }
  .cta-group {
    gap: 10px;
    padding: 0;
  }
  .cta-group .btn-primary,
  .cta-group .btn-secondary {
    text-align: center;
    width: 100%;
  }
  .mockup-container {
    padding: 0 14px;
    margin-bottom: 0;
  }
  .calculator-section {
    padding: 56px 16px;
  }
  .calc-controls,
  .calc-results-box {
    padding: 28px 20px;
  }
  .floating-whatsapp {
    bottom: 16px;
    right: 16px;
    padding: 10px 15px;
    font-size: 12px;
  }
}

@media (max-width: 540px) {
  .calc-species-selector {
    grid-template-columns: 1fr;
  }
  .calc-total-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Editorial body layout grounded in the ShambaPass brand. */
.section-header h2 {
  letter-spacing: -0.04em;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Connected farm overview, inspired by the supplied three-card composition. */
.farm-picture {
  position: relative;
  background: #0b2d19;
  color: #f5f7ef;
  padding: 0 32px 64px;
  isolation: isolate;
}
.farm-picture::before,
.farm-picture::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 12px;
  background: repeating-linear-gradient(
    130deg,
    transparent 0 4px,
    rgba(188, 223, 185, 0.16) 4px 5px
  );
  pointer-events: none;
}
.farm-picture::before {
  top: 0;
}
.farm-picture::after {
  bottom: 0;
}
.farm-picture-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.farm-picture-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  padding: 48px 0 28px;
}
.farm-picture-kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #c0d8c2;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.farm-picture-kicker > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sp-lime);
  box-shadow: 5px 0 0 rgba(240, 255, 225, 0.65);
  margin-right: 5px;
}
.farm-picture-heading h2 {
  font-family: var(--font-heading);
  font-size: var(--type-h1);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.15;
  color: #ffffff;
}
.farm-picture-link {
  display: flex;
  gap: 22px;
  align-items: center;
  background: var(--sp-card);
  color: #204536;
  border-radius: 30px;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  margin-bottom: 5px;
}
.farm-picture-link:hover {
  background: var(--sp-lime);
}
.farm-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.farm-focus-card {
  display: flex;
  flex-direction: column;
  background: #124438;
  border: 1px solid rgba(222, 242, 214, 0.16);
  border-radius: 17px;
  padding: 7px;
  scroll-margin-top: 110px;
}
.farm-card-visual {
  min-height: 205px;
  border-radius: 11px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 19px;
}
.farm-example-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: #e0efdc;
  position: relative;
  z-index: 1;
}
.farm-animal-visual {
  background:
    linear-gradient(180deg, rgba(15, 39, 27, 0.2), rgba(15, 39, 27, 0.8)),
    url("assets/hero-hills.webp") center 65% / cover;
}
.farm-passport {
  position: relative;
  margin-top: 20px;
}
.farm-record-tag {
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  padding-bottom: 9px;
  color: #d7ebcf;
}
.farm-passport > strong {
  display: block;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #fff;
}
.farm-life-track {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 17px;
  font-size: 10px;
  color: #daebd3;
}
.farm-life-track i {
  height: 1px;
  background: #a2c18e;
  flex: 1;
}
.farm-card-copy {
  padding: 22px 17px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.farm-card-number {
  color: #b4c9b4;
  font-size: 9px;
  letter-spacing: 0.11em;
  margin-bottom: 11px;
}
.farm-card-copy h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #f0f5eb;
  margin-bottom: 10px;
}
.farm-card-copy p {
  font-size: 13px;
  line-height: 1.75;
  color: #c7d5c5;
  margin: 0 0 22px;
}
.farm-card-copy > a {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  color: #c2ed8f;
  text-decoration: none;
  font-weight: 500;
}
.farm-card-copy > a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.farm-focus-highlight {
  background: var(--sp-lime);
  border-color: #b5f155;
}
.farm-focus-highlight .farm-card-number {
  color: #42642b;
}
.farm-focus-highlight h3 {
  color: #193824;
}
.farm-focus-highlight .farm-card-copy p {
  color: #345427;
}
.farm-focus-highlight .farm-card-copy > a {
  color: #193824;
}
.farm-care-visual {
  background: #244633;
  color: #fff;
  justify-content: center;
  gap: 16px;
  min-height: 205px;
}
.farm-care-visual .farm-example-label {
  color: #b6d4a6;
}
.farm-care-row {
  display: flex;
  align-items: center;
  gap: 11px;
}
.farm-care-row strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.farm-care-row small {
  font-size: 10px;
  display: block;
  color: #bad0b3;
  margin-top: 3px;
}
.farm-care-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #638b4c;
  border-radius: 8px;
  color: #b5f155;
  font-size: 15px;
  flex-shrink: 0;
}
.farm-care-footer {
  font-size: 9px;
  color: #cce1c1;
  display: flex;
  gap: 7px;
  align-items: center;
  border-top: 1px solid #52704b;
  padding-top: 12px;
}
.farm-care-dot {
  width: 5px;
  height: 5px;
  background: var(--sp-lime);
  border-radius: 50%;
}
.farm-finance-visual {
  background: #dce5d8;
  color: #244633;
}
.farm-finance-visual .farm-example-label {
  color: #536b4e;
}
.farm-ledger {
  margin-top: 18px;
}
.farm-ledger > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #bcccb4;
  font-size: 10px;
}
.farm-ledger > div:last-child {
  border: 0;
}
.farm-ledger-title strong {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.farm-ledger-title > span {
  font-size: 9px;
  color: #5f7558;
}
.farm-ledger-plus {
  color: #316128;
}
.farm-picture a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}
@media (max-width: 900px) {
  .farm-focus-grid {
    gap: 12px;
  }
  .farm-card-copy {
    padding: 20px 12px;
  }
  .farm-card-visual {
    padding: 15px;
  }
  .farm-card-copy h3 {
    font-size: 18px;
  }
}
@media (max-width: 680px) {
  .farm-picture {
    padding: 0 20px 40px;
  }
  .farm-picture-heading {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px 0 24px;
    gap: 22px;
  }
  .farm-focus-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .farm-card-visual {
    min-height: 200px;
    padding: 22px;
  }
  .farm-card-copy {
    padding: 25px 21px;
  }
  .farm-card-copy h3 {
    font-size: 23px;
  }
  .farm-focus-highlight .farm-card-copy {
    min-height: 225px;
  }
  .farm-picture-kicker {
    font-size: 9px;
  }
}

/* Species and feature stories: generous type, compact rhythm, meaningful previews. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
.farm-picture-link,
.farm-card-copy > a,
.btn-primary,
.btn-nav {
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}
.section-reveal {
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.section-reveal.reveal-pending {
  opacity: 0;
  transform: translateY(18px);
}
.section-reveal.is-revealed {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .section-reveal,
  .section-reveal.reveal-pending {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Shared Inter typography with contextual heading sizes. */
h1,
h2,
h3 {
  font-family: var(--font-heading);
}
button,
input {
  font-family: var(--font-body);
}

/* Brand-coloured species and feature cards. */

/* Shared interaction rhythm. Independent translate keeps reveal transforms intact. */
.farm-focus-card {
  transition:
    translate var(--motion-card) var(--motion-ease),
    border-color var(--motion-card) ease,
    background-color var(--motion-card) ease,
    box-shadow var(--motion-card) ease;
}
.section-reveal {
  transition:
    opacity 600ms ease,
    transform 600ms var(--motion-ease),
    translate var(--motion-card) var(--motion-ease),
    box-shadow var(--motion-card) ease,
    border-color var(--motion-card) ease,
    background-color var(--motion-card) ease;
}
.btn-primary,
.btn-secondary,
.btn-nav,
.farm-picture-link,
.calc-species-btn,
.floating-whatsapp {
  transition:
    translate var(--motion-fast) ease,
    scale var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    color var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
}
.nav-links a,
.footer-col a,
.footer-legal-links a {
  position: relative;
  transition: color var(--motion-fast) ease;
}
.nav-links a::after,
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--motion-ease);
}
.farm-card-copy > a span,
.farm-picture-link span {
  display: inline-block;
  transition: translate 220ms var(--motion-ease);
}
@keyframes faq-enter {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (hover: hover) and (pointer: fine) {
  .farm-focus-card:hover {
    translate: 0 -5px;
    box-shadow: 0 16px 32px rgba(11,45,25, 0.14);
    border-color: #a7de33;
    transition-delay: 0ms;
  }
  .btn-primary:hover,
  .btn-secondary:hover,
  .btn-nav:hover,
  .farm-picture-link:hover,
  .floating-whatsapp:hover {
    translate: 0 -2px;
    box-shadow: 0 7px 18px rgba(11,45,25, 0.13);
  }
  .calc-species-btn:hover {
    translate: 0 -2px;
    border-color: #376344;
  }
  .nav-links a:hover::after,
  .footer-col a:hover::after {
    transform: scaleX(1);
  }
  .farm-card-copy > a:hover span,
  .farm-picture-link:hover span {
    translate: 4px 0;
  }
}
.farm-focus-card:focus-within {
  border-color: #a7de33;
  box-shadow: 0 0 0 2px rgba(167,222,51, 0.25);
}
.nav-links a:focus-visible::after,
.footer-col a:focus-visible::after {
  transform: scaleX(1);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid #376344;
  outline-offset: 4px;
}
.farm-picture a:focus-visible {
  outline-color: #b5f155;
}
.btn-primary:active,
.btn-secondary:active,
.btn-nav:active,
.farm-picture-link:active,
.calc-species-btn:active {
  translate: 0 0;
  scale: 0.98;
  box-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .section-reveal,
  .section-reveal.reveal-pending {
    opacity: 1 !important;
    transform: none !important;
  }
  .farm-focus-card,
  .btn-primary,
  .btn-secondary,
  .btn-nav,
  .farm-picture-link,
  .calc-species-btn,
  .floating-whatsapp {
    translate: none !important;
    scale: none !important;
    transform: none !important;
  }
}

/* Simple alternating feature rows, matching the original landing layout. */
@media (max-width: 18rem) {
  .cta-group {
    grid-template-columns: minmax(0, 1fr);
  }
}
