:root {
  color-scheme: light;
  --green: #0f5a35;
  --green-dark: #07351f;
  --mint: #eaf6ef;
  --line: #cfe4d7;
  --text: #0b2d1d;
  --muted: #5f7568;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--mint);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--green);
  font-weight: 800;
}

.page {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 32px;
}

.hero {
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--green-dark);
  font-size: 44px;
  line-height: 1.05;
}

.lead {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
  font-weight: 600;
}

.panel {
  margin-top: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

h2 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 22px;
}

p,
li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

p {
  margin: 0;
}

p + p {
  margin-top: 10px;
}

ul {
  margin: 0;
  padding-left: 20px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.marketing-body {
  background: #f3fbf6;
}

.marketing-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-lockup img {
  width: 58px;
  height: 58px;
  border-radius: 15px;
}

.brand-lockup span {
  color: var(--green);
  font-size: 24px;
  letter-spacing: 0;
}

.landing-hero,
.feature-band,
.screens-section,
.split-section,
.cta-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 44px;
  align-items: center;
  min-height: 100vh;
  padding: 46px 0 36px;
}

.landing-copy {
  min-width: 0;
}

.hero-line {
  max-width: 560px;
  margin: 48px 0 0;
  color: var(--green);
  font-size: clamp(34px, 4.7vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.store-links-center {
  justify-content: center;
}

.store-button {
  min-width: 170px;
  padding: 12px 18px;
  border: 1.5px solid var(--green);
  border-radius: 8px;
  background: var(--paper);
  color: var(--green-dark);
  text-decoration: none;
}

.store-button span,
.store-button strong {
  display: block;
}

.store-button span {
  font-size: 12px;
  font-weight: 650;
  opacity: 0.76;
}

.store-button strong {
  margin-top: 1px;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 800;
}

.store-dark {
  background: var(--green-dark);
  color: #ffffff;
  border-color: var(--green-dark);
}

.hero-phones {
  position: relative;
  min-height: 650px;
}

.phone-frame {
  overflow: hidden;
  border: 10px solid var(--green-dark);
  border-radius: 34px;
  background: var(--green-dark);
  box-shadow: 0 24px 64px rgba(7, 53, 31, 0.2);
}

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

.phone-front {
  position: absolute;
  right: 80px;
  top: 18px;
  width: 315px;
  aspect-ratio: 1242 / 2688;
}

.phone-back {
  position: absolute;
  right: 310px;
  top: 108px;
  width: 250px;
  aspect-ratio: 1242 / 2688;
  opacity: 0.92;
}

.feature-band {
  padding: 84px 0 40px;
}

.feature-band h2,
.section-heading h2,
.split-copy h2,
.cta-section h2 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature-card h3 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 25px;
}

.screens-section {
  padding: 64px 0;
}

.section-heading {
  margin-bottom: 28px;
}

.screen-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.screen-row .phone-frame {
  aspect-ratio: 1242 / 2688;
}

.screen-row .phone-frame:nth-child(2) {
  margin-top: 44px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  gap: 46px;
  align-items: center;
  padding: 64px 0;
}

.split-copy p:last-child {
  max-width: 620px;
  margin-top: 18px;
  font-size: 19px;
}

.split-phone {
  aspect-ratio: 1242 / 2688;
}

.cta-section {
  padding: 76px 0 86px;
  text-align: center;
}

.cta-section h2 {
  margin: 0 auto;
}

.marketing-footer {
  padding: 26px 0 34px;
}

@media (max-width: 900px) {
  .landing-hero,
  .split-section {
    grid-template-columns: 1fr;
  }

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

  .phone-front {
    right: calc(50% - 160px);
    width: 300px;
  }

  .phone-back {
    right: calc(50% + 72px);
    width: 210px;
  }

  .landing-grid,
  .screen-row {
    grid-template-columns: 1fr;
  }

  .screen-row .phone-frame,
  .split-phone {
    width: min(100%, 320px);
    justify-self: center;
  }

  .screen-row .phone-frame:nth-child(2) {
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .hero-phones {
    min-height: 490px;
  }

  .phone-front {
    right: 0;
    width: 260px;
  }

  .phone-back {
    left: 0;
    right: auto;
    width: 190px;
  }
}
