@font-face {
  font-family: "Fraunces";
  src: url("./fonts/Fraunces-SemiBold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Manrope";
  src: url("./fonts/Manrope-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Manrope";
  src: url("./fonts/Manrope-Bold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("./fonts/IBMPlexMono-SemiBold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

:root {
  --paper: #f2f1ec;
  --surface: #fbfaf7;
  --ink: #1b1e1a;
  --muted: #5c625c;
  --forest: #234b34;
  --forest-deep: #1f4430;
  --green: #356f3d;
  --clay: #a5432b;
  --eucalyptus: #5b8f8a;
  --line: #e4e1d7;
  --line-light: rgba(251, 250, 247, 0.22);
  --display: "Fraunces", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --page-gutter: max(1.25rem, calc((100vw - 1320px) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.hero,
.product,
.data,
.closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero > :not(.crop-backdrop),
.product > :not(.product-video),
.data > :not(.crop-backdrop),
.closing > :not(.crop-backdrop) {
  position: relative;
  z-index: 1;
}

.crop-backdrop {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.crop-backdrop-hero {
  right: -2.5rem;
  bottom: -2rem;
  width: min(45vw, 650px);
  color: var(--forest);
  opacity: 0.105;
}

.crop-backdrop-data {
  right: -3rem;
  bottom: -3.25rem;
  width: min(31vw, 420px);
  color: var(--eucalyptus);
  opacity: 0.09;
}

.row-glyph {
  position: absolute;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.row-glyph svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 24;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.row-glyph .icon-fill {
  fill: currentColor;
  stroke: none;
}

.crop-sway {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: crop-sway 8s ease-in-out infinite;
}

.crop-sway-2 {
  animation-delay: -2.7s;
  animation-duration: 9.4s;
}

.crop-sway-3 {
  animation-delay: -5.1s;
  animation-duration: 7.3s;
}

.crop-sway-4 {
  animation-delay: -6.4s;
  animation-duration: 10.6s;
}

@keyframes crop-sway {
  0%,
  100% {
    transform: rotate(-0.65deg);
  }

  50% {
    transform: rotate(0.8deg);
  }
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin-top: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -5rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  color: var(--surface);
  background: var(--ink);
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid #6d8f78;
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid transparent;
  transition: height 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.site-header.scrolled {
  height: 62px;
  background: rgba(242, 241, 236, 0.97);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand img {
  width: 34px;
  height: 34px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}

nav a {
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav a:not(.nav-cta):hover {
  color: var(--green);
}

.nav-login {
  padding-left: clamp(0.6rem, 1.5vw, 1.25rem);
  border-left: 1px solid var(--line);
}

.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border: 1px solid var(--forest);
  border-radius: 12px;
  color: var(--surface);
  background: linear-gradient(135deg, #2c5a40, #1f4430);
}

.nav-cta:hover {
  background: var(--green);
  border-color: var(--green);
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 10.5rem var(--page-gutter) 5.5rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #eaf1e3, #faf9f1);
}

.hero-copy {
  max-width: 1120px;
}

.kicker,
.feature-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kicker {
  margin-bottom: 1.75rem;
  color: var(--green);
}

h1 {
  max-width: 1050px;
  margin-bottom: 2rem;
  color: var(--forest);
  font-family: var(--display);
  font-size: clamp(3.8rem, 6vw, 6.2rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 630px;
  margin-bottom: 2rem;
  color: #3d463f;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid currentColor;
  border-radius: 14px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease,
    transform 100ms ease;
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  color: var(--surface);
  background: linear-gradient(135deg, #2c5a40, #1f4430);
  border-color: var(--forest);
}

.button-primary:hover {
  background: var(--green);
  border-color: var(--green);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-block: 0.45rem;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.text-link:hover {
  color: var(--green);
}

.hero-note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.source-strip {
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.source-strip ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-strip li {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-left: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.source-strip li:last-child {
  border-right: 1px solid var(--line);
}

.section {
  padding: clamp(5.5rem, 9vw, 9rem) var(--page-gutter);
}

h2 {
  margin-bottom: 1.6rem;
  color: var(--forest);
  font-family: var(--display);
  font-size: clamp(2.9rem, 5.15vw, 5.25rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.method {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
  column-gap: clamp(4rem, 10vw, 10rem);
  row-gap: clamp(3rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  position: sticky;
  top: 110px;
  align-self: start;
}

.section-heading > p:last-child {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.step-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.step-list li {
  position: relative;
  min-height: 148px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 2.15rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.step-list li:nth-child(odd) {
  padding-left: clamp(5.25rem, 11vw, 8.5rem);
}

.step-list li:nth-child(even) {
  padding-right: clamp(5.25rem, 11vw, 8.5rem);
}

.step-list li > div {
  position: relative;
  z-index: 1;
}

.step-icon {
  top: 50%;
  left: -0.7rem;
  width: clamp(94px, 9vw, 132px);
  height: clamp(94px, 9vw, 132px);
  color: var(--green);
  opacity: 0.075;
  transform: translateY(-50%) rotate(-5deg);
}

.step-list li:nth-child(even) .step-icon {
  right: -0.35rem;
  left: auto;
  transform: translateY(-50%) rotate(5deg);
}

.step-list h3,
.feature-copy h3 {
  margin-bottom: 0.8rem;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2vw, 2.15rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.step-list p {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--muted);
}

.product {
  color: var(--surface);
  background: var(--forest-deep) url("./media/field-aerial-poster.jpg") center / cover no-repeat;
}

.product::after {
  position: absolute;
  z-index: 0;
  content: "";
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(24, 58, 39, 0.92) 0%,
    rgba(31, 68, 48, 0.84) 52%,
    rgba(20, 48, 34, 0.7) 100%
  );
}

.product-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(0.96) brightness(0.99);
}

.product-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

.product-intro h2 {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0;
  color: var(--surface);
}

.product-intro > p:last-child {
  grid-column: 2;
  grid-row: 1;
  margin-bottom: 0;
  color: rgba(251, 250, 247, 0.68);
}

.feature-ledger {
  border-top: 1px solid var(--line-light);
}

.feature-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(340px, 1.2fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding: 2.25rem clamp(0.75rem, 3vw, 2.5rem) 2.45rem;
  border-bottom: 1px solid var(--line-light);
  overflow: hidden;
  transition: background-color 160ms ease;
}

.feature-row:hover {
  background: rgba(233, 239, 233, 0.045);
}

.feature-icon {
  top: 50%;
  left: 2rem;
  width: clamp(108px, 10vw, 154px);
  height: clamp(108px, 10vw, 154px);
  color: #a8d0ac;
  opacity: 0.075;
  transform: translateY(-50%) rotate(5deg);
}

.feature-row:nth-child(even) .feature-icon {
  left: 10%;
  transform: translate(-50%, -50%) rotate(-6deg);
}

.feature-copy,
.feature-detail {
  position: relative;
  z-index: 1;
}

.feature-label {
  margin-bottom: 0.75rem;
  color: #8fc696;
  font-size: 0.75rem;
}

.feature-copy h3 {
  margin-bottom: 0;
  color: var(--surface);
}

.feature-detail {
  max-width: 610px;
  margin-bottom: 0;
  color: rgba(251, 250, 247, 0.66);
}

.data {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  column-gap: clamp(4rem, 10vw, 10rem);
  row-gap: clamp(3rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #e2edeb, #f6f8f5);
}

.data-copy h2 {
  max-width: 670px;
}

.data-copy > p {
  max-width: 610px;
  color: var(--muted);
  font-size: 1.05rem;
}

.data-copy .text-link {
  margin-top: 1rem;
}

.data-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.data-list > div {
  position: relative;
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 0.4rem;
  padding: 1.55rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.data-list dt {
  position: relative;
  z-index: 1;
}

.data-list dd {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.data-list strong {
  font-size: 1.05rem;
}

.data-icon {
  top: 50%;
  right: 2.85rem;
  width: clamp(84px, 8vw, 116px);
  height: clamp(84px, 8vw, 116px);
  color: var(--eucalyptus);
  opacity: 0.1;
  transform: translateY(-50%) rotate(5deg);
}

.data-list > div:nth-child(even) .data-icon {
  top: 2rem;
  right: 5rem;
  transform: translateY(-50%) rotate(-5deg);
}

.closing {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.6fr);
  align-items: end;
  column-gap: clamp(3rem, 8vw, 8rem);
  row-gap: clamp(3rem, 5vw, 5rem);
  color: var(--surface);
  background:
    linear-gradient(115deg, rgba(35, 75, 52, 0.86), rgba(31, 68, 48, 0.76)),
    url("./media/crop-leaves.jpg") center 58% / cover no-repeat;
}

.closing h2 {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--surface);
  letter-spacing: -0.015em;
}

.closing-action {
  padding-left: clamp(1.5rem, 3vw, 3rem);
  border-left: 1px solid var(--line-light);
}

.closing-action p {
  margin-bottom: 1.8rem;
  color: rgba(251, 250, 247, 0.7);
}

.mobile-store-links {
  display: none;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  opacity: 0.62;
  cursor: not-allowed;
  user-select: none;
}

.store-badge img {
  display: block;
  width: auto;
  height: 42px;
}

.store-badge-google img {
  height: 54px;
}

.closing-action .store-coming-soon {
  margin: 0.75rem 0 0;
  color: rgba(251, 250, 247, 0.72);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-light {
  color: var(--forest);
  background: var(--surface);
  border-color: var(--surface);
}

.button-light:hover {
  color: var(--surface);
  background: transparent;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem var(--page-gutter);
  color: var(--muted);
  background: var(--surface);
  font-size: 0.75rem;
}

.brand-footer {
  color: var(--ink);
}

.brand-footer img {
  width: 30px;
  height: 30px;
}

footer p {
  margin-bottom: 0;
}

.footer-open-source a {
  display: inline-block;
  margin-left: 0.35rem;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-weight: 700;
}

footer > div {
  display: flex;
  justify-content: end;
  gap: 1.4rem;
}

footer a:not(.brand) {
  text-decoration: none;
}

footer a:hover {
  color: var(--green);
}

@media (max-width: 1120px) {
  .hero {
    padding-top: 9rem;
  }

  h1 {
    max-width: 900px;
  }

  .method,
  .data {
    grid-template-columns: 1fr;
    gap: 4.5rem;
  }

  .section-heading {
    position: static;
  }

  .product-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-intro h2,
  .product-intro > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .product-intro > p:last-child {
    max-width: 660px;
  }

  .feature-row {
    grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 1.15fr);
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }

  footer > div {
    justify-content: start;
  }
}

@media (max-width: 780px) {
  .site-header {
    height: 64px;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 8.5rem;
    padding-bottom: 4rem;
  }

  .crop-backdrop-hero {
    right: -28vw;
    bottom: -1.5rem;
    width: 78vw;
    opacity: 0.075;
  }

  .crop-backdrop-data {
    left: -31vw;
    width: 72vw;
    opacity: 0.065;
  }

  h1 {
    font-size: clamp(3.25rem, 13vw, 5rem);
  }

  .source-strip {
    overflow: visible;
  }

  .source-strip ul {
    min-width: 0;
    grid-template-columns: repeat(2, 1fr);
  }

  .source-strip li {
    border-bottom: 1px solid var(--line);
  }

  .source-strip li:nth-child(even) {
    border-right: 1px solid var(--line);
  }

  .source-strip li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding-right: 0.5rem;
    padding-left: 4rem;
  }

  .feature-detail {
    grid-column: auto;
  }

  .feature-row:nth-child(even) {
    padding-right: 0.5rem;
    padding-left: 4rem;
  }

  .feature-icon {
    right: auto;
    left: -1.65rem;
    width: 104px;
    height: 104px;
    opacity: 0.065;
  }

  .feature-row:nth-child(even) .feature-icon {
    left: -1.65rem;
    transform: translateY(-50%) rotate(5deg);
  }

  .closing {
    grid-template-columns: 1fr;
  }

  .closing-action {
    padding: 1.8rem 0 0;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .mobile-store-links {
    display: block;
    margin-top: 2rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line-light);
  }
}

@media (max-width: 520px) {
  :root {
    --page-gutter: 1rem;
  }

  .brand span {
    font-size: 1rem;
  }

  .nav-cta {
    padding-inline: 0.75rem;
    font-size: 0.64rem;
  }

  .hero {
    padding-top: 7.3rem;
  }

  .kicker {
    margin-bottom: 1.2rem;
  }

  h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(3rem, 13.8vw, 4.15rem);
    line-height: 0.93;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .section {
    padding-block: 4.8rem;
  }

  h2 {
    font-size: clamp(2.6rem, 13vw, 3.8rem);
  }

  .step-list li {
    min-height: 128px;
    grid-template-columns: 1fr;
    padding-block: 1.7rem;
  }

  .step-list li:nth-child(odd) {
    padding-left: 4.4rem;
  }

  .step-list li:nth-child(even) {
    padding-right: 4.4rem;
  }

  .step-icon {
    width: 80px;
    height: 80px;
    opacity: 0.065;
  }

  .feature-row,
  .feature-row:nth-child(even) {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 1rem;
    row-gap: 0.65rem;
    padding: 1.5rem 0;
  }

  .feature-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .feature-detail {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .feature-icon,
  .feature-row:nth-child(even) .feature-icon {
    position: static;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.55rem;
    border-radius: 50%;
    color: #a8d0ac;
    background: rgba(168, 208, 172, 0.1);
    opacity: 0.8;
    transform: none;
  }

  .data {
    row-gap: 2.75rem;
    padding-block: 4rem;
  }

  .data-list > div {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: 0;
    column-gap: 1rem;
    row-gap: 0.25rem;
    padding: 1.25rem 0;
  }

  .data-list > div:nth-child(odd),
  .data-list > div:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
  }

  .data-list dt {
    display: contents;
  }

  .data-list strong {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    font-size: 1rem;
    line-height: 1.3;
  }

  .data-list dd {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.82rem;
  }

  .data-icon {
    position: static;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.55rem;
    border-radius: 50%;
    color: var(--eucalyptus);
    background: rgba(91, 143, 138, 0.1);
    opacity: 0.8;
    transform: none;
  }

  .data-list > div:nth-child(even) .data-icon {
    top: auto;
    right: auto;
    transform: none;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  footer > div {
    flex-wrap: wrap;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .crop-sway {
    animation: none;
  }

  .product-video {
    display: none;
  }
}
