/* 玄枢 · 说明页共享样式
   与主站同一套视觉语言：米色纸感底、宋体、棕金强调。
   独立静态页，不依赖主站 bundle —— 加载快，且对不执行 JS 的爬虫友好。 */

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #faf8f4;
  color: #1f1d1a;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", "Source Han Serif SC", serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 724px;
  margin: 0 auto;
  padding: 28px 22px 56px;
}

/* 顶栏 */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 28px;
  border-bottom: 1px solid #eae5db;
  font-size: 14px;
  color: #6b665e;
}
.topbar a {
  color: #6b665e;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.topbar a:hover { color: #8a5a2b; border-bottom-color: #d9c9b0; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  letter-spacing: .06em;
  color: #1f1d1a;
}
.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #201b14;
  color: #e8dfce;
  font-size: 15px;
  line-height: 1;
}

/* 标题层级 */
h1 {
  font-size: 27px;
  line-height: 1.4;
  margin: 0 0 8px;
  letter-spacing: .01em;
}
.subtitle {
  color: #6b665e;
  font-size: 15px;
  margin: 0 0 6px;
}
h2 {
  font-size: 19px;
  margin: 38px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eae5db;
}
h3 {
  font-size: 16.5px;
  margin: 24px 0 6px;
  color: #8a5a2b;
}
p { margin: 0 0 12px; }
strong { font-weight: 600; }
a { color: #8a5a2b; }

ul, ol { margin: 0 0 12px; padding-left: 22px; }
li { margin-bottom: 7px; }

.lead {
  font-size: 17px;
  color: #3a352d;
  margin-bottom: 18px;
}

/* 要点卡 */
.card {
  background: #fff;
  border: 1px solid #eae5db;
  border-radius: 10px;
  padding: 18px 20px;
  margin: 0 0 18px;
}
.card > :last-child { margin-bottom: 0; }

/* 提示 / 免责 */
.note {
  background: #f3ece1;
  border-left: 3px solid #8a5a2b;
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 22px 0;
  font-size: 14.5px;
  color: #4a4439;
}
.note > :last-child { margin-bottom: 0; }

/* 索引卡片网格 */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}
.grid a.tile {
  display: block;
  background: #fff;
  border: 1px solid #eae5db;
  border-radius: 10px;
  padding: 15px 17px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .15s;
}
.grid a.tile:hover {
  border-color: #c9b295;
  transform: translateY(-1px);
}
.tile-title {
  display: block;
  font-size: 16px;
  color: #1f1d1a;
  margin-bottom: 3px;
}
.tile-desc {
  display: block;
  font-size: 13.5px;
  color: #6b665e;
  line-height: 1.65;
}

/* 表格 */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 18px;
  font-size: 14.5px;
}
th, td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid #eae5db;
  vertical-align: top;
}
th {
  font-weight: 600;
  color: #6b665e;
  font-size: 13px;
  letter-spacing: .04em;
  background: #f7f3ec;
  border-bottom: 1px solid #ded8cc;
}
td.num { font-variant-numeric: tabular-nums; color: #6b665e; }
tr:last-child td { border-bottom: none; }

/* 流程步骤 */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 38px;
  margin-bottom: 16px;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #201b14;
  color: #e8dfce;
  font-size: 13px;
  line-height: 25px;
  text-align: center;
}
.steps > li > strong { display: block; margin-bottom: 2px; }

/* 页脚 */
.footer {
  margin-top: 52px;
  padding-top: 18px;
  border-top: 1px solid #eae5db;
  font-size: 13px;
  color: #a09a90;
  line-height: 2;
}
.footer a { color: #a09a90; text-decoration: none; }
.footer a:hover { color: #8a5a2b; }

@media (max-width: 520px) {
  .page { padding: 20px 16px 44px; }
  h1 { font-size: 23px; }
  h2 { font-size: 18px; }
  .lead { font-size: 16px; }
  table { font-size: 13.5px; }
  th, td { padding: 8px 6px; }
}
