:root {
  --green: #08bf70;
  --green-dark: #057a4a;
  --mint: #e9f8f2;
  --ink: #17211d;
  --muted: #64716b;
  --line: #dce6e1;
  --coral: #f07167;
  --coral-soft: #fff0ed;
  --blue: #4378d1;
  --blue-soft: #edf3ff;
  --white: #ffffff;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - var(--max-width)) / 2));
  border-bottom: 1px solid rgba(220, 230, 225, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
}

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

nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #46524d;
  font-size: 14px;
}

nav a {
  transition: color 160ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--green-dark);
}

.nav-download {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--ink);
}

nav .nav-download:hover,
nav .nav-download:focus-visible {
  color: #ffffff;
  background: var(--green-dark);
}

.hero {
  position: relative;
  min-height: min(700px, calc(100svh - 72px));
  overflow: hidden;
  background: var(--mint);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: #cfe6dc;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(560px, calc(100% - 48px));
  padding-top: clamp(100px, 17vh, 150px);
  margin-left: max(24px, calc((100vw - var(--max-width)) / 2));
}

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

h1 {
  margin-bottom: 16px;
  font-size: 84px;
  line-height: 1;
  font-weight: 800;
}

.hero-lead {
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: 32px;
  line-height: 1.35;
  font-weight: 650;
}

.hero-summary {
  max-width: 490px;
  margin-bottom: 34px;
  color: #4c5c55;
  font-size: 17px;
  line-height: 1.9;
}

.download-actions {
  display: flex;
  gap: 12px;
}

.download-button {
  width: 174px;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9px 18px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  color: #ffffff;
  background: var(--ink);
  cursor: pointer;
}

.download-button.secondary {
  color: var(--ink);
  background: transparent;
}

.download-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.72;
}

.download-button span {
  font-size: 15px;
  font-weight: 650;
}

.download-button small {
  margin-top: 3px;
  font-size: 11px;
  opacity: 0.68;
}

.download-note {
  margin: 12px 0 0;
  color: #718079;
  font-size: 12px;
}

.hero-product {
  position: absolute;
  z-index: 1;
  top: 66px;
  right: max(-32px, calc((100vw - var(--max-width)) / 2 - 70px));
  width: min(650px, 51vw);
  height: 650px;
}

.phone {
  position: absolute;
  overflow: hidden;
  width: 245px;
  aspect-ratio: 375 / 812;
  border: 8px solid #15201b;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(25, 70, 52, 0.18);
}

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

.phone-main {
  z-index: 3;
  top: 0;
  left: 190px;
}

.phone-back {
  z-index: 1;
  top: 115px;
  left: 18px;
  transform: rotate(-7deg);
  opacity: 0.92;
}

.phone-side {
  z-index: 2;
  top: 92px;
  right: -26px;
  transform: rotate(7deg);
  opacity: 0.94;
}

.quick-proof {
  width: min(var(--max-width), calc(100% - 48px));
  min-height: 118px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.quick-proof p {
  min-height: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 0;
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.quick-proof p:first-child {
  border-left: 0;
  padding-left: 0;
}

.quick-proof strong {
  font-size: 16px;
}

.quick-proof span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.features {
  padding: 112px 24px 128px;
}

.section-heading {
  width: min(720px, 100%);
  margin: 0 auto 80px;
  text-align: center;
}

.section-heading h2,
.final-download h2 {
  margin-bottom: 18px;
  font-size: 52px;
  line-height: 1.18;
}

.section-heading p,
.final-download p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.feature-row {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: 1fr 430px;
  align-items: center;
  gap: 110px;
  margin: 0 auto 120px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .screen-frame {
  order: 1;
}

.feature-number {
  display: block;
  margin-bottom: 24px;
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 750;
}

.feature-number.coral {
  color: #bd493f;
}

.feature-number.blue {
  color: #345fa7;
}

.feature-copy h3 {
  margin-bottom: 18px;
  font-size: 32px;
  line-height: 1.3;
}

.feature-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.screen-frame {
  height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  padding: 42px 52px 0;
  border-radius: 8px;
}

.screen-frame img {
  width: 264px;
  border: 7px solid #17211d;
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 20px 45px rgba(31, 53, 44, 0.16);
}

.mint-frame {
  background: var(--mint);
}

.coral-frame {
  background: var(--coral-soft);
}

.blue-frame {
  background: var(--blue-soft);
}

.screens {
  overflow: hidden;
  padding: 112px 24px 120px;
  color: #ffffff;
  background: #17211d;
}

.light-heading p {
  color: #a9b8b1;
}

.screen-gallery {
  width: min(var(--max-width), 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 0 auto;
}

.screen-gallery figure {
  margin: 0;
}

.screen-gallery img {
  width: 100%;
  border: 5px solid #3a4741;
  border-radius: 24px;
}

.screen-gallery figcaption {
  margin-top: 18px;
  color: #c7d1cc;
  font-size: 14px;
  text-align: center;
}

.final-download {
  padding: 110px 24px 116px;
  text-align: center;
  background: #ffffff;
}

.final-download > img {
  width: 74px;
  height: 74px;
  margin: 0 auto 28px;
  border-radius: 15px;
}

.final-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding: 0 26px;
  border-radius: 7px;
  color: #ffffff;
  background: var(--green-dark);
  font-size: 14px;
  font-weight: 650;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 36px max(24px, calc((100vw - var(--max-width)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

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

.footer-brand span {
  color: var(--ink);
  font-size: 15px;
}

footer p {
  margin-bottom: 0;
}

.copyright {
  text-align: right;
}

@media (max-width: 960px) {
  .hero-copy {
    width: 46%;
  }

  .hero-product {
    right: -150px;
    width: 650px;
  }

  .phone-back {
    display: none;
  }

  .feature-row {
    grid-template-columns: 1fr 360px;
    gap: 64px;
  }

  .screen-gallery {
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 64px;
    padding: 0 18px;
  }

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

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

  .nav-download {
    min-height: 38px;
    padding: 0 14px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-copy {
    width: calc(100% - 36px);
    padding-top: 54px;
    margin-left: 18px;
  }

  h1 {
    font-size: 56px;
  }

  .hero-lead {
    max-width: 280px;
    font-size: 23px;
  }

  .hero-summary {
    max-width: 320px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.75;
  }

  .download-actions {
    width: 100%;
  }

  .download-button {
    width: calc(50% - 6px);
    min-height: 56px;
    padding: 8px 12px;
  }

  .hero-product {
    top: 410px;
    right: -82px;
    width: 430px;
    height: 390px;
  }

  .phone {
    width: 174px;
    border-width: 6px;
    border-radius: 23px;
  }

  .phone-main {
    left: 112px;
  }

  .phone-side {
    top: 54px;
    right: -8px;
  }

  .phone-back {
    display: block;
    top: 72px;
    left: -56px;
  }

  .quick-proof {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
    padding: 20px 0;
  }

  .quick-proof p,
  .quick-proof p:first-child {
    min-height: 66px;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .quick-proof p:first-child {
    border-top: 0;
  }

  .features,
  .screens {
    padding: 82px 18px 90px;
  }

  .section-heading {
    margin-bottom: 56px;
    text-align: left;
  }

  .section-heading h2,
  .final-download h2 {
    font-size: 36px;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 88px;
  }

  .feature-row.reverse .feature-copy,
  .feature-row.reverse .screen-frame {
    order: initial;
  }

  .feature-copy h3 {
    font-size: 27px;
  }

  .screen-frame {
    height: 500px;
    padding: 36px 38px 0;
  }

  .screen-frame img {
    width: 244px;
  }

  .screen-gallery {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 0 6px 14px;
    scroll-snap-type: x mandatory;
  }

  .screen-gallery figure {
    width: 238px;
    flex: 0 0 238px;
    scroll-snap-align: center;
  }

  .final-download {
    padding: 82px 18px 88px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 32px 18px;
    text-align: left;
  }

  .copyright {
    text-align: left;
  }
}

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