:root {
  color-scheme: light;
  --bg: #f5f1df;
  --bg-soft: #e6efd8;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --text: #24352b;
  --muted: #5d6f61;
  --cyan: #3e8660;
  --blue: #5a8f70;
  --pink: #df866d;
  --gold: #e9a948;
  --green: #77ad61;
  --border: rgba(55, 91, 65, 0.18);
  --shadow: 0 24px 60px rgba(67, 83, 48, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 8%, rgba(119, 173, 97, 0.25), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(233, 169, 72, 0.2), transparent 24rem),
    linear-gradient(155deg, #f8f5e9 0%, #edf2dd 48%, #dcebd1 100%);
  min-height: 100vh;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle, rgba(62, 134, 96, 0.2) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(233, 169, 72, 0.16) 0 1px, transparent 1.5px);
  background-position:
    0 0,
    45px 70px;
  background-size:
    140px 140px,
    190px 190px;
  opacity: 0.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 253, 244, 0.82);
  box-shadow: 0 16px 38px rgba(67, 83, 48, 0.12);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand img,
.site-footer img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(119, 173, 97, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.13);
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: currentColor;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.page-section {
  margin-top: 54px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 82px);
  padding-top: 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(4rem, 10vw, 8.4rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.page-section h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

h4 {
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 1rem;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 36px;
}

.button,
.email-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  color: #fffdf4;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 16px 34px rgba(62, 134, 96, 0.24);
}

.button.secondary,
.email-link {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.6);
}

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

.quick-facts div,
.feature-card,
.contact-panel,
.legal,
.showcase-copy {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quick-facts div {
  padding: 16px;
  border-radius: 18px;
}

.quick-facts dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 0;
  font-weight: 800;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 620px;
}

.phone-frame {
  position: relative;
  overflow: hidden;
  border: 12px solid rgba(240, 249, 255, 0.18);
  border-radius: 36px;
  background: #dcebd1;
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

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

.phone-large {
  width: min(380px, 100%);
  aspect-ratio: 498 / 1074;
}

.app-badge {
  position: absolute;
  right: 0;
  bottom: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 230px;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 253, 244, 0.9);
  box-shadow: var(--shadow);
  font-weight: 800;
  backdrop-filter: blur(18px);
}

.app-badge img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.38fr) minmax(0, 1fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

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

.feature-card {
  min-height: 280px;
  padding: 24px;
  border-radius: 24px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 16px;
  color: #fffdf4;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  font-weight: 900;
}

.feature-card p,
.showcase-copy li,
.contact-panel p,
.legal-body p,
.legal-body li {
  color: var(--muted);
  line-height: 1.72;
}

.screenshot-layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(220px, 320px) minmax(260px, 1fr);
  align-items: center;
  gap: 22px;
}

.screenshot-layout .phone-frame {
  aspect-ratio: 496 / 1074;
}

figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(36, 53, 43, 0.18);
  color: var(--text);
  font-weight: 800;
  font-size: 12px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.showcase-copy {
  padding: 28px;
  border-radius: 26px;
}

.showcase-copy ul,
.legal-body ul {
  padding-left: 1.25rem;
}

.showcase-copy li + li,
.legal-body li + li {
  margin-top: 10px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 34px;
  border-radius: 30px;
}

.contact-panel h2 {
  margin-bottom: 14px;
}

.contact-panel p {
  max-width: 720px;
  margin-bottom: 0;
}

.email-link {
  white-space: nowrap;
}

.legal {
  padding: 34px;
  border-radius: 30px;
  scroll-margin-top: 110px;
}

.legal-header {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-header p:last-child {
  margin: 0;
  color: var(--muted);
}

.legal-body {
  max-width: 930px;
}

.legal-body h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.legal-body h3 {
  margin-top: 24px;
  color: var(--text);
}

.legal-body a {
  color: var(--cyan);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 42px;
  color: var(--muted);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 900;
}

.site-footer a {
  color: var(--cyan);
  font-weight: 800;
  text-decoration: none;
}

.site-footer p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    min-height: auto;
    padding-top: 72px;
  }

  .hero-art {
    min-height: auto;
  }

  .intro-grid,
  .screenshot-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .site-nav.is-open {
    display: grid;
  }

  .nav-link {
    justify-content: center;
    padding: 0 10px;
  }

  .section {
    width: min(100% - 24px, 1180px);
    padding: 64px 0;
  }

  h1 {
    font-size: clamp(3.3rem, 18vw, 5.2rem);
  }

  .quick-facts,
  .intro-grid,
  .screenshot-layout {
    grid-template-columns: 1fr;
  }

  .phone-large {
    width: min(340px, 100%);
  }

  .app-badge {
    right: 10px;
    bottom: 20px;
  }

  .feature-card {
    min-height: auto;
  }

  .contact-panel,
  .legal {
    padding: 24px;
  }

  .email-link {
    width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .site-footer p {
    text-align: left;
  }
}

/* Harvest Match layout system: a clear farm dashboard rhythm across every page. */
.site-header {
  width: min(1240px, calc(100% - 48px));
  margin-top: 24px;
  padding: 12px 14px 12px 18px;
  border-radius: 18px;
}

.section,
.site-footer {
  width: min(1240px, calc(100% - 48px));
}

.hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: clamp(48px, 7vw, 104px);
  min-height: 700px;
  padding: 86px 0 106px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy::before {
  position: absolute;
  top: -58px;
  left: -42px;
  z-index: -1;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(233, 169, 72, 0.14);
  content: "";
}

h1 {
  max-width: 680px;
  font-size: clamp(4.2rem, 9vw, 8.6rem);
  letter-spacing: -0.045em;
}

.hero-text {
  max-width: 590px;
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

.hero-actions {
  margin: 30px 0 32px;
}

.quick-facts {
  max-width: 630px;
}

.quick-facts div {
  padding: 15px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.hero-art {
  min-height: 590px;
  align-items: center;
}

.phone-large {
  width: min(350px, 86%);
  border-width: 10px;
  border-radius: 30px;
  transform: rotate(2.5deg);
}

.app-badge {
  right: -4px;
  bottom: 86px;
  max-width: 245px;
  border-radius: 16px;
}

.intro,
.showcase {
  padding-top: 86px;
  padding-bottom: 86px;
}

.section-heading {
  grid-template-columns: minmax(200px, 0.32fr) minmax(0, 1fr);
  gap: 42px;
  margin-bottom: 38px;
}

.section-heading h2 {
  max-width: 800px;
}

.intro-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 220px;
  padding: 28px 30px 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.66);
}

.feature-card:nth-child(2) {
  transform: translateY(18px);
}

.feature-card:nth-child(3) {
  transform: translateY(-4px);
}

.feature-card:nth-child(4) {
  transform: translateY(14px);
}

.feature-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 13px;
}

.showcase {
  position: relative;
}

.showcase::before {
  position: absolute;
  inset: 14% 0 8%;
  z-index: -1;
  border-radius: 38px;
  background: rgba(62, 134, 96, 0.1);
  content: "";
}

.screenshot-layout {
  grid-template-columns: minmax(190px, 260px) minmax(190px, 260px) minmax(280px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.screenshot-layout .phone-frame {
  border-width: 9px;
  border-radius: 27px;
}

.showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
}

.showcase-copy h3 {
  margin-bottom: 18px;
  font-size: 1.5rem;
}

.showcase-copy ul {
  margin: 0;
}

.page-section {
  margin-top: 72px;
  padding-top: 0;
  padding-bottom: 100px;
}

.legal,
.contact-panel {
  background: rgba(255, 255, 255, 0.74);
  border-radius: 24px;
}

.legal {
  padding: clamp(28px, 5vw, 58px);
}

.legal-header {
  max-width: 800px;
  margin-bottom: 38px;
}

.legal-body {
  max-width: 820px;
}

.contact-panel {
  min-height: 330px;
  padding: clamp(30px, 6vw, 72px);
}

.contact-panel h1 {
  max-width: 700px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6rem);
}

.site-footer {
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

@media (max-width: 980px) {
  .site-header,
  .section,
  .site-footer {
    width: min(100% - 36px, 760px);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 78px;
  }

  .hero-art {
    min-height: 560px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .showcase-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-header,
  .section,
  .site-footer {
    width: min(100% - 24px, 560px);
  }

  .hero {
    padding-top: 62px;
    padding-bottom: 70px;
  }

  .hero-art {
    min-height: 500px;
  }

  .intro-grid,
  .screenshot-layout {
    grid-template-columns: 1fr;
  }

  .feature-card:nth-child(n) {
    transform: none;
  }

  .showcase-copy {
    grid-column: auto;
  }

  .page-section {
    margin-top: 46px;
    padding-bottom: 70px;
  }
}
