/* ===========================================================
   VoiceBridge / 语音桥 — 站点样式
   纯静态 · 无依赖 · 中英双语由 html[data-lang] 切换
   =========================================================== */

:root {
  --paper: #f7f5f0;
  --paper-2: #f0ece3;
  --surface: #ffffff;
  --ink: #14231e;
  --ink-soft: #35473f;
  --muted: #6b7d76;
  --line: #e3ded3;
  --line-soft: #ece8df;
  --green: #16624f;
  --green-deep: #0d3f33;
  --green-tint: #e9f1ed;
  --clay: #b85a36;
  --clay-tint: #f9ece5;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 35, 30, .05), 0 8px 20px -14px rgba(20, 35, 30, .22);
  --shadow: 0 2px 4px rgba(20, 35, 30, .04), 0 24px 48px -28px rgba(20, 35, 30, .28);
  --maxw: 1120px;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- 语言切换 ---------- */
html[data-lang="zh"] [data-lang="en"] { display: none !important; }
html[data-lang="en"] [data-lang="zh"] { display: none !important; }

/* ---------- 基础元素 ---------- */
img, svg { max-width: 100%; }

a {
  color: var(--green);
  text-decoration: none;
  text-underline-offset: 3px;
}
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }
li:last-child { margin-bottom: 0; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em;
  background: var(--paper-2);
  padding: .12em .38em;
  border-radius: 5px;
}

/* ---------- 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--paper2 { background: var(--paper-2); }
.section--surface { background: var(--surface); }

.section-head { max-width: 680px; margin-bottom: 44px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

h2.section-title {
  font-size: clamp(26px, 3.4vw, 34px);
  margin-bottom: 14px;
}
.section-lede {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 245, 240, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.01em;
  flex: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 9px;
  background: var(--green);
  display: grid;
  place-items: center;
}
.brand-mark svg { width: 18px; height: 18px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 15.5px; }
.brand-sub {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
}
.nav-links a:hover {
  background: var(--green-tint);
  color: var(--green-deep);
  text-decoration: none;
}

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

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s, color .18s, background .18s;
}
.lang-toggle:hover { border-color: var(--green); color: var(--green); }
.lang-toggle svg { width: 14px; height: 14px; }

.nav-burger {
  display: none;
  width: 38px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-burger span {
  display: block;
  width: 16px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}
.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
}
.nav-burger span::before { top: -5px; }
.nav-burger span::after { top: 5px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .16s, box-shadow .2s, background .18s, border-color .18s, color .18s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(22, 98, 79, .8);
}
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle at 50% 50%, rgba(22, 98, 79, .10), rgba(22, 98, 79, 0) 68%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 56px;
  align-items: center;
  position: relative;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px 5px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 3px var(--clay-tint);
}

h1.hero-title {
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.028em;
  margin-bottom: 20px;
}
h1.hero-title em {
  font-style: normal;
  color: var(--green);
}

.hero-lede {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  max-width: 560px;
}
.hero-facts div { padding-right: 12px; }
.hero-facts dt {
  font-size: 21px;
  font-weight: 680;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-facts dd {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* 设备示意图 */
.device-panel {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(165deg, #ffffff 0%, #f2f6f3 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 30px 26px 22px;
}
.device-panel figcaption {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}
.device-svg { display: block; margin: 0 auto; width: 100%; max-width: 300px; }
.pulse { animation: pulse 3.4s ease-in-out infinite; transform-origin: center; }
@keyframes pulse {
  0%, 100% { opacity: .18; transform: scale(.94); }
  50% { opacity: .06; transform: scale(1.08); }
}
.wave-bar { animation: wave 1.6s ease-in-out infinite; transform-origin: center bottom; }
.wave-bar:nth-child(2) { animation-delay: .12s; }
.wave-bar:nth-child(3) { animation-delay: .24s; }
.wave-bar:nth-child(4) { animation-delay: .36s; }
.wave-bar:nth-child(5) { animation-delay: .48s; }
@keyframes wave {
  0%, 100% { transform: scaleY(.35); opacity: .55; }
  50% { transform: scaleY(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse, .wave-bar { animation: none; }
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

/* ---------- 卡片与网格 ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 17px; margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 15px; }

.card--do { border-top: 3px solid var(--green); }
.card--dont { border-top: 3px solid var(--clay); }

.tick-list, .cross-list { list-style: none; padding: 0; margin: 0; }
.tick-list li, .cross-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 9px;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--green);
  opacity: .85;
}
.cross-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--clay);
  opacity: .8;
}

/* ---------- 流程 ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
  margin-top: 8px;
}
.flow-step {
  position: relative;
  padding: 0 18px 0 0;
}
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 12px;
  width: calc(100% - 34px);
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px);
  transform: translateX(100%);
  display: none;
}
.flow-num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-deep);
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 14px;
}
.flow-step h3 { font-size: 15.5px; margin-bottom: 6px; }
.flow-step p { font-size: 14px; color: var(--muted); margin: 0; }

.note-strip {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 34px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--green-tint);
  border: 1px solid rgba(22, 98, 79, .14);
  font-size: 14.5px;
  color: var(--green-deep);
}
.note-strip svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.note-strip p { margin: 0; }

/* ---------- 时间线 ---------- */
.timeline { display: grid; gap: 14px; }
.tl-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  align-items: start;
}
.tl-time {
  font-size: 13px;
  font-weight: 650;
  color: var(--green);
  letter-spacing: .02em;
  padding-top: 3px;
}
.tl-body h3 { font-size: 16px; margin-bottom: 6px; }
.tl-body p { font-size: 14.5px; color: var(--muted); margin: 0; }
.tl-body .tl-out {
  display: inline-block;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--green-deep);
  background: var(--green-tint);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 520px;
}
th, td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
th {
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  background: #faf9f6;
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.total td { font-weight: 680; background: #fbfaf7; border-top: 1px solid var(--line); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  transition: transform .2s, background .2s;
}
.faq details[open] summary::after {
  content: "−";
  background: var(--green-tint);
  border-color: transparent;
  color: var(--green);
}
.faq .faq-body {
  padding: 0 2px 20px;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 780px;
}

/* ---------- 透明账目 ---------- */
.spend-list { list-style: none; padding: 0; margin: 0; }
.spend-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.spend-list li span:last-child { font-variant-numeric: tabular-nums; color: var(--ink-soft); white-space: nowrap; }
.spend-list li.total { border-bottom: 0; border-top: 1px solid var(--line); font-weight: 680; margin-top: 4px; }

/* ---------- 联系 ---------- */
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: 40px;
  padding: 40px;
  border-radius: 20px;
  background: var(--green-deep);
  color: #e8f1ed;
}
.contact-card h2 { color: #fff; font-size: clamp(24px, 3vw, 30px); margin-bottom: 12px; }
.contact-card p { color: rgba(232, 241, 237, .78); font-size: 15.5px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-list .label {
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(232, 241, 237, .55);
}
.contact-list a, .contact-list span.val { color: #fff; font-size: 15px; }
.contact-list a:hover { color: #cfe6dc; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 48px 0 34px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .8fr));
  gap: 32px;
  margin-bottom: 34px;
}
.footer-grid h4 {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 7px; }
.footer-grid a { color: var(--ink-soft); font-size: 14px; }
.footer-grid a:hover { color: var(--green); }
.footer-note {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}
.sponsor-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px dashed var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- 内页（政策文档） ---------- */
.doc-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.doc-hero h1 { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 14px; }
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
}
.doc-meta .tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--clay-tint);
  color: var(--clay);
  font-weight: 600;
}

.doc-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  padding: 48px 0 96px;
  align-items: start;
}
.doc-toc {
  position: sticky;
  top: 92px;
  font-size: 13.5px;
  border-left: 2px solid var(--line);
  padding-left: 18px;
}
.doc-toc h4 {
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.doc-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.doc-toc li { margin-bottom: 8px; counter-increment: toc; }
.doc-toc a { color: var(--ink-soft); display: block; line-height: 1.5; }
.doc-toc a::before {
  content: counter(toc) ". ";
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.doc-toc a:hover { color: var(--green); text-decoration: none; }

.doc-body { max-width: 760px; }
.doc-body section { margin-bottom: 44px; scroll-margin-top: 92px; }
.doc-body h2 {
  font-size: 21px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.doc-body h3 { font-size: 16.5px; margin: 24px 0 10px; }
.doc-body p, .doc-body li { color: var(--ink-soft); font-size: 15.5px; }
.doc-body ul, .doc-body ol { padding-left: 1.25em; }
.doc-body strong { color: var(--ink); font-weight: 650; }

.doc-body .callout {
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--clay-tint);
  border-left: 3px solid var(--clay);
  margin: 20px 0;
  font-size: 14.5px;
  color: #7d3d24;
}
.doc-body .callout strong { color: #6b3018; }

/* ---------- 动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 设备交互模拟器 ---------- */
.sim {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 22px;
  max-width: 560px;
}
.sim-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.sim-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.sim-tab, .sim-lang button {
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .16s;
}
.sim-tab:hover, .sim-lang button:hover { border-color: var(--green); color: var(--green); }
.sim-tab.is-active, .sim-lang button.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.sim-lang { display: flex; gap: 5px; }

.sim-stage {
  position: relative;
  border-radius: 14px;
  background: linear-gradient(170deg, #fbfcfb 0%, #eef4f1 100%);
  border: 1px solid var(--line-soft);
  padding: 18px;
  min-height: 268px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sim-line {
  max-width: 84%;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(8px);
  animation: simIn .34s ease forwards;
}
@keyframes simIn { to { opacity: 1; transform: none; } }
.sim-line--child {
  align-self: flex-end;
  background: var(--green);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.sim-line--device {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.sim-line--block {
  align-self: flex-start;
  background: var(--clay-tint);
  border: 1px solid rgba(184, 90, 54, .3);
  color: #7d3d24;
  font-size: 14px;
  border-bottom-left-radius: 4px;
}
.sim-who {
  display: block;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .65;
  margin-bottom: 3px;
  font-weight: 650;
}
.sim-caret::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: .95em;
  background: currentColor;
  margin-left: 2px;
  vertical-align: -.14em;
  animation: caret .7s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

.sim-listening {
  align-self: center;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 34px;
  margin-top: auto;
}
.sim-listening i {
  display: block;
  width: 4px;
  height: 100%;
  border-radius: 2px;
  background: var(--green);
  transform-origin: center bottom;
  animation: simWave 1s ease-in-out infinite;
}
.sim-listening i:nth-child(2) { animation-delay: .1s; }
.sim-listening i:nth-child(3) { animation-delay: .2s; }
.sim-listening i:nth-child(4) { animation-delay: .3s; }
.sim-listening i:nth-child(5) { animation-delay: .4s; }
.sim-listening i:nth-child(6) { animation-delay: .5s; }
.sim-listening i:nth-child(7) { animation-delay: .6s; }
@keyframes simWave {
  0%, 100% { transform: scaleY(.28); opacity: .5; }
  50% { transform: scaleY(1); opacity: 1; }
}

.sim-pipeline {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11.5px;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  margin-top: auto;
}
.sim-pipeline .step {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .02em;
}
.sim-pipeline .step.on { background: var(--green); color: #fff; }
.sim-pipeline .step.done { background: var(--green-tint); color: var(--green-deep); }
.sim-pipeline .step.skip { background: var(--clay-tint); color: var(--clay); }
.sim-pipeline .arrow { color: var(--line); }

.sim-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 10px;
}
.sim-talk {
  flex: 1;
  height: 52px;
  border-radius: 999px;
  border: 0;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-size: 15.5px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 12px 24px -14px rgba(22, 98, 79, .9);
  transition: transform .12s, background .18s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.sim-talk:hover { background: var(--green-deep); }
.sim-talk:active, .sim-talk.is-down { transform: scale(.985); background: var(--green-deep); }
.sim-talk[disabled] { opacity: .55; cursor: default; }
.sim-talk svg { width: 17px; height: 17px; }
.sim-sound {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.sim-sound svg { width: 19px; height: 19px; }
.sim-sound[aria-pressed="false"] { color: var(--muted); }

.sim-hint { font-size: 12.5px; color: var(--muted); text-align: center; margin: 0 0 12px; }
.sim-honest {
  font-size: 12.5px;
  color: var(--muted);
  background: var(--paper-2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 0;
  line-height: 1.65;
}
.sim-honest strong { color: var(--ink-soft); }
.sim-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--green-deep);
  background: var(--green-tint);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .device-panel { max-width: 420px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 0; }
  .contact-card { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .doc-layout { grid-template-columns: 1fr; gap: 32px; }
  .doc-toc { position: static; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .doc-toc ol { columns: 2; column-gap: 24px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  .nav { height: 60px; gap: 12px; }
  .nav-burger { display: grid; }
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 12px; font-size: 15px; }
  .nav-actions { margin-left: auto; }
  .hero { padding: 52px 0 48px; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; }
  .hero-facts dt { font-size: 19px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 24px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; padding: 18px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .doc-toc ol { columns: 1; }
  .doc-body { max-width: none; }
  .btn { height: 44px; }
}
