/* Farmey premium AgriTech marketing - Weera Agriculture
   Finora-inspired composition; Farmey brand identity. */

body.hub {
  --farmey-forest: #073d31;
  --farmey-deep: #032c24;
  --farmey-emerald: #086548;
  --farmey-leaf: #88b94f;
  --farmey-lime: #b6d943;
  --farmey-gold: #edbd43;
  --farmey-cream: #fbf6e9;
  --farmey-mist: #f3f6f2;
  --farmey-sage: #e7f0df;
  --farmey-slate: #263c35;
  --farmey-text: #17251f;
  --farmey-muted: #708078;
  --white: #ffffff;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-soft: 0 18px 48px rgba(3, 44, 36, 0.14);
  --shadow-card: 0 10px 28px rgba(3, 44, 36, 0.08);
  --display: "Manrope", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;

  margin: 0;
  background: var(--farmey-mist);
  color: var(--farmey-text);
  font-family: var(--body);
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  overflow-x: clip;
}

html[lang="si"] body.hub {
  font-family: "Abhaya Libre", var(--body);
  line-height: 1.75;
}

html[lang="ta"] body.hub {
  font-family: "Tiro Tamil", var(--body);
  line-height: 1.75;
}

@media (min-width: 960px) {
  body.hub {
    padding-bottom: 0;
  }
}

.hub.is-embed .m-header,
.hub.is-embed .m-footer,
.hub.is-embed .sticky-dl,
.hub.is-embed .nav-shell {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Floating nav ---------- */

.nav-shell {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0 max(16px, 4vw);
}

.m-header {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  color: var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

body.hub.is-scrolled .nav-shell {
  position: fixed;
  top: 10px;
  animation: nav-in 0.35s ease;
}

body.hub.is-scrolled .m-header {
  background: rgba(251, 246, 233, 0.94);
  border-color: rgba(7, 61, 49, 0.08);
  box-shadow: var(--shadow-card);
  color: var(--farmey-text);
}

@keyframes nav-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.m-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.m-header .brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

/* Dark hero: light wordmark. Scrolled / light headers: dark wordmark. */
.m-header .brand-logo-on-light {
  display: none;
}

body.hub.is-scrolled .m-header .brand-logo-on-dark,
body.hub:not(.page-home) .m-header .brand-logo-on-dark {
  display: none;
}

body.hub.is-scrolled .m-header .brand-logo-on-light,
body.hub:not(.page-home) .m-header .brand-logo-on-light {
  display: block;
}

.m-header .lang-switch {
  position: relative;
  margin-left: auto;
}

.m-header .lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  cursor: pointer;
}

.m-header .lang-toggle:hover,
.m-header .lang-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.2);
}

body.hub.is-scrolled .m-header .lang-toggle,
body.hub:not(.page-home) .m-header .lang-toggle {
  background: var(--farmey-sage);
  color: var(--farmey-forest);
}

.m-header .lang-globe {
  display: block;
}

.m-header .lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  min-width: 148px;
  padding: 6px;
  border-radius: 14px;
  background: var(--farmey-cream);
  color: var(--farmey-text);
  box-shadow: var(--shadow-soft);
}

.m-header .lang-menu .lang-btn {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.m-header .lang-menu .lang-btn:hover {
  background: var(--farmey-sage);
}

.m-header .lang-menu .lang-btn[aria-pressed="true"],
.m-header .lang-menu .lang-btn[aria-selected="true"] {
  background: rgba(182, 217, 67, 0.35);
  color: var(--farmey-forest);
}

.m-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  cursor: pointer;
}

body.hub.is-scrolled .m-burger,
body.hub:not(.page-home) .m-burger {
  background: var(--farmey-sage);
  color: var(--farmey-forest);
}

.burger-lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
}

.burger-lines span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.m-burger.is-open .burger-lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.m-burger.is-open .burger-lines span:nth-child(2) {
  opacity: 0;
}

.m-burger.is-open .burger-lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.m-nav {
  display: none;
  position: absolute;
  left: 12px;
  right: 12px;
  top: calc(100% + 8px);
  flex-direction: column;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--farmey-cream);
  color: var(--farmey-text);
  box-shadow: var(--shadow-soft);
}

.m-nav.is-open {
  display: flex;
}

.m-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  color: var(--farmey-text);
  font-weight: 500;
  text-decoration: none;
  border-radius: 12px;
}

.m-nav a:hover {
  background: var(--farmey-sage);
}

.m-nav .dl {
  justify-content: center;
  margin-top: 6px;
  background: var(--farmey-leaf);
  color: var(--farmey-deep);
  font-weight: 700;
}

@media (min-width: 960px) {
  .m-burger {
    display: none;
  }

  .m-header .lang-switch {
    margin-left: 0;
  }

  .m-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    margin-right: 4px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
  }

  .m-nav a {
    min-height: 40px;
    padding: 0 12px;
    color: inherit;
    font-size: 14px;
  }

  .m-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  body.hub.is-scrolled .m-nav a:hover {
    background: var(--farmey-sage);
  }

  .m-nav .dl {
    margin: 0 0 0 8px;
    min-height: 44px;
    padding: 0 18px;
    background: var(--farmey-lime);
    color: var(--farmey-deep);
  }

  body.hub.is-scrolled .m-nav .dl {
    background: var(--farmey-forest);
    color: var(--white);
  }
}

/* ---------- Layout helpers ---------- */

.wide {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 max(16px, 4vw);
}

.section {
  padding: clamp(40px, 8vw, 72px) 0;
}

.section-label {
  margin: 0 0 10px;
  color: var(--farmey-emerald);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section h2,
.hero-copy h1 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 5vw, 40px);
  color: var(--farmey-text);
  max-width: min(18ch, 100%);
  overflow-wrap: break-word;
}

.section .lede {
  margin: 0 0 28px;
  max-width: min(52ch, 100%);
  color: var(--farmey-muted);
  font-size: clamp(15px, 2.8vw, 17px);
}

.bg-cream {
  background: var(--farmey-cream);
}

.bg-sage {
  background: var(--farmey-sage);
}

.bg-mist {
  background: var(--farmey-mist);
}

.bg-forest {
  background: linear-gradient(160deg, var(--farmey-deep), var(--farmey-forest) 55%, var(--farmey-emerald));
  color: var(--white);
}

.bg-forest h2,
.bg-forest .lede,
.bg-forest .section-label {
  color: var(--white);
}

.bg-forest .lede {
  color: rgba(255, 255, 255, 0.78);
}

.bg-forest .section-label {
  color: var(--farmey-lime);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.btn-primary {
  background: var(--farmey-lime);
  color: var(--farmey-deep);
}

.btn-primary:hover {
  background: var(--farmey-leaf);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-secondary.on-light {
  background: var(--white);
  color: var(--farmey-forest);
  border: 1px solid rgba(7, 61, 49, 0.12);
}

.play-badge {
  display: inline-block;
  line-height: 0;
}

.play-badge img {
  height: 54px;
  width: auto;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.store-badge {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.store-badge img {
  height: 48px;
  width: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 0 1.5px #fff;
}

.store-badge.is-disabled {
  opacity: 0.42;
  filter: grayscale(0.35);
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
}

.footer-brand .store-badge img {
  height: 42px;
}

@media (max-width: 520px) {
  .store-badge img {
    height: 42px;
  }

  .footer-brand .store-badge img {
    height: 38px;
  }
}

/* ---------- Hero ---------- */

.hero-bleed {
  position: relative;
  overflow: hidden;
  padding: 110px 0 48px;
  background:
    radial-gradient(ellipse 70% 50% at 75% 35%, rgba(237, 189, 67, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(136, 185, 79, 0.16), transparent 50%),
    linear-gradient(165deg, var(--farmey-deep) 0%, var(--farmey-forest) 48%, #0a4f3f 100%);
  color: var(--white);
}

.hero-bleed::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    100deg,
    transparent 0 26px,
    rgba(237, 189, 67, 0.06) 26px 27px
  );
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  pointer-events: none;
  animation: contour-drift 28s linear infinite;
}

.hero-bleed::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 217, 67, 0.2), transparent 68%);
  pointer-events: none;
  animation: glow-pulse 8s ease-in-out infinite;
}

@keyframes contour-drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-54px);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 max(16px, 4vw);
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-bleed {
    padding: 130px 0 64px;
    min-height: min(92vh, 820px);
  }

  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 600;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(32px, 5.2vw, 52px);
  color: var(--white);
  max-width: 12ch;
}

.hero-copy .lede {
  margin: 16px 0 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
}

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

.hero-stage {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
  max-width: 100%;
  min-height: min(70vw, 420px);
  display: grid;
  place-items: center;
  animation: hero-rise 0.9s ease both;
}

.hero-phone-frame {
  position: relative;
  z-index: 2;
  width: min(68vw, 260px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  background: var(--farmey-deep);
  aspect-ratio: 941 / 1672;
}

.hero-phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(180px, 46vw);
  min-width: 0;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(251, 246, 233, 0.95);
  color: var(--farmey-text);
  box-shadow: var(--shadow-card);
  font-size: clamp(11px, 3vw, 13px);
  font-weight: 600;
  animation: float-y 5.5s ease-in-out infinite;
}

.float-card img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.float-card.c1 {
  top: 8%;
  left: 0;
  animation-delay: 0s;
}

.float-card.c2 {
  top: 18%;
  right: 0;
  animation-delay: 0.8s;
}

.float-card.c3 {
  bottom: 22%;
  left: 2%;
  animation-delay: 1.4s;
}

.float-card.c4 {
  bottom: 10%;
  right: 2%;
  animation-delay: 0.4s;
}

@media (max-width: 959px) {
  .float-card.c1,
  .float-card.c4 {
    display: none;
  }

  .float-card.c2 {
    top: 4%;
    right: 4%;
  }

  .float-card.c3 {
    bottom: 4%;
    left: 4%;
  }
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-slider-ui {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.hero-slider-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.hero-slider-dots {
  display: flex;
  gap: 8px;
}

.hero-slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.hero-slider-dots button.is-active {
  width: 22px;
  background: var(--farmey-lime);
}

.hero-slider-label {
  margin: 8px 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide[hidden] {
  display: block;
}

.hero-slider-viewport {
  position: relative;
  width: min(68vw, 260px);
  aspect-ratio: 941 / 1672;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  background: var(--farmey-deep);
}

.hero-slider-track {
  position: relative;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Trust strip ---------- */

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid rgba(7, 61, 49, 0.06);
}

.trust-strip-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 22px max(16px, 4vw);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 800px) {
  .trust-strip-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--farmey-slate);
  font-size: 14px;
  font-weight: 600;
}

.trust-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--farmey-leaf);
  flex-shrink: 0;
}

/* ---------- Cards / grids ---------- */

.grid-2 {
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.card h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 18px;
  color: var(--farmey-text);
}

.card p {
  margin: 0;
  color: var(--farmey-muted);
  font-size: 14.5px;
}

.card .more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  color: var(--farmey-emerald);
  font-weight: 700;
  text-decoration: none;
}

.tile-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
}

/* Steps */

.steps-modern {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.steps-modern li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.step-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--farmey-leaf);
  color: var(--farmey-deep);
  font-weight: 800;
}

.steps-modern strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 17px;
}

.steps-modern span {
  color: var(--farmey-muted);
  font-size: 14.5px;
}

.why-visual {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #eef2ef;
  box-shadow: var(--shadow-soft);
}

.why-visual picture {
  display: block;
  width: 100%;
}

.why-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: #eef2ef;
}

@media (max-width: 699px) {
  .why-visual {
    border-radius: var(--radius-md);
  }

  .why-visual img {
    aspect-ratio: auto;
    object-fit: contain;
  }
}

.why-visual .leaf-deco {
  display: none;
}

/* Feature orbit */

.feature-orbit {
  display: grid;
  gap: 24px;
  align-items: center;
}

@media (min-width: 960px) {
  .feature-orbit {
    grid-template-columns: 1fr 280px 1fr;
    gap: 20px;
  }
}

.orbit-phone {
  width: min(70vw, 260px);
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 941 / 1672;
  background: var(--farmey-deep);
}

.orbit-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.orbit-col {
  display: grid;
  gap: 14px;
}

.benefit-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--farmey-forest);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(7, 61, 49, 0.08);
}

.note,
.disclaimer {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(237, 189, 67, 0.12);
  border-left: 3px solid var(--farmey-gold);
  color: var(--farmey-slate);
  font-size: 14px;
}

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

@media (min-width: 600px) {
  .metric-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.metric {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.metric strong {
  display: block;
  font-size: 13px;
  color: var(--farmey-text);
}

.metric span {
  color: var(--farmey-muted);
  font-size: 12px;
}

.farm-connectors {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 700px) {
  .farm-connectors {
    grid-template-columns: repeat(3, 1fr);
  }
}

.farm-connectors .card {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.farm-connectors .card h3 {
  color: var(--white);
  font-size: 15px;
}

.farm-connectors .card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.badge {
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--farmey-gold);
  color: var(--farmey-deep);
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
}

/* Gallery */

.gallery-premium {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 20px;
  -webkit-overflow-scrolling: touch;
}

.gallery-premium .shot {
  flex: 0 0 180px;
  scroll-snap-align: center;
  margin: 0;
  transition: transform 0.25s ease;
}

.gallery-premium .shot.is-focus {
  transform: scale(1.05);
}

.gallery-premium img {
  width: 180px;
  aspect-ratio: 941 / 1672;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  box-shadow: var(--shadow-card);
}

.gallery-premium figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--farmey-muted);
}

@media (min-width: 900px) {
  .gallery-premium {
    justify-content: center;
    overflow: visible;
  }
}

/* Trust links */

.trust-links {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.trust-links a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--farmey-forest);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-card);
}

/* Testimonials */

.quote-box {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(182, 217, 67, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.quote-mark {
  position: absolute;
  top: 12px;
  right: 22px;
  font-size: 72px;
  line-height: 1;
  color: rgba(182, 217, 67, 0.35);
  font-family: Georgia, serif;
}

.quote-box p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  max-width: 48ch;
}

.quote-meta {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.dev-note {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* Forms */

.form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  font-size: 14px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(7, 61, 49, 0.12);
  border-radius: 14px;
  background: var(--white);
  color: var(--farmey-text);
  font: inherit;
  font-size: 16px;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--farmey-muted);
}

.check input {
  margin-top: 4px;
}

.hp {
  position: absolute;
  left: -9999px;
}

/* FAQ */

.faq details {
  border-top: 1px solid rgba(7, 61, 49, 0.1);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--farmey-sage);
  color: var(--farmey-forest);
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 16px;
  color: var(--farmey-muted);
  max-width: 62ch;
}

/* Final CTA */

.final-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(237, 189, 67, 0.25), transparent 45%),
    linear-gradient(135deg, var(--farmey-deep), var(--farmey-forest) 50%, var(--farmey-emerald));
  color: var(--white);
  display: grid;
  gap: 24px;
  padding: clamp(20px, 4vw, 36px);
  align-items: center;
  box-shadow: var(--shadow-soft);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 860px) {
  .final-banner {
    grid-template-columns: 180px 1fr auto;
    padding: 36px 40px;
  }
}

.final-banner h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 5vw, 34px);
  color: var(--white);
  max-width: min(16ch, 100%);
}

.final-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: min(42ch, 100%);
}

.final-banner .store-badges {
  margin-top: 16px;
}

.final-banner .qr-box {
  display: none;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.final-banner .qr-box img {
  width: 112px;
  height: 112px;
  border-radius: 12px;
  background: var(--white);
  padding: 6px;
  margin-bottom: 8px;
}

@media (min-width: 860px) {
  .final-banner .qr-box {
    display: block;
  }
}

.final-phone {
  width: min(140px, 36vw);
  max-width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 941 / 1672;
  margin: 0 auto;
}

.final-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Footer */

.m-footer {
  padding: 56px max(16px, 4vw) 28px;
  background: #e8eef2;
  color: var(--farmey-slate);
}

.m-foot-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

@media (min-width: 800px) {
  .m-foot-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.m-footer h2 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--farmey-muted);
}

.m-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.m-footer a {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: var(--farmey-forest);
  text-decoration: none;
  font-weight: 500;
}

.m-footer a:hover {
  text-decoration: underline;
}

.legal-note {
  width: min(1120px, 100%);
  margin: 36px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(7, 61, 49, 0.1);
  color: var(--farmey-muted);
  font-size: 13px;
}

.footer-brand {
  width: min(1120px, 100%);
  margin: 36px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(7, 61, 49, 0.1);
}

.footer-logo {
  height: clamp(36px, 10vw, 48px);
  width: auto;
  max-width: 100%;
  display: block;
}

@media (max-width: 640px) {
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand .store-badges {
    width: 100%;
  }
}

.m-footer .legal-note {
  margin-top: 20px;
  border-top: 0;
  padding-top: 0;
}

/* Sticky mobile CTA */

.sticky-dl {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding:
    10px
    max(16px, env(safe-area-inset-right, 0px), 4vw)
    calc(10px + env(safe-area-inset-bottom, 0px))
    max(16px, env(safe-area-inset-left, 0px), 4vw);
  background: rgba(251, 246, 233, 0.96);
  border-top: 1px solid rgba(7, 61, 49, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sticky-dl .btn {
  display: flex;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px clamp(12px, 4vw, 22px);
  font-size: clamp(13px, 3.6vw, 15px);
  line-height: 1.3;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sticky-dl .btn-primary {
  background: var(--farmey-forest);
  color: var(--white);
}

.sticky-dl .btn-primary:hover {
  background: var(--farmey-deep);
  color: var(--white);
}

@media (min-width: 960px) {
  .sticky-dl {
    display: none;
  }
}

/* Help / hub leftovers */

.help-list a {
  display: block;
  padding: 14px 0;
  border-top: 1px solid rgba(7, 61, 49, 0.1);
  color: var(--farmey-forest);
  font-weight: 600;
}

.search {
  width: 100%;
  min-height: 52px;
  margin: 12px 0 20px;
  padding: 12px 14px;
  border: 1px solid rgba(7, 61, 49, 0.12);
  border-radius: 14px;
  background: var(--white);
  font: inherit;
  font-size: 16px;
}

.helpful {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0;
  color: var(--farmey-muted);
  font-size: 14px;
}

.helpful[data-answered="1"] button {
  display: none;
}

.helpful button {
  min-height: 44px;
  min-width: 64px;
  border: 0;
  border-radius: 999px;
  background: var(--farmey-sage);
  color: var(--farmey-forest);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* Non-home hub pages: solid sticky light header */
body.hub:not(.page-home) {
  padding-top: 0;
}

body.hub:not(.page-home) .m-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  margin: 0;
  border-radius: 0;
  background: rgba(251, 246, 233, 0.96);
  border: 0;
  border-bottom: 1px solid rgba(7, 61, 49, 0.08);
  color: var(--farmey-text);
  backdrop-filter: blur(10px);
}

body.hub:not(.page-home) .m-nav .dl {
  background: var(--farmey-forest);
  color: var(--white);
}

body.hub:not(.page-home) .m-burger {
  background: var(--farmey-sage);
  color: var(--farmey-forest);
}

body.hub:not(.page-home) .wide {
  padding-top: 28px;
  padding-bottom: 48px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bleed::before,
  .hero-bleed::after,
  .float-card,
  .hero-stage {
    animation: none !important;
  }

  .hero-slide {
    transition: none;
  }
}
