/* ─── 一树成林 · shared tokens & primitives ─────────────────── */
:root {
  --forest:    #2B7648;   /* 主 · 深绿 */
  --forest-d:  #1A3B26;   /* 墨绿 · 深色 */
  --forest-l:  #4CAF70;   /* 中绿 */
  --mint:      #A8E6B8;   /* 浅薄荷 */
  --mint-pale: #d9f1df;
  --terracotta:#D97757;   /* 珊瑚橙 · 强调 */
  --terra-pale:#fbe2d6;
  --lilac:     #CBCADB;   /* 淡紫灰 */
  --lilac-pale:#ebeaf2;
  --cream:     #F0F7F2;   /* 极浅绿白 · 主背景 */
  --bone:      #e2eee6;   /* 次背景 */
  --paper:     #F0F7F2;
  --ink:       #1A3B26;
  --ink-2:     #2B4A36;
  --ink-3:     #7a8c80;
  --line:      rgba(26,59,38,0.12);

  --serif: "Noto Serif SC", "Songti SC", serif;
  --sans:  "Noto Sans SC", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  line-height: 1.5;
}
::selection { background: var(--mint); color: var(--forest-d); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── NAV ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240,247,242,0.84);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--forest-d);
  letter-spacing: 0.02em;
}
.nav-brand img {
  height: 26px;
  width: auto;
}
.nav-brand .wm-sep {
  width: 1px; height: 16px;
  background: var(--line);
  margin: 0 2px;
}
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color .15s;
}
.nav-links a:hover { color: var(--forest-d); }
.nav-links a.active {
  color: var(--forest-d);
  font-weight: 500;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 999px;
}
.nav-cta {
  background: var(--forest);
  color: var(--cream) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: background .15s;
}
.nav-cta:hover { background: var(--forest-d); }

/* ─── EYEBROW & TITLES ─────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow.line::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--terracotta);
}
.eyebrow.forest { color: var(--forest); }
.eyebrow.forest.line::before { background: var(--forest); }

h2.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 700;
  color: var(--forest-d);
  margin: 0 0 24px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
h2.section-title em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 700;
}
.lead {
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink-2);
  max-width: 640px;
  text-wrap: pretty;
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn-pri {
  background: var(--forest-d);
  color: var(--cream);
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .18s, background .18s, box-shadow .18s;
  box-shadow: 0 8px 22px rgba(26,59,38,0.18);
}
.btn-pri:hover { background: var(--forest); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(26,59,38,0.24); }
.btn-pri .arr { transition: transform .18s; }
.btn-pri:hover .arr { transform: translate(2px, -2px); }

.btn-sec {
  background: white;
  color: var(--forest-d);
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background .15s, border-color .15s;
}
.btn-sec:hover { background: var(--bone); border-color: var(--forest); }

.btn-link {
  color: var(--forest-d);
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1.5px solid var(--forest-d);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .15s, color .15s;
}
.btn-link:hover { gap: 10px; color: var(--terracotta); border-color: var(--terracotta); }

/* ─── DUAL ENTRY (网页 + 微信扫码) ─────────────────────────── */
.dual-entry {
  display: flex;
  gap: 14px;
  align-items: stretch;
  flex-wrap: wrap;
}
.dual-entry .ent {
  background: var(--forest-d);
  color: var(--cream);
  border: 1px solid var(--forest-d);
  border-radius: 22px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 240px;
  flex: 1;
  transition: transform .18s, box-shadow .18s, background .18s;
  box-shadow: 0 10px 24px rgba(26,59,38,0.16);
}
.dual-entry .ent:hover {
  transform: translateY(-2px);
  background: var(--forest);
  box-shadow: 0 14px 32px rgba(26,59,38,0.22);
}
.dual-entry .ent-icon { display: none; }
.dual-entry .ent-body { flex: 1; }
.dual-entry .ent-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 2px;
  color: var(--cream);
}
.dual-entry .ent-sub {
  font-size: 12px;
  font-family: var(--mono);
  color: rgba(240,247,242,0.65);
  letter-spacing: 0.05em;
}
.dual-entry .ent-arrow {
  font-size: 18px;
  color: var(--mint);
  transition: transform .18s;
}
.dual-entry .ent:hover .ent-arrow { transform: translate(2px, -2px); }

/* QR card variant */
.qr-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  display: flex;
  gap: 18px;
  align-items: center;
  max-width: 380px;
}
.qr-card .qr-img {
  width: 110px; height: 110px;
  background: var(--bone);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.qr-card .qr-img::before {
  content: "";
  position: absolute;
  inset: 14px;
  background-image:
    radial-gradient(circle at 10% 10%, var(--forest-d) 4px, transparent 5px),
    radial-gradient(circle at 90% 10%, var(--forest-d) 4px, transparent 5px),
    radial-gradient(circle at 10% 90%, var(--forest-d) 4px, transparent 5px),
    linear-gradient(90deg, transparent 0%, transparent 25%, var(--forest-d) 25%, var(--forest-d) 30%, transparent 30%, transparent 40%, var(--forest-d) 40%, var(--forest-d) 50%, transparent 50%, transparent 60%, var(--forest-d) 60%, var(--forest-d) 70%, transparent 70%, transparent 80%, var(--forest-d) 80%, var(--forest-d) 95%, transparent 95%),
    linear-gradient(0deg, transparent 0%, transparent 20%, var(--forest-d) 20%, var(--forest-d) 28%, transparent 28%, transparent 45%, var(--forest-d) 45%, var(--forest-d) 55%, transparent 55%, transparent 72%, var(--forest-d) 72%, var(--forest-d) 80%, transparent 80%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 9px 9px, 9px 9px;
  background-blend-mode: multiply;
  opacity: 0.85;
  border-radius: 6px;
}
.qr-card .qr-img .qr-logo {
  position: absolute;
  inset: 50% 50% auto auto;
  transform: translate(50%, -50%);
  width: 28px; height: 28px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  z-index: 2;
}
.qr-card .qr-img .qr-logo img { width: 100%; height: 100%; object-fit: contain; }
.qr-card .qr-text { flex: 1; }
.qr-card .qr-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.qr-card .qr-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--forest-d);
}
.qr-card .qr-hint {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  padding: 80px 0 36px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.site-footer .foot-quote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  color: var(--forest-d);
  margin: 0 0 60px;
  line-height: 1.25;
  max-width: 780px;
  letter-spacing: -0.01em;
}
.site-footer .foot-quote em { font-style: italic; color: var(--terracotta); }
.site-footer .top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 50px;
}
/* ─── footer · 媒体 / 合作 QR rows ─── */
.foot-qr-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.foot-qr-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  font-size: 14px;
  color: var(--ink-2);
}
.foot-qr-thumb {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: white;
  border: 1px solid var(--line);
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  padding: 6px;
}
.foot-qr-thumb::before {
  content: "";
  position: absolute;
  inset: 6px;
  background-image:
    radial-gradient(circle at 14% 14%, var(--forest-d) 4px, transparent 5px),
    radial-gradient(circle at 86% 14%, var(--forest-d) 4px, transparent 5px),
    radial-gradient(circle at 14% 86%, var(--forest-d) 4px, transparent 5px);
  background-repeat: no-repeat;
}
.foot-qr-thumb::after {
  content: "";
  position: absolute;
  inset: 22px 8px 8px 22px;
  background-image:
    linear-gradient(90deg, var(--forest-d) 0, var(--forest-d) 3px, transparent 3px, transparent 6px),
    linear-gradient(0deg, var(--forest-d) 0, var(--forest-d) 3px, transparent 3px, transparent 6px);
  background-size: 6px 6px;
  opacity: 0.85;
}
.foot-qr-list li .lbl {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.foot-qr-list li .hint {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
  margin-top: 2px;
  display: block;
}

.foot-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.foot-contact li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  padding: 4px 0;
}
.foot-contact li .key {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
  width: 64px;
}
.foot-contact li .val {
  color: var(--ink);
}
.foot-contact li .val a {
  border-bottom: 1px dashed var(--line);
  padding-bottom: 1px;
}
.foot-contact li .val a:hover { color: var(--forest); border-color: var(--forest); }
.foot-contact li.with-qr {
  align-items: center;
  padding-top: 6px;
}
.site-footer h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 18px;
  font-weight: 500;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer ul li { font-size: 14px; color: var(--ink-2); }
.site-footer ul li a:hover { color: var(--forest-d); }
.site-footer .brand-l {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  color: var(--forest-d);
}
.site-footer .brand-l img { height: 28px; width: auto; }
.site-footer .tagline {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 320px;
  margin-bottom: 22px;
}
.site-footer .compliance {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-3);
}
.site-footer .compliance a { padding: 4px 10px; background: var(--bone); border-radius: 999px; }
.site-footer .compliance a:hover { background: var(--mint-pale); color: var(--forest-d); }
.site-footer .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── COMMON DECORATION ──────────────────────────────────── */
.glow-bg {
  position: relative;
  overflow: hidden;
}
.glow-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 22%, rgba(168,230,184,0.55), transparent 45%),
    radial-gradient(circle at 88% 70%, rgba(76,175,112,0.18), transparent 50%),
    radial-gradient(circle at 50% 110%, rgba(217,119,87,0.10), transparent 60%),
    radial-gradient(circle at 75% 15%, rgba(203,202,219,0.4), transparent 40%);
  z-index: 0;
}
.glow-bg > * { position: relative; z-index: 1; }

/* responsive */
@media (max-width: 880px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .container { padding: 0 24px; }
  .site-footer .top { grid-template-columns: 1fr; gap: 32px; }
  .dual-entry { flex-direction: column; }
  .dual-entry .ent, .qr-card { width: 100%; max-width: 100%; }
}
