:root {
  --ink: #101a26;
  --ink-soft: #2c3a4a;
  --ink-mute: #5b6b7c;
  --line: #d5dce4;
  --line-soft: #e6ebf0;
  --bg: #f4f6f8;
  --bg-panel: #ffffff;
  --bg-zebra: #f8fafb;
  --navy: #16283d;
  --navy-deep: #0e1c2c;
  --accent: #1f6f8b;
  --accent-soft: #e4eff3;
  --warn: #a8700f;
  --warn-bg: #fdf5e2;
  --radius: 6px;
  --radius-sm: 4px;
  --mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shell: 1180px;
  --gap: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.4;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============ layout ============ */

.site-main {
  display: block;
  width: 100%;
}

.home-main,
.inner-main,
.error-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 20px 56px;
}

.topbar {
  background: var(--navy-deep);
  color: #c8d4e0;
}

.topbar-text {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 8px 20px;
  font-size: 13px;
  line-height: 1.5;
}

.site-header {
  background: var(--navy);
  border-bottom: 1px solid #0a1624;
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: #ffffff;
  flex: 0 0 auto;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-sub {
  font-size: 12px;
  color: #93a9bd;
  font-family: var(--mono);
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-block;
  padding: 9px 12px;
  min-height: 40px;
  line-height: 22px;
  color: #cdd8e3;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

.nav-link:hover {
  background: #1d3348;
  color: #ffffff;
  text-decoration: none;
}

.nav-link.is-current {
  color: #ffffff;
  font-weight: 700;
  background: #23405a;
  box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: #1d3348;
  border: 1px solid #2c4a66;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  background: #dbe4ec;
  border-radius: 2px;
}

/* ============ components ============ */

.section {
  margin-top: 40px;
}

.section-head {
  margin-bottom: 16px;
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}

.section-title {
  font-size: 20px;
  letter-spacing: 0;
}

.section-desc,
.section-lead {
  margin-top: 6px;
  color: var(--ink-mute);
  font-size: 14px;
  max-width: 76ch;
}

.section-tail {
  margin-top: 14px;
  font-size: 14px;
}

.text-link {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid rgba(31, 111, 139, 0.35);
}

.text-link:hover {
  text-decoration: none;
  border-bottom-color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: #1a5e76;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: #9fb1c2;
}

.btn-ghost:hover {
  background: #e8eef3;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
}

.data-table,
.matrix-table {
  min-width: 640px;
  font-size: 14px;
}

.table-caption {
  caption-side: top;
  text-align: left;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--line-soft);
}

.data-table th,
.data-table td,
.matrix-table th,
.matrix-table td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}

.data-table thead th,
.matrix-table thead th {
  background: #eef2f6;
  color: var(--navy);
  font-size: 13px;
  white-space: nowrap;
}

.data-table tbody th,
.matrix-table tbody th {
  color: var(--navy);
  font-weight: 700;
  background: #fbfcfd;
}

.data-table tbody tr:nth-child(even) td,
.matrix-table tbody tr:nth-child(even) td {
  background: var(--bg-zebra);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td,
.matrix-table tbody tr:last-child th,
.matrix-table tbody tr:last-child td {
  border-bottom: 0;
}

.section-media,
.media-figure,
.section-figure,
.faq-media,
.matrix-media {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-panel);
}

.section-media img,
.media-figure img,
.section-figure img,
.faq-media img,
.matrix-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.section-caption,
.media-caption,
.section-figure figcaption,
.faq-media figcaption {
  padding: 9px 14px;
  font-size: 13px;
  color: var(--ink-mute);
  border-top: 1px solid var(--line-soft);
}

.two-col,
.scene-columns,
.scope-columns,
.acceptance-columns,
.review-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}

.col,
.scene-col,
.scope-col,
.acceptance-col,
.review-col {
  min-width: 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.col-title,
.review-col-title {
  font-size: 15px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}

.col-check .col-title {
  color: var(--navy);
}

.col-verify .col-title {
  color: var(--accent);
}

.check-list,
.verify-list,
.scene-list,
.scope-list,
.acceptance-list,
.review-list,
.duty-list,
.materials-list {
  display: grid;
  gap: 8px;
}

.check-item,
.verify-item,
.scene-item,
.scope-item,
.acceptance-item,
.review-list li,
.duty-list li,
.materials-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.check-item::before,
.verify-item::before,
.scene-item::before,
.acceptance-item::before,
.review-list li::before,
.duty-list li::before,
.materials-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
}

.scope-item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
}

.scope-include .scope-item::before {
  background: var(--accent);
}

.scope-exclude .scope-item::before {
  background: var(--warn);
}

.scope-exclude {
  background: var(--warn-bg);
  border-color: #ecd9ab;
}

.section-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-mute);
}

.section-note a {
  margin-right: 14px;
  font-weight: 600;
}

/* ============ breadcrumb & page header ============ */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0 0;
  font-size: 13px;
  color: var(--ink-mute);
}

.breadcrumb-sep {
  color: #9aa8b6;
}

.breadcrumb-current {
  color: var(--ink-soft);
  font-weight: 600;
}

.page-header {
  margin-top: 14px;
  padding: 18px 20px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
}

.page-title {
  font-size: 24px;
  letter-spacing: 0;
}

.page-description {
  margin-top: 8px;
  color: var(--ink-mute);
  font-size: 14px;
  max-width: 82ch;
}

/* ============ index: hero ============ */

.hero {
  margin-top: 28px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
}

.hero-title {
  margin-top: 12px;
  font-size: 28px;
  letter-spacing: 0;
}

.hero-lead {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15px;
}

.hero-points {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.hero-point {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--ink-soft);
}

.hero-point::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--accent);
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-zebra);
}

.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.hero-caption {
  padding: 9px 14px;
  font-size: 13px;
  color: var(--ink-mute);
  border-top: 1px solid var(--line-soft);
}

/* ============ index: process line ============ */

.stage-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stage-item {
  min-width: 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.stage-index {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 999px;
}

.stage-name {
  margin-top: 10px;
  font-size: 16px;
}

.stage-duty {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

.stage-gate {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--warn);
}

/* ============ index: faq preview ============ */

.faq-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.faq-group {
  min-width: 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.faq-group-title {
  font-size: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}

.faq-brief-list {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.faq-brief {
  font-size: 14px;
  color: var(--ink-soft);
  border-left: 2px solid var(--accent-soft);
  padding-left: 10px;
}

/* ============ index: site index ============ */

.index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.index-col {
  min-width: 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.index-col-title {
  font-size: 15px;
}

.index-col-desc {
  font-size: 13px;
  color: var(--ink-mute);
  flex: 1 1 auto;
}

/* ============ service matrix ============ */

.matrix-service {
  white-space: nowrap;
}

.scene-col-desc {
  border-top: 3px solid var(--navy);
}

.scene-col-advice {
  border-top: 3px solid var(--accent);
}

.choice-steps {
  display: grid;
  gap: 12px;
}

.choice-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.step-index {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.4;
}

.step-body {
  min-width: 0;
}

.step-title {
  font-size: 15px;
}

.step-text {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-soft);
}

.next-step-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.next-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}

.next-link:hover {
  background: var(--accent-soft);
  text-decoration: none;
}

/* ============ cooperation process ============ */

.process-track {
  display: grid;
  gap: 12px;
  counter-reset: stage;
}

.process-stage {
  min-width: 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.process-stage .stage-index {
  margin-bottom: 8px;
}

.process-stage .stage-name {
  margin-top: 0;
  font-size: 17px;
}

.stage-text {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.stage-meta {
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

.stage-meta dt {
  font-size: 12px;
  color: var(--ink-mute);
  font-family: var(--mono);
}

.stage-meta dd {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.duty-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.duty-card {
  min-width: 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.duty-title {
  font-size: 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line-soft);
}

.duty-columns {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.duty-col {
  min-width: 0;
}

.duty-col-title {
  font-size: 13px;
  color: var(--accent);
  font-family: var(--mono);
  margin-bottom: 8px;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.materials-col {
  min-width: 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.materials-title {
  font-size: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}

.materials-list {
  margin-top: 10px;
}

.review-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--ink-mute);
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.next-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.next-title {
  font-size: 15px;
}

.next-text {
  font-size: 14px;
  color: var(--ink-soft);
  flex: 1 1 auto;
}

/* ============ delivery standard ============ */

.checklist {
  display: grid;
  gap: 10px;
}

.checklist-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 13px 16px;
}

.checklist-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.checklist-text {
  font-size: 14px;
  color: var(--ink-soft);
}

.deviation-table tbody th {
  white-space: nowrap;
}

/* ============ faq ============ */

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.category-name {
  font-size: 16px;
}

.category-desc {
  font-size: 14px;
  color: var(--ink-soft);
  flex: 1 1 auto;
}

.category-link {
  font-size: 14px;
  font-weight: 600;
}

.faq-group {
  margin-top: 40px;
}

.faq-item {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
}

.faq-question {
  cursor: pointer;
  list-style: none;
  padding: 13px 42px 13px 16px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  position: relative;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 18px;
  color: var(--accent);
}

.faq-item[open] .faq-question::after {
  content: "–";
}

.faq-item[open] .faq-question {
  border-bottom: 1px solid var(--line-soft);
}

.faq-answer {
  padding: 12px 16px 14px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--ink-soft);
}

.self-help {
  margin-top: 18px;
  background: var(--warn-bg);
  border: 1px solid #ecd9ab;
  border-radius: var(--radius);
  padding: 16px 18px;
}

.self-help-title {
  font-size: 16px;
}

.self-help p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.self-help-steps {
  margin-top: 12px;
  display: grid;
  gap: 8px;
  counter-reset: selfhelp;
}

.self-help-step {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  color: var(--ink-soft);
  counter-increment: selfhelp;
}

.self-help-step::before {
  content: counter(selfhelp);
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  color: #ffffff;
  background: var(--warn);
  border-radius: 3px;
}

.self-help-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #e0c98f;
  font-size: 13px;
  color: var(--ink-mute);
}

.faq-related {
  margin-top: 40px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.related-item {
  min-width: 0;
}

.related-item a {
  display: block;
  min-height: 44px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}

.related-item a:hover {
  background: var(--accent-soft);
  text-decoration: none;
}

/* ============ footer ============ */

.site-footer {
  margin-top: 48px;
  background: var(--navy-deep);
  color: #b9c6d3;
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 32px 20px 24px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2.4fr);
  gap: 28px;
}

.footer-brand {
  min-width: 0;
}

.footer-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.footer-desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: #93a9bd;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.footer-col {
  min-width: 0;
}

.footer-col-title {
  font-size: 14px;
  color: #ffffff;
  padding-bottom: 8px;
  border-bottom: 1px solid #24384c;
}

.footer-list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.footer-list a {
  display: inline-block;
  min-height: 24px;
  font-size: 13px;
  color: #b9c6d3;
}

.footer-list a:hover {
  color: #ffffff;
}

.footer-list a.is-current {
  color: #ffffff;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--accent);
}

.footer-bottom {
  border-top: 1px solid #1d3044;
}

.footer-copy {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px 20px;
  font-size: 12px;
  color: #7f95a8;
}

/* ============ 404 ============ */

.error-main {
  padding-top: 40px;
}

.error-intro {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--warn);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.error-code {
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 700;
  color: var(--warn);
  line-height: 1.2;
}

.error-intro h1 {
  margin-top: 8px;
  font-size: 24px;
  letter-spacing: 0;
}

.error-desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 70ch;
}

.error-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-links {
  margin-top: 28px;
}

.error-links h2 {
  font-size: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.error-link-list {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.error-link-list li {
  min-width: 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 13px 16px;
}

.error-link-list a {
  display: inline-block;
  min-height: 24px;
  font-size: 15px;
  font-weight: 600;
}

.error-link-list p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-mute);
}

/* ============ scroll reveal enhancement ============ */

.section.is-visible,
.hero.is-visible {
  animation: rise-in 0.35s ease-out both;
}

@keyframes rise-in {
  from {
    transform: translateY(8px);
  }
  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section.is-visible,
  .hero.is-visible {
    animation: none;
  }
}

/* ============ responsive ============ */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .stage-list,
  .materials-grid,
  .index-grid,
  .related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-groups,
  .category-grid,
  .next-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    flex: 1 1 100%;
    margin-left: 0;
  }

  .nav-list {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0 4px;
    border-top: 1px solid #24384c;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    padding: 11px 12px;
    min-height: 44px;
  }

  .duty-grid,
  .two-col,
  .scene-columns,
  .scope-columns,
  .acceptance-columns,
  .review-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.site-body {
    font-size: 14px;
  }

  .home-main,
  .inner-main,
  .error-main {
    padding: 0 16px 44px;
  }

  .topbar-text,
  .header-inner,
  .footer-inner,
  .footer-copy {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-inner {
    padding: 18px;
    gap: 20px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-media img {
    height: 220px;
  }

  .section-media img,
  .media-figure img,
  .section-figure img,
  .faq-media img,
  .matrix-media img {
    height: 200px;
  }

  .page-title {
    font-size: 20px;
  }

  .section-title {
    font-size: 18px;
  }

  .stage-list,
  .materials-grid,
  .index-grid,
  .faq-groups,
  .category-grid,
  .next-grid,
  .related-list,
  .error-link-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .stage-meta,
  .duty-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .checklist-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .choice-step {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
  }

  .step-index {
    font-size: 17px;
  }

  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .error-code {
    font-size: 28px;
  }
}
