@charset "utf-8";
/* ==========================================================================
   WhatsApp网页版指南 · 全站样式
   设计方向：纸感编辑风（Editorial）—— 暖米底 / 墨绿主色 / 衬线大标题 / 发丝线
   约束：零外部依赖（无 CDN、无网络字体、无第三方图标库）
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 颜色：主色 60% / 辅助 30% / 强调 10% */
  --bg: #f6f3ea;
  --bg-deep: #eae5d6;
  --surface: #fffdf7;
  --surface-2: #f1ede0;
  --ink: #17231c;
  --ink-soft: #33443a;
  --muted: #5f6f64;
  --line: rgba(23, 35, 28, 0.14);
  --line-strong: rgba(23, 35, 28, 0.28);
  --brand: #0b4f38;
  --brand-deep: #062e21;
  --brand-soft: #dfece3;
  --accent: #1aa85c;
  --accent-bright: #25d366;
  --warn: #9a5b12;
  --warn-bg: #fbf1de;

  /* 字体：中文衬线做展示字，无衬线做正文，均为系统本地字体 */
  --font-display: "Source Han Serif SC", "Noto Serif SC", "Songti SC", SimSun, Georgia, serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", Consolas, "Courier New", monospace;

  /* 字阶 1.25 */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9063rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.1875rem;
  --fs-lg: 1.4375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --fs-3xl: clamp(2.5rem, 1.5rem + 4vw, 4.25rem);

  /* 间距 */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 40px;
  --sp-6: 64px;
  --sp-7: 96px;
  --sp-8: 128px;

  /* 形状与阴影 */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 22px;
  --shadow-1: 0 2px 6px rgba(23, 35, 28, 0.06);
  --shadow-2: 0 10px 30px rgba(23, 35, 28, 0.1);
  --shadow-3: 0 28px 70px rgba(23, 35, 28, 0.16);

  /* 动效 */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur-base: 320ms;
  --dur-slow: 640ms;

  --wrap: 1180px;
  --wrap-narrow: 780px;
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  /* 纸纹：内联 SVG 噪点，不发任何外部请求 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a {
  color: var(--brand);
  text-decoration-color: rgba(11, 79, 56, 0.35);
  text-underline-offset: 3px;
  transition: color var(--dur-fast) ease, text-decoration-color var(--dur-fast) ease;
}
a:hover { color: var(--accent); text-decoration-color: currentColor; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 var(--sp-3);
  font-weight: 600;
  text-wrap: balance;
}

p { margin: 0 0 var(--sp-3); }
ul, ol { margin: 0 0 var(--sp-3); padding-left: 1.3em; }
li { margin-bottom: 0.35em; }

strong { color: var(--ink); font-weight: 600; }
code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.1em 0.35em;
}

::selection { background: var(--accent-bright); color: #06251a; }

/* 跳转链接（键盘可访问） */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

/* ---------- 3. 顶部公告条 ---------- */
.topbar {
  background: var(--brand-deep);
  color: #d8e6dc;
  font-size: var(--fs-xs);
  letter-spacing: 0.03em;
}
.topbar__in {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 6px 0;
  flex-wrap: wrap;
}
.topbar a { color: #ffffff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.topbar a:hover { color: var(--accent-bright); border-bottom-color: var(--accent-bright); }
.topbar__note { opacity: 0.78; }

/* ---------- 4. 页头导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(246, 243, 234, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__in {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand__sub {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}
.nav__link:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }
.nav__link[aria-current="page"] {
  color: var(--brand);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--accent);
  border-radius: 0;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-1);
  transition: background var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.header__cta:hover { background: var(--accent); color: #fff; transform: translateY(-1px); text-decoration: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur-fast) ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- 5. 首屏 ---------- */
.hero {
  position: relative;
  padding: var(--sp-7) 0 var(--sp-6);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 780px;
  height: 780px;
  background: radial-gradient(circle at 50% 50%, rgba(26, 168, 92, 0.16), rgba(26, 168, 92, 0) 62%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: var(--sp-6);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--brand);
  display: inline-block;
}

.hero h1 {
  font-size: var(--fs-3xl);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}
.hero h1 em {
  font-style: normal;
  color: var(--brand);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.14em;
  background: var(--accent-bright);
  opacity: 0.45;
  z-index: -1;
}

.lede {
  font-size: var(--fs-md);
  color: var(--ink-soft);
  max-width: 34em;
  line-height: 1.8;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: var(--fs-base);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) ease,
              color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 79, 56, 0.22);
}
.btn--primary:hover {
  background: var(--brand-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(11, 79, 56, 0.26);
  text-decoration: none;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: var(--surface);
  color: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
  text-decoration: none;
}
.btn__icon { width: 18px; height: 18px; flex-shrink: 0; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--muted);
}
.meta-row span { display: inline-flex; align-items: center; gap: 8px; }
.meta-row svg { width: 16px; height: 16px; color: var(--accent); }

/* 手绘聊天卡：CSS/SVG 绘制，无截图、无外链图片 */
.chat-figure {
  position: relative;
  padding: 0 10px 18px 0;
}
.chat-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  transform: rotate(-1.4deg);
  transition: transform var(--dur-slow) var(--ease);
}
.chat-card:hover { transform: rotate(0deg) translateY(-4px); }
.chat-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--brand);
  color: #eaf5ee;
}
.chat-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}
.chat-card__who { display: flex; flex-direction: column; line-height: 1.3; }
.chat-card__who b { font-size: 0.9rem; font-weight: 600; color: #fff; }
.chat-card__who small { font-size: 0.7rem; color: rgba(255, 255, 255, 0.7); letter-spacing: 0.04em; }
.chat-card__dots { margin-left: auto; display: flex; gap: 4px; }
.chat-card__dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.55); }

.chat-body {
  padding: 20px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    linear-gradient(180deg, #f4f1e6 0%, #faf8f1 100%);
}
.bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.65;
  box-shadow: var(--shadow-1);
  position: relative;
}
.bubble time {
  display: block;
  font-size: 0.66rem;
  color: var(--muted);
  margin-top: 4px;
  text-align: right;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.bubble--in {
  align-self: flex-start;
  background: #fff;
  border: 1px solid rgba(23, 35, 28, 0.06);
  border-bottom-left-radius: 4px;
}
.bubble--out {
  align-self: flex-end;
  background: #d9f2e2;
  border: 1px solid rgba(23, 35, 28, 0.05);
  border-bottom-right-radius: 4px;
}
.chat-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 14px 16px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.8rem;
  color: var(--muted);
}
.chat-foot svg { width: 18px; height: 18px; color: var(--muted); }
.chat-foot .dot-typing { margin-left: auto; display:flex; gap:4px; }
.chat-foot .dot-typing i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  animation: typing 1.2s infinite ease-in-out;
}
.chat-foot .dot-typing i:nth-child(2) { animation-delay: .15s; }
.chat-foot .dot-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing {
  0%, 60%, 100% { opacity: .25; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* 扫码贴纸 */
.qr-sticker {
  position: absolute;
  right: -14px;
  bottom: -26px;
  width: 132px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
  transform: rotate(4deg);
  text-align: center;
}
.qr-sticker svg { width: 100%; height: auto; display: block; }
.qr-sticker small {
  display: block;
  margin-top: 6px;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ---------- 6. 区块通用 ---------- */
.section { padding: var(--sp-6) 0; }
.section--tight { padding: var(--sp-5) 0; }
.section--surface {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--deep {
  background: var(--brand-deep);
  color: #dce9df;
  border: none;
}
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep a { color: #a9e6c4; }

.section-head {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: var(--sp-4);
  align-items: start;
  margin-bottom: var(--sp-5);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-strong);
}
.section-head__num {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--brand);
  letter-spacing: 0.1em;
  padding-top: 6px;
}
.section-head h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-2);
}
.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 46em;
}
.section--deep .section-head { border-top-color: rgba(255,255,255,.22); }
.section--deep .section-head__num { color: var(--accent-bright); }
.section--deep .section-head p { color: rgba(220, 233, 223, 0.78); }

/* ---------- 7. 卡片网格 ---------- */
.grid { display: grid; gap: var(--sp-4); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-5) var(--sp-4) var(--sp-4);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease),
              border-color var(--dur-base) ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-strong);
}
.card h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--sp-2);
}
.card p {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-bottom: 0;
}
.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: var(--sp-4);
}
.card__icon svg { width: 22px; height: 22px; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  color: var(--brand);
}
.card__link svg { width: 15px; height: 15px; transition: transform var(--dur-fast) ease; }
.card:hover .card__link svg { transform: translateX(3px); }

/* ---------- 8. 步骤（HowTo） ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  gap: var(--sp-4);
}
.steps--2 { grid-template-columns: repeat(2, 1fr); }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.step {
  position: relative;
  padding-top: var(--sp-4);
  border-top: 2px solid var(--brand);
  counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brand);
  line-height: 1;
  margin-bottom: var(--sp-3);
  letter-spacing: 0.02em;
}
.step h3 { font-size: var(--fs-md); margin-bottom: 6px; }
.step p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.section--deep .step { border-top-color: var(--accent-bright); }
.section--deep .step::before { color: var(--accent-bright); }
.section--deep .step p { color: rgba(220, 233, 223, 0.76); }

/* ---------- 9. 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  min-width: 560px;
}
caption {
  caption-side: bottom;
  padding: var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--muted);
  text-align: left;
}
th, td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead th {
  background: var(--surface-2);
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(26, 168, 92, 0.05); }
td b { font-weight: 600; }

/* ---------- 10. 页内页头 / 面包屑 ---------- */
.page-hero {
  padding: var(--sp-6) 0 var(--sp-5);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.9), rgba(246, 243, 234, 0));
}
.breadcrumb {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-bottom: var(--sp-4);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; margin: 0; }
.breadcrumb li + li::before {
  content: "/";
  color: var(--line-strong);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink); }

.page-hero h1 {
  font-size: var(--fs-2xl);
  line-height: 1.14;
  margin-bottom: var(--sp-3);
  max-width: 22em;
}
.page-hero .lede { max-width: 40em; }

/* ---------- 11. 长文排版 ---------- */
.prose { max-width: 46em; }
.prose h2 {
  font-size: var(--fs-xl);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: var(--fs-md);
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-2);
}
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul li::marker { color: var(--accent); }
.prose ol li::marker { color: var(--brand); font-family: var(--font-mono); font-size: 0.9em; }
.prose > :last-child { margin-bottom: 0; }

.lead-in::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.2em;
  line-height: 0.88;
  padding: 0.06em 0.12em 0 0;
  color: var(--brand);
}

blockquote {
  margin: var(--sp-5) 0;
  padding: var(--sp-3) 0 var(--sp-3) var(--sp-4);
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--ink);
  line-height: 1.7;
}
blockquote p { margin: 0; }
blockquote cite {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-style: normal;
  color: var(--muted);
}

.callout {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  background: var(--brand-soft);
  border: 1px solid rgba(11, 79, 56, 0.14);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  margin: var(--sp-4) 0;
}
.callout svg { width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.callout p:last-child { margin-bottom: 0; }
.callout--warn {
  background: var(--warn-bg);
  border-color: rgba(154, 91, 18, 0.22);
}
.callout--warn svg { color: var(--warn); }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--sp-4) 0; padding: 0; list-style: none; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  margin: 0;
}
.pill--accent { background: var(--brand); border-color: var(--brand); color: #fff; }

/* 目录 */
.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.toc h2 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--sp-2);
  border: none;
  padding: 0;
}
.toc ol { margin: 0; padding-left: 1.1em; font-size: var(--fs-sm); }
.toc li { margin-bottom: 2px; }
.toc a { text-decoration: none; color: var(--ink-soft); }
.toc a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- 12. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: var(--sp-3) 0;
}
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-3);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink);
  min-height: 44px;
  padding: 8px 0;
  transition: color var(--dur-fast) ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease);
}
.faq details[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq details p {
  margin: var(--sp-2) 0 var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  max-width: 48em;
}

/* ---------- 13. 相关链接 / CTA ---------- */
.link-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.link-list li { margin: 0; border-bottom: 1px solid var(--line); }
.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: 16px 4px;
  min-height: 56px;
  text-decoration: none;
  color: var(--ink);
  font-size: var(--fs-base);
  transition: padding var(--dur-fast) ease, color var(--dur-fast) ease;
}
.link-list a:hover { color: var(--brand); padding-left: 10px; }
.link-list small { display: block; color: var(--muted); font-size: var(--fs-xs); }
.link-list svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--brand);
  color: #e7f2ea;
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -60px -120px auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.28), transparent 65%);
  pointer-events: none;
}
.cta-band h2 {
  color: #fff;
  font-size: var(--fs-2xl);
  max-width: 22em;
  margin: 0 auto var(--sp-3);
}
.cta-band p {
  color: rgba(231, 242, 234, 0.82);
  max-width: 38em;
  margin: 0 auto var(--sp-5);
  font-size: var(--fs-base);
}
.cta-band .btn--primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.cta-band .btn--primary:hover { background: var(--accent-bright); color: #06251a; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }

/* ---------- 14. 页脚 ---------- */
.site-footer {
  background: var(--brand-deep);
  color: rgba(220, 233, 223, 0.72);
  padding: var(--sp-6) 0 var(--sp-4);
  margin-top: var(--sp-6);
  font-size: var(--fs-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-5);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: rgba(220, 233, 223, 0.6); }
.site-footer p { margin: var(--sp-3) 0 0; max-width: 30em; font-size: var(--fs-xs); line-height: 1.8; }
.footer-col h2 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 var(--sp-3);
  opacity: 0.85;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 2px; }
.footer-col a {
  display: inline-block;
  padding: 7px 0;
  color: rgba(220, 233, 223, 0.72);
  text-decoration: none;
  font-size: var(--fs-sm);
}
.footer-col a:hover { color: var(--accent-bright); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: space-between;
  padding-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: rgba(220, 233, 223, 0.55);
}
.footer-bottom a { color: rgba(220, 233, 223, 0.72); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent-bright); }

/* ---------- 15. 入场动效 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    animation: rise var(--dur-slow) var(--ease) forwards;
  }
  .reveal:nth-child(1) { animation-delay: 0.05s; }
  .reveal:nth-child(2) { animation-delay: 0.15s; }
  .reveal:nth-child(3) { animation-delay: 0.25s; }
  .reveal:nth-child(4) { animation-delay: 0.35s; }
  .reveal--d1 { animation-delay: 0.12s; }
  .reveal--d2 { animation-delay: 0.24s; }
  .reveal--d3 { animation-delay: 0.36s; }
  @keyframes rise {
    to { opacity: 1; transform: translateY(0); }
  }
  .chat-card { animation: settle var(--dur-slow) var(--ease) 0.25s both; }
  @keyframes settle {
    from { opacity: 0; transform: rotate(-4deg) translateY(24px); }
    to { opacity: 1; transform: rotate(-1.4deg) translateY(0); }
  }
}

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1024px) {
  :root { --sp-7: 72px; --sp-8: 90px; }
  .hero__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .chat-figure { max-width: 460px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav__link { padding: 0 9px; font-size: 0.875rem; }
  .header__cta { padding: 0 14px; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__cta { margin-left: auto; }
  .header__in { gap: var(--sp-3); }
  .mobile-nav {
    display: block;
    border-top: 1px solid var(--line);
    background: var(--surface);
    padding: var(--sp-2) 0 var(--sp-3);
  }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav ul { list-style: none; margin: 0; padding: 0; }
  .mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 4px;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    font-size: var(--fs-base);
  }
  .mobile-nav li:last-child a { border-bottom: none; }
  .mobile-nav a:hover, .mobile-nav a[aria-current="page"] { color: var(--brand); }
  .grid--3, .steps--3, .steps--2, .steps--4 { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: var(--sp-2); }
  .section-head__num { padding-top: 0; }
}

@media (max-width: 640px) {
  :root { --sp-6: 48px; --sp-7: 56px; }
  body { font-size: 1rem; }
  .wrap { padding: 0 18px; }
  .topbar__in { justify-content: flex-start; }
  .topbar__note { display: none; }
  .hero { padding-top: var(--sp-5); }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .brand__sub { display: none; }
  .header__cta span.label { display: none; }
  .header__cta { width: 44px; padding: 0; justify-content: center; border-radius: 50%; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .qr-sticker { width: 104px; right: 0; bottom: -18px; }
  .cta-band { padding: var(--sp-5) var(--sp-3); }
  .lead-in::first-letter { font-size: 2.6em; }
}

/* 打印：去掉装饰，保留正文 */
@media print {
  .topbar, .site-header, .site-footer, .cta-band, .qr-sticker, .chat-figure, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}
