/* =========================================================================
   电池洞察 · batteryinsights.cn — 单文件样式
   -------------------------------------------------------------------------
   设计约束（与 App 一致，改动前先读）：
   · 只用系统字体栈：不请求任何外部字体/样式/脚本/图片；
   · 页面里没有 JS、没有 cookie、没有 localStorage、没有统计；
   · 深色模式跟随系统（prefers-color-scheme），无需手动切换；
   · 主色 #4FCF6B（App 的活力绿），深色底 #0A1710，圆角 18。
   ========================================================================= */

/* ---------- 1. 颜色令牌 ---------- */
:root {
  color-scheme: light dark;

  --brand: #4fcf6b;          /* App 活力绿：只用在大面积色块与图形上 */
  --brand-ink: #16703a;      /* 浅底上的绿色文字（对比度 ≥ 4.5:1） */
  --brand-soft: rgba(79, 207, 107, 0.14);
  --glow: rgba(79, 207, 107, 0.20);

  --bg: #f4f9f5;
  --surface: #ffffff;
  --surface-2: #f7faf8;
  --header-bg: rgba(244, 249, 245, 0.84);

  --text: #101c15;
  --text-2: #3f5749;
  --muted: #5f776a;
  --line: #e1eae4;
  --line-2: #d2e0d7;

  --shadow: 0 1px 2px rgba(16, 28, 21, 0.05), 0 18px 40px -26px rgba(16, 28, 21, 0.35);

  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1080px;
  --doc: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-ink: #74e28e;      /* 深底上的绿色文字 */
    --brand-soft: rgba(79, 207, 107, 0.13);
    --glow: rgba(79, 207, 107, 0.10);

    --bg: #0a1710;
    --surface: #0e1d15;
    --surface-2: #10241a;
    --header-bg: rgba(10, 23, 16, 0.80);

    --text: #e9f3ec;
    --text-2: #bccfc2;
    --muted: #93ab9c;
    --line: #1d3527;
    --line-2: #294733;

    --shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 22px 44px -28px rgba(0, 0, 0, 0.9);
  }
}

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

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC",
    system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(900px 480px at 50% -220px, var(--glow), transparent 72%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--brand);
  color: #08130c;
}

a {
  color: var(--brand-ink);
  text-decoration: none;
}

a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

img,
svg { max-width: 100%; }

h1, h2, h3 {
  line-height: 1.3;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  font-size: 14px;
  transition: top 0.15s ease;
}

.skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- 3. 站点头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand:hover { text-decoration: none; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-soft);
  border: 1px solid var(--line);
  color: var(--brand-ink);
}

.brand-mark svg { width: 18px; height: 18px; display: block; }

.brand-name {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav a + a::before {
  content: "·";
  display: inline-block;
  margin-right: 12px;
  margin-left: -8px;
  color: var(--line-2);
}

.site-nav a:hover {
  color: var(--text);
  background: var(--surface-2);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 550;
}

/* ---------- 4. 通用按钮与卡片 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--brand);
  color: #08130c;
  box-shadow: 0 12px 26px -14px rgba(79, 207, 107, 0.95);
}

.btn-primary:hover { box-shadow: 0 16px 30px -14px rgba(79, 207, 107, 0.95); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--line-2);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--brand-ink); }

/* ---------- 5. 页头 ---------- */
.page-head { padding-block: 56px 30px; }

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--brand-ink);
  text-transform: uppercase;
}

.page-head h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 5.2vw, 42px);
  font-weight: 700;
}

.lead {
  max-width: 640px;
  margin: 0 0 24px;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.75;
  color: var(--text-2);
}

.lead strong { color: var(--text); font-weight: 600; }

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-meta li {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
}

.doc-meta .meta-label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.doc-meta .meta-value { color: var(--text); font-weight: 550; }

/* ---------- 6. 法律正文布局 ---------- */
.doc-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, var(--doc));
  gap: 56px;
  align-items: start;
  padding-bottom: 24px;
}

.toc {
  position: sticky;
  top: 92px;
  align-self: start;
  font-size: 14px;
}

.toc-title {
  margin: 0 0 12px;
  padding-left: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}

.toc a {
  display: block;
  margin-left: -1px;
  padding: 6px 0 6px 14px;
  border-left: 2px solid transparent;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.14s ease, border-color 0.14s ease;
}

.toc a:hover {
  color: var(--text);
  border-left-color: var(--brand);
  text-decoration: none;
}

/* 正文 */
.doc {
  min-width: 0;
  padding-bottom: 8px;
}

.doc-section { scroll-margin-top: 96px; }

.doc-section + .doc-section {
  margin-top: 38px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.doc h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: 0.002em;
}

.doc h2::before {
  content: "";
  flex: 0 0 auto;
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: var(--brand);
  transform: translateY(1px);
}

.doc p,
.doc li {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text-2);
}

.doc p { margin: 0 0 14px; }

.doc strong {
  font-weight: 600;
  color: var(--text);
}

.doc code {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  color: var(--text);
  word-break: break-word;
}

.doc ul,
.doc ol {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.doc ul > li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 20px;
}

.doc ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.82em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.doc ol { counter-reset: step; }

.doc ol > li {
  counter-increment: step;
  position: relative;
  margin-bottom: 12px;
  padding-left: 36px;
}

.doc ol > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.3em;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ---------- 7. 首页 ---------- */
.hero {
  padding-block: 88px 56px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  color: var(--text-2);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-sentence {
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.75;
  color: var(--text-2);
}

.hero-sentence strong { color: var(--text); font-weight: 600; }

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.link-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: 0 1px 2px rgba(16, 28, 21, 0.05), 0 24px 46px -28px rgba(16, 28, 21, 0.4);
  text-decoration: none;
}

.link-card .card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 650;
}

.link-card .card-title .arrow {
  color: var(--brand-ink);
  font-size: 15px;
  transition: transform 0.18s ease;
}

.link-card:hover .card-title .arrow { transform: translateX(3px); }

.link-card .card-desc {
  display: block;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.hero-footnote {
  margin: 34px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- 8. 支持页 ---------- */
.section-block { padding-block: 40px 8px; }

.section-block h2 {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 650;
}

.page-note {
  max-width: 660px;
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.faq-index {
  max-width: 820px;
  margin: 0 0 18px;
}

.faq-index ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.faq-index a {
  display: block;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.faq-index a:hover {
  border-color: var(--brand);
  color: var(--text);
  text-decoration: none;
}

.faq details { scroll-margin-top: 92px; }

.faq details:target {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.faq .answer strong {
  color: var(--text);
  font-weight: 600;
}

.faq .answer ol {
  margin: 0 0 10px;
  padding-left: 22px;
}

.faq .answer ol li { margin-bottom: 6px; }

.faq .answer code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-card .contact-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.contact-card .contact-mail {
  margin: 0;
  font-size: clamp(19px, 3.4vw, 24px);
  font-weight: 650;
  word-break: break-all;
}

.contact-card .contact-mail a { color: var(--text); }

.contact-note {
  max-width: 720px;
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0 20px;
  transition: border-color 0.16s ease;
}

.faq details[open] { border-color: var(--line-2); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: 15.5px;
  font-weight: 550;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--brand-ink);
  font-size: 15px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq .answer {
  padding: 0 0 18px;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer ul { margin: 0; padding-left: 20px; }
.faq .answer li { margin-bottom: 6px; }

/* 备案信息卡 */
.filing-card {
  max-width: 820px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.filing-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-2);
}

.filing-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filing-list .k {
  flex: 0 0 auto;
  min-width: 5em;
  color: var(--muted);
}

.filing-list .v { color: var(--text); }

.filing-note {
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 9. 404 ---------- */
.error-page {
  display: grid;
  place-items: center;
  min-height: 58vh;
  padding-block: 72px;
  text-align: center;
}

.error-code {
  margin: 0;
  font-size: clamp(72px, 16vw, 120px);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand);
  opacity: 0.9;
}

.error-page h1 { margin: 18px 0 12px; font-size: clamp(22px, 3.4vw, 28px); }

.error-page p {
  max-width: 460px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 15px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------- 10. 页脚 ---------- */
.site-footer {
  margin-top: 84px;
  padding-block: 48px 28px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}

.footer-note {
  max-width: 300px;
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.footer-heading {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.footer-nav ul,
.footer-meta ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-nav a,
.footer-meta a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 13.5px;
}

.footer-nav a:hover,
.footer-meta a:hover { color: var(--brand-ink); text-decoration: underline; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

.footer-legal p { margin: 0; }

.icp { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }

.icp .icp-label { color: var(--muted); }

.icp a {
  color: var(--text-2);
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.icp a:hover { color: var(--brand-ink); }

.icp-hint { color: var(--muted); font-size: 12px; }

.copyright { color: var(--muted); }

/* ---------- 11. 响应式 ---------- */
@media (max-width: 940px) {
  .doc-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .toc {
    position: static;
    padding: 18px 20px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
  }

  .toc-title { padding-left: 0; }

  .toc ol {
    border-left: 0;
    columns: 2;
    column-gap: 24px;
  }

  .toc li { break-inside: avoid; }

  .toc a {
    margin-left: 0;
    padding: 6px 0;
    border-left: 0;
  }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .wrap { padding-inline: 18px; }

  .header-inner { gap: 10px; min-height: 58px; }

  .brand-name { font-size: 15px; }

  .site-nav { gap: 0; }

  .site-nav a {
    padding: 6px 7px;
    font-size: 13px;
  }

  .site-nav a + a::before { margin-right: 7px; margin-left: -4px; }

  .page-head { padding-block: 36px 22px; }

  .doc-meta li { padding: 6px 12px; font-size: 12.5px; }

  .toc ol { columns: 1; }

  .doc p,
  .doc li { font-size: 16px; line-height: 1.82; }

  .doc h2 { font-size: 18px; }

  .doc-section + .doc-section { margin-top: 30px; padding-top: 28px; }

  .hero { padding-block: 56px 40px; }

  .hero h1 { font-size: clamp(38px, 12vw, 48px); }

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

  .link-card { padding: 20px; }

  .contact-card { padding: 20px; }

  .contact-card .btn { width: 100%; justify-content: center; }

  .site-footer { margin-top: 56px; padding-block: 36px 22px; }

  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 26px; }

  .footer-legal { margin-top: 30px; }
}

@media (max-width: 380px) {
  .brand-mark { width: 28px; height: 28px; border-radius: 9px; }
  .brand-name { font-size: 14px; }
  .site-nav a { padding: 6px 5px; font-size: 12.5px; }
}

/* ---------- 11b. 首页：联网说明 / 四个功能 / 数据三卡 ---------- */
.hero--home { padding-block: 52px 40px; }

.hero-notice {
  max-width: 640px;
  margin: 0 auto 6px;
  padding: 20px 22px;
  text-align: left;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-notice .notice-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 650;
  color: var(--text);
}

.hero-notice p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-2);
}

.hero-notice .notice-link { margin-top: 10px; font-size: 13.5px; }

.hero-notice a { font-weight: 550; }

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

.feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-kicker {
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.06em;
  color: var(--brand-ink);
}

.feature-card h3 { margin: 0 0 10px; font-size: 17px; font-weight: 650; }

.feature-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.feature-card p strong { color: var(--text-2); font-weight: 600; }

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

.data-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.data-card h3 { margin: 0 0 8px; font-size: 15.5px; font-weight: 650; }

.data-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.data-note { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }

.mail-template {
  margin: 0 0 14px;
  padding: 16px 18px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-2);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 2;
}

@media (max-width: 940px) {
  .data-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .hero--home { padding-block: 36px 32px; }

  .hero-notice { padding: 16px 16px 15px; }

  .feature-grid,
  .data-grid { grid-template-columns: minmax(0, 1fr); }

  .feature-card,
  .data-card { padding: 18px; }
}

/* ---------- 12. 打印 / 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  body { background: #fff; color: #000; }

  .site-header,
  .site-footer,
  .toc,
  .skip-link,
  .hero-badge,
  .link-grid,
  .error-actions { display: none !important; }

  .wrap { max-width: none; padding: 0; }

  .page-head { padding-block: 0 16px; }

  .doc p,
  .doc li { color: #000; font-size: 11pt; }

  .doc-section + .doc-section { break-inside: avoid; }

  .doc a { color: #000; text-decoration: none; }
}
