:root {
  color-scheme: light;
  --leaf-900: #1b3a28;
  --leaf-800: #265239;
  --leaf-700: #35724b;
  --leaf-600: #4fa52b;
  --leaf-500: #72b755;
  --leaf-300: #c7e6b8;
  --sun-600: #e47b19;
  --sun-500: #e99547;
  --coral-600: #e33f3b;
  --ink: #18211b;
  --muted: #5a665c;
  --line: #d9e4d6;
  --paper: #fbfcf8;
  --panel: #f2f7ee;
  --panel-strong: #e8f2e2;
  --white-tint: #fffefa;
  --shadow: 0 22px 50px rgba(36, 70, 45, 0.13);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.72;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 252, 248, 0.94);
  border-bottom: 1px solid rgba(217, 228, 214, 0.8);
  backdrop-filter: blur(14px);
}

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

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--leaf-900);
  letter-spacing: 0;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  color: var(--muted);
}

.nav a {
  border-bottom: 2px solid transparent;
  padding: 24px 0 22px;
}

.nav a:hover,
.nav a.active {
  color: var(--leaf-800);
  border-color: var(--leaf-500);
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white-tint);
  border-radius: 8px;
  color: var(--leaf-900);
}

.btn,
.ghost-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.btn {
  color: #fffefa;
  background: var(--leaf-700);
  padding: 12px 20px;
  box-shadow: 0 12px 24px rgba(53, 114, 75, 0.24);
}

.btn:hover {
  background: var(--leaf-600);
}

.ghost-btn {
  padding: 11px 18px;
  color: var(--leaf-800);
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

.text-link {
  color: var(--leaf-700);
  min-height: auto;
  font-weight: 800;
}

.hero {
  padding: 74px 0 52px;
  background:
    linear-gradient(135deg, rgba(199, 230, 184, 0.7), rgba(255, 254, 250, 0.72) 42%, rgba(239, 176, 117, 0.24)),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  color: var(--sun-600);
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  color: var(--leaf-900);
  line-height: 1.16;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: clamp(38px, 5.2vw, 68px);
  max-width: 780px;
}

h2 {
  font-size: clamp(28px, 3.3vw, 44px);
}

h3 {
  font-size: 21px;
}

p {
  margin: 0;
}

.lead {
  max-width: 68ch;
  color: var(--muted);
  font-size: 18px;
  margin-top: 22px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-proof {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.proof-item {
  border: 1px solid rgba(217, 228, 214, 0.9);
  background: rgba(255, 254, 250, 0.72);
  border-radius: 8px;
  padding: 14px;
}

.proof-item strong {
  display: block;
  color: var(--leaf-800);
  font-size: 20px;
}

.proof-item span {
  color: var(--muted);
  font-size: 13px;
}

.app-window {
  background: var(--white-tint);
  border: 1px solid rgba(217, 228, 214, 0.95);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral-600);
}

.dot:nth-child(2) {
  background: var(--sun-500);
}

.dot:nth-child(3) {
  background: var(--leaf-500);
}

.mock-body {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 430px;
}

.mock-tree {
  padding: 18px 14px;
  background: #eef6e8;
  border-right: 1px solid var(--line);
}

.tree-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  color: var(--leaf-800);
  font-size: 13px;
}

.tree-item::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--leaf-500);
}

.tree-item.sub {
  margin-left: 18px;
  color: var(--muted);
}

.mock-editor {
  padding: 26px;
}

.note-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--leaf-900);
}

.note-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.note-lines {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.line {
  height: 12px;
  border-radius: 999px;
  background: #dcead6;
}

.line.short {
  width: 62%;
}

.note-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.tag {
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff4e7;
  color: #8c420a;
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 72px 0;
}

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

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

.section-head p {
  max-width: 62ch;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
}

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

.feature-row,
.scenario-row,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white-tint);
  padding: 22px;
}

.feature-row p,
.scenario-row p,
.faq-item p {
  margin-top: 8px;
  color: var(--muted);
}

.number {
  color: var(--sun-600);
  font-weight: 900;
  font-size: 13px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.card p {
  margin-top: 10px;
  color: var(--muted);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quote {
  border-radius: 8px;
  padding: 24px;
  background: var(--leaf-900);
  color: #f6fbf1;
}

.quote p {
  color: #e2eedb;
}

.quote strong {
  display: block;
  margin-top: 18px;
  color: #fffefa;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 30px;
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.meta-box {
  background: var(--white-tint);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.meta-box span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.meta-box strong {
  color: var(--leaf-900);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white-tint);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--leaf-900);
  background: var(--panel);
}

td {
  color: var(--muted);
}

tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  background: var(--leaf-900);
  color: #dcead6;
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #f7fff2;
}

.page-hero {
  padding: 62px 0;
  background:
    linear-gradient(135deg, rgba(114, 183, 85, 0.18), rgba(255, 254, 250, 0.94)),
    var(--paper);
}

.breadcrumb {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

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

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 33, 27, 0.58);
}

.modal-dialog {
  position: relative;
  width: min(720px, calc(100% - 32px));
  margin: 7vh auto;
  background: var(--white-tint);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  font-size: 22px;
  color: var(--leaf-900);
}

.modal-body {
  padding: 24px;
}

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

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

.qr-card img {
  width: 180px;
  height: 180px;
  margin: 0 auto 12px;
  background: #fffefa;
  padding: 10px;
  border-radius: 8px;
}

.qr-card p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

.modal-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.source-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

  .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white-tint);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 8px 16px;
  }

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

  .nav a {
    padding: 12px 0;
  }

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

  .hero-grid,
  .split,
  .download-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof,
  .grid-3,
  .quote-grid,
  .download-meta,
  .two-col {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }
}

@media (max-width: 560px) {
  .nav-wrap,
  .container {
    width: min(100% - 28px, var(--max));
  }

  .hero,
  .section,
  .page-hero {
    padding: 46px 0;
  }

  .mock-body {
    grid-template-columns: 1fr;
  }

  .mock-tree {
    display: none;
  }

  .mock-editor {
    padding: 20px;
  }

  .qr-grid {
    grid-template-columns: 1fr;
  }

  .modal-dialog {
    margin-top: 24px;
  }
}
