:root {
  --primary: #1a5cc8;
  --primary-dark: #12439a;
  --cta: #0ca678;
  --cta-dark: #099268;
  --bg: #f5f8fc;
  --card: #ffffff;
  --text: #2b2f36;
  --muted: #6b7280;
  --line: #e5eaf2;
  --warn-bg: #fff7e8;
  --warn: #b45309;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* 顶部导航 */
.site-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 10px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(18, 67, 154, .25);
}
.site-header .inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.logo {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-right: auto;
}
.logo small { display: block; font-size: 11px; font-weight: 400; opacity: .85; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.site-header nav a {
  color: #fff;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 6px;
  opacity: .92;
}
.site-header nav a:hover, .site-header nav a.on { background: rgba(255, 255, 255, .18); opacity: 1; text-decoration: none; }

/* 主体 */
main { max-width: 1080px; margin: 0 auto; padding: 18px 16px 40px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }

.hero {
  background: linear-gradient(160deg, #e8f1ff 0%, #f2fbf7 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 22px;
  margin-bottom: 22px;
}
.hero h1 { font-size: 24px; line-height: 1.4; color: var(--primary-dark); margin-bottom: 10px; }
.hero p.lead { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.hero .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.hero .tags span {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary);
  font-size: 13px;
  padding: 3px 10px;
  border-radius: 999px;
}

/* CTA 按钮 */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-block;
  background: var(--cta);
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(12, 166, 120, .35);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--cta-dark); text-decoration: none; transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--primary) !important; border: 1px solid var(--primary); box-shadow: none; }
.cta-tip { font-size: 12px; color: var(--muted); }

/* 区块 */
section.block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 20px;
}
section.block > h2 {
  font-size: 19px;
  color: var(--primary-dark);
  margin-bottom: 14px;
  padding-left: 10px;
  border-left: 4px solid var(--cta);
  line-height: 1.4;
}
section.block h3 { font-size: 16px; margin: 16px 0 8px; color: var(--text); }
section.block p { margin-bottom: 10px; }
section.block ul, section.block ol { padding-left: 22px; margin-bottom: 10px; }
section.block li { margin-bottom: 6px; }
section.block li::marker { color: var(--cta); }

/* 表格 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; background: #fff; min-width: 560px; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
thead th { background: #eef4fd; color: var(--primary-dark); font-weight: 600; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: #fafcff; }
td .mini-cta { color: var(--cta); font-weight: 600; }

/* 卡片网格 */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.grid a.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: block;
  transition: box-shadow .15s ease, transform .15s ease;
}
.grid a.card:hover { box-shadow: 0 6px 18px rgba(26, 92, 200, .12); transform: translateY(-2px); text-decoration: none; }
.grid a.card b { display: block; color: var(--primary-dark); margin-bottom: 4px; font-size: 15px; }
.grid a.card span { font-size: 13px; color: var(--muted); }

/* 步骤 */
.steps { counter-reset: step; list-style: none; padding-left: 0 !important; }
.steps li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 12px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 提示框 */
.note {
  background: var(--warn-bg);
  border: 1px solid #f3e3c3;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--warn);
  margin: 12px 0;
}
.note b { color: var(--warn); }

/* FAQ */
details.faq {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
}
details.faq summary {
  cursor: pointer;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--primary-dark);
  list-style: none;
  position: relative;
  padding-right: 36px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cta);
  font-size: 20px;
}
details.faq[open] summary::after { content: "−"; }
details.faq .faq-a { padding: 0 16px 14px; color: var(--text); font-size: 15px; }

/* 面包屑下的页头 */
.page-head { margin-bottom: 16px; }
.page-head h1 { font-size: 22px; color: var(--primary-dark); line-height: 1.4; margin-bottom: 6px; }
.page-head .sub { color: var(--muted); font-size: 14px; }

/* 底部 */
.site-footer {
  background: #1f2937;
  color: #9ca3af;
  padding: 26px 16px 34px;
  font-size: 13px;
  line-height: 1.9;
}
.site-footer .inner { max-width: 1080px; margin: 0 auto; }
.site-footer a { color: #c3d4f5; margin-right: 12px; }
.site-footer .disc { margin-top: 10px; color: #79828f; }

@media (max-width: 640px) {
  .hero h1 { font-size: 20px; }
  .hero { padding: 20px 16px; }
  section.block { padding: 16px; }
  .btn { width: 100%; text-align: center; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-tip { text-align: center; }
}
