/* 第4套：石板+琥珀顶栏 + 短 Hero + 三列表格主角 + 横滑卡 + 编号条 + 双栏 */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: "Palatino Linotype", "STSong", "SimSun", "Microsoft YaHei", serif;
  background: #FAFAF8;
  color: #263238;
  line-height: 1.75;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
.bar-slate a:hover,
.nav-amber a:hover,
.end-note a:hover {
  color: #FFB347;
}

.bar-slate {
  background: #37474F;
  color: #FAFAF8;
  padding: 0;
}
.bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 28px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  padding: 16px 0;
}
.wordmark em {
  width: 8px;
  height: 28px;
  background: #FFB347;
  display: inline-block;
}
.nav-amber {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 0;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 13px;
}
.nav-amber a {
  display: block;
  padding: 20px 12px;
  border-bottom: 3px solid transparent;
}
.nav-amber a:hover { border-bottom-color: #FFB347; color: #FFB347; }

.lead-short {
  padding: 28px 28px 8px;
  max-width: 880px;
}
.lead-short h1 {
  font-size: 28px;
  line-height: 1.35;
  margin-bottom: 12px;
  color: #263238;
}
.lead-short p { margin-bottom: 10px; }

.sheet-wrap { padding: 8px 28px 36px; }
.sheet-wrap h2 {
  font-size: 22px;
  margin: 18px 0 10px;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #37474F;
}
.mega-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-top: 14px;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 14.5px;
}
.mega-table th, .mega-table td {
  border: 1px solid #cfd8dc;
  padding: 12px 13px;
  text-align: left;
  vertical-align: top;
}
.mega-table thead th {
  background: #37474F;
  color: #FAFAF8;
  font-weight: 650;
}
.mega-table thead th:nth-child(3) { background: #263238; }
.mega-table thead th:nth-child(3)::after {
  content: "";
}
.mega-table tbody th {
  background: #eceff1;
  width: 18%;
  color: #263238;
}
.mega-table td:nth-child(3) { background: #fff8ec; }

.slide-ends {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 2px 12px;
  margin-top: 12px;
}
.end-card {
  min-width: 280px;
  flex: 1;
  background: #fff;
  border: 1px solid #d7d2c8;
  padding: 18px 16px;
}
.end-card svg { display: block; margin-bottom: 10px; }
.end-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #37474F;
}

.file-block { padding: 8px 28px 32px; }
.file-block h2,
.stair-head,
.avoid-head {
  font-size: 22px;
  margin-bottom: 10px;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}
.stair-head, .avoid-head { margin: 8px 28px 0; }
.file-block > p { max-width: 880px; margin-bottom: 10px; }

.stair-nums {
  margin: 16px 28px 32px;
  border: 1px solid #cfd8dc;
  background: #fff;
  counter-reset: stair;
}
.stair-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #eceff1;
}
.stair-item:last-child { border-bottom: 0; }
.stair-item::before {
  counter-increment: stair;
  content: counter(stair);
  width: 36px;
  height: 36px;
  background: #FFB347;
  color: #263238;
  font-weight: 700;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stair-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}

.roam { padding: 8px 28px 20px; }
.roam h2 {
  font-size: 22px;
  margin-bottom: 10px;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}
.roam p { max-width: 880px; margin-bottom: 10px; }

.fork-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 12px 28px 36px;
  border: 1px solid #37474F;
}
.fork-yes, .fork-no { padding: 22px 20px; }
.fork-yes { background: #fff; }
.fork-no { background: #37474F; color: #FAFAF8; }
.fork-yes h3 { color: #37474F; margin-bottom: 8px; }
.fork-no h3 { color: #FFB347; margin-bottom: 8px; }
.fork-2 ul { padding-left: 18px; margin-top: 10px; }
.fork-2 li { margin: 7px 0; }

.pick-faq { padding: 8px 28px 36px; }
.pick-faq h2 {
  font-size: 22px;
  margin-bottom: 10px;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}
.qa-item { padding: 14px 0; border-bottom: 1px solid #d7d2c8; }
.qa-item .q {
  font-weight: 700;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  margin-bottom: 8px;
  color: #263238;
}

.end-note {
  background: #263238;
  color: #d7d2c8;
  padding: 32px 28px 22px;
  font-size: 14px;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}
.end-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
}
.end-note h3 { color: #FFB347; margin-bottom: 8px; font-size: 15px; }
.end-legal { margin-top: 18px; padding-top: 14px; border-top: 1px solid #455a64; }

@media (max-width: 800px) {
  .bar-inner { flex-direction: column; align-items: flex-start; }
  .fork-2, .end-cols { grid-template-columns: 1fr; }
  .nav-amber a { padding: 10px 10px; }
}
