/* =========================================================================
   SafeW 风险档案 — 设计系统
   一个基于公开威胁情报的安全警示站点
   主题：取证 / 威胁情报简报（forensic threat-intel dossier）
   ========================================================================= */

/* ----- 1. Tokens ----- */
:root {
  /* 文本与底色 */
  --ink:          #14171c;
  --ink-2:        #1b2027;
  --ink-3:        #232932;
  --paper:        #f4f3ef;
  --surface:      #ffffff;
  --surface-2:    #faf9f6;
  --surface-3:    #f0eee8;
  --muted:        #565d68;
  --faint:        #868d98;

  /* 线条 */
  --line:         #e5e2da;
  --line-2:       #d7d3c8;
  --line-dark:    #2c333d;

  /* 语义色 */
  --danger:       #ce1b2d;
  --danger-strong:#a3101f;
  --danger-soft:  #fcedee;
  --danger-line:  #f1c3c8;
  --warn:         #b9760a;
  --warn-soft:    #fbf2dd;
  --warn-line:    #ecd6a3;
  --info:         #1d4ea0;
  --info-soft:    #eaf0fa;
  --good:         #1d7a4c;

  /* 字体 */
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          "Source Han Sans SC", "Noto Sans SC", "WenQuanYi Micro Hei", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Roboto Mono", "DejaVu Sans Mono",
          Menlo, Consolas, "Liberation Mono", monospace;

  /* 尺度 */
  --maxw: 1080px;
  --maxw-narrow: 760px;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(20, 23, 28, .05), 0 2px 6px rgba(20, 23, 28, .04);
  --shadow:    0 2px 6px rgba(20, 23, 28, .06), 0 12px 32px rgba(20, 23, 28, .08);
  --shadow-lg: 0 10px 30px rgba(20, 23, 28, .12), 0 30px 70px rgba(20, 23, 28, .14);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ----- 2. Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.72;
  font-size: 17px;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
/* 描边图标（Feather/Lucide 风格）统一圆角端点与连接，避免三角警示图标顶角出现尖刺、感叹号变成方块 */
svg[stroke] { stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--info); text-decoration: none; }
a:hover { text-decoration: underline; }
strong, b { font-weight: 700; }
ul, ol { padding-left: 1.25em; }
li { margin: .35em 0; }
:focus-visible {
  outline: 3px solid var(--info);
  outline-offset: 2px;
  border-radius: 3px;
}
::selection { background: var(--danger); color: #fff; }

/* ----- 3. 排版基元 ----- */
h1, h2, h3, h4 {
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}
.eyebrow {
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--danger);
}
.section-head { max-width: 62ch; margin-bottom: 2.2rem; }
.section-head .eyebrow { color: var(--muted); }
.section-head h2 {
  font-size: clamp(1.55rem, 1rem + 2.2vw, 2.3rem);
  margin: .6rem 0 .7rem;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* ----- 4. 容器与栅格 ----- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.wrap--narrow { max-width: var(--maxw-narrow); }
section { padding-block: clamp(48px, 7vw, 92px); }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: 8px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ----- 5. 顶栏 ----- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}
.nav {
  display: flex; align-items: center; gap: 18px;
  height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: -.01em; color: var(--ink);
  font-size: 1.02rem; white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; flex: none;
}
.brand small {
  display: block; font-size: .64rem; font-weight: 600;
  letter-spacing: .16em; color: var(--faint); font-family: var(--mono);
  text-transform: uppercase;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto; list-style: none; padding: 0;
}
.nav-links a {
  display: inline-block; padding: 8px 13px; border-radius: 8px;
  color: var(--muted); font-size: .94rem; font-weight: 600;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-3); text-decoration: none; }
.nav-links a.is-active { color: var(--danger); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 14px;
  padding: 9px 15px !important; border-radius: 9px !important;
  background: var(--ink); color: #fff !important; font-weight: 700;
}
.nav-cta:hover { background: var(--danger) !important; }
/* 语言切换 */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  margin-left: 12px; padding: 7px 11px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface);
  color: var(--muted); font-size: .8rem; font-weight: 700;
  font-family: var(--mono); letter-spacing: .03em; white-space: nowrap;
  transition: color .15s, border-color .15s, background .15s;
}
.lang-toggle:hover { color: var(--ink); border-color: var(--ink); text-decoration: none; }
.lang-toggle svg { width: 14px; height: 14px; }
/* 回到顶部 */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 46px; height: 46px; padding: 0; border: none; cursor: pointer;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, background .15s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--danger); }
.to-top svg { width: 22px; height: 22px; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border: 1px solid var(--line-2);
  background: var(--surface); border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center; color: var(--ink);
}

/* 滚动进度 */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--danger), #f0683b);
  z-index: 120; transition: width .1s linear;
}

/* ----- 6. Hero ----- */
.hero {
  position: relative;
  background: var(--ink);
  color: #eef0f3;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
}
.hero::before { /* 取证网格纹理 */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 90% 80% at 70% 0%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero::after { /* 暖色辉光 */
  content: ""; position: absolute; top: -30%; right: -10%;
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(206,27,45,.30), transparent 62%);
  filter: blur(20px); pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px;
  align-items: center;
  padding-block: clamp(52px, 8vw, 104px);
}
.hero-classbar {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; color: #c7ccd4;
  border: 1px solid var(--line-dark); border-radius: 999px;
  padding: 6px 14px; margin-bottom: 26px;
  background: rgba(255,255,255,.02);
}
.hero-classbar .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--danger); box-shadow: 0 0 0 0 rgba(206,27,45,.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(206,27,45,.55); }
  70% { box-shadow: 0 0 0 9px rgba(206,27,45,0); }
  100% { box-shadow: 0 0 0 0 rgba(206,27,45,0); }
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 1.2rem + 5vw, 4rem);
  letter-spacing: -.025em; line-height: 1.05;
}
.hero h1 .q { color: var(--danger); }
.hero-verdict {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 22px 0 18px; padding: 9px 16px 9px 12px;
  background: var(--danger); color: #fff; font-weight: 800;
  border-radius: 10px; font-size: 1.05rem; letter-spacing: .01em;
  box-shadow: 0 8px 24px rgba(206,27,45,.35);
}
.hero-verdict svg { width: 20px; height: 20px; flex: none; }
.hero-sub {
  font-size: 1.12rem; color: #c8cdd5; max-width: 56ch;
  margin-bottom: 30px; line-height: 1.7;
}
.hero-sub b { color: #fff; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  margin-top: 38px; background: var(--line-dark);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  overflow: hidden;
}
.hero-meta div { background: var(--ink-2); padding: 16px 18px; }
.hero-meta dt {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 5px;
}
.hero-meta dd { font-weight: 700; color: #eef0f3; font-size: .98rem; }
.hero-meta dd.is-danger { color: #ff6b78; }

/* 风险仪表（hero 右栏） */
.riskcard {
  background: linear-gradient(180deg, var(--ink-2), var(--ink-3));
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-lg);
}
.riskcard h2 {
  color: #fff; font-size: 1.05rem; display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 4px;
}
.riskcard .tag-id {
  font-family: var(--mono); font-size: .72rem; color: var(--faint);
  font-weight: 500;
}
.riskcard .risk-label {
  font-size: 2.4rem; font-weight: 800; color: #ff5e6c;
  letter-spacing: -.02em; line-height: 1.1; margin: 10px 0 14px;
}
.risk-meter { display: flex; gap: 5px; margin-bottom: 18px; }
.risk-meter span {
  height: 10px; flex: 1; border-radius: 3px; background: var(--line-dark);
}
.risk-meter span.on { background: var(--danger); }
.risk-meter span.on:nth-child(5) { background: #ff5e6c; }
.riskcard ul { list-style: none; padding: 0; margin: 0; }
.riskcard li {
  display: flex; gap: 10px; align-items: flex-start;
  color: #cfd4dc; font-size: .92rem; padding: 9px 0;
  border-top: 1px solid var(--line-dark);
}
.riskcard li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: #ff6b78; }

/* ----- 7. 按钮 ----- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 700; font-size: .98rem;
  padding: 13px 22px; border-radius: 11px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s var(--ease), background .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--danger); color: #fff; box-shadow: 0 6px 18px rgba(206,27,45,.3); }
.btn--primary:hover { background: var(--danger-strong); box-shadow: 0 8px 24px rgba(206,27,45,.4); }
.btn--ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.2); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--danger); }
.btn--outline { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--ink); }

/* ----- 8. 通用卡片/版式 ----- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
}

/* 一句话结论框 */
.answerbox {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--danger-line);
  border-left: 5px solid var(--danger);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow);
}
.answerbox .eyebrow { color: var(--danger); margin-bottom: 10px; display: block; }
.answerbox p { font-size: 1.18rem; line-height: 1.7; color: var(--ink); font-weight: 500; }
.answerbox p + p { margin-top: 12px; font-size: 1.02rem; color: var(--muted); font-weight: 400; }
.answerbox strong { color: var(--danger-strong); }

/* IOC 取证块 */
.evidence-block {
  background: var(--ink); color: #e6e9ee;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-dark); box-shadow: var(--shadow);
}
.evidence-block header {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-bottom: 1px solid var(--line-dark);
  background: var(--ink-2);
}
.evidence-block header .lights { display: flex; gap: 6px; }
.evidence-block header .lights i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.evidence-block header .lights i:nth-child(1){ background:#ff5f57; }
.evidence-block header .lights i:nth-child(2){ background:#febc2e; }
.evidence-block header .lights i:nth-child(3){ background:#28c840; }
.evidence-block header span {
  font-family: var(--mono); font-size: .78rem; color: var(--faint);
  letter-spacing: .04em;
}
.ioc-list { padding: 8px 0; }
.ioc-row {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 18px; font-family: var(--mono); font-size: .92rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.ioc-row:last-child { border-bottom: 0; }
.ioc-row .plat {
  flex: none; width: 58px; font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--faint);
}
.ioc-row .val { flex: 1; color: #ffd5d9; word-break: break-all; }
.ioc-row .copy {
  flex: none; background: transparent; border: 1px solid var(--line-dark);
  color: var(--faint); border-radius: 7px; padding: 5px 9px; cursor: pointer;
  font-family: var(--mono); font-size: .72rem; transition: all .15s;
  display: inline-flex; align-items: center; gap: 5px;
}
.ioc-row .copy:hover { color: #fff; border-color: var(--faint); }
.ioc-row .copy.done { color: var(--good); border-color: var(--good); }
.ioc-row .copy svg { width: 13px; height: 13px; }

/* 攻击链步骤 */
.chain {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  counter-reset: step;
}
.chain-step {
  position: relative; padding: 26px 22px;
  background: var(--surface); border: 1px solid var(--line);
  border-right: 0;
}
.chain-step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.chain-step:last-child { border-right: 1px solid var(--line); border-radius: 0 var(--radius) var(--radius) 0; }
.chain-step::after {
  content: ""; position: absolute; right: -11px; top: 50%;
  width: 22px; height: 22px; transform: translateY(-50%) rotate(45deg);
  background: var(--surface);
  border-top: 1px solid var(--line); border-right: 1px solid var(--line);
  z-index: 2;
}
.chain-step:last-child::after { display: none; }
.chain-step .num {
  counter-increment: step;
  font-family: var(--mono); font-size: .8rem; font-weight: 700;
  color: var(--danger); margin-bottom: 12px; display: inline-flex;
  align-items: center; gap: 8px;
}
.chain-step .num::before {
  content: "0" counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--danger-soft); color: var(--danger);
}
.chain-step .ico { width: 26px; height: 26px; color: var(--ink); margin-bottom: 10px; }
.chain-step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.chain-step p { font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* 时间线 */
.timeline { position: relative; margin-top: 1rem; }
.timeline::before {
  content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--danger), var(--line-2));
}
.tl-item { position: relative; padding: 0 0 30px 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .node {
  position: absolute; left: 0; top: 3px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--danger);
  display: flex; align-items: center; justify-content: center;
}
.tl-item .node::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); }
.tl-item.is-muted .node { border-color: var(--line-2); }
.tl-item.is-muted .node::after { background: var(--line-2); }
.tl-date {
  font-family: var(--mono); font-size: .82rem; font-weight: 700;
  color: var(--danger); letter-spacing: .03em;
}
.tl-item.is-muted .tl-date { color: var(--muted); }
.tl-title { font-size: 1.08rem; font-weight: 700; margin: 3px 0 5px; }
.tl-item p { color: var(--muted); font-size: .96rem; }
.tl-item p .src { font-size: .82rem; color: var(--faint); }

/* 提示框 */
.callout {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius);
  font-size: .98rem; line-height: 1.65;
}
.callout svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.callout--danger { background: var(--danger-soft); border: 1px solid var(--danger-line); color: var(--danger-strong); }
.callout--warn { background: var(--warn-soft); border: 1px solid var(--warn-line); color: #7a4e06; }
.callout--info { background: var(--info-soft); border: 1px solid #c4d6f0; color: #163d7a; }
.callout strong { font-weight: 700; }
.callout a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.callout a:hover { text-decoration-thickness: 2.5px; }
.callout--danger svg { color: var(--danger); }
.callout--warn svg { color: var(--warn); }
.callout--info svg { color: var(--info); }

/* ===== 洗白辟谣页：驳斥卡片 + 大红章 ===== */
.debunk-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; background: var(--surface); box-shadow: var(--shadow-sm); }
.debunk-claim { position: relative; padding: 24px 26px 22px; background: var(--surface-2); border-bottom: 1px dashed var(--line-2); }
.claim-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.claim-label, .fact-label { display: inline-block; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; padding: 3px 11px; border-radius: 999px; }
.claim-label { background: var(--surface-3); color: var(--muted); }
.fact-label { background: var(--danger-soft); color: var(--danger-strong); margin-bottom: 12px; }
.debunk-claim h3 { font-size: 1.16rem; line-height: 1.55; color: var(--ink); max-width: 54ch; font-weight: 700; }
.claim-src { margin-top: 12px; font-size: .84rem; color: var(--faint); }
.claim-src .u { font-family: var(--mono); word-break: break-all; }
.claim-src a { color: var(--faint); text-decoration: underline; text-underline-offset: 2px; }
.claim-src a:hover { color: var(--danger); }
.debunk-fact { padding: 22px 26px 24px; }
.debunk-fact p { line-height: 1.78; color: var(--ink-2); }
.debunk-fact p + p { margin-top: 12px; }
.debunk-fact b, .debunk-fact strong { color: var(--ink); font-weight: 700; }
.stamp {
  flex: none; transform: rotate(-7deg);
  font-weight: 900; font-size: clamp(.95rem, .85rem + .5vw, 1.25rem); letter-spacing: .18em;
  padding: 5px 14px; color: var(--danger); border: 3px solid var(--danger); border-radius: 9px;
  box-shadow: inset 0 0 0 2px rgba(206,27,45,.5); background: rgba(206,27,45,.06);
  white-space: nowrap; opacity: .92; pointer-events: none; user-select: none;
}
@media (max-width: 560px) {
  .stamp { font-size: 1rem; letter-spacing: .14em; padding: 4px 11px; }
  .claim-head { gap: 8px; }
  .debunk-claim h3 { max-width: none; }
}

/* 数字要点 */
.feature {
  display: flex; gap: 16px; align-items: flex-start;
}
.feature .fi {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--danger-soft); color: var(--danger);
  display: flex; align-items: center; justify-content: center;
}
.feature .fi svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 5px; }
.feature p { color: var(--muted); font-size: .96rem; }

/* 处理清单 */
.checklist { list-style: none; padding: 0; margin: 0; counter-reset: chk; }
.checklist li {
  position: relative; counter-increment: chk;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px 20px 66px;
  margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.checklist li::before {
  content: counter(chk);
  position: absolute; left: 18px; top: 18px;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--ink); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: .95rem;
}
.checklist li.is-critical::before { background: var(--danger); }
.checklist h3 { font-size: 1.05rem; margin-bottom: 4px; }
.checklist p { color: var(--muted); font-size: .95rem; }
.checklist .tagk {
  display: inline-block; font-family: var(--mono); font-size: .68rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--danger); background: var(--danger-soft);
  padding: 2px 8px; border-radius: 5px; margin-left: 8px; vertical-align: 2px;
}

/* FAQ */
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px;
  font-weight: 700; font-size: 1.06rem; position: relative;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 24px;
  width: 14px; height: 14px;
  border-right: 2.5px solid var(--danger); border-bottom: 2.5px solid var(--danger);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq .faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 1rem; line-height: 1.72; }
.faq .faq-body p + p { margin-top: 10px; }

/* 来源 */
.sources { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.source-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px;
  transition: border-color .2s, transform .15s;
}
.source-item:hover { border-color: var(--info); transform: translateY(-1px); text-decoration: none; }
.source-item .badge {
  flex: none; font-family: var(--mono); font-size: .7rem; font-weight: 700;
  padding: 4px 9px; border-radius: 6px; letter-spacing: .05em;
  background: var(--info-soft); color: var(--info); text-transform: uppercase;
  margin-top: 2px;
}
.source-item h3 { font-size: 1rem; color: var(--ink); margin-bottom: 3px; }
.source-item p { font-size: .88rem; color: var(--muted); word-break: break-all; }
.source-item .arr { margin-left: auto; color: var(--faint); align-self: center; }

/* 横幅 CTA */
.cta-band {
  background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 54px); text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% -20%, rgba(206,27,45,.35), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 1rem + 2vw, 2.2rem); margin-bottom: 12px; }
.cta-band p { color: #c8cdd5; max-width: 52ch; margin: 0 auto 26px; }
.cta-band .hero-actions { justify-content: center; }

/* 关联页脚导航卡 */
.pagenav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pagenav--2 { grid-template-columns: repeat(2, 1fr); }
.pagenav a {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; transition: all .2s var(--ease);
}
.pagenav a:hover { border-color: var(--danger); transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.pagenav .k { font-family: var(--mono); font-size: .72rem; color: var(--danger); letter-spacing: .08em; }
.pagenav h3 { font-size: 1.1rem; margin: 8px 0 6px; color: var(--ink); }
.pagenav p { font-size: .9rem; color: var(--muted); }

/* ----- 9. 页脚 ----- */
.site-footer {
  background: var(--ink); color: #aeb4be;
  padding-block: 54px 30px; border-top: 1px solid var(--line-dark);
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand small { color: var(--faint); }
.footer-about { font-size: .92rem; line-height: 1.7; max-width: 42ch; }
.footer-col h4 {
  color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  font-family: var(--mono); margin-bottom: 14px; font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin: 9px 0; }
.footer-col a { color: #aeb4be; font-size: .94rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font-size: .82rem; color: var(--faint);
}
.footer-bottom p { max-width: 70ch; line-height: 1.6; }

/* ----- 10. 工具类 ----- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.badge-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.badge-pill.danger { background: var(--danger-soft); color: var(--danger); border: 1px solid var(--danger-line); }
.badge-pill.warn { background: var(--warn-soft); color: var(--warn); border: 1px solid var(--warn-line); }

/* 面包屑 */
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: .84rem; color: var(--faint); margin-bottom: 20px;
  font-family: var(--mono); letter-spacing: .02em;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb .sep { color: var(--line-2); }

/* 文章正文（内页） */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.4rem, 1rem + 1.8vw, 1.9rem); margin: 2.4rem 0 1rem; }
.prose h3 { font-size: 1.2rem; margin: 1.8rem 0 .7rem; }
.prose p { margin: 1rem 0; color: #2c313a; }
.prose ul, .prose ol { margin: 1rem 0; }
.prose li { color: #2c313a; }
.prose blockquote {
  margin: 1.6rem 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--danger);
  color: var(--muted); font-style: normal;
}
.prose blockquote cite { display: block; margin-top: 8px; font-size: .85rem; color: var(--faint); font-style: normal; }
code, .mono { font-family: var(--mono); font-size: .9em; }
.prose code {
  background: var(--surface-3); padding: 2px 7px; border-radius: 6px;
  font-size: .86em; color: var(--danger-strong); word-break: break-all;
}

/* ----- 11. 进场动画 ----- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

/* ----- 12. 响应式 ----- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .riskcard { max-width: 460px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px; box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; border-radius: 8px; }
  .nav-links li { width: 100%; }
  .nav-cta { justify-content: center; margin-top: 4px; margin-left: 0; }
  .nav-toggle { display: inline-flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr; }
  .chain { grid-template-columns: 1fr; }
  .chain-step { border-right: 1px solid var(--line) !important; border-bottom: 0; border-radius: 0 !important; }
  .chain-step:first-child { border-radius: var(--radius) var(--radius) 0 0 !important; }
  .chain-step:last-child { border-radius: 0 0 var(--radius) var(--radius) !important; border-bottom: 1px solid var(--line); }
  .chain-step::after {
    right: 50% !important; top: auto; bottom: -11px;
    transform: translateX(50%) rotate(135deg);
    border-color: var(--line);
  }
  .pagenav { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

/* ----- 13. 偏好 ----- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .scroll-progress, .hero-actions, .cta-band, .nav-toggle { display: none; }
  body { background: #fff; }
  .hero, .site-footer { background: #fff; color: #000; }
}
