:root {
  --paper: #f4f6f3;
  --white: #ffffff;
  --ink: #18261f;
  --muted: #56645d;
  --line: #cad2cd;
  --leaf: #c9f06a;
  --sky: #83c8ef;
  --coral: #ef7d62;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.legal-page {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.legal-page article {
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(24, 38, 31, .08);
}

.legal-page h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
}

.legal-page li + li,
.legal-page p + p {
  margin-top: 12px;
}

.legal-page a {
  color: #316e25;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  width: min(var(--max), calc(100% - 40px));
  min-height: 80px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 750;
}

.brand img {
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
}

.nav-download {
  border-bottom: 1px solid currentColor;
}

.hero {
  position: relative;
  min-height: min(860px, 90vh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 64%;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(10, 24, 18, .82) 0%, rgba(10, 24, 18, .38) 55%, rgba(10, 24, 18, .08) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 110px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 800px;
  margin-bottom: 14px;
  font-size: clamp(76px, 12vw, 170px);
  line-height: .88;
  letter-spacing: 0;
}

.hero-line {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: clamp(26px, 4vw, 50px);
  line-height: 1.08;
  font-weight: 520;
}

.hero-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 50px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  transition: transform .18s ease, background-color .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--leaf);
  color: #142019;
}

.button-secondary {
  border-color: rgba(255, 255, 255, .72);
  background: rgba(10, 24, 18, .28);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.hero-next {
  position: absolute;
  right: max(20px, calc((100% - var(--max)) / 2));
  bottom: 34px;
  z-index: 3;
  display: flex;
  gap: 12px;
  font-size: 14px;
  font-weight: 750;
}

.inside,
.product,
.download,
footer {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.inside {
  padding: 92px 0 104px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 58px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1;
  letter-spacing: 0;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.capabilities article {
  min-height: 260px;
  padding: 28px 28px 28px 0;
  border-right: 1px solid var(--line);
}

.capabilities article + article {
  padding-left: 28px;
}

.capabilities article:last-child {
  border-right: 0;
}

.capability-number {
  display: block;
  margin-bottom: 52px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
}

h3 {
  margin-bottom: 12px;
  font-size: 26px;
  letter-spacing: 0;
}

.capabilities p,
.product-copy > p,
.download p {
  color: var(--muted);
  font-size: 17px;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(420px, 1.25fr);
  align-items: center;
  gap: 60px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.product-copy h2 {
  font-size: clamp(38px, 5vw, 66px);
}

.product-copy > p {
  max-width: 500px;
  margin-bottom: 26px;
}

.text-link {
  padding: 8px 0;
  border-bottom: 2px solid var(--ink);
  font-weight: 800;
}

.product-preview {
  min-height: 460px;
  margin: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #dce6e0;
}

.product-preview img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  display: block;
  object-fit: cover;
  object-position: top left;
}

.download {
  margin-top: 40px;
  margin-bottom: 80px;
  padding: 42px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  background: var(--sky);
}

.download img {
  border-radius: 8px;
}

.download h2 {
  margin-bottom: 8px;
  font-size: clamp(34px, 4vw, 58px);
}

.download p {
  margin-bottom: 0;
  color: #21362c;
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

footer {
  min-height: 92px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}

footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 820px) {
  .topbar {
    min-height: 68px;
  }

  nav {
    gap: 18px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(10, 24, 18, .86) 0%, rgba(10, 24, 18, .22) 78%);
  }

  .hero-content {
    padding: 130px 0 96px;
  }

  h1 {
    font-size: clamp(72px, 23vw, 116px);
  }

  .hero-next {
    display: none;
  }

  .inside {
    padding: 72px 0;
  }

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

  .capabilities article,
  .capabilities article + article {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-number {
    margin-bottom: 22px;
  }

  .product {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .product-preview {
    min-height: 320px;
  }

  .download {
    grid-template-columns: auto 1fr;
    padding: 28px;
  }

  .download .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .topbar,
  .hero-content,
  .inside,
  .product,
  .download,
  footer {
    width: min(100% - 28px, var(--max));
  }

  .brand span {
    font-size: 15px;
  }

  nav a:first-child {
    display: none;
  }

  .hero-image {
    object-position: 61% center;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .download {
    margin-bottom: 48px;
  }
}

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

  .button {
    transition: none;
  }
}
