:root {
  color-scheme: light;
  --leaf-950: #113821;
  --leaf-850: #174f2c;
  --leaf-700: #1f7c43;
  --leaf-600: #2aa563;
  --leaf-400: #7fbd49;
  --leaf-250: #c9f58f;
  --mint-200: #c9ead5;
  --surface: #f6fbf1;
  --surface-2: #eef8e9;
  --paper: #fbfff7;
  --ink: #173324;
  --muted: #5d6e62;
  --line: rgba(23, 79, 44, 0.16);
  --shadow: 0 22px 60px rgba(17, 56, 33, 0.14);
  --radius: 8px;
  --radius-lg: 28px;
  --font-display: "Trebuchet MS", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-body: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.7;
}

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

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

p {
  margin: 0;
  max-width: 68ch;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 251, 241, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(127, 189, 73, 0.16);
  color: var(--leaf-850);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--leaf-850);
  font-size: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--leaf-850);
  color: #f8fff2;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(23, 79, 44, 0.22);
}

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

.button.secondary {
  background: transparent;
  color: var(--leaf-850);
  border-color: var(--line);
  box-shadow: none;
}

.section,
.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  padding: clamp(42px, 8vw, 86px) 0 clamp(32px, 6vw, 70px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--leaf-850);
  background: rgba(201, 245, 143, 0.28);
  font-size: 0.88rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.hero-copy {
  font-size: clamp(1.04rem, 1.6vw, 1.2rem);
  color: var(--muted);
  margin-top: 22px;
}

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

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.trust-row span {
  min-height: 70px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(251, 255, 247, 0.72);
  font-size: 0.92rem;
  color: var(--leaf-850);
  font-weight: 800;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -4% 10% 10% -6%;
  background: var(--leaf-250);
  border-radius: 48% 52% 44% 56%;
  z-index: -1;
  opacity: 0.55;
}

.hero-media img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(23, 79, 44, 0.1);
}

.section {
  padding: clamp(58px, 9vw, 110px) 0;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: end;
  margin-bottom: clamp(30px, 5vw, 54px);
}

.section-header p {
  color: var(--muted);
}

.feature-grid,
.scene-grid,
.review-grid,
.tool-grid,
.download-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature,
.scene,
.review,
.tool,
.download-panel,
.article-card,
.step,
.source-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: clamp(20px, 3vw, 30px);
}

.feature strong,
.tool strong,
.scene strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.05rem;
}

.feature p,
.tool p,
.scene p,
.review p,
.download-panel p,
.article-card p,
.source-box p {
  color: var(--muted);
}

.band {
  background: var(--leaf-850);
  color: #f8fff2;
  margin: 0;
}

.band .section-header p,
.band .scene p,
.band .review p,
.band .hero-copy,
.band .check-list li {
  color: rgba(248, 255, 242, 0.76);
}

.band .eyebrow {
  background: #f8fff2;
  border-color: #f8fff2;
  color: var(--leaf-850);
}

.band .scene,
.band .review {
  background: rgba(248, 255, 242, 0.08);
  border-color: rgba(248, 255, 242, 0.16);
}

.band .scene strong {
  color: #f8fff2;
}

.scene-number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--leaf-250);
  color: var(--leaf-950);
  font-weight: 900;
}

.quote-mark {
  color: var(--leaf-400);
  font-size: 2.4rem;
  line-height: 1;
  font-family: Georgia, serif;
}

.review cite {
  display: block;
  margin-top: 16px;
  color: var(--leaf-850);
  font-style: normal;
  font-weight: 800;
}

.band .review cite {
  color: var(--leaf-250);
}

.split {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.visual-panel {
  border-radius: 28px;
  padding: clamp(22px, 5vw, 46px);
  background: linear-gradient(135deg, rgba(201, 245, 143, 0.65), rgba(201, 234, 213, 0.8));
}

.visual-panel img {
  border-radius: 24px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--leaf-250);
  color: var(--leaf-850);
  font-weight: 900;
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 9vw, 104px) 0 clamp(30px, 5vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.45fr);
  gap: 36px;
  align-items: end;
}

.page-hero p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.08rem;
}

.page-logo {
  justify-self: end;
  width: min(260px, 62vw);
  border-radius: 28px;
  background: #fafeef;
  box-shadow: var(--shadow);
}

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

.step b {
  color: var(--leaf-850);
}

.download-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.download-panel.featured {
  background: var(--leaf-850);
  color: #f8fff2;
}

.download-panel.featured p,
.download-panel.featured .meta-list {
  color: rgba(248, 255, 242, 0.78);
}

.meta-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(23, 79, 44, 0.1);
  padding-bottom: 9px;
}

.featured .meta-list li {
  border-bottom-color: rgba(248, 255, 242, 0.16);
}

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

.version-list {
  display: grid;
  gap: 14px;
}

.version-item {
  display: grid;
  grid-template-columns: minmax(140px, 0.28fr) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.version-tag {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(127, 189, 73, 0.18);
  color: var(--leaf-850);
  font-weight: 900;
}

.version-date {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.version-item h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.version-item p {
  color: var(--muted);
}

.version-source {
  align-self: center;
  color: var(--leaf-850);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.source-box {
  margin-top: 26px;
  background: rgba(201, 245, 143, 0.2);
}

.cta-band {
  width: min(1180px, calc(100% - 32px));
  margin: clamp(34px, 6vw, 76px) auto;
  padding: clamp(30px, 5vw, 54px);
  border-radius: 28px;
  background: var(--leaf-850);
  color: #f8fff2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta-band p {
  color: rgba(248, 255, 242, 0.75);
  margin-top: 12px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: var(--muted);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 56, 33, 0.56);
}

.modal.is-open {
  display: flex;
}

.modal-dialog {
  position: relative;
  width: min(780px, 100%);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 46px);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--leaf-850);
  font-size: 1.5rem;
  cursor: pointer;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.qr-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}

.qr-card img {
  width: min(180px, 100%);
  margin: 0 auto 12px;
}

.qr-card strong {
  display: block;
  color: var(--leaf-850);
}

.qr-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.source-links a {
  color: var(--leaf-850);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .hero,
  .section-header,
  .split,
  .page-hero,
  .download-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .page-logo {
    justify-self: start;
  }

  .feature-grid,
  .scene-grid,
  .review-grid,
  .tool-grid,
  .step-list,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav {
    min-height: 68px;
  }

  .nav-links {
    top: 68px;
  }

  .brand span {
    max-width: 124px;
    line-height: 1.15;
  }

  .nav-actions .button {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .trust-row,
  .feature-grid,
  .scene-grid,
  .review-grid,
  .tool-grid,
  .step-list,
  .article-grid,
  .qr-grid {
    grid-template-columns: 1fr;
  }

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

  .meta-list li {
    display: grid;
  }

  .version-item {
    grid-template-columns: 1fr;
  }
}
