:root {
  --forest: #12261f;
  --forest-2: #1b3a31;
  --pine: #2f6b5c;
  --mint: #4f9d8a;
  --leaf: #d7efe4;
  --paper: #f5f1e9;
  --paper-2: #ebe5d8;
  --cream: #fbf9f4;
  --ink: #161714;
  --muted: #6a675f;
  --line: rgba(18, 38, 31, 0.12);
  --white: #fff;
  --shadow: 0 24px 60px rgba(18, 38, 31, 0.16);
  --radius: 22px;
  --max: 1160px;
  --nav-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.serif {
  font-family: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.solid,
.nav.is-legal {
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.nav.solid .brand,
.nav.is-legal .brand { color: var(--forest); }
.brand img {
  width: 40px; height: 40px;
  border-radius: 12px;
}
.brand span {
  font-size: 20px;
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}
.nav-links a { color: rgba(255,255,255,.82); }
.nav.solid .nav-links a,
.nav.is-legal .nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--mint); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--white) !important;
}
.nav.solid .nav-cta,
.nav.is-legal .nav-cta { background: var(--forest); }
.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
}
.nav.solid .menu-btn,
.nav.is-legal .menu-btn {
  color: var(--forest);
  border-color: var(--line);
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--forest) center/cover no-repeat;
  transform: scale(1.04);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,20,16,.28) 0%, rgba(10,20,16,.18) 38%, rgba(10,20,16,.78) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 0 0 92px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .12em;
  margin-bottom: 22px;
}
.hero h1 {
  max-width: 780px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.12;
  font-weight: 600;
}
.hero p.lead {
  max-width: 560px;
  margin-top: 18px;
  font-size: 18px;
  color: rgba(255,255,255,.82);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
}
.btn-primary { background: var(--mint); color: var(--white); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,.35);
  color: var(--white);
}
.btn-dark { background: var(--forest); color: var(--white); }
.btn-line {
  border: 1px solid var(--line);
  color: var(--forest);
  background: var(--white);
}

/* sections */
section { padding: 96px 0; }
.section-kicker {
  color: var(--pine);
  font-size: 13px;
  letter-spacing: .18em;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  max-width: 16em;
}
.section-desc {
  margin-top: 14px;
  color: var(--muted);
  max-width: 40em;
  font-size: 16px;
}

.intro {
  background: var(--paper);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: end;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat {
  padding: 22px 18px;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--line);
}
.stat b {
  display: block;
  font-size: 28px;
  color: var(--forest);
}
.stat span { color: var(--muted); font-size: 13px; }

.features { background: var(--cream); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.feature {
  padding: 28px 26px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 220px;
  transition: transform .25s, box-shadow .25s;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature .num {
  color: var(--mint);
  font-size: 13px;
  letter-spacing: .16em;
  margin-bottom: 28px;
}
.feature h3 {
  font-size: 24px;
  margin-bottom: 10px;
}
.feature p { color: var(--muted); font-size: 15px; }

.scene {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 28px;
}
.scene + .scene { margin-top: 96px; }
.scene.reverse .copy { order: 2; }
.scene .photo {
  border-radius: 28px;
  overflow: visible;
  min-height: 560px;
  padding-bottom: 48px;
  background: var(--forest-2) center/cover no-repeat;
  box-shadow: var(--shadow);
  position: relative;
}
.phone-float {
  position: absolute;
  right: 24px;
  bottom: -28px;
  transform: scale(.82);
  transform-origin: bottom right;
  z-index: 2;
}
.phone-float-left {
  right: auto;
  left: 24px;
  transform-origin: bottom left;
}
.scene .copy h2 { font-size: clamp(30px, 3.4vw, 44px); }
.scene .copy p { margin-top: 16px; color: var(--muted); }
.checks { margin-top: 22px; }
.checks li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--forest-2);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: rotate(-45deg);
}

.phone {
  width: 260px;
  background: #111;
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow);
}
.phone img {
  width: 100%;
  display: block;
  border-radius: 26px;
}

.screens { background: var(--paper); }
.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
  justify-items: center;
}
.screen-grid .phone { width: 220px; }
.screen-grid figcaption {
  text-align: center;
  margin-top: 14px;
  color: var(--forest);
  font-size: 15px;
}

.steps { background: var(--paper); }
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.step {
  padding: 32px 28px;
  background: var(--cream);
  border-radius: var(--radius);
  min-height: 220px;
}
.step i {
  display: block;
  font-style: normal;
  color: var(--mint);
  letter-spacing: .14em;
  margin-bottom: 36px;
}
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { color: var(--muted); }

.cta {
  background: var(--forest);
  color: var(--white);
  text-align: center;
}
.cta h2 { font-size: clamp(32px, 4vw, 48px); }
.cta p { margin: 14px auto 28px; max-width: 28em; color: rgba(255,255,255,.75); }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.footer {
  background: #0e1b16;
  color: rgba(255,255,255,.72);
  padding: 56px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer .brand { color: var(--white); margin-bottom: 12px; }
.footer a:hover { color: var(--mint); }
.footer h4 {
  color: var(--white);
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 600;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.5); }

/* legal */
.legal-page { padding: calc(var(--nav-h) + 56px) 0 80px; }
.legal {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px 48px 56px;
}
.legal h1 { font-size: 36px; margin-bottom: 8px; }
.legal .meta { color: var(--muted); margin-bottom: 28px; }
.legal h2 {
  font-size: 20px;
  margin: 28px 0 10px;
  color: var(--forest);
}
.legal p, .legal li { color: #3f3d38; margin-bottom: 10px; }
.legal ol, .legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }

.notfound {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
  background: var(--paper);
}
.notfound h1 { font-size: 72px; color: var(--forest); }
.notfound p { margin: 8px 0 24px; color: var(--muted); }

@media (max-width: 900px) {
  .intro-grid, .scene, .feature-grid, .step-grid, .footer-grid, .screen-grid {
    grid-template-columns: 1fr;
  }
  .screen-grid { grid-template-columns: 1fr 1fr; }
  .scene.reverse .copy { order: 0; }
  .scene .photo { min-height: 380px; }
  .phone-float { right: 10px; bottom: -18px; transform: scale(.68); }
  .phone-float-left { left: 10px; right: auto; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    padding: 12px 20px 20px;
    box-shadow: var(--shadow);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a {
    color: var(--forest) !important;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }
  .menu-btn { display: grid; place-items: center; }
  .stats { grid-template-columns: 1fr; }
  .legal { padding: 28px 22px 36px; }
  section { padding: 72px 0; }
}
