/* 第2套：功能驱动 · 左侧导航轨 + 三栏能力卡 · 炭黑琥珀 */
:root {
  --bg: #1c1a17;
  --panel: #27241f;
  --paper: #f7f1e6;
  --ink: #221e18;
  --muted: #6b6256;
  --amber: #e09a2b;
  --amber-d: #b87512;
  --line: #e4d8c4;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.7 "Georgia", "Source Han Serif SC", "Songti SC", "SimSun", serif;
}
.topbar {
  background: var(--bg);
  color: #f3ead8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar .brand {
  color: #fff;
  text-decoration: none;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-cta {
  background: var(--amber);
  color: #1c1a17;
  text-decoration: none;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
  font-weight: 700;
  padding: 8px 14px;
}
.top-cta:hover { background: #f0b14a; }

.shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 64px);
}
.rail {
  background: #2b261f;
  color: #e8dcc6;
  padding: 28px 18px;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow: auto;
}
.rail p { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #b9a888; margin: 0 0 16px; font-family: "Segoe UI", sans-serif; }
.rail a {
  display: block;
  color: #eadfcb;
  text-decoration: none;
  padding: 10px 12px;
  margin-bottom: 6px;
  border-left: 3px solid transparent;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
}
.rail a.current { background: #3a3329; border-left-color: var(--amber); color: #fff; }
.rail a:hover { background: #352f26; }

.main { padding: 0 0 48px; }
.hero {
  background: #3a2c18;
  color: #f8eeda;
  padding: 42px 40px 36px;
}
.hero h1 { margin: 0 0 14px; font-size: 34px; line-height: 1.3; font-weight: 700; }
.hero .lead { max-width: 46em; }
.actions { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  background: var(--amber);
  color: #1c1408;
  text-decoration: none;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
  font-weight: 800;
  padding: 12px 18px;
}
.btn:hover { background: #f3b24a; }
.btn-line {
  border: 1px solid #e7c888;
  color: #f3ead8;
  text-decoration: none;
  padding: 11px 16px;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
}
.hint { font-size: 13px; color: #d8c7a2; margin-top: 12px; font-family: "Segoe UI", "PingFang SC", sans-serif; }

.pad { padding: 28px 40px 0; }
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 8px 0 24px;
}
.trio article {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px 16px 14px;
}
.trio h2 { margin: 0 0 8px; font-size: 18px; }
.section {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px 24px;
  margin: 0 40px 18px;
}
.section h2 { margin: 0 0 12px; font-size: 22px; }
.kicker {
  font-family: "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--amber-d);
  font-weight: 700;
}
table { width: 100%; border-collapse: collapse; }
th, td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; }
.faq + .faq { border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 12px; }
.faq h3 { margin: 0 0 6px; font-size: 17px; }

.foot {
  background: var(--bg);
  color: #d7cbb4;
  padding: 24px 40px 32px;
  font-size: 13px;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
  line-height: 1.7;
}
.foot a { color: var(--amber); }
.foot .safe { border-left: 3px solid var(--amber); padding-left: 12px; margin-bottom: 12px; }

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .rail { position: relative; top: 0; height: auto; display: flex; gap: 8px; flex-wrap: wrap; }
  .rail a { display: inline-block; }
  .trio { grid-template-columns: 1fr; }
  .hero, .pad, .section, .foot { padding-left: 18px; padding-right: 18px; }
  .section { margin-left: 18px; margin-right: 18px; }
}
