/* Safety.ad — 站点样式。只用系统字体和内联 SVG，不依赖任何境外 CDN，国内打开也快。 */

:root {
  --ink: #0b1a16;
  --ink-2: #12251f;
  --paper: #f5f4ef;
  --paper-2: #ecebe4;
  --surface: #ffffff;
  --line: #e2e0d8;
  --line-strong: #cbc8bd;
  --text: #13201c;
  --text-2: #3b4844;
  --muted: #5e6965;

  --safe: #0b7a57;
  --safe-ink: #075c41;
  --safe-soft: #e2f1ea;
  --safe-bright: #5ee0a8;
  --risk: #c23a12;
  --risk-ink: #9a2c0b;
  --risk-soft: #fbe9e2;
  --risk-line: #eab5a2;
  --risk-bright: #ff9b7d;
  --warn: #a15c07;
  --warn-ink: #7a4506;
  --warn-soft: #faf0dc;
  --ai: #3f3fc0;
  --ai-soft: #ececfd;
  --focus: #2f7cf6;

  --on-dark: rgba(255, 255, 255, 0.92);
  --on-dark-2: rgba(255, 255, 255, 0.72);
  --on-dark-3: rgba(255, 255, 255, 0.52);
  --line-dark: rgba(255, 255, 255, 0.11);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 20, 0.04), 0 10px 30px -12px rgba(16, 24, 20, 0.12);

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-break: strict;
  overflow-wrap: break-word;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
strong, b { font-weight: 700; }
p, li, dd { text-wrap: pretty; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.i {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- 按钮与标签 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn .i { width: 18px; height: 18px; stroke-width: 2; transition: transform 0.2s; }
.btn:hover .i { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--safe); color: #fff; }
.btn-primary:hover { background: var(--safe-ink); }
.btn-bright { background: var(--safe-bright); color: var(--ink); }
.btn-bright:hover { background: #82ebbf; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.24); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.36); }
.btn-outline { border-color: var(--line-strong); background: var(--surface); color: var(--text); }
.btn-outline:hover { border-color: var(--text-2); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.tag-risk { color: var(--risk); background: var(--risk-soft); }
.tag-warn { color: var(--warn); background: var(--warn-soft); }
.tag-safe { color: var(--safe); background: var(--safe-soft); }

/* ---------- 顶栏 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 26, 22, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  flex: none;
}
.brand-mark { width: 30px; height: 30px; flex: none; }
.bm-shield { fill: rgba(94, 224, 168, 0.12); stroke: var(--safe-bright); stroke-width: 1.8; stroke-linejoin: round; }
.bm-check { fill: none; stroke: var(--safe-bright); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: 0.01em; }
.brand-name span { color: var(--safe-bright); }
.brand-tag {
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12.5px;
  color: var(--on-dark-3);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--on-dark-2);
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background-color 0.2s;
}
.nav a:hover, .nav a.is-active { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav .nav-cta {
  margin-left: 10px;
  padding: 8px 16px;
  background: var(--safe-bright);
  color: var(--ink);
  font-weight: 600;
}
.nav .nav-cta:hover, .nav .nav-cta.is-active { background: #82ebbf; color: var(--ink); }

.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-size: 14.5px;
  cursor: pointer;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block;
  width: 16px;
  height: 1.6px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s, background-color 0.2s;
}
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -5px; }
.menu-icon::after { top: 5px; }
.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1040px) {
  .brand-tag { display: none; }
}

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 16px 18px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 12px; font-size: 16px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 72% 32%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 72% 32%, #000 25%, transparent 78%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 820px;
  height: 820px;
  right: -260px;
  top: -320px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.2), transparent 62%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
  padding-block: 76px 60px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-dark-2);
  font-size: 13px;
  line-height: 1.5;
}
.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--safe-bright);
  box-shadow: 0 0 0 4px rgba(94, 224, 168, 0.16);
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(36px, 5.4vw, 62px);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -0.01em;
}
.hero h1 .l2 { display: block; color: var(--safe-bright); }

.hero-lead {
  margin-top: 24px;
  max-width: 35em;
  color: var(--on-dark-2);
  font-size: clamp(16px, 1.55vw, 18px);
  line-height: 1.9;
}
.hero-lead strong { color: #fff; font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* 体检单 */
.audit {
  background: var(--surface);
  color: var(--text);
  border-radius: 18px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.audit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.audit-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.audit-sample {
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: var(--paper-2);
}
.seg button {
  padding: 6px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }

.audit-rows { padding: 4px 20px; }
.audit-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.audit-row:last-child { border-bottom: 0; }
.audit-row dt { color: var(--muted); font-size: 13px; }
.audit-val { font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.audit-verdict { padding: 14px 20px; font-size: 14px; font-weight: 600; line-height: 1.6; transition: background-color 0.3s, color 0.3s; }
.audit[data-mode="risk"] .audit-verdict { background: var(--risk-soft); color: var(--risk-ink); }
.audit[data-mode="safe"] .audit-verdict { background: var(--safe-soft); color: var(--safe-ink); }
.audit[data-mode="risk"] .v-safe,
.audit[data-mode="safe"] .v-risk { display: none !important; }
.audit.is-swapping .v { animation: swap-in 0.42s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.audit.is-swapping .audit-row:nth-child(2) .v { animation-delay: 0.04s; }
.audit.is-swapping .audit-row:nth-child(3) .v { animation-delay: 0.08s; }
.audit.is-swapping .audit-row:nth-child(4) .v { animation-delay: 0.12s; }
.audit.is-swapping .audit-row:nth-child(5) .v { animation-delay: 0.16s; }
.audit.is-swapping .audit-verdict .v { animation-delay: 0.2s; }

@keyframes swap-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* 三不三要 */
.pledge {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-dark);
}
.pledge-col { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 22px 0 26px; }
.pledge-col + .pledge-col { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.pledge-label { width: 100%; color: var(--on-dark-3); font-size: 12.5px; letter-spacing: 0.08em; }
.pledge-item { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--on-dark); }
.pledge-item .i { width: 16px; height: 16px; stroke-width: 2.4; }
.pledge-no .i { color: var(--risk-bright); }
.pledge-yes .i { color: var(--safe-bright); }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding-block: 52px 44px; }
}
@media (max-width: 720px) {
  .pledge { grid-template-columns: 1fr; }
  .pledge-col + .pledge-col { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
}
@media (max-width: 480px) {
  .audit-head { flex-direction: column; align-items: flex-start; }
  .audit-rows { padding-inline: 16px; }
  .audit-row { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; }
  .audit-val { font-size: 14px; }
  .audit-verdict { padding-inline: 16px; }
}

/* ---------- 通用区块 ---------- */

.section { padding-block: clamp(68px, 9vw, 116px); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }

.section-head { max-width: 780px; margin-bottom: clamp(32px, 4.5vw, 52px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--safe); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }
.eyebrow .num {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--safe-soft);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0;
}
.section h2 {
  margin-top: 14px;
  font-size: clamp(27px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.lead { margin-top: 16px; color: var(--text-2); font-size: clamp(16px, 1.5vw, 17.5px); line-height: 1.9; }
.fineprint { margin-top: 20px; color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.nw { white-space: nowrap; }

/* ---------- 01 风险自查 ---------- */

.check-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.check-list { list-style: none; display: grid; gap: 10px; }
.check-item {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.check-item:hover { border-color: var(--line-strong); }
.check-item.is-checked { border-color: var(--risk-line); box-shadow: 0 0 0 3px var(--risk-soft); }
.check-item:has(input:checked) { border-color: var(--risk-line); box-shadow: 0 0 0 3px var(--risk-soft); }
.check-item label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
}
.check-item input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1.6px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  transition: background-color 0.15s, border-color 0.15s;
}
.box .i { width: 14px; height: 14px; color: #fff; stroke-width: 3; opacity: 0; transition: opacity 0.15s; }
.check-item input:checked + .box { background: var(--risk); border-color: var(--risk); }
.check-item input:checked + .box .i { opacity: 1; }
.check-item input:focus-visible + .box { outline: 2px solid var(--focus); outline-offset: 2px; }
.ci-title { font-size: 16px; font-weight: 600; line-height: 1.55; }

/* 勾选后展开说明：支持 :has() 的浏览器不依赖脚本；脚本加的 .is-checked 兜底旧内核。两条规则分开写，免得不认 :has() 时整条失效。 */
.ci-detail { display: none; gap: 10px; padding: 0 18px 18px 56px; animation: swap-in 0.3s ease both; }
.check-item.is-checked .ci-detail { display: grid; }
.check-item:has(input:checked) .ci-detail { display: grid; }
.ci-detail p { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; color: var(--text-2); font-size: 14.5px; line-height: 1.75; }
.k {
  height: fit-content;
  margin-top: 2px;
  padding: 1px 8px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}
.k-risk { color: var(--risk); background: var(--risk-soft); }
.k-safe { color: var(--safe); background: var(--safe-soft); }

.check-result {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 26px 24px 24px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
}
.cr-kicker { color: var(--on-dark-3); font-size: 13px; letter-spacing: 0.06em; }
.cr-count { margin-top: 6px; color: var(--on-dark-2); font-size: 14px; }
.cr-count b {
  margin-right: 6px;
  color: #fff;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cr-high { margin-left: 8px; color: var(--risk-bright); }

.cr-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 18px; }
.cr-meter span { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); transition: background-color 0.3s; }
.cr-scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 6px; color: var(--on-dark-3); font-size: 12px; }
.check-result[data-level="0"] .cr-meter span:nth-child(1) { background: var(--safe-bright); }
.check-result[data-level="1"] .cr-meter span:nth-child(-n+2) { background: #f2b347; }
.check-result[data-level="2"] .cr-meter span:nth-child(-n+3) { background: var(--risk-bright); }
.check-result[data-level="3"] .cr-meter span { background: var(--risk-bright); }

.cr-title { margin-top: 18px; font-size: 19px; font-weight: 700; line-height: 1.45; }
.check-result[data-level="1"] .cr-title { color: #f6c46d; }
.check-result[data-level="2"] .cr-title,
.check-result[data-level="3"] .cr-title { color: var(--risk-bright); }
.cr-desc { margin-top: 8px; color: var(--on-dark-2); font-size: 14.5px; line-height: 1.8; }

.cr-areas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.cr-areas-label { margin-right: 2px; color: var(--on-dark-3); font-size: 13px; }
.cr-area {
  padding: 2px 9px;
  border: 1px solid rgba(255, 155, 125, 0.35);
  border-radius: 999px;
  color: var(--risk-bright);
  font-size: 12.5px;
}
.check-result .btn { margin-top: 22px; }

@media (max-width: 960px) {
  .check-grid { grid-template-columns: 1fr; }
  .check-result { position: static; }
}
@media (max-width: 600px) {
  .check-item label { grid-template-columns: 22px minmax(0, 1fr); gap: 6px 12px; padding: 14px 16px; }
  .check-item label .tag { grid-column: 2; justify-self: start; }
  .ci-detail { padding: 0 16px 16px 50px; }
  .ci-detail p { grid-template-columns: 1fr; gap: 4px; }
  .k { justify-self: start; }
}

/* ---------- 02 封号机制 ---------- */

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.graph {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}
.graph-stage { flex: 1; display: grid; place-items: center; padding: 18px 18px 6px; min-height: 280px; }
.graph-stage svg { width: 100%; height: auto; font-family: var(--font); }
.graph-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.graph-caption { font-size: 15px; font-weight: 600; line-height: 1.6; }
.graph-fallback { max-width: 30em; color: var(--text-2); font-size: 15px; text-align: center; }
.graph[data-done] .graph-caption { color: var(--risk); }

.g-edge { fill: none; stroke: var(--line-strong); stroke-width: 1.4; transition: stroke 0.45s, stroke-width 0.45s; }
.g-edge.is-hit { stroke: var(--risk); stroke-width: 2.2; }
.g-body { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.3; transition: fill 0.45s, stroke 0.45s; }
.g-label { fill: var(--text); font-size: 13px; font-weight: 600; transition: fill 0.45s; }
.g-acc .g-avatar { fill: var(--paper-2); transition: fill 0.45s; }
.g-acc.is-hit .g-body { fill: var(--risk-soft); stroke: var(--risk); }
.g-acc.is-hit .g-label { fill: var(--risk-ink); }
.g-acc.is-hit .g-avatar { fill: var(--risk-line); }
.g-sig rect { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 3 3; transition: fill 0.45s, stroke 0.45s; }
.g-sig text { fill: var(--muted); font-size: 12.5px; transition: fill 0.45s; }
.g-sig.is-hit rect { fill: var(--risk-soft); stroke: var(--risk); stroke-dasharray: none; }
.g-sig.is-hit text { fill: var(--risk-ink); font-weight: 600; }
.g-badge { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.4); transition: opacity 0.3s, transform 0.3s; }
.g-badge circle { fill: var(--risk); }
.g-badge path { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.is-hit .g-badge { opacity: 1; transform: none; }
.g-flag { opacity: 0; transition: opacity 0.3s; }
.g-flag rect { fill: var(--risk); stroke: none; }
.g-flag text { fill: #fff; font-size: 11.5px; font-weight: 700; }
.g-acc.is-origin .g-flag { opacity: 1; }

.loss {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.loss h3 { font-size: 18px; line-height: 1.5; }
.loss-list { list-style: none; margin-top: 12px; }
.loss-list li {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
  line-height: 1.6;
}
.loss-list li:last-child { border-bottom: 0; }
.loss-list b { font-weight: 600; }
.loss-list span { color: var(--text-2); }
.insight {
  margin-top: auto;
  padding: 16px 18px;
  border-left: 3px solid var(--safe);
  border-radius: 0 10px 10px 0;
  background: var(--safe-soft);
  color: var(--safe-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.75;
}
.loss-list + .insight { margin-top: 18px; }

@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .graph-stage { padding: 12px 8px 2px; min-height: 0; }
  .graph-foot { flex-direction: column; align-items: flex-start; }
  .loss { padding: 22px 18px 20px; }
  .loss-list li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- 03 规则依据 ---------- */

.rules-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rule-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.rc-code {
  align-self: flex-start;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}
.rule-card h3 { margin-top: 14px; font-size: 19px; line-height: 1.4; }
.rc-sub { margin-top: 2px; color: var(--muted); font-size: 13.5px; }
.rule-card ul { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.rule-card li {
  position: relative;
  padding-left: 15px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.75;
}
.rule-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--safe);
}
.rule-card li b { color: var(--text); font-weight: 600; }
.rc-foot {
  margin-top: auto;
  padding-top: 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}
.rule-card ul + .rc-foot { margin-top: 16px; border-top: 1px dashed var(--line); }

@media (max-width: 1000px) {
  .rules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .rules-grid { grid-template-columns: 1fr; }
  .rule-card { padding: 20px 18px; }
}

/* ---------- 04 合规标准 ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}
.pillar { padding: 28px 28px 30px; background: var(--surface); }
.pillar-top { display: flex; align-items: flex-start; justify-content: space-between; }
.ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--safe-soft);
  color: var(--safe);
}
.ico .i { width: 24px; height: 24px; }
.pn { color: var(--line-strong); font-family: var(--mono); font-size: 13px; }
.pillar h3 { margin-top: 18px; font-size: 20px; line-height: 1.4; }
.pillar p { margin-top: 8px; color: var(--text-2); font-size: 15px; line-height: 1.85; }

.quote {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 28px;
  padding: 30px 36px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}
.quote-mark { width: 44px; height: 44px; fill: var(--safe-bright); opacity: 0.9; }
.quote p { font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; line-height: 1.5; }
.quote .em { color: var(--safe-bright); }

@media (max-width: 1000px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 24px 20px; }
  .quote { grid-template-columns: 1fr; gap: 12px; padding: 24px 22px; }
  .quote-mark { width: 32px; height: 32px; }
}

/* ---------- 05 对比 ---------- */

.compare-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.compare { width: 100%; border-spacing: 0; border-collapse: separate; }
.compare th, .compare td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.7;
}
.compare thead th { background: var(--paper-2); font-size: 14px; font-weight: 700; }
.compare thead th.c-risk { color: var(--risk); }
.compare thead th.c-safe { color: var(--safe); }
.compare tbody th { width: 15%; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.compare td { width: 42.5%; }
.compare td.c-risk { color: var(--text-2); }
.compare td.c-safe { background: #f6fbf8; color: var(--text); font-weight: 500; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.cell { display: flex; gap: 10px; }
.cell .i { width: 17px; height: 17px; flex: none; margin-top: 5px; stroke-width: 2.4; }
.c-risk .cell .i { color: var(--risk); }
.c-safe .cell .i { color: var(--safe); }

@media (max-width: 720px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare tbody th { padding: 0 0 6px; border: 0; color: var(--text); font-size: 15.5px; }
  .compare td { padding: 6px 0 0; border: 0; }
  .compare td.c-safe { background: transparent; }
  .compare td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 1px;
    font-size: 12.5px;
    font-weight: 700;
  }
  .compare td.c-risk::before { color: var(--risk); }
  .compare td.c-safe::before { color: var(--safe); }
}

/* ---------- 06 运营流程 ---------- */

.flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.flow li {
  position: relative;
  padding: 20px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  right: -12px;
  width: 8px;
  height: 8px;
  border-top: 1.6px solid var(--line-strong);
  border-right: 1.6px solid var(--line-strong);
  transform: rotate(45deg);
}
.flow-top { display: flex; align-items: center; justify-content: space-between; }
.sn { color: var(--muted); font-family: var(--mono); font-size: 12.5px; }
.role { padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; line-height: 1.7; }
.role-ai { color: var(--ai); background: var(--ai-soft); }
.role-human { color: var(--safe); background: var(--safe-soft); }
.flow h3 { margin-top: 14px; font-size: 17px; line-height: 1.45; }
.flow p { margin-top: 8px; color: var(--text-2); font-size: 14.5px; line-height: 1.8; }
.flow li.gate { border-color: var(--safe); background: var(--surface); box-shadow: 0 0 0 3px var(--safe-soft); }
.flow .gate-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--safe);
  color: var(--safe);
  font-size: 13px;
  font-weight: 700;
}

.duty { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.duty-card { padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.duty-card h3 { font-size: 16px; }
.duty-card ul { list-style: none; display: grid; gap: 8px; margin-top: 12px; }
.duty-card li { display: flex; gap: 10px; color: var(--text-2); font-size: 15px; line-height: 1.65; }
.duty-card li .i { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--safe); stroke-width: 2.4; }

@media (max-width: 1080px) {
  .flow { grid-template-columns: 1fr; gap: 14px; }
  .flow li:not(:last-child)::after { top: auto; right: auto; left: 28px; bottom: -11px; transform: rotate(135deg); }
}
@media (max-width: 640px) {
  .duty { grid-template-columns: 1fr; }
}

/* ---------- 07 费用结构 ---------- */

.price-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.price-card {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.pc-n { color: var(--safe); font-size: 13.5px; font-weight: 700; }
.price-card h3 { margin-top: 6px; font-size: 18px; line-height: 1.45; }
.price-big {
  margin-top: 16px;
  font-size: clamp(30px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-cny { margin-top: 6px; color: var(--muted); font-size: 14px; }
.pc-desc { margin-top: 16px; color: var(--text-2); font-size: 14.5px; line-height: 1.75; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 13px;
  white-space: nowrap;
}
.note {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--warn-soft);
  color: var(--warn-ink);
  font-size: 13.5px;
  line-height: 1.7;
}

.price-lines { margin-top: 10px; }
.price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.pl-k { color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.pl-k small { display: block; color: var(--muted); font-size: 12.5px; }
.pl-v { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-v small { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.pc-example { margin-top: 16px; color: var(--text-2); font-size: 14.5px; line-height: 1.8; }
.pc-example b { color: var(--text); font-variant-numeric: tabular-nums; }
.pc-small { margin-top: auto; padding-top: 14px; color: var(--muted); font-size: 13px; }

.addons { list-style: none; display: grid; gap: 0; margin-top: 10px; }
.addons li {
  position: relative;
  padding: 11px 0 11px 18px;
  border-bottom: 1px dashed var(--line);
  color: var(--text-2);
  font-size: 15px;
}
.addons li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--safe);
  font-weight: 700;
}

/* 估算器 */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 20px 40px;
  margin-top: 20px;
  padding: clamp(24px, 3.2vw, 38px);
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
}
.calc h3 { font-size: 21px; }
.calc-sub { margin-top: 4px; color: var(--on-dark-2); font-size: 14.5px; }
.field { margin-top: 24px; }
.field-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--on-dark-2);
  font-size: 14px;
}
.field-hint { color: var(--on-dark-3); font-size: 12.5px; }
.acc-row { display: flex; align-items: center; gap: 18px; }

.stepper {
  display: inline-flex;
  flex: none;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
}
.stepper button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s;
}
.stepper button:hover:not(:disabled) { background: rgba(255, 255, 255, 0.08); }
.stepper button:disabled { opacity: 0.35; cursor: default; }
.stepper output { min-width: 56px; font-size: 19px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.stepper-light { border-color: var(--line-strong); background: var(--surface); }
.stepper-light button:hover:not(:disabled) { background: var(--paper); }

.range {
  --fill: 14%;
  flex: 1;
  min-width: 0;
  height: 28px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.range:focus-visible { outline: none; }
.range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--safe-bright) var(--fill), rgba(255, 255, 255, 0.16) var(--fill));
}
.range::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  -webkit-appearance: none;
  appearance: none;
}
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(94, 224, 168, 0.45); }
.range::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.16); }
.range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--safe-bright); }
.range::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; }

.seg-dark { background: rgba(255, 255, 255, 0.07); }
.seg-dark button { padding: 8px 16px; color: var(--on-dark-2); font-size: 14px; }
.seg-dark button[aria-pressed="true"] { background: var(--safe-bright); color: var(--ink); box-shadow: none; }

.fx-row { display: flex; align-items: center; gap: 10px; color: var(--on-dark-2); font-size: 14.5px; }
.fx-input {
  width: 96px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.calc-out {
  align-self: start;
  padding: 6px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}
.co-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.co-row:last-child { border-bottom: 0; }
.co-k { color: var(--on-dark-2); font-size: 14.5px; line-height: 1.5; }
.co-v { margin-left: auto; text-align: right; }
.co-v b { display: block; font-size: 21px; font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-v small { color: var(--on-dark-3); font-size: 13px; white-space: nowrap; }
.co-total .co-k { color: #fff; font-weight: 600; }
.co-total .co-v b { color: var(--safe-bright); font-size: 30px; }
.calc-note { grid-column: 1 / -1; color: var(--on-dark-3); font-size: 13px; line-height: 1.75; }

.value {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  gap: 28px;
  align-items: center;
  margin-top: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.value h3 { font-size: 19px; }
.value-head p { margin-top: 8px; color: var(--text-2); font-size: 14.5px; line-height: 1.8; }
.value-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.value-list li {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 12px;
  background: var(--paper);
}
.value-list b { font-size: 15px; line-height: 1.5; }
.value-list span { color: var(--muted); font-size: 13.5px; line-height: 1.6; }

@media (max-width: 1020px) {
  .price-grid { grid-template-columns: 1fr; }
  .value { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .price-card { padding: 22px 20px; }
  .value { padding: 22px 20px; }
  .value-list { grid-template-columns: 1fr 1fr; }
  .calc-out { padding: 4px 16px; }
  .co-total .co-v b { font-size: 25px; }
  .acc-row { flex-wrap: wrap; gap: 12px; }
  .range { flex-basis: 100%; }
}
@media (max-width: 400px) {
  .value-list { grid-template-columns: 1fr; }
  .seg-dark button { padding: 8px 12px; }
}

/* ---------- 08 开始合作 ---------- */

.start-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
}

.timeline { list-style: none; counter-reset: step; padding-top: 4px; }
.timeline li { position: relative; padding: 0 0 28px 54px; counter-increment: step; }
.timeline li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1.6px solid var(--safe);
  border-radius: 50%;
  background: var(--surface);
  color: var(--safe);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
}
.timeline li::after {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 4px;
  left: 17.2px;
  width: 1.6px;
  background: var(--line);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline h3 { font-size: 17px; line-height: 36px; }
.timeline p { color: var(--text-2); font-size: 15px; line-height: 1.8; }

.builder {
  padding: clamp(22px, 2.8vw, 32px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}
.builder h3 { font-size: 21px; }
.builder-sub { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.75; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; margin-top: 22px; }
.f { display: grid; align-content: start; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.f.full { grid-column: 1 / -1; }
.lbl { display: block; padding: 0; color: var(--text-2); font-size: 14px; font-weight: 600; }
.lbl small { margin-left: 8px; color: var(--muted); font-size: 12.5px; font-weight: 400; }
.f input[type="text"], .f textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  font-size: 15px;
  line-height: 1.6;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.f input[type="text"]:focus, .f textarea:focus { outline: none; border-color: var(--safe); box-shadow: 0 0 0 3px var(--safe-soft); }
.f textarea { min-height: 84px; resize: vertical; }
.f input::placeholder, .f textarea::placeholder { color: #9aa29f; }
.f .stepper { justify-self: start; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
  user-select: none;
}
.pill span:hover { border-color: var(--text-2); }
.pill input:checked + span { border-color: var(--safe); background: var(--safe); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

.out { margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line-strong); }
.out .lbl { margin-bottom: 8px; }
.out textarea {
  display: block;
  width: 100%;
  min-height: 300px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.75;
  resize: vertical;
}
.out-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.copy-status { color: var(--safe); font-size: 14px; font-weight: 600; }
.copy-status.is-error { color: var(--risk); }

.contact {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--safe-soft);
  color: var(--safe-ink);
  font-size: 14.5px;
  line-height: 1.75;
}
.contact-ways { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 6px; font-weight: 600; }
.contact-ways b { margin-right: 6px; font-weight: 400; color: var(--safe); }
.contact-ways a { color: inherit; }

@media (max-width: 960px) {
  .start-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .builder { padding: 20px 16px; border-radius: 16px; }
}

/* ---------- 09 常见问题 ---------- */

.faq { max-width: 880px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { min-width: 0; }
.faq summary:hover { color: var(--safe-ink); }
.pm {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.pm::before, .pm::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.6px;
  border-radius: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.2s; }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.ans { max-width: 48em; padding: 0 46px 22px 0; color: var(--text-2); font-size: 15.5px; line-height: 1.9; }

@media (max-width: 560px) {
  .faq summary { font-size: 16px; }
  .ans { padding-right: 0; }
}

/* ---------- 页脚 ---------- */

.site-footer { padding: 52px 0 36px; background: var(--ink); color: var(--on-dark-2); font-size: 14px; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand { max-width: 420px; }
.footer-brand p { margin-top: 12px; line-height: 1.8; }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px 22px; }
.footer-links a { color: var(--on-dark-2); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.disclaimer { max-width: 62em; margin-top: 24px; color: var(--on-dark-3); font-size: 13px; line-height: 1.85; }
.copyright { margin-top: 12px; color: var(--on-dark-3); font-size: 13px; }

/* ---------- 404 ---------- */

.page-404 { display: grid; min-height: 100vh; place-items: center; padding: 24px 16px; background: var(--ink); color: #fff; }
.nf { max-width: 460px; text-align: center; }
.nf .brand-mark { width: 52px; height: 52px; margin: 0 auto; }
.nf-code { margin-top: 18px; color: var(--safe-bright); font-family: var(--mono); font-size: 14px; letter-spacing: 0.2em; }
.nf h1 { margin-top: 6px; font-size: 30px; line-height: 1.35; }
.nf p.nf-text { margin-top: 12px; color: var(--on-dark-2); }
.nf .btn { margin-top: 28px; }

/* ---------- 动效偏好 ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
