/* ==========================================================================
   天美国产 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */
:root {
  --ink: #0F2433;
  --ink-soft: #1D3A4C;
  --paper: #F7F6F2;
  --white: #FFFFFF;
  --teal: #0F8B8D;
  --teal-dark: #0B6E70;
  --amber: #D98B2B;
  --red: #C4513F;
  --gray: #6B7780;
  --gray-light: #B9C2C8;
  --line: #DCDCD4;
  --line-soft: #E7E6DE;
  --radius: 6px;
  --radius-sm: 4px;
  --shell: 1180px;
  --gutter: 24px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --shadow-card: 0 1px 2px rgba(15, 36, 51, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl, dd, dt {
  margin: 0;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--teal);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

figure {
  margin: 0;
}

figcaption {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 8px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background-color: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

/* --------------------------------------------------------------------------
   layout · 骨架
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.is-solid {
  background-color: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-inner {
  width: 100%;
  max-width: var(--shell);
  height: 72px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--white);
}

.brand-mark {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background-color: var(--teal);
  position: relative;
  flex-shrink: 0;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background-color: var(--white);
  border-radius: 1px;
}

.brand-mark::before {
  width: 12px;
  height: 3px;
  left: 7px;
  top: 8px;
}

.brand-mark::after {
  width: 3px;
  height: 8px;
  left: 11px;
  top: 8px;
}

.brand-name {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-list li {
  display: flex;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-list a:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-list a.is-current {
  color: var(--white);
  background-color: rgba(15, 139, 141, 0.32);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--white);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-main {
  display: block;
}

.inner-main {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter) 64px;
}

.breadcrumb {
  padding: 20px 0 4px;
  font-size: 14px;
  color: var(--gray);
}

.breadcrumb a {
  color: var(--gray);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--teal);
}

.breadcrumb-sep {
  margin: 0 8px;
  color: var(--gray-light);
}

.breadcrumb-current {
  color: var(--ink-soft);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  padding: 20px 0 4px;
  margin: 0;
  font-size: 14px;
  color: var(--gray);
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-list li + li::before {
  content: "/";
  margin: 0 8px;
  color: var(--gray-light);
}

.page-header {
  padding: 8px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.page-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: 0;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.page-content,
.main-content,
.page-layout > .site-main.inner-main {
  min-width: 0;
}

.page-aside,
.sidebar {
  min-width: 0;
}

.return-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 20px var(--gutter) 40px;
  font-size: 15px;
}

.return-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background-color: var(--white);
}

.return-bar a:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.return-bar-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  width: 100%;
}

.return-bar-inner p {
  color: var(--gray);
  font-size: 14px;
  margin: 0;
}

.return-note {
  color: var(--gray);
  font-size: 14px;
  margin: 0;
}

.return-note a {
  color: var(--teal-dark);
  min-height: auto;
  padding: 0;
  border: 0;
  background: none;
  text-decoration: underline;
}

.return-sep {
  color: var(--gray-light);
}

.return-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background-color: var(--white);
}

.return-link:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.return-link--ghost {
  background-color: transparent;
}

/* --------------------------------------------------------------------------
   layout · 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 0;
  margin-top: 24px;
}

.footer-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter) 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
  align-items: start;
}

.footer-brand {
  min-width: 0;
}

.brand--footer {
  color: var(--white);
  font-size: 18px;
}

.brand--footer:hover {
  color: var(--white);
}

.footer-intro {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
  max-width: 300px;
}

.footer-group {
  min-width: 0;
}

.footer-title {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}

.footer-group ul {
  display: grid;
  gap: 8px;
}

.footer-group a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.6;
}

.footer-group a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px var(--gutter) 28px;
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.footer-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* --------------------------------------------------------------------------
   components · 通用区块与文本容器
   -------------------------------------------------------------------------- */
.section-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: 0;
}

.section-head p {
  color: var(--gray);
  font-size: 15px;
  max-width: 720px;
  margin: 0;
}

.section-note {
  color: var(--gray);
  font-size: 15px;
  margin: 0 0 20px;
  max-width: 720px;
}

.section-lead {
  color: var(--gray);
  font-size: 15px;
  margin: 0;
  max-width: 720px;
}

.section-desc {
  color: var(--gray);
  font-size: 15px;
  margin: 0;
  max-width: 720px;
}

.section-more {
  margin-top: 20px;
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--teal-dark);
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.text-link::after {
  content: "→";
  margin-left: 6px;
  transition: transform 0.18s ease;
}

.text-link:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.text-link:hover::after {
  transform: translateX(3px);
}

.content-media {
  margin: 0 0 24px;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--line-soft);
}

.content-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.line-figure,
.track-figure,
.block-figure,
.glossary-media,
.boundary-figure,
.issue-intro-media,
.roles-media {
  margin: 0 0 24px;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--line-soft);
}

.line-figure img,
.track-figure img,
.block-figure img,
.glossary-media img,
.boundary-figure img,
.issue-intro-media img,
.roles-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   components · 线路徽标与色块
   -------------------------------------------------------------------------- */
.line-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background-color: var(--teal);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.line-badge .line-code {
  font-weight: 700;
}

.line-badge .line-name {
  font-family: var(--font-sans);
  font-weight: 600;
}

.line-badge--issue {
  background-color: var(--red);
}

.line-code {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.code-mark,
.code-dot,
.code-badge {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background-color: var(--teal);
  margin-right: 8px;
  vertical-align: middle;
}

.code-dot {
  border-radius: 50%;
}

.code-badge {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
}

.line-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  background-color: var(--teal);
  margin: 0 0 12px;
}

.line-tag--amber {
  background-color: var(--amber);
}

.line-tag--teal {
  background-color: var(--teal);
}

/* --------------------------------------------------------------------------
   components · 内页标题区
   -------------------------------------------------------------------------- */
.page-title .page-code,
.page-title .page-kicker {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gray);
  margin: 0 0 12px;
}

.page-title-inner {
  padding: 0;
}

.page-summary,
.page-lead {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 20px;
  line-height: 1.8;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 14px;
  color: var(--gray);
  margin: 0;
}

.page-meta li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.page-meta dt {
  color: var(--gray);
  font-size: 13px;
}

.page-meta dd {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0;
}

.meta-label {
  color: var(--gray);
  font-size: 13px;
}

/* 内页 page-title 区块（部分页面位于 main 之外） */
.inner-main > .page-title,
.page-layout > .page-content > .page-title,
.site-main.inner-main > .page-title {
  padding: 8px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

/* --------------------------------------------------------------------------
   components · 表格
   -------------------------------------------------------------------------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--white);
}

.fit-table {
  width: 100%;
  font-size: 14px;
  background-color: var(--white);
}

.fit-table caption {
  text-align: left;
}

.fit-table th,
.fit-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.7;
}

.fit-table thead th {
  background-color: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.fit-table tbody th {
  color: var(--ink);
  font-weight: 600;
  background-color: #FBFAF6;
  white-space: nowrap;
}

.fit-table tbody tr:last-child th,
.fit-table tbody tr:last-child td {
  border-bottom: 0;
}

.fit-table tbody tr:hover th,
.fit-table tbody tr:hover td {
  border-bottom-color: var(--gray-light);
  background-color: #FCFBF7;
}

.fit-signal-list {
  display: grid;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 14px;
  color: var(--ink-soft);
}

.fit-signal-list li {
  position: relative;
  padding-left: 14px;
}

.fit-signal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--teal);
}

.fit-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background-color: var(--gray);
  margin-right: 6px;
  vertical-align: middle;
}

.fit-tag--cyan {
  background-color: var(--teal);
}

.fit-tag--amber {
  background-color: var(--amber);
}

.fit-tag--red {
  background-color: var(--red);
}

/* --------------------------------------------------------------------------
   components · 折叠问答
   -------------------------------------------------------------------------- */
.issue-accordion,
.issue-faq {
  display: grid;
  gap: 12px;
}

.issue-item,
.faq-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.issue-summary,
.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding: 16px 44px 16px 18px;
  position: relative;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.6;
}

.issue-summary::-webkit-details-marker,
.faq-item summary::-webkit-details-marker {
  display: none;
}

.issue-summary::after,
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 400;
  color: var(--teal);
  line-height: 1;
}

.issue-item[open] .issue-summary::after,
.faq-item[open] summary::after {
  content: "−";
}

.issue-item[open] .issue-summary,
.faq-item[open] summary {
  background-color: #FBFAF6;
  border-bottom: 1px solid var(--line-soft);
}

.issue-label {
  flex-shrink: 0;
  padding: 1px 8px;
  border-radius: 3px;
  background-color: var(--red);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.issue-title {
  flex: 1 1 auto;
  min-width: 0;
}

.issue-body,
.faq-body {
  padding: 16px 18px 18px;
  font-size: 15px;
  color: var(--ink-soft);
}

.issue-body p,
.faq-body p {
  margin: 0;
}

.issue-body p + p,
.faq-body p + p {
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   components · 侧栏
   -------------------------------------------------------------------------- */
.aside-block,
.sidebar-block {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 20px;
}

.aside-title,
.sidebar-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  letter-spacing: 0.02em;
}

.aside-toc,
.aside-list,
.aside-link-list,
.aside-links,
.sidebar-list {
  display: grid;
  gap: 4px;
}

.aside-toc a,
.aside-list a,
.aside-link-list a,
.aside-links a,
.sidebar-list a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.aside-toc a:hover,
.aside-list a:hover,
.aside-link-list a:hover,
.aside-links a:hover,
.sidebar-list a:hover {
  color: var(--teal-dark);
}

.aside-note {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

.aside-text {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.75;
  margin: 0 0 12px;
}

.aside-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-dark);
}

.aside-more {
  margin-top: 8px;
  font-size: 14px;
}

.aside-block--back {
  background-color: #FBFAF6;
}

.aside-block--note {
  background-color: #FBFAF6;
}

.aside-term-list {
  display: grid;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   components · 相关链接条
   -------------------------------------------------------------------------- */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 32px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--white);
  font-size: 14px;
}

.related-links-label {
  color: var(--gray);
  font-weight: 600;
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background-color: var(--paper);
  color: var(--ink);
  font-size: 14px;
}

.related-links-item:hover {
  background-color: #EEF3F2;
  color: var(--teal-dark);
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */
.home-main {
  display: block;
}

/* hero */
.hero {
  background-color: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 48px;
}

.hero-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background-color: rgba(15, 139, 141, 0.28);
  color: #8FD3D3;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
}

.hero-copy h1 {
  color: var(--white);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.22;
  letter-spacing: 0;
  margin: 0 0 20px;
  font-weight: 700;
}

.hero-lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.76);
  max-width: 560px;
  margin: 0 0 28px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background-color: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--teal-dark);
  color: var(--white);
}

.btn-ghost {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.08);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-points li {
  position: relative;
  padding-left: 16px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--teal);
}

.hero-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--ink-soft);
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-media figcaption {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  padding: 10px 14px;
  margin: 0;
  background-color: rgba(255, 255, 255, 0.04);
}

/* situation-strip */
.situation-strip {
  background-color: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}

.section-title-sm {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray);
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.situation-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.situation-item {
  min-width: 0;
}

.situation-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper);
  color: var(--ink);
  font-size: 15px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.situation-item a:hover {
  border-color: var(--teal);
  background-color: #F2F7F6;
  color: var(--ink);
}

.situation-tag {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.04em;
}

.situation-text {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.5;
}

/* service-lines 首页 */
.service-lines {
  padding: 64px 0;
}

.line-list {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.line-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.line-row:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--gray-light);
}

.line-row--teal {
  border-left-color: var(--teal);
}

.line-row--amber {
  border-left-color: var(--amber);
}

.line-row--ink {
  border-left-color: var(--ink);
}

.line-row--red {
  border-left-color: var(--red);
}

.line-row .line-badge {
  background-color: var(--teal);
}

.line-row--amber .line-badge {
  background-color: var(--amber);
}

.line-row--ink .line-badge {
  background-color: var(--ink);
}

.line-row--red .line-badge {
  background-color: var(--red);
}

.line-body {
  min-width: 0;
}

.line-signal {
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.6;
}

.line-focus {
  font-size: 14px;
  color: var(--gray);
  margin: 0;
  line-height: 1.6;
}

.line-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.line-row:hover .line-link {
  border-color: var(--teal);
  color: var(--teal-dark);
}

/* fit-summary 首页 */
.fit-summary {
  background-color: var(--white);
  padding: 64px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* delivery-track 首页 */
.delivery-track {
  padding: 64px 0;
}

.track-list {
  display: grid;
  gap: 0;
  position: relative;
  margin-top: 8px;
  padding-left: 0;
}

.track-stop {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  position: relative;
  padding: 0 0 28px;
  min-width: 0;
}

.track-stop:last-child {
  padding-bottom: 0;
}

.track-stop::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background-color: var(--line);
}

.track-stop:last-child::before {
  display: none;
}

.stop-code {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

.stop-body {
  min-width: 0;
  padding-top: 4px;
}

.stop-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}

.stop-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 0;
}

.stop-meta dt {
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gray);
  margin-bottom: 2px;
}

.stop-meta dd {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* issue-preview 首页 */
.issue-preview {
  background-color: var(--white);
  padding: 64px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* glossary-strip 首页 */
.glossary-strip {
  padding: 64px 0;
}

.term-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.term-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.term-line {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal-dark);
}

.term-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.term-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

.term-toggle {
  align-self: flex-start;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.term-toggle:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.term-toggle[aria-expanded="true"] {
  background-color: #EEF3F2;
  border-color: var(--teal);
  color: var(--teal-dark);
}

.term-extra {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

/* cooperation 首页 */
.cooperation {
  background-color: var(--white);
  padding: 64px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cooperation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.cooperation-col {
  min-width: 0;
}

.col-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding: 10px 14px 10px 36px;
  background-color: var(--paper);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 10px;
  color: var(--teal);
  font-weight: 700;
}

.step-list {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.step-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

.step-list li > span:last-child {
  padding-top: 4px;
}

/* boundaries 首页 */
.boundaries {
  padding: 64px 0;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.boundary-col {
  min-width: 0;
  padding: 24px 22px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
}

.boundary-col--in {
  border-top-color: var(--teal);
}

.boundary-col--check {
  border-top-color: var(--amber);
}

.boundary-col--out {
  border-top-color: var(--red);
}

.boundary-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
}

.boundary-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.boundary-col li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.boundary-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gray-light);
}

.boundary-col--in li::before {
  background-color: var(--teal);
}

.boundary-col--check li::before {
  background-color: var(--amber);
}

.boundary-col--out li::before {
  background-color: var(--red);
}

/* --------------------------------------------------------------------------
   pages · 服务线路
   -------------------------------------------------------------------------- */
.line-map {
  margin-bottom: 40px;
}

.line-map-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.line-map-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.line-map-item .line-badge {
  align-self: flex-start;
}

.line-map-item a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.line-map-item a:hover {
  color: var(--teal-dark);
}

.line-map-signal {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

.line-entries {
  margin-bottom: 40px;
}

.line-entry {
  padding: 24px;
  margin-bottom: 20px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  min-width: 0;
}

.line-entry.line-01 {
  border-left-color: var(--teal);
}

.line-entry.line-02 {
  border-left-color: var(--amber);
}

.line-entry.line-03 {
  border-left-color: var(--ink);
}

.line-entry.line-04 {
  border-left-color: var(--red);
}

.line-entry-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 16px;
}

.line-entry-header .line-badge {
  order: 0;
}

.line-entry-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.line-tagline {
  flex-basis: 100%;
  font-size: 14px;
  color: var(--gray);
  margin: 0;
}

.line-entry .line-figure {
  margin: 0 0 20px;
}

.line-entry-body {
  min-width: 0;
}

.line-block {
  margin-bottom: 18px;
}

.line-block h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.line-signal-list,
.line-work-list,
.line-deliverable-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.line-signal-list li,
.line-work-list li,
.line-deliverable-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.line-signal-list li::before,
.line-work-list li::before,
.line-deliverable-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--teal);
}

.line-link-note {
  font-size: 14px;
  color: var(--gray);
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.line-connect {
  margin-bottom: 40px;
}

.connect-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.connect-step {
  padding: 18px 16px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.connect-step .step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.connect-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.connect-step p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
  margin: 0;
}

.connect-boundary {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #FBFAF6;
}

.connect-boundary li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.connect-boundary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--amber);
}

/* --------------------------------------------------------------------------
   pages · 适配判断
   -------------------------------------------------------------------------- */
.fit-table-block {
  margin-bottom: 40px;
}

.block-head {
  margin-bottom: 20px;
}

.block-head h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--ink);
  margin: 0 0 10px;
}

.block-head p {
  color: var(--gray);
  font-size: 15px;
  margin: 0;
  max-width: 720px;
}

.block-intro {
  color: var(--gray);
  font-size: 15px;
  margin: 0;
  max-width: 720px;
}

.block-tail {
  margin-top: 16px;
  font-size: 15px;
}

.block-foot {
  margin-top: 16px;
  font-size: 15px;
}

.fit-misjudge {
  margin-bottom: 40px;
}

.misjudge-list {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.misjudge-item {
  padding: 18px 20px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.misjudge-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.misjudge-actual {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 6px;
}

.misjudge-fix {
  font-size: 14px;
  color: var(--teal-dark);
  line-height: 1.7;
  margin: 0;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.fit-next {
  margin-bottom: 32px;
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.next-card {
  padding: 20px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.next-index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal-dark);
  margin: 0 0 8px;
}

.next-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.next-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
  margin: 0;
}

.next-card p a {
  color: var(--teal-dark);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   pages · 交付轨道
   -------------------------------------------------------------------------- */
.track-section,
.roles-section,
.change-section {
  margin-bottom: 40px;
}

.track-section .track-list {
  margin-top: 8px;
}

.track-stop-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.track-stop-head .track-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 36px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  background-color: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.track-stop-head h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.track-stop-body {
  min-width: 0;
}

.track-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 0;
}

.track-fields dt {
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gray);
  margin-bottom: 2px;
}

.track-fields dd {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 8px;
}

.roles-table {
  width: 100%;
  margin-top: 8px;
  font-size: 14px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.roles-table th,
.roles-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.7;
}

.roles-table thead th {
  background-color: var(--paper);
  color: var(--ink);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.roles-table tbody th {
  color: var(--ink);
  font-weight: 600;
  background-color: #FBFAF6;
  white-space: nowrap;
}

.roles-table tbody tr:last-child th,
.roles-table tbody tr:last-child td {
  border-bottom: 0;
}

.change-list {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.change-item {
  padding: 18px 20px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  min-width: 0;
}

.change-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.change-item p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

/* --------------------------------------------------------------------------
   pages · 问题处置
   -------------------------------------------------------------------------- */
.issue-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}

.issue-intro-text {
  min-width: 0;
}

.issue-intro-text h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--ink);
  margin: 0 0 12px;
}

.issue-intro-text p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 0 0 12px;
}

.issue-intro-media {
  margin: 0;
}

.issue-block {
  padding: 24px;
  margin-bottom: 24px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.issue-block-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.issue-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 26px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  background-color: var(--red);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.issue-block-head h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.issue-scope {
  font-size: 14px;
  color: var(--gray);
  margin: 0;
}

.issue-block-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.issue-part {
  min-width: 0;
}

.issue-part h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.issue-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.issue-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.issue-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gray-light);
}

.issue-escalate {
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background-color: #FBF6F3;
  border: 1px solid #EBD9D2;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.escalate-label {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 8px;
  border-radius: 3px;
  background-color: var(--red);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.issue-faq {
  margin-bottom: 32px;
}

.issue-faq h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--ink);
  margin: 0 0 10px;
}

.issue-faq .section-lead {
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   pages · 术语说明
   -------------------------------------------------------------------------- */
.glossary-group {
  margin-bottom: 40px;
}

.glossary-table {
  width: 100%;
  margin-top: 8px;
  font-size: 14px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.glossary-table caption {
  text-align: left;
  font-size: 13px;
  color: var(--gray);
  padding-bottom: 8px;
}

.glossary-table th,
.glossary-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.7;
}

.glossary-table thead th {
  background-color: var(--paper);
  color: var(--ink);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.glossary-table tbody th {
  color: var(--ink);
  font-weight: 600;
  background-color: #FBFAF6;
  white-space: nowrap;
}

.glossary-table tbody tr:last-child th,
.glossary-table tbody tr:last-child td {
  border-bottom: 0;
}

.glossary-compare {
  margin-bottom: 32px;
}

.compare-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.compare-item {
  padding: 18px 20px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.compare-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}

.compare-diff,
.compare-use {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 8px;
}

.compare-use {
  margin-bottom: 0;
}

.compare-key {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 8px;
  border-radius: 3px;
  background-color: #EEF3F2;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   pages · 合作准备
   -------------------------------------------------------------------------- */
.content-block {
  margin-bottom: 40px;
}

.checklist-list {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.checklist-item {
  padding: 18px 20px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.checklist-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.checklist-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: var(--radius-sm);
  background-color: var(--teal);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.checklist-use {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 6px;
}

.checklist-note {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.order-step {
  padding: 18px 16px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.order-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.order-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.order-detail {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
  margin: 0;
}

.role-table {
  width: 100%;
  margin-top: 8px;
  font-size: 14px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.role-table caption {
  text-align: left;
  font-size: 13px;
  color: var(--gray);
  padding-bottom: 8px;
}

.role-table th,
.role-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.7;
}

.role-table thead th {
  background-color: var(--paper);
  color: var(--ink);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.role-table tbody th {
  color: var(--ink);
  font-weight: 600;
  background-color: #FBFAF6;
  white-space: nowrap;
}

.role-table tbody tr:last-child th,
.role-table tbody tr:last-child td {
  border-bottom: 0;
}

.confirm-list {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.confirm-item {
  padding: 16px 18px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  min-width: 0;
}

.confirm-item dt {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.confirm-item dd {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

/* --------------------------------------------------------------------------
   pages · 服务边界
   -------------------------------------------------------------------------- */
.boundary-section {
  margin-bottom: 40px;
}

.boundary-section .section-head {
  margin-bottom: 20px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background-color: var(--paper);
  color: var(--gray);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

.boundary-section--in .section-kicker {
  background-color: #E7F2F1;
  color: var(--teal-dark);
}

.boundary-section--check .section-kicker {
  background-color: #F8EEDD;
  color: #9A5F12;
}

.boundary-section--out .section-kicker {
  background-color: #F7E6E2;
  color: #9A3A2C;
}

.boundary-section--info .section-kicker {
  background-color: #E9EDF0;
  color: var(--ink-soft);
}

.boundary-section .section-head h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--ink);
  margin: 0 0 10px;
}

.section-intro {
  color: var(--gray);
  font-size: 15px;
  margin: 0;
  max-width: 720px;
}

.boundary-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.boundary-list--in {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.boundary-list--out {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.boundary-item {
  padding: 16px 18px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.boundary-list--in .boundary-item {
  border-left: 3px solid var(--teal);
}

.boundary-list--out .boundary-item {
  border-left: 3px solid var(--red);
}

.boundary-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.boundary-item p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

.boundary-table {
  width: 100%;
  margin-top: 8px;
  font-size: 14px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.boundary-table caption {
  text-align: left;
  font-size: 13px;
  color: var(--gray);
  padding-bottom: 8px;
}

.boundary-table th,
.boundary-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.7;
}

.boundary-table thead th {
  background-color: var(--paper);
  color: var(--ink);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.boundary-table tbody th {
  color: var(--ink);
  font-weight: 600;
  background-color: #FBFAF6;
  white-space: nowrap;
}

.boundary-table tbody tr:last-child th,
.boundary-table tbody tr:last-child td {
  border-bottom: 0;
}

.info-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-item {
  padding: 16px 18px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.info-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.info-item p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

.boundary-footnote {
  margin-top: 18px;
  font-size: 14px;
  color: var(--gray);
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 64px 24px;
}

.error-panel {
  width: 100%;
  max-width: 560px;
  text-align: left;
  padding: 40px 32px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-code {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--teal);
  margin: 0 0 12px;
}

.error-panel h1 {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--ink);
  margin: 0 0 12px;
}

.error-lead {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  margin: 0 0 20px;
}

.error-links {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.error-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 15px;
}

.error-links a:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.error-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  background-color: var(--teal);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
}

.error-home:hover {
  background-color: var(--teal-dark);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-media {
    max-width: 560px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .page-aside,
  .sidebar {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .line-row {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .line-row .line-link {
    grid-column: 2;
    justify-self: start;
  }

  .line-map-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .connect-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .issue-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .issue-block-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .info-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: block;
    background-color: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    display: block;
  }

  .nav-list a {
    display: flex;
    width: 100%;
    min-height: 48px;
    padding: 0 12px;
    font-size: 16px;
    border-radius: var(--radius-sm);
  }

  .hero {
    padding: 40px 0 36px;
  }

  .situation-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .line-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .line-row .line-link {
    grid-column: 1;
    justify-self: start;
  }

  .line-row .line-badge {
    justify-self: start;
  }

  .track-stop {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
  }

  .stop-code {
    width: 52px;
    height: 36px;
    font-size: 14px;
  }

  .track-stop::before {
    left: 25px;
    top: 36px;
  }

  .stop-meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .term-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .cooperation-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .boundary-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .next-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .compare-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .boundary-list--in,
  .boundary-list--out {
    grid-template-columns: minmax(0, 1fr);
  }

  .track-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .line-map-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .connect-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .order-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .fit-table,
  .roles-table,
  .glossary-table,
  .role-table,
  .boundary-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .glossary-table tbody th,
  .glossary-table tbody td,
  .role-table tbody th,
  .role-table tbody td,
  .boundary-table tbody th,
  .boundary-table tbody td {
    white-space: normal;
  }

  .issue-summary,
  .faq-item summary {
    font-size: 15px;
  }
}

@media (max-width: 520px) {
  :root {
    --gutter: 16px;
  }

  .header-inner {
    height: 64px;
    padding: 0 var(--gutter);
  }

  .site-nav {
    top: 64px;
    max-height: calc(100vh - 64px);
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
  }

  .brand-mark::before {
    width: 11px;
    left: 6px;
    top: 7px;
  }

  .brand-mark::after {
    height: 7px;
    left: 10px;
    top: 7px;
  }

  .hero {
    padding: 32px 0 28px;
  }

  .hero-copy h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .service-lines,
  .delivery-track,
  .glossary-strip,
  .boundaries,
  .fit-summary,
  .issue-preview,
  .cooperation {
    padding: 40px 0;
  }

  .inner-main {
    padding-bottom: 40px;
  }

  .page-header {
    padding: 8px 0 18px;
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 24px;
  }

  .line-entry {
    padding: 18px 16px;
  }

  .issue-block {
    padding: 18px 16px;
  }

  .issue-summary,
  .faq-item summary {
    padding: 14px 40px 14px 14px;
  }

  .aside-block,
  .sidebar-block {
    padding: 16px;
  }

  .error-panel {
    padding: 28px 20px;
  }

  .error-code {
    font-size: 32px;
  }

  .return-bar {
    padding: 16px var(--gutter) 32px;
    flex-direction: column;
    align-items: stretch;
  }

  .return-bar a {
    justify-content: center;
  }

  .return-bar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-intro {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 程序验收反馈：移动端防溢出 */
@media (max-width: 768px) {
  .site-main,
  .site-main * {
    min-width: 0;
    max-width: 100%;
  }

  .site-main :is(h1, h2, h3, h4, p, a, span) {
    overflow-wrap: anywhere;
  }
}
