:root {
  --ink: #17181c;
  --paper: #f6f3ec;
  --panel: #ffffff;
  --accent: #b23a2b;
  --muted: #6d6a63;
  --line: #d8d2c6;
  --ink-soft: #2c2d33;
  --container: 1120px;
  --radius: 6px;
  --font: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- layout: shell ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--container);
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  flex: 0 0 auto;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.brand::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin-top: 3px;
  background: var(--accent);
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link.is-current {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.header-entry {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--radius);
  white-space: nowrap;
}

.header-entry:hover {
  color: #fff;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-main {
  display: block;
  padding-bottom: 72px;
}

.home-main {
  padding-bottom: 0;
}

/* ---------- layout: inner pages ---------- */

.inner-main {
  padding-top: 0;
}

.breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 24px 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px 0;
}

.page-title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.32;
  color: var(--ink);
}

.page-hero {
  padding: 26px 0 8px;
}

.page-hero-inner {
  display: block;
}

.page-context-tag,
.context-tag,
.page-context,
.page-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--accent);
  background: #fbf1ee;
  border: 1px solid #edd6d0;
  border-radius: 999px;
}

.page-lead {
  max-width: 760px;
  font-size: 16px;
  color: var(--ink-soft);
}

.page-head {
  padding: 26px 0 8px;
}

.eyebrow {
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--muted);
}

.page-figure {
  margin-top: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.page-figure figcaption {
  padding: 12px 18px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* ---------- components: section heads ---------- */

.section {
  padding: 64px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2,
.section-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.section-head p,
.section-desc,
.section-intro {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}

.section-text {
  margin-top: 12px;
  font-size: 16px;
  color: var(--ink-soft);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.link-arrow::after {
  content: "→";
  font-size: 15px;
}

.link-arrow:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------- components: buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  color: #fff;
  background: var(--accent);
}

.btn-primary:hover {
  color: #fff;
  background: #93301f;
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- components: FAQ details ---------- */

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-item + .faq-item {
  margin-top: 12px;
}

.faq-item summary {
  position: relative;
  padding: 16px 44px 16px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item p {
  padding: 0 18px 18px;
  font-size: 15px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 0;
}

/* ---------- components: tables ---------- */

.table-wrap {
  overflow-x: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.judge-table,
.handoff-table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--panel);
}

.judge-table caption,
.handoff-table caption,
.data-table caption {
  text-align: left;
}

.judge-table th,
.judge-table td,
.handoff-table th,
.handoff-table td,
.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.judge-table thead th,
.handoff-table thead th,
.data-table thead th {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: #f2eee5;
  white-space: nowrap;
}

.judge-table tbody th,
.handoff-table tbody th,
.data-table tbody th {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.judge-table tbody tr:last-child td,
.judge-table tbody tr:last-child th,
.handoff-table tbody tr:last-child td,
.handoff-table tbody tr:last-child th,
.data-table tbody tr:last-child td,
.data-table tbody tr:last-child th {
  border-bottom: 0;
}

.handoff-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

/* ---------- components: related links ---------- */

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.related-item {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related-item a {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}

.related-item a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.related-item p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.related-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-col {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related-col-title {
  font-size: 17px;
  font-weight: 600;
}

.related-desc {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.related-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid transparent;
}

.related-link:hover {
  border-bottom-color: var(--accent);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 24px 0;
}

.related-links-label {
  font-size: 13px;
  color: var(--muted);
}

.related-links-item {
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.related-links-item:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.related-card {
  display: block;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related-card:hover {
  border-color: var(--accent);
}

.related-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.related-card:hover .related-label {
  color: var(--accent);
}

.related-desc {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- pages: home hero ---------- */

.hero-section {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: start;
}

.hero-eyebrow {
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--accent);
}

.hero-copy h1 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.24;
  color: var(--ink);
}

.hero-lead {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-soft);
}

.hero-scope-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-scope-list li {
  position: relative;
  padding: 11px 0 11px 20px;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.hero-scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-figure {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.hero-figure figcaption {
  padding: 12px 18px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.hero-tags li {
  padding: 4px 12px;
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* ---------- pages: home scene index ---------- */

.scene-index-section {
  padding-top: 56px;
}

.scene-index {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.scene-index-item {
  flex: 0 0 232px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s ease;
}

.scene-index-item:hover {
  border-color: var(--accent);
}

.scene-index-no {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.scene-index-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.scene-index-desc {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- pages: home scene panels ---------- */

.scene-panel {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.scene-panel + .scene-panel {
  margin-top: 20px;
}

.scene-panel h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 18px;
}

.scene-panel-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.scene-panel-col > div {
  min-width: 0;
}

.scene-panel-label {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.scene-panel-col ul {
  margin-bottom: 18px;
}

.scene-panel-col ul:last-child {
  margin-bottom: 0;
}

.scene-panel-col li {
  position: relative;
  padding: 6px 0 6px 16px;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px solid #eee9df;
}

.scene-panel-col li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: var(--accent);
  font-weight: 700;
}

.scene-panel-note {
  margin-top: 16px;
  padding-top: 14px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* ---------- pages: shared stage track ---------- */

.stage-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--ink);
}

.stage-step {
  position: relative;
  padding: 22px 18px 22px 0;
  min-width: 0;
}

.stage-step::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--paper);
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.stage-no,
.stage-num {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.stage-step h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.stage-step p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.stage-step .stage-handoff {
  color: var(--muted);
  font-size: 13px;
}

.stage-more {
  margin-top: 22px;
}

/* ---------- pages: home service table ---------- */

.service-table {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-row {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1.3fr 1.3fr;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.service-row:last-child {
  border-bottom: 0;
}

.service-row-head {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: #f2eee5;
}

.service-name {
  font-weight: 600;
  color: var(--ink);
}

.service-row span:not(.service-name) {
  color: var(--ink-soft);
}

/* ---------- pages: home method ---------- */

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
}

.method-figure {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.method-figure img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.method-figure figcaption {
  padding: 12px 18px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.method-copy h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
}

.method-copy > p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
}

.method-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.method-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.method-list h3 {
  font-size: 17px;
  font-weight: 600;
}

.method-list p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.method-more {
  margin-top: 20px;
}

/* ---------- pages: home source band ---------- */

.source-band-section {
  padding: 0;
}

.source-band {
  padding: 44px;
  color: #eae5da;
  background: var(--ink);
  border-radius: var(--radius);
}

.source-band h2 {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}

.source-band-lead {
  max-width: 700px;
  margin-top: 12px;
  font-size: 15px;
  color: #c8c3b8;
}

.source-band-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid #3a3b41;
}

.source-band-item dt {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.source-band-item dd {
  margin-top: 8px;
  font-size: 14px;
  color: #b9b4a9;
}

.source-band-more {
  margin-top: 28px;
}

.source-band-more .link-arrow {
  color: #e8a596;
}

.source-band-more .link-arrow:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* ---------- pages: home faq preview ---------- */

.faq-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.faq-preview-col {
  display: flex;
  flex-direction: column;
}

.faq-preview-more {
  margin-top: 26px;
}

/* ---------- pages: home coop entry ---------- */

.coop-entry-section {
  padding: 0 0 72px;
}

.coop-entry {
  padding: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.coop-entry h2 {
  font-size: 26px;
  font-weight: 600;
}

.coop-entry p {
  max-width: 720px;
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
}

.coop-entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

/* ---------- pages: service scenarios ---------- */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding-top: 40px;
}

.sidebar-left {
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
}

.scene-aside {
  position: sticky;
  top: 88px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.scene-aside .scene-index {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: visible;
  padding-bottom: 0;
}

.scene-aside .scene-index li {
  border-left: 2px solid transparent;
}

.scene-aside .scene-index li.is-active {
  border-left-color: var(--accent);
  background: #fbf1ee;
}

.scene-aside .scene-index a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
}

.scene-no {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.scene-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.scene-hint {
  font-size: 12px;
  color: var(--muted);
}

.scene-panels {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.scene-detail {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-margin-top: 88px;
}

.scene-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.scene-head .scene-no {
  font-size: 13px;
}

.scene-head h2 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
}

.scene-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.scene-col {
  min-width: 0;
}

.scene-col h3 {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.scene-col p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.scene-col ul {
  margin-top: 4px;
}

.scene-col li {
  position: relative;
  padding: 6px 0 6px 16px;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px solid #eee9df;
}

.scene-col li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: var(--accent);
  font-weight: 700;
}

.section-judge,
.section-related {
  padding-top: 56px;
}

/* ---------- pages: delivery phases ---------- */

.stage-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.stage-anchor-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.stage-anchor-nav a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.stage-overview {
  padding-top: 48px;
  padding-bottom: 0;
}

.stage-detail {
  padding-top: 48px;
}

.stage-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stage-panel + .stage-panel {
  margin-top: 14px;
}

.stage-panel-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.stage-panel-summary::-webkit-details-marker {
  display: none;
}

.stage-panel-summary::after {
  content: "+";
  margin-left: auto;
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
}

.stage-panel[open] .stage-panel-summary::after {
  content: "–";
}

.stage-panel-summary:hover {
  color: var(--accent);
}

.stage-panel-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.stage-panel-body {
  padding: 6px 22px 22px;
  border-top: 1px solid var(--line);
}

.stage-panel-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #eee9df;
}

.stage-panel-row:last-child {
  border-bottom: 0;
}

.stage-panel-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.stage-panel-row p {
  font-size: 15px;
  color: var(--ink-soft);
}

.stage-panel-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stage-panel-list li {
  position: relative;
  padding-left: 14px;
  font-size: 15px;
  color: var(--ink-soft);
}

.stage-panel-list li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: var(--accent);
  font-weight: 700;
}

.handoff {
  padding-top: 56px;
}

.handoff-table {
  min-width: 560px;
}

.stage-figure-section {
  padding-top: 56px;
}

.stage-figure-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.stage-figure {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stage-figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.stage-figure figcaption {
  padding: 12px 18px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.stage-figure-copy h2 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.35;
}

.stage-figure-copy p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-soft);
}

.prep {
  padding-top: 56px;
}

.prep-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.prep-item {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prep-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.prep-item p {
  font-size: 15px;
  color: var(--muted);
}

.related {
  padding-top: 56px;
}

/* ---------- pages: method notes ---------- */

.page-title-section {
  padding: 26px 0 8px;
}

.page-title-inner {
  display: block;
}

.feature-topic-section {
  padding: 40px 0 0;
}

.feature-topic-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
}

.feature-media {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.feature-media figcaption {
  padding: 12px 18px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.feature-content {
  min-width: 0;
}

.feature-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}

.feature-content h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 14px;
}

.feature-content > p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.feature-meta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.feature-meta-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 16px;
  padding: 8px 0;
}

.feature-meta-row dt {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.feature-meta-row dd {
  font-size: 15px;
  color: var(--ink-soft);
}

.topic-list-section {
  padding: 56px 0 0;
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.topic-row {
  border-bottom: 1px solid var(--line);
}

.topic-body {
  display: flex;
  gap: 20px;
  padding: 22px 0;
}

.topic-number {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  padding-top: 2px;
}

.topic-text {
  min-width: 0;
  flex: 1 1 auto;
}

.topic-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.topic-text p {
  font-size: 15px;
  color: var(--ink-soft);
}

.topic-boundary {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.topic-tag {
  flex: 0 0 160px;
  align-self: flex-start;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
}

.boundary-section {
  padding: 56px 0 0;
}

.boundary-list {
  border-top: 1px solid var(--line);
}

.boundary-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.boundary-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.boundary-row p {
  font-size: 15px;
  color: var(--muted);
}

.archive-section {
  padding: 56px 0 0;
}

.archive-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.archive-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.archive-item a {
  display: block;
  padding: 20px;
}

.archive-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.archive-item a:hover .archive-name {
  color: var(--accent);
}

.archive-desc {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- pages: source boundaries ---------- */

.source-dual {
  padding-top: 40px;
}

.source-dual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: start;
  margin-top: 26px;
}

.source-table,
.verify-flow {
  min-width: 0;
}

.col-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 14px;
}

.data-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.flow-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.flow-item {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow-num {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  padding-top: 2px;
}

.flow-body {
  min-width: 0;
}

.flow-body h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.flow-body p {
  font-size: 14px;
  color: var(--muted);
}

.source-figure-section {
  padding-top: 48px;
}

.source-figure {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.source-figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.source-figure figcaption {
  padding: 12px 18px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.exclusion-section {
  padding-top: 56px;
}

.exclusion-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.exclusion-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.exclusion-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.exclusion-item p {
  font-size: 15px;
  color: var(--muted);
}

.prepare-section {
  padding-top: 56px;
}

.prepare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.prepare-item {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prepare-num {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.prepare-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.prepare-item p {
  font-size: 15px;
  color: var(--muted);
}

.related-section {
  padding-top: 56px;
}

/* ---------- pages: faq ---------- */

.faq-anchor-section {
  padding-top: 26px;
}

.faq-anchor-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.faq-anchor {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.faq-anchor:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.faq-media {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.faq-media figcaption {
  padding: 12px 18px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.faq-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
  padding-top: 44px;
}

.faq-col {
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-width: 0;
}

.faq-group {
  scroll-margin-top: 88px;
}

.faq-group-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  align-items: baseline;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

.faq-group-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.faq-group-title {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
}

.faq-group-desc {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- pages: about ---------- */

.section-responsibility {
  padding-top: 40px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: start;
}

.responsibility-copy {
  min-width: 0;
}

.responsibility-copy .boundary-list {
  margin-top: 20px;
}

.figure-role {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.figure-role img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.figure-role figcaption {
  padding: 12px 18px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.section-scope {
  padding-top: 56px;
}

.scope-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.scope-col {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.container-scope-out {
  background: #f2eee5;
}

.scope-col-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.scope-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scope-items li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--ink-soft);
}

.scope-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background: var(--accent);
}

.scope-item-name {
  display: block;
  font-weight: 600;
  color: var(--ink);
}

.scope-item-desc {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

.section-method {
  padding-top: 56px;
}

.method-rows {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.method-row {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.method-index {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  padding-top: 2px;
}

.method-body {
  min-width: 0;
}

.method-name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.method-desc {
  font-size: 15px;
  color: var(--muted);
}

.section-roles {
  padding-top: 56px;
}

.role-rows {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.role-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.role-name {
  font-size: 16px;
  font-weight: 600;
}

.role-desc {
  font-size: 15px;
  color: var(--muted);
}

.section-principles {
  padding-top: 56px;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.principle-list li {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
}

.principle-name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.principle-desc {
  font-size: 15px;
  color: var(--muted);
}

/* ---------- pages: 404 ---------- */

.error-main {
  padding: 72px 0 80px;
}

.error-inner {
  max-width: 760px;
}

.error-code {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.error-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.28;
}

.error-text {
  margin-top: 16px;
  font-size: 16px;
  color: var(--muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.error-home,
.error-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
  border-radius: var(--radius);
}

.error-home {
  color: #fff;
  background: var(--accent);
}

.error-home:hover {
  color: #fff;
  background: #93301f;
}

.error-link {
  color: var(--ink);
  border: 1px solid var(--ink);
}

.error-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.error-guide {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.error-guide-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.error-guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

.error-guide-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.error-guide-list a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------- components: footer ---------- */

.site-footer {
  padding: 56px 0 0;
  background: var(--ink);
  color: #c8c3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand-name {
  font-size: 19px;
  font-weight: 600;
  color: #fff;
}

.footer-slogan {
  margin-top: 8px;
  font-size: 14px;
  color: #e8a596;
}

.footer-desc {
  margin-top: 14px;
  font-size: 14px;
  color: #a9a49a;
  line-height: 1.7;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: #b9b4a9;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 20px 24px;
  border-top: 1px solid #33343a;
}

.footer-bottom p {
  font-size: 13px;
  color: #8f8a80;
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .hero-grid {
    gap: 36px;
  }

  .method-grid,
  .stage-figure-inner,
  .split-layout {
    gap: 32px;
  }

  .service-row {
    grid-template-columns: 1fr 1.2fr 1.2fr 1.2fr;
    gap: 12px;
    padding: 14px 16px;
  }

  .sidebar-left {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    height: 64px;
    gap: 12px;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
    order: 2;
  }

  .site-nav {
    order: 4;
    flex-basis: 100%;
    min-width: 0;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 0 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(23, 24, 28, 0.08);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid var(--line);
  }

  .nav-list li:last-child {
    border-bottom: 0;
  }

  .nav-link {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 46px;
    padding: 0 4px;
    border-bottom: 0;
    border-left: 2px solid transparent;
    padding-left: 10px;
  }

  .nav-link.is-current {
    border-bottom: 0;
    border-left-color: var(--accent);
  }

  .header-entry {
    order: 3;
    height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .header-inner {
    position: relative;
  }

  .hero-grid,
  .method-grid,
  .stage-figure-inner,
  .split-layout,
  .feature-topic-grid,
  .source-dual-grid,
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-figure {
    order: 2;
  }

  .hero-figure img {
    height: 260px;
  }

  .section {
    padding: 48px 0;
  }

  .stage-track {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
    border-left: 2px solid var(--ink);
    padding-left: 0;
  }

  .stage-step {
    padding: 0 0 24px 24px;
  }

  .stage-step::before {
    top: 4px;
    left: -7px;
  }

  .stage-step:last-child {
    padding-bottom: 0;
  }

  .sidebar-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .scene-aside {
    position: static;
  }

  .scene-aside .scene-index {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
  }

  .scene-aside .scene-index li {
    flex: 0 0 auto;
    border-left: 0;
    border-bottom: 2px solid transparent;
    background: var(--paper);
    border-radius: var(--radius);
  }

  .scene-aside .scene-index li.is-active {
    border-left: 0;
    border-bottom-color: var(--accent);
  }

  .scene-aside .scene-index a {
    padding: 8px 14px;
  }

  .scene-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .service-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
  }

  .service-row-head {
    display: none;
  }

  .service-row span {
    font-size: 14px;
  }

  .service-row span:not(.service-name)::before {
    content: attr(data-label);
  }

  .source-band {
    padding: 32px 24px;
  }

  .source-band-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .related-grid,
  .related-grid-three,
  .archive-list,
  .principle-list,
  .prepare-grid,
  .prep-list,
  .faq-preview-grid,
  .scope-compare,
  .error-guide-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .role-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .stage-panel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .topic-tag {
    flex-basis: auto;
  }

  .topic-body {
    flex-wrap: wrap;
  }

  .topic-text {
    flex-basis: 100%;
    order: 2;
  }

  .topic-tag {
    order: 3;
  }

  .topic-number {
    order: 1;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 18px;
  }

  .header-inner {
    padding: 0 18px;
    gap: 10px;
  }

  .brand {
    font-size: 17px;
  }

  .header-entry {
    height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }

  .breadcrumb {
    padding: 18px 18px 0;
    font-size: 12px;
  }

  .page-header {
    padding: 14px 18px 0;
  }

  .page-title {
    font-size: 24px;
  }

  .section {
    padding: 40px 0;
  }

  .section-head h2,
  .section-title,
  .method-copy h2,
  .feature-content h2,
  .source-band h2 {
    font-size: 22px;
  }

  .hero-section {
    padding: 36px 0 32px;
  }

  .hero-copy h1 {
    font-size: 27px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-figure img,
  .method-figure img,
  .feature-media img,
  .figure-role img,
  .stage-figure img,
  .source-figure img {
    height: 220px;
  }

  .page-figure img,
  .faq-media img {
    height: 200px;
  }

  .scene-index-item {
    flex-basis: 200px;
    padding: 16px;
  }

  .scene-panel,
  .scene-detail {
    padding: 20px;
  }

  .scene-panel-col {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .service-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 16px;
  }

  .service-name {
    font-size: 16px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 4px;
  }

  .related-grid,
  .related-grid-three,
  .archive-list,
  .principle-list,
  .prepare-grid,
  .prep-list,
  .faq-preview-grid,
  .scope-compare,
  .error-guide-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-bottom: 32px;
  }

  .site-footer {
    padding-top: 44px;
  }

  .coop-entry {
    padding: 24px;
  }

  .coop-entry-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .coop-entry-actions .btn {
    width: 100%;
  }

  .source-band {
    padding: 26px 20px;
  }

  .stage-panel-summary {
    padding: 16px 18px;
    font-size: 16px;
  }

  .stage-panel-body {
    padding: 4px 18px 18px;
  }

  .feature-meta-row {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
  }

  .faq-group-title {
    font-size: 19px;
  }

  .faq-group-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-group-num {
    margin-bottom: 2px;
  }

  .faq-item summary {
    padding: 14px 40px 14px 16px;
    font-size: 14px;
  }

  .faq-item p {
    padding: 12px 16px 16px;
    font-size: 14px;
  }

  .table-wrap {
    border-radius: var(--radius);
  }

  .judge-table,
  .handoff-table,
  .data-table {
    font-size: 14px;
  }

  .judge-table th,
  .judge-table td,
  .handoff-table th,
  .handoff-table td,
  .data-table th,
  .data-table td {
    padding: 10px 12px;
  }

  .handoff-table {
    min-width: 0;
  }

  .error-main {
    padding: 48px 0 56px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-home,
  .error-link {
    justify-content: center;
  }

  .related-links {
    padding: 18px 18px 0;
  }

  .method-row {
    gap: 14px;
  }

  .footer-bottom {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* 程序验收反馈：修复网格孤项 */
@media (min-width: 769px) {
  .prepare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
