/* ==========================================================================
   天美麻花 · 站点样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --paper: #F5F2EA;
  --paper-white: #FFFDF8;
  --ink: #22302A;
  --moss: #3E6B52;
  --moss-light: #DCE5D8;
  --clay: #C77B56;
  --line: #D8D2C4;
  --muted: #5F6B62;
  --serif: "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --radius: 6px;
  --shell: 1120px;
  --reading: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.25;
}

h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.35;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.5;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--moss);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 10px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted);
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.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;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--moss);
  color: var(--paper-white);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1 0 auto;
}

/* 页头 */

.site-header {
  position: relative;
  z-index: 60;
  background: var(--paper-white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: var(--shell);
  height: 80px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.brand:hover {
  color: var(--moss);
  text-decoration: none;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 0.9375rem;
  color: var(--ink);
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--moss);
  border-bottom-color: var(--moss-light);
  text-decoration: none;
}

.nav-link.is-current {
  color: var(--moss);
  border-bottom-color: var(--moss);
}

.header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.9375rem;
  color: var(--paper-white);
  background: var(--moss);
  border-radius: var(--radius);
}

.header-cta:hover {
  background: var(--ink);
  text-decoration: none;
}

/* 移动菜单按钮 */

.menu-toggle {
  display: none;
  flex: 0 0 auto;
  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);
}

.menu-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 移动全屏菜单 */

.mobile-menu {
  background: var(--paper-white);
  border-bottom: 1px solid var(--line);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-nav {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 12px 24px 28px;
}

.mobile-nav-group {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-nav-group:last-child {
  border-bottom: 0;
}

.mobile-nav-title {
  margin-bottom: 6px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.mobile-nav-group ul {
  display: grid;
  gap: 2px;
}

.mobile-nav-group a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  color: var(--ink);
}

.mobile-nav-group a:hover {
  color: var(--moss);
}

/* 内页主容器 */

.inner-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px 72px;
}

/* 面包屑 */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 22px 0 6px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--moss);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

/* 页面标题区 */

.page-header {
  padding: 10px 0 26px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  max-width: var(--reading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.25;
  color: var(--ink);
}

.eyebrow {
  margin-bottom: 12px;
  font-size: 0.8125rem;
  color: var(--moss);
}

/* 内页通用标题块 */

.section-head {
  max-width: var(--reading);
  margin-bottom: 26px;
}

.section-head h2 {
  margin-bottom: 10px;
}

.section-desc,
.section-intro,
.section-lead {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--muted);
}

/* 页脚 */

.site-footer {
  flex: 0 0 auto;
  background: var(--paper-white);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2.4fr);
  gap: 40px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 24px 32px;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.footer-desc {
  margin-top: 10px;
  max-width: 280px;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--muted);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-col-title {
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: var(--ink);
}

.footer-col ul {
  display: grid;
  gap: 8px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--moss);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px 24px 28px;
  border-top: 1px solid var(--line);
}

.footer-note,
.footer-copy {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   components
   -------------------------------------------------------------------------- */

/* 按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  color: var(--paper-white);
  background: var(--moss);
}

.btn-primary:hover {
  background: var(--ink);
}

.btn-ghost {
  color: var(--moss);
  background: transparent;
  border-color: var(--moss);
}

.btn-ghost:hover {
  color: var(--paper-white);
  background: var(--moss);
}

/* 文字链接 */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 0.9375rem;
  color: var(--moss);
}

.text-link::after {
  content: "\2192";
  font-size: 0.875rem;
}

.text-link:hover {
  text-decoration: underline;
}

/* 段落尾链接行 */

.section-more {
  margin-top: 22px;
  font-size: 0.9375rem;
}

.section-more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--moss);
}

.section-more a::after {
  content: "\2192";
  font-size: 0.875rem;
}

/* 折叠问答 */

.faq-list {
  display: grid;
  gap: 12px;
  max-width: var(--reading);
}

.faq-item {
  background: var(--paper-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 48px 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "\FF0B";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--moss);
}

.faq-item[open] summary::after {
  content: "\FF0D";
}

.faq-item summary:hover {
  color: var(--moss);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--muted);
}

.faq-answer p + p {
  margin-top: 8px;
}

.faq-answer a {
  color: var(--moss);
}

/* 相关页面 · 行式列表 */

.related-list {
  display: grid;
  gap: 0;
  max-width: var(--reading);
  border-top: 1px solid var(--line);
}

.related-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.related-list a {
  font-size: 1rem;
  color: var(--moss);
}

.related-desc {
  font-size: 0.875rem;
  color: var(--muted);
}

/* 返回顶部 */

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1rem;
  color: var(--paper-white);
  background: var(--moss);
  border: 0;
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, background-color 0.18s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top::before {
  content: "\2191";
}

.back-to-top:hover {
  background: var(--ink);
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.home-main {
  padding-bottom: 24px;
}

/* 首屏 */

.hero {
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 56px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 64px 24px 72px;
}

.hero-copy {
  align-self: center;
  max-width: 560px;
}

.hero-copy h1 {
  margin-bottom: 20px;
}

.hero-lead {
  max-width: 42ch;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-media {
  display: grid;
  gap: 22px;
  align-content: start;
}

.hero-figure {
  overflow: hidden;
  background: var(--moss-light);
  border-radius: var(--radius);
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-points {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.hero-points li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 12px 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.hero-points strong {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
}

/* 通用 section 间距 */

.section {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 64px 24px;
  border-bottom: 1px solid var(--line);
}

.section:last-of-type {
  border-bottom: 0;
}

/* 服务方向目录 */

.service-list {
  display: grid;
  border-top: 1px solid var(--ink);
}

.service-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(200px, 0.8fr) auto;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.service-index {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--clay);
}

.service-name {
  margin-bottom: 4px;
}

.service-fit {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--muted);
}

.service-output {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted);
}

.service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.875rem;
  color: var(--moss);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  white-space: nowrap;
}

.service-link:hover {
  color: var(--paper-white);
  background: var(--moss);
  border-color: var(--moss);
  text-decoration: none;
}

/* 交付时间轴 */

.timeline-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.66fr);
  gap: 48px;
  align-items: start;
}

.timeline-track {
  display: grid;
  border-left: 2px solid var(--moss-light);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 0 0 32px 24px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--moss);
  border-radius: 50%;
}

.timeline-num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  color: var(--moss-light);
}

.timeline-content {
  min-width: 0;
}

.timeline-title {
  margin-bottom: 10px;
  font-size: 1.125rem;
}

.timeline-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.timeline-block {
  min-width: 0;
  padding: 12px 14px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted);
  background: var(--paper-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline-block strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.8125rem;
  color: var(--moss);
}

.timeline-figure {
  overflow: hidden;
  background: var(--moss-light);
  border-radius: var(--radius);
}

.timeline-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* 合作准备摘要 */

.prep-summary {
  padding-top: 64px;
  padding-bottom: 64px;
}

.prep-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.prep-intro h2 {
  margin-bottom: 16px;
}

.prep-intro p {
  margin-bottom: 12px;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--muted);
}

.prep-list-box {
  padding: 26px 28px;
  background: var(--paper-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prep-list {
  display: grid;
  gap: 0;
}

.prep-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.prep-item:last-child {
  border-bottom: 0;
}

.prep-num {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--clay);
}

.prep-text {
  min-width: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink);
}

.prep-text span {
  display: block;
  margin-top: 2px;
  font-size: 0.875rem;
  color: var(--muted);
}

/* 公开说明与反馈入口 */

.notes-entry {
  padding-top: 64px;
  padding-bottom: 64px;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.notes-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--paper-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.notes-card h3 {
  margin-bottom: 12px;
}

.notes-card p {
  flex: 1 1 auto;
  margin-bottom: 16px;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--muted);
}

/* 首页常见问题摘要 */

.faq-summary {
  padding-top: 64px;
  padding-bottom: 72px;
}

/* --------------------------------------------------------------------------
   pages · 内页通用标题区配图
   -------------------------------------------------------------------------- */

.page-hero {
  padding: 36px 0 48px;
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 48px;
  align-items: start;
}

.page-hero-copy {
  max-width: 560px;
}

.page-hero-lead {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--muted);
}

.page-hero-media {
  overflow: hidden;
  background: var(--moss-light);
  border-radius: var(--radius);
}

.page-hero-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

/* 交付过程页标题区 */

.page-title-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 48px;
  align-items: start;
  padding: 36px 0 48px;
  border-bottom: 1px solid var(--line);
}

.page-title-copy {
  max-width: 560px;
}

.page-lead {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--muted);
}

.page-title-media {
  overflow: hidden;
  background: var(--moss-light);
  border-radius: var(--radius);
}

.page-title-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

/* 反馈说明页标题区 */

.page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 48px;
  align-items: start;
  padding: 36px 0 48px;
  border-bottom: 1px solid var(--line);
}

.page-head-copy {
  max-width: 560px;
}

.page-intro {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--muted);
}

.page-head-media {
  overflow: hidden;
  background: var(--moss-light);
  border-radius: var(--radius);
}

.page-head-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   pages · 服务目录
   -------------------------------------------------------------------------- */

.catalog-index,
.catalog-deliverables,
.prepare-brief {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.catalog-index .section-head,
.catalog-deliverables .section-head,
.prepare-brief .section-head {
  margin-bottom: 28px;
}

.catalog-rows {
  display: grid;
  max-width: 100%;
  border-top: 1px solid var(--ink);
}

.catalog-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(240px, 0.72fr);
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.catalog-num {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--clay);
}

.catalog-row-main {
  min-width: 0;
}

.catalog-row-title {
  margin-bottom: 6px;
}

.catalog-row-scene {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
}

.catalog-row-side {
  min-width: 0;
}

.catalog-row-deliver {
  margin-bottom: 8px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted);
}

.catalog-row-side .text-link {
  min-height: 40px;
  font-size: 0.875rem;
}

/* 交付物说明分组 */

.catalog-deliverables {
  display: grid;
  gap: 0;
}

.deliver-group {
  max-width: var(--reading);
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.deliver-group-title {
  margin-bottom: 8px;
}

.deliver-group-desc {
  margin-bottom: 12px;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--muted);
}

.deliver-list {
  display: grid;
  gap: 6px;
}

.deliver-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ink);
}

.deliver-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--moss);
  border-radius: 50%;
}

/* 选择服务前准备事项 */

.prepare-rows {
  display: grid;
  max-width: var(--reading);
  border-top: 1px solid var(--line);
}

.prepare-row {
  display: grid;
  grid-template-columns: 40px minmax(120px, 0.6fr) minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.prepare-num {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--clay);
}

.prepare-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.prepare-note {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
}

.prepare-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 22px;
  font-size: 0.9375rem;
}

.prepare-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--moss);
}

/* --------------------------------------------------------------------------
   pages · 交付过程
   -------------------------------------------------------------------------- */

.page-container {
  width: 100%;
}

.process-timeline-section,
.check-boundary-section,
.related-links-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.process-timeline-section .section-head,
.check-boundary-section .section-head,
.related-links-section .section-head {
  margin-bottom: 28px;
}

.process-timeline {
  display: grid;
  max-width: var(--reading);
  border-left: 2px solid var(--moss-light);
}

.process-stage {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  padding: 0 0 36px 26px;
}

.process-stage:last-child {
  padding-bottom: 0;
}

.process-stage::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 10px;
  width: 12px;
  height: 12px;
  background: var(--moss);
  border-radius: 50%;
}

.stage-number {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  color: var(--moss-light);
}

.stage-body {
  min-width: 0;
}

.stage-title {
  margin-bottom: 8px;
}

.stage-desc {
  margin-bottom: 14px;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--muted);
}

.stage-io {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stage-io-block {
  min-width: 0;
  padding: 14px 16px;
  background: var(--paper-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stage-io-label {
  margin-bottom: 6px;
  font-size: 0.8125rem;
  color: var(--moss);
}

.stage-io-list {
  display: grid;
  gap: 4px;
}

.stage-io-list li {
  position: relative;
  padding-left: 14px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted);
}

.stage-io-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: var(--clay);
  border-radius: 50%;
}

/* 交付检查与修改边界 */

.dual-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--reading);
}

.column-block {
  min-width: 0;
  padding: 24px;
  background: var(--paper-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.column-title {
  margin-bottom: 12px;
}

.check-list {
  display: grid;
  gap: 8px;
}

.check-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--moss);
  border-radius: 50%;
}

/* 相关页面入口 */

.related-link-list {
  display: grid;
  max-width: var(--reading);
  border-top: 1px solid var(--line);
}

.related-link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.related-link-text {
  min-width: 0;
  flex: 1 1 320px;
}

.related-link-title {
  margin-bottom: 4px;
  font-size: 1rem;
}

.related-link-desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted);
}

.related-link-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.875rem;
  color: var(--moss);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  white-space: nowrap;
}

.related-link-action:hover {
  color: var(--paper-white);
  background: var(--moss);
  border-color: var(--moss);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   pages · 合作准备
   -------------------------------------------------------------------------- */

.prep-checklist {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.prep-checklist-inner {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.prep-checklist-intro h2 {
  margin-bottom: 14px;
}

.prep-checklist-intro p {
  margin-bottom: 12px;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--muted);
}

.prep-checklist-list {
  display: grid;
  border-top: 1px solid var(--ink);
}

.prep-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.prep-checklist-num {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--clay);
}

.prep-checklist-body {
  min-width: 0;
}

.prep-checklist-body h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.prep-checklist-body p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
}

/* 资料准备与使用边界 */

.prep-boundary {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.prep-boundary h2 {
  max-width: var(--reading);
  margin-bottom: 26px;
}

.prep-boundary-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--reading);
}

.prep-boundary-col {
  min-width: 0;
  padding: 24px;
  background: var(--paper-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prep-boundary-col h3 {
  margin-bottom: 10px;
}

.prep-boundary-col > p {
  margin-bottom: 12px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
}

.prep-boundary-list {
  display: grid;
  gap: 8px;
}

.prep-boundary-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
}

.prep-boundary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--moss);
  border-radius: 50%;
}

/* 首次沟通说明顺序 */

.prep-dialogue {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.prep-dialogue h2 {
  max-width: var(--reading);
  margin-bottom: 10px;
}

.prep-dialogue > p {
  max-width: var(--reading);
  margin-bottom: 26px;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--muted);
}

.prep-dialogue-steps {
  display: grid;
  gap: 0;
  max-width: var(--reading);
  border-top: 1px solid var(--line);
}

.prep-dialogue-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.prep-dialogue-num {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--clay);
}

.prep-dialogue-body {
  min-width: 0;
}

.prep-dialogue-body h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.prep-dialogue-body p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
}

/* 相关页面 */

.related-links {
  padding: 56px 0 8px;
}

.related-links h2 {
  margin-bottom: 22px;
}

.related-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.related-item h3 {
  flex: 0 0 auto;
  font-size: 1rem;
}

.related-item p {
  flex: 1 1 260px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted);
}

.related-item a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  color: var(--moss);
}

/* --------------------------------------------------------------------------
   pages · 公开说明
   -------------------------------------------------------------------------- */

.notes-hero {
  padding-bottom: 40px;
  border-bottom: 0;
}

.segment-control {
  display: inline-flex;
  gap: 4px;
  margin: 8px 0 8px;
  padding: 4px;
  background: var(--paper-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.segment-btn {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.9375rem;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 4px;
}

.segment-btn:hover {
  color: var(--ink);
}

.segment-btn.is-active {
  color: var(--paper-white);
  background: var(--moss);
}

.notes-section {
  padding: 40px 0 48px;
  border-bottom: 1px solid var(--line);
}

.notes-section .section-head {
  margin-bottom: 24px;
}

.notes-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--reading);
}

.notes-col {
  min-width: 0;
  padding: 24px;
  background: var(--paper-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.notes-col h3 {
  margin-bottom: 12px;
}

.notes-col-exclude {
  background: var(--paper);
}

.notes-list {
  display: grid;
  gap: 10px;
}

.notes-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
}

.notes-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--moss);
  border-radius: 50%;
}

.notes-list strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
}

.notes-stack {
  display: grid;
  gap: 0;
  max-width: var(--reading);
  border-top: 1px solid var(--line);
}

.notes-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.notes-item h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.notes-item p {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--muted);
}

.notes-tip {
  max-width: var(--reading);
  margin-top: 20px;
  padding: 14px 18px;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--muted);
  background: var(--moss-light);
  border-radius: var(--radius);
}

/* 交付记录表 */

.records-table {
  max-width: var(--reading);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-white);
}

.records-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.4fr) minmax(120px, 0.9fr);
}

.records-row + .records-row {
  border-top: 1px solid var(--line);
}

.records-row span {
  min-width: 0;
  padding: 12px 16px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted);
  overflow-wrap: break-word;
}

.records-row span + span {
  border-left: 1px solid var(--line);
}

.records-head {
  background: var(--moss-light);
}

.records-head span {
  font-weight: 600;
  color: var(--ink);
}

/* 反馈处理规则 */

.feedback-rules {
  max-width: var(--reading);
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.feedback-rules h3 {
  margin-bottom: 12px;
}

.notes-inline-link {
  margin-top: 16px;
  font-size: 0.9375rem;
}

.notes-inline-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--moss);
}

/* 公开说明相关页面 */

.related-pages {
  padding: 48px 0 8px;
}

.related-pages .section-head {
  margin-bottom: 20px;
}

.related-pages .related-list {
  max-width: var(--reading);
}

/* --------------------------------------------------------------------------
   pages · 反馈说明
   -------------------------------------------------------------------------- */

.page-layout {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding-top: 40px;
}

.feedback-aside {
  position: sticky;
  top: 24px;
  padding: 20px;
  background: var(--paper-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-title {
  margin-bottom: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.feedback-type-nav {
  display: grid;
  gap: 2px;
}

.feedback-type-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 0.9375rem;
  color: var(--muted);
  border-left: 2px solid transparent;
}

.feedback-type-link:hover {
  color: var(--moss);
  text-decoration: none;
}

.feedback-type-link.is-current {
  color: var(--moss);
  background: var(--moss-light);
  border-left-color: var(--moss);
}

.aside-note {
  margin-top: 14px;
  padding-top: 14px;
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.feedback-content {
  min-width: 0;
}

.feedback-paths,
.feedback-info,
.feedback-boundary {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.feedback-paths h2,
.feedback-info h2,
.feedback-boundary h2 {
  margin-bottom: 10px;
}

.feedback-paths > .section-lead,
.feedback-info > .section-lead {
  margin-bottom: 24px;
}

.feedback-group {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.feedback-group h3 {
  margin-bottom: 6px;
}

.feedback-scene {
  margin-bottom: 12px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
}

.feedback-steps {
  display: grid;
  gap: 8px;
  counter-reset: fbstep;
}

.feedback-steps li {
  position: relative;
  padding-left: 34px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ink);
  counter-increment: fbstep;
}

.feedback-steps li::before {
  content: counter(fbstep);
  position: absolute;
  left: 0;
  top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 0.75rem;
  color: var(--moss);
  background: var(--moss-light);
  border-radius: 50%;
}

.feedback-link-line {
  margin-top: 12px;
  font-size: 0.9375rem;
}

.feedback-link-line a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--moss);
}

/* 每类需准备的信息 */

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.info-item {
  min-width: 0;
  padding: 22px;
  background: var(--paper-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.info-item h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.info-list {
  display: grid;
  gap: 6px;
}

.info-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--muted);
}

.info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: var(--clay);
  border-radius: 50%;
}

/* 反馈处理记录与回复边界 */

.boundary-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.boundary-col {
  min-width: 0;
  padding: 24px;
  background: var(--paper-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.boundary-col h3 {
  margin-bottom: 12px;
}

.boundary-list {
  display: grid;
  gap: 8px;
}

.boundary-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
}

.boundary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--moss);
  border-radius: 50%;
}

.boundary-note {
  margin-top: 20px;
  font-size: 0.9375rem;
}

.boundary-note a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--moss);
}

.feedback-content .related-pages {
  padding-bottom: 0;
}

/* --------------------------------------------------------------------------
   pages · 常见问题
   -------------------------------------------------------------------------- */

.page-faq .page-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.66fr);
  gap: 48px;
  align-items: start;
  padding: 36px 0 44px;
}

.page-header-copy {
  max-width: 560px;
}

.page-header-copy .page-title {
  margin-bottom: 16px;
}

.page-header-media {
  overflow: hidden;
  background: var(--moss-light);
  border-radius: var(--radius);
}

.page-header-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.media-caption {
  padding: 0 4px;
}

.faq-group {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.faq-group-head {
  max-width: var(--reading);
  margin-bottom: 22px;
}

.faq-group-head h2 {
  margin-bottom: 8px;
}

.faq-group-desc {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--muted);
}

.faq-question {
  font-family: var(--sans);
}

.faq-link-line {
  margin-top: 10px;
}

.faq-link-line a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  color: var(--moss);
}

.related-entry {
  padding: 48px 0 8px;
}

.related-entry h2 {
  margin-bottom: 20px;
}

.related-entry .related-list {
  max-width: var(--reading);
}

.related-entry .related-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.related-entry .related-link {
  font-size: 1rem;
  color: var(--moss);
}

.related-entry .related-desc {
  flex: 1 1 240px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.error-panel {
  max-width: var(--reading);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.error-code {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--moss-light);
}

.error-panel h1 {
  margin-bottom: 14px;
}

.error-lead {
  max-width: 42ch;
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.error-hints {
  max-width: var(--reading);
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.error-hints h2 {
  margin-bottom: 10px;
}

.error-hints-desc {
  margin-bottom: 22px;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--muted);
}

.error-hint-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.error-hint-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.error-hint-list h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.error-hint-list p {
  margin-bottom: 4px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
}

.error-hint-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  color: var(--moss);
}

.error-note {
  max-width: var(--reading);
  padding-top: 36px;
}

.error-note h2 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.error-note > p {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--muted);
}

.error-note-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 12px;
}

.error-note-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  color: var(--moss);
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .header-inner {
    gap: 20px;
  }

  .nav-list {
    gap: 16px;
  }

  .nav-link {
    font-size: 0.875rem;
  }

  .hero-inner {
    gap: 40px;
  }

  .timeline-body {
    gap: 32px;
  }

  .service-row {
    grid-template-columns: 48px minmax(0, 1fr) minmax(180px, 0.7fr) auto;
    gap: 18px;
  }
}

@media (max-width: 960px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .header-inner {
    height: 68px;
    padding: 0 20px;
  }

  .inner-main {
    padding: 0 20px 56px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding: 44px 20px 52px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-lead {
    max-width: 100%;
  }

  .hero-figure img {
    aspect-ratio: 16 / 10;
  }

  .section {
    padding: 48px 20px;
  }

  .service-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px 16px;
  }

  .service-index {
    grid-row: 1 / span 2;
  }

  .service-output {
    grid-column: 2;
  }

  .service-link {
    grid-column: 2;
    justify-self: start;
    margin-top: 6px;
  }

  .timeline-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .timeline-figure img {
    aspect-ratio: 16 / 9;
  }

  .prep-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .notes-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero-inner,
  .page-title-section,
  .page-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .catalog-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px 16px;
  }

  .catalog-num {
    grid-row: 1 / span 2;
  }

  .catalog-row-side {
    grid-column: 2;
  }

  .prepare-row {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 4px 14px;
  }

  .prepare-num {
    grid-row: 1 / span 2;
  }

  .prepare-note {
    grid-column: 2;
  }

  .process-stage {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    padding-left: 22px;
  }

  .dual-column,
  .prep-boundary-columns,
  .notes-split,
  .boundary-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .prep-checklist-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .feedback-aside {
    position: static;
  }

  .feedback-type-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .feedback-type-link {
    border-left: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0 12px;
  }

  .feedback-type-link.is-current {
    border-color: var(--moss);
  }

  .aside-note {
    margin-top: 12px;
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .page-faq .page-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 28px 0 36px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 40px 20px 28px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }

  .footer-desc {
    max-width: 100%;
  }

  .footer-bottom {
    padding: 16px 20px 24px;
  }

  .error-main {
    padding: 40px 20px 56px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15.5px;
  }

  .header-inner {
    height: 64px;
    padding: 0 16px;
  }

  .brand {
    font-size: 1.25rem;
  }

  .mobile-nav {
    padding: 8px 16px 24px;
  }

  .inner-main {
    padding: 0 16px 48px;
  }

  .breadcrumb {
    padding: 16px 0 4px;
    font-size: 0.75rem;
  }

  .page-header {
    padding: 8px 0 20px;
  }

  .hero-inner {
    padding: 32px 16px 40px;
    gap: 28px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 160px;
  }

  .section {
    padding: 40px 16px;
  }

  .service-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 20px 0;
  }

  .service-index {
    grid-row: auto;
    font-size: 1rem;
  }

  .service-output,
  .service-link {
    grid-column: auto;
  }

  .timeline-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-left: 18px;
  }

  .timeline-num {
    font-size: 2.2rem;
  }

  .timeline-pair {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .prep-list-box {
    padding: 20px;
  }

  .notes-card {
    padding: 22px;
  }

  .page-hero {
    padding: 24px 0 36px;
  }

  .page-title-section,
  .page-head {
    padding: 24px 0 36px;
  }

  .catalog-index,
  .catalog-deliverables,
  .prepare-brief,
  .process-timeline-section,
  .check-boundary-section,
  .related-links-section,
  .prep-checklist,
  .prep-boundary,
  .prep-dialogue,
  .related-links,
  .notes-section,
  .related-pages,
  .related-entry {
    padding: 36px 0;
  }

  .catalog-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 20px 0;
  }

  .catalog-num {
    grid-row: auto;
    font-size: 1rem;
  }

  .catalog-row-side {
    grid-column: auto;
  }

  .prepare-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 14px 0;
  }

  .prepare-num {
    grid-row: auto;
  }

  .prepare-note {
    grid-column: auto;
  }

  .process-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-left: 18px;
  }

  .stage-number {
    font-size: 2.2rem;
  }

  .stage-io {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .column-block,
  .prep-boundary-col,
  .notes-col,
  .boundary-col,
  .info-item {
    padding: 20px;
  }

  .related-link-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .related-link-text {
    flex: 1 1 auto;
  }

  .feedback-type-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .info-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .segment-control {
    display: flex;
    width: 100%;
  }

  .segment-btn {
    flex: 1 1 0;
    padding: 0 10px;
  }

  .records-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .records-row span + span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .records-head {
    display: none;
  }

  .records-row span:first-child {
    font-weight: 600;
    color: var(--ink);
    background: var(--moss-light);
  }

  .faq-item summary {
    padding: 12px 44px 12px 16px;
    font-size: 0.9375rem;
  }

  .faq-answer {
    padding: 0 16px 16px;
  }

  .faq-group {
    padding: 32px 0;
  }

  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 16px 22px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }

  .error-main {
    padding: 32px 16px 48px;
  }

  .error-actions .btn {
    flex: 1 1 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
