/* =========================================================
   糖心传媒 nmgbtyl.com — 全站样式表
   分组：base / layout / components / pages / responsive
   ========================================================= */

/* ---------------------------------------------------------
   1. base — 变量、重置、排版、可访问性
   --------------------------------------------------------- */
:root {
  --ink: #23282b;
  --ink-soft: #5b6469;
  --paper: #fbfaf7;
  --paper-tint: #f1f2ee;
  --green: #16645a;
  --green-soft: #3f8f86;
  --green-wash: #e7efe9;
  --rule: #d8dcd6;
  --shell: 1160px;
  --gap: 24px;
  --header-h: 68px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body.site-body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ol,
ul,
dl {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--green-soft);
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

strong {
  font-weight: 600;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 200;
  padding: 10px 16px;
  background-color: var(--green);
  color: #fff;
  font-size: 14px;
  transform: translateY(-140%);
  transition: transform 0.18s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  color: #fff;
}

/* 通用小标题与导语 */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.14em;
  color: var(--green);
  text-transform: uppercase;
}

.section-lead,
.section-intro,
.section-note,
.page-lead,
.page-lede,
.lead,
.group-note,
.hero-lead {
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
}

.text-link::after {
  content: "\2192";
  font-size: 14px;
  line-height: 1;
}

.text-link:hover {
  border-bottom-color: var(--green);
}

/* ---------------------------------------------------------
   2. layout — 容器、页头、页脚、内页骨架
   --------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gap);
  padding-right: var(--gap);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(251, 250, 247, 0.96);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(120%) blur(4px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.brand:hover {
  color: var(--green);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a.is-current {
  color: var(--green);
  border-bottom-color: var(--green);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background-color: transparent;
  border: 1px solid var(--rule);
  border-radius: 4px;
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background-color: var(--ink);
}

.nav-toggle::before {
  top: 16px;
  box-shadow: 0 6px 0 var(--ink);
}

.nav-toggle::after {
  bottom: 16px;
}

.site-main {
  display: block;
}

.inner-main {
  padding-bottom: 8px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 22px var(--gap) 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--green);
}

.breadcrumb-sep {
  color: var(--rule);
}

.breadcrumb-current {
  color: var(--ink);
}

/* 页面标题区 */
.page-header {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px var(--gap) 0;
}

.page-title {
  max-width: 760px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  font-weight: 600;
  color: var(--ink);
}

.page-head {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 20px var(--gap) 0;
}

.page-head .eyebrow {
  margin-bottom: 10px;
}

.page-lead,
.page-lede,
.lead {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.8;
}

/* 内页图片 */
.page-figure,
.consult-figure,
.stage-figure,
.faq-figure,
.scope-figure {
  max-width: var(--shell);
  margin: 32px auto 0;
  padding: 0 var(--gap);
}

.page-figure img,
.consult-figure img,
.stage-figure img,
.faq-figure img,
.scope-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background-color: var(--paper-tint);
}

.page-figure figcaption,
.consult-figure figcaption,
.stage-figure figcaption,
.faq-figure figcaption,
.scope-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* 页脚 */
.site-footer {
  margin-top: 72px;
  background-color: var(--paper-tint);
  border-top: 1px solid var(--rule);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 36px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.footer-brand p:last-child {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 260px;
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--ink-soft);
}

.footer-col ul li a:hover {
  color: var(--green);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  padding-bottom: 26px;
  border-top: 1px solid var(--rule);
}

.footer-bottom p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 760px;
}

.back-top {
  font-size: 13px;
  color: var(--green);
  white-space: nowrap;
}

.back-top::before {
  content: "\2191";
  margin-right: 5px;
}

/* ---------------------------------------------------------
   3. components — 按钮、行式条目、折叠、表格、分页等
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background-color: var(--green);
  color: #fff;
  border-color: var(--green);
}

.btn-primary:hover {
  background-color: #12544c;
  border-color: #12544c;
  color: #fff;
}

.btn-ghost {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--rule);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}

/* 编号统一等宽 */
.index-num,
.row-num,
.baseline-num,
.stage-num,
.part-no,
.review-no,
.step-num,
.stage-no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--green);
}

/* 折叠问答（首页按钮式） */
.faq-list {
  border-top: 1px solid var(--rule);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 44px;
  padding: 16px 0;
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
}

.faq-toggle::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1.4;
  color: var(--green-soft);
}

.faq-toggle[aria-expanded="true"]::after {
  content: "\2212";
}

.faq-panel {
  padding: 0 0 18px;
  max-width: 760px;
}

.faq-panel p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 对比表格 */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background-color: #fff;
  -webkit-overflow-scrolling: touch;
}

.table-scroll table {
  min-width: 620px;
  font-size: 15px;
}

.table-scroll caption {
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
}

.table-scroll thead th {
  background-color: var(--paper-tint);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}

.table-scroll tbody th,
.table-scroll tbody td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
}

.table-scroll tbody th {
  color: var(--ink);
  font-weight: 600;
  background-color: #fdfdfb;
}

.table-scroll tbody tr:last-child th,
.table-scroll tbody tr:last-child td {
  border-bottom: 0;
}

/* 相邻页面条 */
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: var(--shell);
  margin: 56px auto 0;
  padding: 24px var(--gap) 0;
  border-top: 1px solid var(--rule);
}

.pager a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background-color: #fff;
  min-height: 44px;
}

.pager a:hover {
  border-color: var(--green-soft);
}

.pager-next {
  text-align: right;
  align-items: flex-end;
}

.pager-dir,
.pager-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.pager-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* 相关内容条 */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  max-width: var(--shell);
  margin: 28px auto 0;
  padding: 0 var(--gap);
}

.related-links-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.related-links-item {
  font-size: 14px;
  color: var(--green);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
}

.related-links-item:hover {
  border-bottom-color: var(--green);
}

/* ---------------------------------------------------------
   4. pages — 首页
   --------------------------------------------------------- */
/* 首屏 */
.hero {
  padding-top: 44px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  gap: 48px;
}

.hero-copy .eyebrow {
  margin-bottom: 14px;
}

.hero-copy h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  font-weight: 600;
  color: var(--ink);
  max-width: 15em;
}

.hero-lead {
  margin-top: 18px;
  max-width: 33em;
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background-color: var(--paper-tint);
}

.hero-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.hero-figure figcaption a {
  color: var(--green);
}

/* 栏目索引条 */
.hero-index {
  margin-top: 48px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background-color: var(--paper-tint);
}

.index-track {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
}

.index-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 14px 18px;
  border-left: 1px solid var(--rule);
  min-height: 44px;
  color: var(--ink);
}

.index-cell:first-child {
  border-left: 0;
}

.index-cell:hover {
  background-color: var(--green-wash);
  color: var(--ink);
}

.index-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.index-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* 通用区块头 */
.section-head {
  margin-bottom: 28px;
}

.section-head .eyebrow {
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  margin-top: 12px;
}

.section-head .section-lead {
  margin-top: 12px;
  max-width: 66em;
  font-size: 15px;
  line-height: 1.8;
}

/* 服务目录 */
.service-directory {
  padding-top: 64px;
}

.directory-list {
  border-top: 1px solid var(--rule);
}

.directory-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 120px;
  align-items: start;
  gap: 20px;
  padding: 20px 8px 20px 4px;
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.18s ease;
}

.directory-list li:hover {
  box-shadow: inset 2px 0 0 var(--green);
}

.directory-list .row-num {
  padding-top: 3px;
}

.row-body h3 {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
}

.row-scene {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 44em;
}

.row-output {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--green);
}

.row-link {
  align-self: center;
  justify-self: end;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.row-link::after {
  content: "\2192";
  margin-left: 5px;
}

.directory-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* 工作基线 */
.baseline-grid {
  padding-top: 64px;
}

.baseline-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.baseline-item {
  padding: 22px 20px;
  background-color: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  min-width: 0;
}

.baseline-num {
  display: block;
  margin-bottom: 10px;
}

.baseline-item h3 {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.baseline-item p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.baseline-item p + p {
  margin-top: 6px;
}

/* 方案成形 */
.plan-preview {
  padding-top: 64px;
}

.plan-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 40px;
}

.plan-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background-color: var(--paper-tint);
}

.plan-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.plan-copy h2 {
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.plan-copy > p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 40em;
}

.plan-points {
  margin-top: 18px;
  border-top: 1px solid var(--rule);
}

.plan-points li {
  position: relative;
  padding: 10px 0 10px 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}

.plan-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 6px;
  height: 6px;
  background-color: var(--green-soft);
  border-radius: 50%;
}

.plan-copy .text-link {
  margin-top: 20px;
}

/* 推进阶段摘要 */
.stage-rail {
  padding-top: 64px;
}

.stage-list {
  border-top: 1px solid var(--rule);
}

.stage-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.18s ease;
}

.stage-item:hover {
  box-shadow: inset 2px 0 0 var(--green);
}

.stage-num {
  padding-top: 4px;
}

.stage-body h3 {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
}

.stage-action {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 52em;
}

.stage-output {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--green);
}

.stage-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* 角色预览 */
.roles-preview {
  padding-top: 64px;
}

.roles-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
  gap: 40px;
}

.roles-copy h2 {
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.roles-copy > p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 40em;
}

.role-rows {
  margin-top: 18px;
  border-top: 1px solid var(--rule);
}

.role-rows li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

.role-rows h3 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
}

.role-rows p {
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.roles-copy .text-link {
  margin-top: 20px;
}

.roles-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  max-height: 460px;
  object-fit: cover;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background-color: var(--paper-tint);
}

.roles-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* 常见问题摘要 */
.faq-preview {
  padding-top: 64px;
}

.faq-more {
  margin-top: 18px;
  font-size: 14px;
}

/* 合作准备 */
.prepare {
  padding-top: 64px;
}

.prepare-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

.prepare-copy h2 {
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.prepare-copy p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 40em;
}

.prepare-copy .text-link {
  margin-top: 20px;
}

.prepare-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.prepare-tags li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  background-color: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  min-width: 0;
}

.prepare-tags li:last-child {
  grid-column: 1 / -1;
}

.tag-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.tag-use {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------
   4. pages — 内页共用正文骨架（服务范围页为主）
   --------------------------------------------------------- */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 40px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 36px var(--gap) 0;
  align-items: start;
}

.page-main {
  min-width: 0;
}

.page-main .page-head {
  padding: 0;
  margin: 0 0 24px;
}

.page-main .page-head .eyebrow {
  margin-bottom: 10px;
}

.page-main .scope-figure {
  margin: 0 0 40px;
  padding: 0;
}

.page-main .scope-figure img {
  aspect-ratio: 16 / 9;
}

/* 服务范围：导语区 */
.scope-intro {
  margin-bottom: 40px;
}

.scope-intro h2 {
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  margin-bottom: 14px;
}

.scope-intro p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 40em;
}

.scope-intro p + p {
  margin-top: 10px;
}

/* 服务项目分节 */
.service-item {
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.service-item h2 {
  font-size: 21px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.service-scene,
.service-coop {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 40em;
}

.service-scene .label,
.service-coop .label {
  display: inline-block;
  margin-right: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--green);
  vertical-align: 1px;
}

.service-output {
  margin: 16px 0;
  padding: 16px 18px;
  background-color: #fff;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--green-soft);
  border-radius: 4px;
}

.service-output h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.service-output ul li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.service-output ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 5px;
  height: 5px;
  background-color: var(--green-soft);
  border-radius: 50%;
}

.service-link {
  margin-top: 12px;
  font-size: 14px;
}

.service-link a {
  font-weight: 600;
  border-bottom: 1px solid var(--rule);
}

.service-link a::after {
  content: "\2192";
  margin-left: 5px;
}

/* 服务类型与形态对照表 */
.form-map {
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}

.form-map h2 {
  font-size: 21px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.form-map > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 40em;
  margin-bottom: 16px;
}

/* 另行评估情形 */
.other-cases {
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}

.other-cases h2 {
  font-size: 21px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.other-cases > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 40em;
  margin-bottom: 14px;
}

.other-cases ul {
  border-top: 1px solid var(--rule);
}

.other-cases ul li {
  position: relative;
  padding: 12px 0 12px 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}

.other-cases ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 21px;
  width: 6px;
  height: 6px;
  background-color: var(--green-soft);
  border-radius: 50%;
}

.other-link {
  margin-top: 16px;
  font-size: 14px;
}

.other-link a {
  font-weight: 600;
  border-bottom: 1px solid var(--rule);
}

.other-link a::after {
  content: "\2192";
  margin-left: 5px;
}

/* 相关栏 */
.related {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.related-block {
  padding: 20px 18px;
  background-color: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
}

.related-block h2 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.related-block ul li {
  border-bottom: 1px solid var(--rule);
}

.related-block ul li:last-child {
  border-bottom: 0;
}

.related-block ul li a {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  min-height: 44px;
}

.related-block ul li a:hover {
  color: var(--green);
}

.related-note p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------
   4. pages — 方案与交付
   --------------------------------------------------------- */
.plan-anatomy {
  margin-top: 48px;
}

.plan-anatomy > h2,
.responsibility-table > h2,
.change-boundary h2,
.confirm-points > h2,
.disagree > h2 {
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.plan-anatomy .section-intro,
.responsibility-table .section-intro,
.confirm-points .section-intro {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.85;
  max-width: 66em;
}

.plan-part {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 6px 20px;
  padding: 22px 0;
  margin-top: 8px;
  border-bottom: 1px solid var(--rule);
}

.plan-part:first-of-type {
  margin-top: 20px;
  border-top: 1px solid var(--rule);
}

.plan-part .part-no {
  grid-row: 1 / span 3;
  padding-top: 4px;
}

.plan-part h3 {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
}

.plan-part > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 44em;
}

.plan-part .part-point {
  font-size: 14px;
  line-height: 1.8;
  color: var(--green);
}

.responsibility-table {
  margin-top: 56px;
}

.responsibility-table .table-scroll {
  margin-top: 18px;
}

.change-boundary {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  margin-top: 56px;
  align-items: start;
}

.boundary-copy p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 34em;
}

.boundary-list {
  border-top: 1px solid var(--rule);
}

.boundary-list li {
  padding: 14px 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
}

.boundary-list strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 3px;
}

.confirm-points {
  margin-top: 56px;
}

.confirm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 20px;
}

.confirm-item {
  padding: 20px 18px;
  background-color: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  min-width: 0;
}

.confirm-item h3 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.confirm-item p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.confirm-item .confirm-fallback {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--rule);
  color: var(--green);
}

.disagree {
  margin-top: 56px;
}

.disagree p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 66em;
}

/* ---------------------------------------------------------
   4. pages — 推进记录
   --------------------------------------------------------- */
.stage-list.shell {
  margin-top: 48px;
}

.section-title {
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.section-note {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.85;
  max-width: 66em;
}

.stage {
  margin-top: 32px;
  padding-left: 22px;
  border-left: 2px solid var(--rule);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.stage:first-of-type {
  margin-top: 28px;
}

.stage-head {
  position: relative;
}

.stage-head::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 8px;
  width: 10px;
  height: 10px;
  background-color: var(--paper);
  border: 2px solid var(--green);
  border-radius: 50%;
}

.stage-head .stage-no {
  margin-bottom: 2px;
}

.stage-name {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
}

.stage-goal {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 44em;
}

.stage-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
  margin-top: 16px;
}

.stage-col {
  min-width: 0;
  padding: 14px 16px;
  background-color: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
}

.stage-col h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
}

.stage-col ul li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.stage-col ul li + li {
  margin-top: 4px;
}

.stage-col ul li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 11px;
  width: 5px;
  height: 5px;
  background-color: var(--green-soft);
  border-radius: 50%;
}

.review-focus {
  margin-top: 56px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 20px;
}

.review-item {
  padding: 18px 18px 20px;
  background-color: var(--paper-tint);
  border: 1px solid var(--rule);
  border-radius: 6px;
  min-width: 0;
}

.review-item h3 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
  margin: 6px 0 6px;
}

.review-item p:last-child {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.pause-cases {
  margin-top: 56px;
}

.pause-list {
  margin-top: 20px;
  border-top: 1px solid var(--rule);
}

.pause-list li {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 8px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.pause-list h3 {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--ink);
}

.pause-list p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------
   4. pages — 角色分工
   --------------------------------------------------------- */
.content-shell {
  margin-top: 40px;
}

.role {
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.role:first-child {
  border-top: 0;
  padding-top: 0;
}

.role h2 {
  font-size: 21px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.role-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 44em;
}

.role-principles {
  margin-top: 14px;
  padding: 14px 18px;
  background-color: #fff;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--green-soft);
  border-radius: 4px;
}

.role-principles h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.role-principles ul li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.role-principles ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 5px;
  height: 5px;
  background-color: var(--green-soft);
  border-radius: 50%;
}

.role-output {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--green);
  max-width: 44em;
}

.role-link {
  margin-top: 8px;
  font-size: 14px;
}

.role-link a {
  font-weight: 600;
  border-bottom: 1px solid var(--rule);
}

.role-link a::after {
  content: "\2192";
  margin-left: 5px;
}

.handoff {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.handoff h2 {
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.handoff > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 44em;
  margin-bottom: 14px;
}

.handoff ol {
  counter-reset: handoff;
  border-top: 1px solid var(--rule);
}

.handoff ol li {
  counter-increment: handoff;
  position: relative;
  padding: 13px 0 13px 40px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
}

.handoff ol li::before {
  content: counter(handoff, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 13px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--green);
}

.handoff ol li strong {
  color: var(--ink);
  margin-right: 6px;
}

.out-of-scope {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.out-of-scope h2 {
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.out-of-scope > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 44em;
  margin-bottom: 14px;
}

.out-of-scope ul {
  border-top: 1px solid var(--rule);
}

.out-of-scope ul li {
  position: relative;
  padding: 12px 0 12px 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}

.out-of-scope ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 21px;
  width: 6px;
  height: 6px;
  background-color: var(--green-soft);
  border-radius: 50%;
}

/* ---------------------------------------------------------
   4. pages — 合作流程
   --------------------------------------------------------- */
.steps-section {
  margin-top: 48px;
}

.steps-section > h2 {
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.steps-section .section-lead {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.85;
  max-width: 66em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 22px;
}

.step-item {
  padding: 20px 18px;
  background-color: #fff;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--green-soft);
  border-radius: 6px;
  min-width: 0;
}

.step-num {
  display: block;
  margin-bottom: 8px;
}

.step-item h3 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.step-goal {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.step-output {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--rule);
  font-size: 13px;
  line-height: 1.7;
  color: var(--green);
}

.prepare-section {
  margin-top: 56px;
}

.prepare-section > h2 {
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  margin-bottom: 20px;
}

.prepare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.material-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.material-tags li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  background-color: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  min-width: 0;
}

.material-tags li:last-child {
  grid-column: 1 / -1;
}

.material-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.material-use {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.prepare-note {
  padding: 20px 20px 22px;
  background-color: var(--paper-tint);
  border: 1px solid var(--rule);
  border-radius: 6px;
}

.prepare-note h3 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.prepare-note p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.prepare-note p + p {
  margin-top: 8px;
}

.section-link {
  margin-top: 12px;
  font-size: 14px;
}

.section-link a {
  font-weight: 600;
  color: var(--green);
  border-bottom: 1px solid var(--rule);
  margin-right: 14px;
}

.section-link a::after {
  content: "\2192";
  margin-left: 5px;
}

.communication-section {
  margin-top: 56px;
}

.communication-section > h2 {
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.communication-section .section-lead {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.85;
  max-width: 66em;
}

.communication-list {
  margin-top: 20px;
  border-top: 1px solid var(--rule);
}

.communication-list li {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 8px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.communication-list h3 {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--ink);
}

.communication-list p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------
   4. pages — 常见问题
   --------------------------------------------------------- */
.category-anchor {
  margin-top: 28px;
}

.category-anchor ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-anchor a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 16px;
  font-size: 14px;
  color: var(--ink-soft);
  background-color: #fff;
  border: 1px solid var(--rule);
  border-radius: 999px;
}

.category-anchor a:hover {
  color: var(--green);
  border-color: var(--green-soft);
}

.faq-group {
  margin-top: 48px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.faq-group h2 {
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.group-note {
  margin-top: 10px;
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.85;
  max-width: 66em;
}

.faq-group .faq-item {
  border-top: 1px solid var(--rule);
}

.faq-group .faq-item:last-child {
  border-bottom: 1px solid var(--rule);
}

.faq-group .faq-item summary {
  position: relative;
  display: block;
  padding: 16px 40px 16px 0;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-group .faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-group .faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 15px;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1.4;
  color: var(--green-soft);
}

.faq-group .faq-item[open] summary::after {
  content: "\2212";
}

.faq-group .faq-item summary:hover {
  color: var(--green);
}

.faq-answer {
  padding: 0 0 18px;
  max-width: 760px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.faq-answer p + p {
  margin-top: 8px;
}

.faq-answer a {
  color: var(--green);
  border-bottom: 1px solid var(--rule);
}

/* ---------------------------------------------------------
   4. pages — 404
   --------------------------------------------------------- */
.error-main {
  padding-bottom: 24px;
}

.error-inner {
  padding-top: 72px;
  padding-bottom: 24px;
  max-width: 720px;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 12px;
}

.error-inner h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  font-weight: 600;
  color: var(--ink);
}

.error-lead {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.error-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.error-links li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background-color: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
}

.error-links li a:hover {
  color: var(--green);
  border-color: var(--green-soft);
}

.error-note {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------
   5. responsive — 1120 / 900 / 640 / 390
   --------------------------------------------------------- */
@media (max-width: 1120px) {
  .site-nav ul {
    gap: 16px;
  }

  .site-nav a {
    font-size: 14px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 56px;
  }

  .header-inner {
    min-height: var(--header-h);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 8px 18px rgba(35, 40, 43, 0.08);
    padding: 8px var(--gap) 16px;
  }

  .site-nav ul {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav ul.is-open {
    display: flex;
  }

  .site-nav ul li {
    border-bottom: 1px solid var(--rule);
  }

  .site-nav ul li:last-child {
    border-bottom: 0;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 16px;
    border-bottom: 0;
  }

  .site-nav a.is-current {
    color: var(--green);
    font-weight: 600;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-figure {
    order: 2;
  }

  .hero-figure img {
    aspect-ratio: 16 / 10;
  }

  .index-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .index-cell {
    border-top: 1px solid var(--rule);
  }

  .index-cell:nth-child(-n + 4) {
    border-top: 0;
  }

  .index-cell:nth-child(4n + 1) {
    border-left: 0;
  }

  .service-directory,
  .baseline-grid,
  .plan-preview,
  .stage-rail,
  .roles-preview,
  .faq-preview,
  .prepare {
    padding-top: 48px;
  }

  .directory-list li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px 16px;
  }

  .row-link {
    grid-column: 2;
    justify-self: start;
  }

  .baseline-track {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan-inner,
  .roles-inner,
  .prepare-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .plan-figure {
    order: -1;
  }

  .roles-figure img {
    aspect-ratio: 16 / 10;
    max-height: none;
  }

  .prepare-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .related {
    position: static;
  }

  .change-boundary {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .confirm-grid,
  .review-grid,
  .stage-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prepare-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .pause-list li,
  .communication-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p:last-child {
    max-width: none;
  }
}

@media (max-width: 640px) {
  :root {
    --gap: 18px;
  }

  body.site-body {
    font-size: 15px;
  }

  .brand {
    font-size: 17px;
  }

  .hero-copy h1,
  .page-title,
  .error-inner h1 {
    font-size: clamp(24px, 6.4vw, 30px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .index-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .index-cell {
    flex: 0 0 62%;
    border-left: 1px solid var(--rule);
    border-top: 0;
    scroll-snap-align: start;
  }

  .index-cell:first-child {
    border-left: 0;
  }

  .index-cell:nth-child(4n + 1) {
    border-left: 1px solid var(--rule);
  }

  .index-cell:first-child {
    border-left: 0;
  }

  .directory-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 18px 4px;
  }

  .row-link {
    grid-column: 1;
    margin-top: 4px;
  }

  .plan-points li {
    font-size: 14px;
  }

  .faq-toggle {
    font-size: 15px;
  }

  .prepare-tags,
  .material-tags {
    grid-template-columns: minmax(0, 1fr);
  }

  .prepare-tags li:last-child,
  .material-tags li:last-child {
    grid-column: auto;
  }

  .page-main .scope-figure img,
  .page-figure img,
  .consult-figure img,
  .stage-figure img,
  .faq-figure img {
    aspect-ratio: 4 / 3;
  }

  .plan-part {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .plan-part .part-no {
    grid-row: auto;
  }

  .table-scroll table {
    min-width: 520px;
  }

  .pager {
    grid-template-columns: minmax(0, 1fr);
  }

  .pager-next {
    text-align: left;
    align-items: flex-start;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .error-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 36px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-header {
    padding-top: 14px;
  }

  .breadcrumb {
    padding-top: 16px;
  }

  .site-footer {
    margin-top: 52px;
  }
}

@media (max-width: 400px) {
  :root {
    --gap: 14px;
  }

  .header-inner {
    gap: 10px;
  }

  .brand {
    font-size: 16px;
  }

  .hero-copy h1,
  .page-title {
    font-size: 23px;
  }

  .section-head h2,
  .plan-copy h2,
  .roles-copy h2,
  .prepare-copy h2,
  .scope-intro h2,
  .service-item h2,
  .form-map h2,
  .other-cases h2,
  .plan-anatomy > h2,
  .responsibility-table > h2,
  .change-boundary h2,
  .confirm-points > h2,
  .disagree > h2,
  .section-title,
  .role h2,
  .handoff h2,
  .out-of-scope h2,
  .steps-section > h2,
  .prepare-section > h2,
  .communication-section > h2,
  .faq-group h2 {
    font-size: 19px;
  }

  .stage-name {
    font-size: 18px;
  }

  .stage {
    padding-left: 16px;
  }

  .stage-head::before {
    left: -22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
