:root {
  --ink: #1f2a2e;
  --sand: #f4f1ea;
  --pine: #3f6b63;
  --clay: #c98a4b;
  --slate: #6b7a7d;
  --line: #d9d4c8;
  --line-soft: #e6e1d6;
  --card: #fbf9f4;
  --radius: 6px;
  --radius-sm: 4px;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(31, 42, 46, 0.06), 0 6px 18px rgba(31, 42, 46, 0.05);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--pine);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--clay);
}

a:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  line-height: 1.3;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd,
dt {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

/* =========================================================
   layout
   ========================================================= */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 1 auto;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px 72px;
}

.home-main {
  padding-top: 0;
}

.inner-main {
  padding-top: 28px;
}

/* =========================================================
   components: header / nav
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 0;
  color: #f4f1ea;
  line-height: 1.25;
}

.brand:hover,
.brand:focus-visible {
  color: #ffffff;
}

.brand-name {
  font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 19px;
  font-weight: 700;
}

.brand-tagline {
  font-size: 12px;
  color: #a8b6b3;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #f4f1ea;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  display: block;
}

.nav-link {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: #d8dedb;
  font-size: 15px;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-link.is-current {
  color: #ffffff;
  font-weight: 700;
  border-bottom: 2px solid var(--clay);
  border-radius: 0;
}

/* =========================================================
   components: breadcrumb / page header
   ========================================================= */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--slate);
  padding: 4px 0 0;
}

.breadcrumb a {
  color: var(--slate);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--pine);
}

.breadcrumb-sep {
  color: #b6bebc;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

.page-header {
  max-width: 760px;
  margin: 22px 0 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.28;
}

.page-description {
  margin-top: 14px;
  font-size: 16px;
  color: #3d4a4d;
}

.page-description a {
  color: var(--pine);
  border-bottom: 1px solid rgba(63, 107, 99, 0.35);
}

.page-description a:hover,
.page-description a:focus-visible {
  color: var(--clay);
  border-bottom-color: rgba(201, 138, 75, 0.5);
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 20px;
}

.page-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-meta-item dt {
  font-size: 12px;
  color: var(--slate);
}

.page-meta-item dd {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.page-meta-item .page-meta-label {
  font-size: 12px;
  color: var(--slate);
}

.page-meta-item .page-meta-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* =========================================================
   components: section head / shared
   ========================================================= */

.section {
  margin-top: 56px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
}

.section-desc {
  margin-top: 10px;
  font-size: 15px;
  color: #4a575a;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: 15px;
  color: #4a575a;
}

.section-foot {
  margin-top: 20px;
  font-size: 15px;
}

.text-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(63, 107, 99, 0.4);
  font-weight: 600;
}

.text-link:hover,
.text-link:focus-visible {
  border-bottom-color: rgba(201, 138, 75, 0.6);
}

.subsection-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* =========================================================
   pages: index hero
   ========================================================= */

.hero {
  padding: 48px 0 8px;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--clay);
  margin-bottom: 14px;
}

.hero-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.26;
}

.hero-lead {
  margin-top: 16px;
  font-size: 16px;
  color: #3d4a4d;
  max-width: 520px;
}

.hero-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.hero-path {
  display: block;
}

.hero-path-link {
  display: block;
  height: 100%;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.hero-path-link:hover,
.hero-path-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--pine);
  box-shadow: var(--shadow);
}

.hero-path-name {
  display: block;
  font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.hero-path-desc {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--slate);
  line-height: 1.6;
}

.hero-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8e4da;
}

.hero-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.hero-media-caption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--slate);
  background: var(--card);
  border-top: 1px solid var(--line-soft);
}

/* =========================================================
   pages: index channel table
   ========================================================= */

.channel-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}

.channel-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.9fr) minmax(0, 1.5fr) minmax(0, 1.3fr);
  gap: 20px;
  padding: 16px 20px;
  border-top: 1px solid var(--line-soft);
}

.channel-row:first-child {
  border-top: 0;
}

.channel-row-head {
  background: #ece7dc;
}

.channel-row-head .channel-cell {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
}

.channel-cell {
  min-width: 0;
  font-size: 15px;
}

.channel-cell-name {
  font-weight: 700;
  color: var(--ink);
}

.channel-cell-trait {
  color: #3d4a4d;
}

.channel-cell-org {
  color: var(--slate);
  font-size: 14px;
}

/* =========================================================
   pages: index topic grid
   ========================================================= */

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.topic-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.topic-card:hover,
.topic-card:focus-within {
  transform: translateY(-2px);
  border-color: var(--pine);
  box-shadow: var(--shadow);
}

.topic-media,
.topic-figure {
  margin: 0;
  background: #e8e4da;
  border-bottom: 1px solid var(--line-soft);
}

.topic-media img,
.topic-figure img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.topic-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
}

.topic-name {
  font-size: 17px;
  font-weight: 700;
}

.topic-link,
.topic-name a {
  color: var(--ink);
}

.topic-link:hover,
.topic-link:focus-visible,
.topic-name a:hover,
.topic-name a:focus-visible {
  color: var(--pine);
}

.topic-reason {
  font-size: 14px;
  color: #4a575a;
}

.topic-meta {
  font-size: 13px;
  color: var(--slate);
}

.topic-count {
  font-weight: 600;
  color: var(--clay);
}

/* =========================================================
   pages: index update groups
   ========================================================= */

.update-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.update-group {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.update-month {
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.update-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.update-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

.update-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.update-trait {
  font-size: 13px;
  color: var(--slate);
}

.update-status {
  font-size: 12px;
  font-weight: 600;
  color: var(--clay);
}

/* =========================================================
   pages: index fields layout
   ========================================================= */

.fields-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.fields-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.fields-subtitle {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
}

.field-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-item {
  display: grid;
  grid-template-columns: minmax(96px, 0.5fr) minmax(0, 1.5fr);
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.field-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.field-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--pine);
}

.field-desc {
  font-size: 14px;
  color: #4a575a;
}

.fields-text {
  font-size: 14px;
  color: #4a575a;
}

/* =========================================================
   pages: index page index grid
   ========================================================= */

.index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.index-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.index-col:hover,
.index-col:focus-within {
  transform: translateY(-2px);
  border-color: var(--pine);
}

.index-name {
  font-size: 16px;
  font-weight: 700;
}

.index-link {
  color: var(--ink);
}

.index-link:hover,
.index-link:focus-visible {
  color: var(--pine);
}

.index-desc {
  margin-top: 8px;
  font-size: 13px;
  color: var(--slate);
}

/* =========================================================
   pages: channel
   ========================================================= */

.channel-overview {
  margin-bottom: 52px;
}

.direction-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}

.direction-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(0, 1.5fr) minmax(0, 1.3fr);
  gap: 20px;
  padding: 16px 20px;
  border-top: 1px solid var(--line-soft);
}

.direction-row:first-child {
  border-top: 0;
}

.direction-row-head {
  background: #ece7dc;
}

.direction-row-head .direction-cell {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
}

.direction-cell {
  min-width: 0;
  font-size: 15px;
}

.direction-name {
  font-weight: 700;
  color: var(--ink);
}

.direction-feature {
  color: #3d4a4d;
}

.direction-organize {
  color: var(--slate);
  font-size: 14px;
}

.direction-entries {
  margin-bottom: 52px;
}

.direction-block {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.direction-block:first-of-type {
  margin-top: 0;
}

.direction-head {
  max-width: 760px;
  margin-bottom: 18px;
}

.direction-title {
  font-size: 19px;
  font-weight: 700;
}

.direction-desc {
  margin-top: 8px;
  font-size: 14px;
  color: #4a575a;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.entry-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.entry-card:hover,
.entry-card:focus-within {
  transform: translateY(-2px);
  border-color: var(--pine);
}

.entry-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.entry-name a {
  color: var(--ink);
}

.entry-name a:hover,
.entry-name a:focus-visible {
  color: var(--pine);
}

.entry-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--clay);
}

.entry-note,
.entry-desc {
  font-size: 14px;
  color: #4a575a;
}

.direction-diff {
  margin-bottom: 52px;
}

.diff-body {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  color: #3d4a4d;
}

.next-step {
  margin-bottom: 52px;
}

.next-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}

.next-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.next-item a {
  font-weight: 700;
}

.next-note {
  font-size: 14px;
  color: var(--slate);
}

.channel-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8e4da;
}

.channel-figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.channel-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--slate);
  background: var(--card);
  border-top: 1px solid var(--line-soft);
}

/* =========================================================
   pages: topics
   ========================================================= */

.section-topics-list {
  margin-top: 0;
}

.section-topic-detail {
  margin-top: 56px;
}

.topic-panel {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.topic-panel:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.topic-panel-head {
  max-width: 760px;
  margin-bottom: 18px;
}

.topic-panel-title {
  font-size: 19px;
  font-weight: 700;
}

.topic-panel-desc {
  margin-top: 8px;
  font-size: 14px;
  color: #4a575a;
}

.topic-order {
  margin-top: 16px;
  padding: 14px 18px;
  background: #ece7dc;
  border-left: 3px solid var(--clay);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  color: #3d4a4d;
}

.section-topic-relate {
  margin-top: 56px;
}

.relate-body {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  color: #3d4a4d;
}

/* =========================================================
   pages: updates
   ========================================================= */

.page-media {
  margin: 0 0 40px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8e4da;
}

.page-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.page-media-caption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--slate);
  background: var(--card);
  border-top: 1px solid var(--line-soft);
}

.updates-timeline {
  margin-bottom: 56px;
}

.month-group {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.month-group:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.month-head {
  margin-bottom: 16px;
}

.month-title {
  font-size: 19px;
  font-weight: 700;
}

.month-note {
  margin-top: 6px;
  font-size: 14px;
  color: var(--slate);
}

.record-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.record-item {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.record-main {
  min-width: 0;
}

.record-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.record-desc {
  margin-top: 6px;
  font-size: 14px;
  color: #4a575a;
}

.record-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.record-field {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.record-field-label {
  font-size: 12px;
  color: var(--slate);
}

.record-field-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.status-legend {
  margin-bottom: 56px;
}

.field-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.field-table-caption {
  text-align: left;
  padding: 0 0 12px;
  font-size: 14px;
  color: var(--slate);
}

.field-table th,
.field-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  border-top: 1px solid var(--line-soft);
  vertical-align: top;
}

.field-table thead th {
  background: #ece7dc;
  font-size: 13px;
  color: var(--slate);
  border-top: 0;
}

.field-table tbody th {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.field-table tbody td {
  color: #4a575a;
}

.status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.status-done {
  background: rgba(63, 107, 99, 0.14);
  color: var(--pine);
}

.status-review {
  background: rgba(201, 138, 75, 0.16);
  color: #a76c31;
}

.status-pending {
  background: rgba(107, 122, 125, 0.16);
  color: #556164;
}

.status-adjusted {
  background: rgba(31, 42, 46, 0.1);
  color: var(--ink);
}

.status-legend-note {
  margin-top: 16px;
  font-size: 14px;
  color: #4a575a;
}

.next-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.next-step-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.next-step-card-title {
  font-size: 16px;
  font-weight: 700;
}

.next-step-card-desc {
  font-size: 14px;
  color: #4a575a;
  flex: 1 1 auto;
}

.next-step-card-link {
  font-weight: 600;
  align-self: flex-start;
  border-bottom: 1px solid rgba(63, 107, 99, 0.4);
}

.next-step-card-link:hover,
.next-step-card-link:focus-visible {
  border-bottom-color: rgba(201, 138, 75, 0.6);
}

/* =========================================================
   pages: guide
   ========================================================= */

.guide-section {
  margin-bottom: 56px;
}

.guide-figure {
  margin: 0 0 26px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8e4da;
}

.guide-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--slate);
  background: var(--card);
  border-top: 1px solid var(--line-soft);
}

.field-table-wrap {
  overflow-x: auto;
}

.status-note {
  margin-top: 26px;
}

.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: #4a575a;
}

.status-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.status-tag-new {
  background: rgba(63, 107, 99, 0.14);
  color: var(--pine);
}

.status-tag-check {
  background: rgba(201, 138, 75, 0.16);
  color: #a76c31;
}

.status-tag-done {
  background: rgba(107, 122, 125, 0.16);
  color: #556164;
}

.boundary-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.boundary-column {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.boundary-column-in {
  border-top: 3px solid var(--pine);
}

.boundary-column-out {
  border-top: 3px solid var(--clay);
}

.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.boundary-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: #4a575a;
}

.boundary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--slate);
}

.boundary-column-in .boundary-list li::before {
  background: var(--pine);
}

.boundary-column-out .boundary-list li::before {
  background: var(--clay);
}

.boundary-note {
  margin-top: 26px;
  padding: 20px 22px;
  background: #ece7dc;
  border-radius: var(--radius);
}

.boundary-note p {
  font-size: 14px;
  color: #3d4a4d;
}

.path-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  counter-reset: path;
}

.path-item {
  position: relative;
  padding: 20px 22px 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.path-step {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #f4f1ea;
  font-size: 12px;
  font-weight: 700;
}

.path-title {
  font-size: 17px;
  font-weight: 700;
}

.path-desc {
  margin-top: 8px;
  font-size: 14px;
  color: #4a575a;
}

.path-desc a {
  font-weight: 600;
  border-bottom: 1px solid rgba(63, 107, 99, 0.4);
}

.path-desc a:hover,
.path-desc a:focus-visible {
  border-bottom-color: rgba(201, 138, 75, 0.6);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 46px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 700;
  color: var(--pine);
}

.faq-item[open] .faq-question::after {
  content: "–";
}

.faq-item[open] .faq-question {
  color: var(--pine);
}

.faq-answer {
  padding: 0 20px 18px;
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}

.faq-answer p {
  font-size: 14px;
  color: #4a575a;
}

/* =========================================================
   pages: 404
   ========================================================= */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 64px;
  padding-bottom: 96px;
}

.error-panel {
  max-width: 620px;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
}

.error-code {
  font-size: 13px;
  font-weight: 700;
  color: var(--clay);
  margin-bottom: 10px;
}

.error-panel h1 {
  font-size: 28px;
  font-weight: 700;
}

.error-lead {
  margin-top: 14px;
  font-size: 15px;
  color: #4a575a;
}

.error-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.error-paths li {
  display: block;
}

.error-paths a {
  display: block;
  padding: 12px 16px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.error-paths a:hover,
.error-paths a:focus-visible {
  border-color: var(--pine);
  transform: translateY(-2px);
}

.error-home {
  display: inline-block;
  margin-top: 26px;
  padding: 12px 22px;
  background: var(--ink);
  color: #f4f1ea;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
}

.error-home:hover,
.error-home:focus-visible {
  background: var(--pine);
  color: #ffffff;
}

/* =========================================================
   components: footer
   ========================================================= */

.site-footer {
  background: var(--ink);
  color: #c8d0cd;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 44px 24px 28px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr);
  gap: 32px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand-name {
  font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #f4f1ea;
}

.footer-brand-desc {
  margin-top: 10px;
  font-size: 13px;
  color: #9aa7a4;
  line-height: 1.7;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-group-title {
  font-size: 14px;
  font-weight: 700;
  color: #f4f1ea;
  margin-bottom: 12px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-list a {
  font-size: 13px;
  color: #9aa7a4;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px 24px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

.footer-note,
.footer-copy {
  font-size: 12px;
  color: #8c9996;
}

/* =========================================================
   responsive
   ========================================================= */

@media (max-width: 1024px) {
  .hero-inner {
    gap: 32px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-media img {
    height: 300px;
  }

  .index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .header-inner {
    padding: 0 20px;
    min-height: 62px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 20px 16px;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    padding: 14px 12px;
    font-size: 16px;
    border-radius: var(--radius-sm);
  }

  .nav-link.is-current {
    border-bottom: 0;
    border-left: 3px solid var(--clay);
    border-radius: 0;
  }

  .site-main {
    padding: 0 20px 56px;
  }

  .inner-main {
    padding-top: 22px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-title {
    font-size: 27px;
  }

  .hero-media img {
    height: 260px;
  }

  .hero-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-row,
  .direction-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 16px 18px;
  }

  .channel-row-head,
  .direction-row-head {
    display: none;
  }

  .channel-cell-name,
  .direction-name {
    font-size: 16px;
  }

  .topic-grid,
  .fields-layout,
  .boundary-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .update-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .next-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .record-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 36px 20px 24px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    padding: 16px 20px 24px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-tagline {
    font-size: 11px;
  }

  .site-main {
    padding: 0 16px 48px;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-paths {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .hero-media img {
    height: 210px;
  }

  .page-title {
    font-size: 24px;
  }

  .page-header {
    margin: 18px 0 28px;
    padding-bottom: 18px;
  }

  .section {
    margin-top: 44px;
  }

  .section-title {
    font-size: 20px;
  }

  .index-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .update-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .next-step-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .topic-media img,
  .topic-figure img {
    height: 160px;
  }

  .page-media img,
  .guide-figure img,
  .channel-figure img {
    height: 200px;
  }

  .field-table th,
  .field-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .error-panel {
    padding: 30px 22px;
  }

  .error-paths {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}
