:root {
  color-scheme: light;
  --ink: #18251d;
  --muted: #657269;
  --paper: #fffdf7;
  --field: #f1efe4;
  --mist: #eaf1ee;
  --line: #d9dfd7;
  --leaf: #17633a;
  --leaf-deep: #0e4027;
  --leaf-bright: #38b96d;
  --sun: #d8a734;
  --clay: #a85734;
  --sky: #dfeef5;
  --shadow: 0 24px 70px rgba(21, 42, 30, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body::selection {
  background: var(--sun);
  color: var(--ink);
}

a {
  color: var(--leaf);
  text-underline-offset: 0.18em;
}

img {
  max-width: 100%;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 32px;
  border-bottom: 1px solid rgba(24, 37, 29, 0.1);
  background: rgba(255, 253, 247, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

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

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

nav.site a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

nav.site a:hover,
nav.site a[aria-current="page"] {
  color: var(--leaf-deep);
  background: var(--mist);
}

main {
  flex: 1;
}

.home {
  background: var(--paper);
}

.home-hero {
  min-height: 76svh;
  display: grid;
  align-items: end;
  padding: 92px 32px 72px;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(13, 30, 20, 0.86), rgba(13, 30, 20, 0.6) 46%, rgba(13, 30, 20, 0.12)),
    url("/assets/hero-lawn.jpg");
  background-size: cover;
  background-position: center;
}

.hero-content {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero .eyebrow,
.product-hero .eyebrow {
  color: #d9f6b7;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: 4.65rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.25;
}

p {
  margin: 0 0 14px;
  font-size: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.hero-copy,
.tagline {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.24rem;
  line-height: 1.55;
}

.tagline {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

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

.button-primary {
  color: #fff;
  background: var(--leaf);
  box-shadow: 0 14px 28px rgba(14, 64, 39, 0.22);
}

.button-primary:hover {
  background: var(--leaf-deep);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.1);
}

.button-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--leaf-deep);
  font-size: 0.98rem;
  font-weight: 850;
  text-decoration: none;
}

.text-link::after {
  content: "->";
}

.section {
  padding: 92px 32px;
}

.section-grid,
.product-hero,
.story-layout,
.studio-panel,
.contact-band,
.feature-grid,
.screenshot-band,
.page-hero,
.card {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: center;
}

.section-copy {
  max-width: 540px;
}

.section-copy p,
.story-copy p,
.identity-panel p,
.feature-list p {
  color: var(--muted);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.stat-strip div {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 18px;
  background: #fff;
}

.stat-strip strong {
  font-size: 1.15rem;
  line-height: 1.1;
}

.stat-strip span {
  color: var(--muted);
  font-size: 0.86rem;
}

.phone-stage {
  min-height: 620px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.phone-stage::before {
  content: "";
  width: 78%;
  aspect-ratio: 1;
  position: absolute;
  border-radius: 8px;
  background: var(--sky);
  transform: rotate(-7deg);
}

.phone {
  width: min(295px, 40vw);
  position: absolute;
  display: block;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.phone-front {
  z-index: 2;
  transform: translateX(-58px) rotate(-4deg);
}

.phone-back {
  z-index: 1;
  transform: translateX(122px) translateY(24px) rotate(5deg);
  opacity: 0.92;
}

.studio-band {
  background: var(--field);
}

.studio-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr auto;
  gap: 34px;
  align-items: end;
  padding: 44px;
  border: 1px solid rgba(24, 37, 29, 0.11);
  border-radius: 8px;
  background: var(--paper);
}

.studio-panel p:not(.eyebrow) {
  max-width: 440px;
  color: var(--muted);
}

footer.site {
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
  text-align: center;
}

footer.site p {
  font-size: 0.88rem;
}

footer.site a {
  color: var(--muted);
}

.product-page {
  background: var(--paper);
}

.product-hero {
  width: 100%;
  margin-inline: 0;
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.72fr);
  gap: 48px;
  align-items: center;
  padding: 76px max(32px, calc((100% - 1120px) / 2)) 64px;
  background:
    linear-gradient(90deg, rgba(14, 64, 39, 0.94), rgba(23, 99, 58, 0.82)),
    url("/assets/hero-lawn.jpg");
  background-size: cover;
  background-position: center;
}

.product-hero {
  position: relative;
  color: #fff;
}

.product-copy .hero-copy {
  color: rgba(255, 255, 255, 0.84);
}

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

.product-visual {
  height: 560px;
  display: grid;
  place-items: end center;
  overflow: hidden;
}

.product-visual img {
  width: 315px;
  display: block;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.feature-grid {
  padding-top: 24px;
}

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

.feature-list article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-kicker {
  display: block;
  margin-bottom: 26px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.screenshot-band {
  padding-bottom: 96px;
}

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

.screenshots img {
  width: 100%;
  aspect-ratio: 420 / 913;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(21, 42, 30, 0.12);
}

.content-page {
  padding: 68px 0 96px;
  background:
    linear-gradient(180deg, var(--mist) 0, var(--paper) 360px);
}

.page-hero {
  padding: 38px 0 66px;
}

.page-hero h1 {
  max-width: 860px;
  color: var(--ink);
  font-size: 3.7rem;
}

.page-hero .tagline {
  max-width: 700px;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.story-copy,
.identity-panel,
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(21, 42, 30, 0.08);
}

.story-copy {
  padding: 34px;
}

.story-copy h2,
.identity-panel h2 {
  margin-bottom: 18px;
  font-size: 1.8rem;
}

.identity-panel {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 26px;
  padding: 34px;
}

.identity-panel img {
  width: 112px;
  height: 112px;
}

.contact-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.contact-band div {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 24px;
  background: var(--paper);
}

.contact-band span,
dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-band strong {
  font-size: 1.08rem;
}

.card {
  max-width: 820px;
  padding: 44px;
}

.card .eyebrow,
.card h1,
.card .tagline,
.card .updated {
  text-align: left;
}

.card h1 {
  max-width: 100%;
  color: var(--ink);
  font-size: 3rem;
}

.updated {
  margin: 12px 0 30px;
  color: var(--muted);
}

.card h2 {
  margin: 34px 0 12px;
  font-size: 1.3rem;
  line-height: 1.25;
}

ul {
  margin: 10px 0 22px;
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

.info dl,
dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  margin: 0;
}

dd {
  margin: 0;
}

@media (max-width: 920px) {
  header.site {
    padding: 14px 20px;
  }

  h1,
  .page-hero h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section,
  .home-hero {
    padding-left: 22px;
    padding-right: 22px;
  }

  .section-grid,
  .product-hero,
  .story-layout,
  .studio-panel {
    grid-template-columns: 1fr;
  }

  .section-grid,
  .product-hero,
  .story-layout,
  .studio-panel,
  .contact-band,
  .feature-grid,
  .screenshot-band,
  .page-hero,
  .card {
    width: min(100% - 40px, 760px);
  }

  .phone-stage {
    min-height: 560px;
  }

  .phone {
    width: min(270px, 48vw);
  }

  .product-hero {
    width: 100%;
    padding-top: 56px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .product-visual {
    height: 500px;
    place-items: center;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-list article {
    min-height: 0;
  }

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

@media (max-width: 640px) {
  header.site {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
  }

  .brand {
    width: 100%;
  }

  nav.site {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: flex-start;
    gap: 4px;
  }

  nav.site a {
    min-height: 34px;
    padding: 6px 4px;
    font-size: 0.84rem;
  }

  .home-hero {
    min-height: 70svh;
    padding-top: 70px;
    padding-bottom: 52px;
    background-position: 58% center;
  }

  h1,
  .page-hero h1,
  .card h1 {
    font-size: 2.38rem;
    line-height: 1.04;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-copy,
  .tagline {
    font-size: 1.06rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 64px 18px;
  }

  .section-grid,
  .product-hero,
  .story-layout,
  .studio-panel,
  .contact-band,
  .feature-grid,
  .screenshot-band,
  .page-hero,
  .card {
    width: calc(100% - 32px);
  }

  .stat-strip,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    min-height: 455px;
  }

  .phone {
    width: 225px;
  }

  .phone-front {
    transform: translateX(-36px) rotate(-4deg);
  }

  .phone-back {
    transform: translateX(76px) translateY(22px) rotate(5deg);
  }

  .product-hero {
    width: 100%;
    min-height: 620px;
    display: block;
    padding: 46px 16px 32px;
    overflow: hidden;
  }

  .product-visual {
    position: absolute;
    z-index: 0;
    right: 16px;
    bottom: -174px;
    height: auto;
    opacity: 0.88;
    pointer-events: none;
  }

  .product-visual img {
    width: 196px;
  }

  .screenshots {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .screenshots img {
    width: 184px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .studio-panel,
  .story-copy,
  .identity-panel,
  .card {
    padding: 24px;
  }

  .identity-panel {
    grid-template-columns: 1fr;
  }

  .identity-panel img {
    width: 92px;
    height: 92px;
  }
}
