:root {
  --ink: #1f2328;
  --ink-soft: #5b6470;
  --brand: #c8352b;
  --brand-dark: #a52a22;
  --paper: #fdfcfa;
  --warm: #f4f1ec;
  --line: #e2ded6;
  --line-strong: #cfc9bf;
  --radius: 6px;
  --container: 1120px;
  --gap: 28px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--brand-dark);
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 700;
}

p {
  margin: 0 0 12px;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ============ layout: 顶部信息条 ============ */

.top-bar {
  background: var(--ink);
  color: #f2efe9;
}

.top-bar-inner,
.top-bar {
  padding: 0;
}

.top-bar-text,
.top-strip-text {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 24px;
  font-size: 13px;
  line-height: 1.6;
  color: #f2efe9;
}

.top-strip {
  background: var(--ink);
  color: #f2efe9;
}

.top-strip-text {
  margin: 0 auto;
}

/* ============ layout: skip link ============ */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  color: #fff;
}

/* ============ layout: 页头 ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: normal;
  white-space: nowrap;
}

.brand:hover,
.brand:focus {
  color: var(--brand);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  list-style: none;
}

.nav-link {
  display: inline-block;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--ink);
  border-radius: var(--radius);
  line-height: 1.4;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand);
  background: var(--warm);
  text-decoration: none;
}

.nav-link.is-current {
  color: var(--brand);
  font-weight: 700;
  background: var(--warm);
}

/* ============ layout: 主体容器 ============ */

.site-main {
  display: block;
}

.home-main {
  display: block;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 56px;
}

/* ============ layout: 面包屑 ============ */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover,
.breadcrumb a:focus {
  color: var(--brand);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink);
}

/* ============ layout: 页面标题区 ============ */

.page-header {
  padding: 20px 0 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.page-title {
  font-size: 32px;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--ink);
}

.page-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 780px;
  margin: 0 0 20px;
}

/* ============ layout: 通用 section ============ */

.section {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.section:first-of-type {
  border-top: none;
}

.section-title {
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 10px;
}

.section-desc,
.section-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 760px;
  margin: 0 0 24px;
}

.section-head {
  margin-bottom: 24px;
}

.section-head .section-desc {
  margin-bottom: 0;
}

.sub-title {
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 14px;
}

.section-foot {
  margin: 20px 0 0;
  font-size: 14px;
}

.section-next {
  margin: 20px 0 0;
  font-size: 14px;
}

.section-next a {
  margin-right: 16px;
}

/* ============ components: 按钮 ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover,
.btn-ghost:focus {
  color: var(--brand);
  border-color: var(--brand);
  text-decoration: none;
}

/* ============ pages: 首页 hero ============ */

.hero {
  background: var(--warm);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 12px;
}

.hero-title {
  font-size: 32px;
  line-height: 1.3;
  margin: 0 0 16px;
}

.hero-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.hero-slogan {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
  border-left: 3px solid var(--brand);
  padding-left: 12px;
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.media-caption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: #fff;
  border-top: 1px solid var(--line);
}

/* ============ components: 题材方向表 ============ */

.section-genres {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px;
  border-top: none;
}

.genre-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.genre-row {
  display: grid;
  grid-template-columns: 190px 1fr 1fr;
  border-top: 1px solid var(--line);
}

.genre-row:first-child {
  border-top: none;
}

.genre-row-head {
  background: var(--warm);
  font-weight: 700;
  font-size: 14px;
}

.genre-cell {
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.7;
  border-left: 1px solid var(--line);
  min-width: 0;
}

.genre-cell:first-child {
  border-left: none;
}

.genre-cell-name {
  font-weight: 700;
  color: var(--ink);
}

.genre-cell-feature {
  color: var(--ink-soft);
}

.genre-cell-organize {
  color: var(--ink-soft);
}

/* ============ components: 字段与边界摘要 ============ */

.section-fields {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px;
}

.fields-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.fields-col {
  min-width: 0;
}

.field-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.field-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.field-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}

.field-meaning {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.boundary-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.boundary-list {
  margin: 0 0 14px;
}

.boundary-item {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.boundary-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
}

.boundary-link {
  margin: 0;
  font-size: 14px;
}

/* ============ components: 更新线索 ============ */

.section-updates {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px;
}

.update-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.update-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.update-month {
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.update-list {
  margin: 0;
}

.update-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px dashed var(--line);
}

.update-item:first-child {
  border-top: none;
}

.update-date {
  font-size: 13px;
  color: var(--brand);
  font-weight: 700;
  line-height: 1.7;
}

.update-summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ============ components: 步骤条 ============ */

.section-steps {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.step-num,
.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-title {
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 10px;
}

.step-action {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 8px;
}

.step-result {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

/* ============ components: 站内索引 ============ */

.section-index {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.index-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
  transition: border-color 0.18s ease;
}

.index-card:hover {
  border-color: var(--brand);
}

.index-card-title {
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 10px;
}

.index-card-title a {
  color: var(--ink);
}

.index-card-title a:hover,
.index-card-title a:focus {
  color: var(--brand);
}

.index-card-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ============ components: 首页补充说明 ============ */

.section-note {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px;
}

.note-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.note-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.note-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.note-text {
  min-width: 0;
}

.note-list {
  margin: 0 0 14px;
}

.note-item {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.note-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
}

.note-tail {
  margin: 0;
  font-size: 14px;
}

/* ============ pages: 内页通用表格与列表 ============ */

.direction-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.direction-head {
  display: grid;
  grid-template-columns: 190px 1fr 1fr;
  background: var(--warm);
  font-weight: 700;
  font-size: 14px;
}

.direction-row {
  display: grid;
  grid-template-columns: 190px 1fr 1fr;
  border-top: 1px solid var(--line);
}

.direction-cell {
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.7;
  border-left: 1px solid var(--line);
  min-width: 0;
}

.direction-cell:first-child {
  border-left: none;
}

.direction-cell-name {
  font-weight: 700;
  color: var(--ink);
}

.direction-cell-feature,
.direction-cell-organize {
  color: var(--ink-soft);
}

.direction-detail {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.direction-detail:first-of-type {
  border-top: none;
  padding-top: 0;
}

.direction-detail-title {
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 14px;
}

.direction-figure {
  margin: 0 0 14px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.direction-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.direction-detail-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
  max-width: 780px;
}

.advice-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.advice-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.advice-title {
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 10px;
}

.advice-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.next-step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.next-step-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  min-width: 0;
  font-size: 14px;
}

/* ============ pages: 更新记录 ============ */

.records-section {
  padding: 8px 0 40px;
}

.month-group {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.month-group:first-of-type {
  border-top: none;
  padding-top: 0;
}

.month-title {
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--brand);
}

.record-list {
  margin: 0;
}

.record-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px dashed var(--line);
}

.record-item:first-child {
  border-top: none;
}

.record-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.7;
}

.record-summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.records-figure {
  margin: 0 0 40px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.records-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.records-figure-caption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.summary-section {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.summary-card-title {
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 10px;
}

.summary-card-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.field-legend-section {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.legend-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.legend-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.legend-term {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}

.legend-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.next-step-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
}

.next-step-text a {
  margin-right: 16px;
}

/* ============ pages: 字段说明 ============ */

.section-field-list {
  padding: 8px 0 40px;
}

.section-media {
  margin: 0 0 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.section-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.field-table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.field-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.field-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.section-boundary {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.boundary-body {
  max-width: 820px;
}

.section-misconception {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

/* ============ components: FAQ 折叠 ============ */

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  position: relative;
  padding: 16px 40px 16px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  line-height: 1.6;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--brand);
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.faq-answer p {
  margin: 0 0 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ============ pages: 浏览指引 ============ */

.section-faq {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.section-tips {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.tip-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tip-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.tip-title {
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 10px;
}

.tip-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.section-next {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.next-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.next-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  min-width: 0;
  font-size: 14px;
}

.media-figure {
  margin: 24px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.media-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.media-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

/* ============ pages: 404 ============ */

.error-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 24px;
}

.error-panel {
  max-width: 640px;
}

.error-code {
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
  margin: 0 0 16px;
}

.error-title {
  font-size: 32px;
  line-height: 1.3;
  margin: 0 0 14px;
}

.error-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.error-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 16px;
  padding: 10px 22px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
}

.error-home-link:hover,
.error-home-link:focus {
  background: var(--brand-dark);
  color: #fff;
  text-decoration: none;
}

/* ============ layout: 页脚 ============ */

.site-footer {
  background: var(--warm);
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px 24px;
}

.footer-top {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 24px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.footer-about {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 12px;
}

.footer-back {
  margin: 0;
  font-size: 14px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.footer-group {
  min-width: 0;
}

.footer-group-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}

.footer-list {
  margin: 0;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a {
  font-size: 14px;
  color: var(--ink-soft);
}

.footer-list a:hover,
.footer-list a:focus {
  color: var(--brand);
}

.footer-copy {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
  font-size: 13px;
  color: var(--ink-soft);
}

/* ============ responsive: 960px ============ */

@media (max-width: 960px) {
  .header-inner {
    padding: 0 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0 20px;
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    display: block;
    padding: 12px 8px;
    font-size: 16px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 20px;
  }

  .hero-media img {
    height: 260px;
  }

  .inner-main {
    padding: 0 20px 48px;
  }

  .section-genres,
  .section-fields,
  .section-updates,
  .section-steps,
  .section-index,
  .section-note {
    padding: 32px 20px;
  }

  .fields-layout,
  .note-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .update-groups,
  .step-list,
  .advice-list,
  .summary-grid,
  .tip-list,
  .next-step-list,
  .next-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .index-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .genre-row,
  .direction-head,
  .direction-row {
    grid-template-columns: 150px 1fr 1fr;
  }
}

/* ============ responsive: 640px ============ */

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .top-bar-text,
  .top-strip-text {
    padding: 8px 16px;
    font-size: 12px;
  }

  .header-inner {
    padding: 0 16px;
    height: 60px;
  }

  .site-nav {
    top: 60px;
    padding: 0 16px;
  }

  .brand {
    font-size: 16px;
    white-space: normal;
  }

  .hero-inner {
    padding: 28px 16px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-media img {
    height: 200px;
  }

  .inner-main {
    padding: 0 16px 40px;
  }

  .page-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .section-genres,
  .section-fields,
  .section-updates,
  .section-steps,
  .section-index,
  .section-note {
    padding: 28px 16px;
  }

  .genre-row,
  .direction-head,
  .direction-row {
    grid-template-columns: 1fr;
  }

  .genre-cell,
  .direction-cell {
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 10px 14px;
  }

  .genre-row .genre-cell:first-child,
  .direction-row .direction-cell:first-child,
  .direction-head .direction-cell:first-child {
    border-top: none;
  }

  .genre-row-head,
  .direction-head {
    display: none;
  }

  .field-item,
  .field-row,
  .legend-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .update-item,
  .record-item {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .update-groups,
  .step-list,
  .advice-list,
  .summary-grid,
  .tip-list,
  .next-step-list,
  .next-list,
  .index-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding: 32px 16px 20px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .error-main {
    padding: 48px 16px;
  }

  .error-code {
    font-size: 48px;
  }

  .error-title {
    font-size: 24px;
  }

  .direction-figure img,
  .records-figure img,
  .section-media img,
  .media-figure img,
  .note-media img {
    height: 200px;
  }
}

/* ============ motion: 尊重减弱动效设置 ============ */

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
