:root {
  --ink: #17312b;
  --green: #123f35;
  --leaf: #70bd6a;
  --leaf-soft: #e8f4de;
  --coral: #e85f4a;
  --paper: #f8faf7;
  --white: #ffffff;
  --line: #d8e1dc;
  --muted: #60706b;
  --shadow: 0 16px 40px rgba(23, 49, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  line-height: 1.75;
}

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

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  color: var(--white);
  background: var(--green);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(216, 225, 220, 0.9);
  background: rgba(248, 250, 247, 0.96);
}

.nav-wrap {
  width: min(1160px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a:not(.download-button):hover,
.site-nav a[aria-current="page"] {
  color: var(--coral);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font-size: 1.35rem;
  cursor: pointer;
}

.download-button {
  display: inline-flex;
  min-height: 46px;
  padding: 10px 20px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 8px 20px rgba(232, 95, 74, 0.22);
  font-weight: 800;
  cursor: pointer;
}

.download-button:hover {
  background: #c94a39;
  transform: translateY(-1px);
}

.download-button.secondary {
  color: var(--green);
  background: var(--white);
  box-shadow: none;
}

.hero {
  min-height: 610px;
  padding: 60px 0 52px;
  color: var(--white);
  background: var(--green);
}

.hero-grid {
  width: min(1160px, calc(100% - 40px));
  min-height: 498px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 72px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #bce3a3;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 8em;
  font-size: clamp(2.7rem, 6vw, 5.7rem);
}

.hero h1 + p {
  max-width: 620px;
  margin: 24px 0 0;
  color: #dfebe6;
  font-size: 1.08rem;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.version-note {
  color: #c8d9d2;
  font-size: 0.9rem;
}

.hero-media {
  align-self: stretch;
  display: grid;
  place-items: center;
}

.hero-media img {
  width: min(100%, 360px);
  max-width: 400px;
  height: auto;
  margin: auto 0;
  border: 10px solid #0c2e27;
  border-radius: 8px;
  box-shadow: 28px 28px 0 rgba(112, 189, 106, 0.25);
}

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-item {
  min-height: 108px;
  padding: 22px 30px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  color: var(--green);
  font-size: 1.15rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 84px 0;
}

.section.alt {
  background: var(--white);
}

.section-head,
.content-wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  margin-bottom: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section h2,
.content-wrap h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.28;
  letter-spacing: 0;
}

.text-link {
  color: var(--coral);
  font-weight: 800;
}

.feature-grid {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-item,
.entry-item,
.review-item,
.faq-item,
.step-item,
.detail-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.feature-item {
  padding: 28px;
}

.feature-number {
  display: block;
  margin-bottom: 34px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-item h3,
.entry-item h3,
.detail-item h3,
.step-item h2,
.faq-item h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.4;
  letter-spacing: 0;
}

.feature-item p,
.entry-item p,
.review-item p,
.detail-item p,
.step-item p,
.faq-item p {
  margin: 0;
  color: var(--muted);
}

.screens-grid {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 24px;
}

.screen-item {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.screen-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
}

.screen-item figcaption {
  padding: 14px 4px 2px;
  color: var(--muted);
  font-size: 0.9rem;
}

.entry-grid,
.review-grid,
.detail-grid {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.entry-item,
.detail-item {
  padding: 30px;
}

.entry-item a {
  display: inline-block;
  margin-top: 22px;
}

.review-item {
  padding: 28px;
}

.review-item cite {
  display: block;
  margin-top: 18px;
  color: var(--green);
  font-style: normal;
  font-weight: 800;
}

.cta-band {
  padding: 56px 0;
  color: var(--white);
  background: var(--coral);
}

.cta-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner h2 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: 0;
}

.cta-inner p {
  margin: 0;
  color: #fff2ef;
}

.page-hero {
  padding: 72px 0 66px;
  color: var(--white);
  background: var(--green);
}

.page-hero .content-wrap {
  max-width: 900px;
  margin-left: max(20px, calc((100% - 1160px) / 2));
}

.page-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.7rem);
}

.page-hero p {
  max-width: 720px;
  margin: 20px 0 0;
  color: #dbe8e2;
  font-size: 1.06rem;
}

.article-layout {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 56px;
}

.article-main {
  min-width: 0;
}

.article-main > p {
  margin: 0 0 24px;
  color: #41534d;
}

.article-main > h2 {
  margin: 54px 0 22px;
}

.article-visual {
  margin: 30px 0;
}

.article-visual img {
  width: min(100%, 336px);
  max-width: 400px;
  height: auto;
  border: 8px solid var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.article-visual figcaption {
  max-width: 520px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.step-list,
.faq-list {
  display: grid;
  gap: 16px;
}

.step-item,
.faq-item {
  padding: 26px 28px;
}

.step-index {
  display: inline-flex;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--coral);
  font-size: 0.9rem;
  font-weight: 900;
}

.note-box {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--leaf);
  background: var(--leaf-soft);
}

.note-box strong {
  display: block;
  margin-bottom: 5px;
}

.side-nav {
  position: sticky;
  top: 98px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.side-nav strong {
  display: block;
  margin-bottom: 12px;
}

.side-nav a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.side-nav a:last-child {
  border-bottom: 0;
}

.side-nav .download-button {
  margin-top: 18px;
  color: var(--white);
}

.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 10px 0;
  padding-left: 28px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--leaf);
  font-weight: 900;
}

.site-footer {
  padding: 46px 0 28px;
  color: #cbd9d4;
  background: #0d2923;
}

.footer-grid {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-grid p {
  margin: 0;
  font-size: 0.88rem;
}

.footer-links a {
  display: block;
  margin: 7px 0;
}

.footer-bottom {
  width: min(1160px, calc(100% - 40px));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #9bb0a9;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 20px 24px;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 9px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.72fr;
    gap: 34px;
  }

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

  .entry-grid,
  .review-grid,
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: static;
    order: -1;
  }
}

@media (max-width: 680px) {
  .nav-wrap,
  .hero-grid,
  .trust-grid,
  .section-head,
  .content-wrap,
  .feature-grid,
  .screens-grid,
  .entry-grid,
  .review-grid,
  .detail-grid,
  .cta-inner,
  .article-layout,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    min-height: 0;
    padding: 30px 0;
  }

  .hero-grid {
    min-height: 0;
    position: relative;
    display: block;
    padding-bottom: 250px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-media {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 232px;
    min-height: 0;
  }

  .hero-media img {
    width: 124px;
    box-shadow: 10px 10px 0 rgba(112, 189, 106, 0.25);
  }

  .trust-grid,
  .feature-grid,
  .screens-grid,
  .entry-grid,
  .review-grid,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 60px 0;
  }

  .section-head,
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    padding: 54px 0;
  }

  .page-hero .content-wrap {
    width: min(100% - 28px, 1160px);
    margin: 0 auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
