/* ==========================================================================
   base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #0f172a;
  background-color: #f8fafc;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #0d9488;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #0f766e;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
  font-weight: 600;
  color: #0f172a;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

p {
  margin-bottom: 16px;
}

/* ==========================================================================
   layout
   ========================================================================== */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer {
  background-color: #0f172a;
  color: #cbd5e1;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 24px;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 14px;
  color: #64748b;
}

/* 内页布局 */
.inner-main {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px 64px;
  flex: 1 0 auto;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}

.page-article,
.main-content,
.page-content,
.faq-content {
  min-width: 0;
  min-height: 200px;
}

.page-aside,
.sidebar {
  min-width: 0;
}

/* 侧栏 */
.toc,
.sidebar-inner,
.sidebar-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  position: sticky;
  top: 88px;
}

.toc h2,
.sidebar-inner h2,
.sidebar-card h2,
.aside-related h2,
.related-links h2 {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.toc ul li,
.sidebar-inner ul li,
.sidebar-card ul li,
.aside-related ul li,
.related-links ul li {
  margin-bottom: 4px;
}

.toc a,
.sidebar-inner a,
.sidebar-card a,
.aside-related a,
.related-links a {
  display: block;
  padding: 6px 8px;
  font-size: 14px;
  color: #334155;
  border-radius: 4px;
  border-left: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.toc a:hover,
.sidebar-inner a:hover,
.sidebar-card a:hover,
.aside-related a:hover,
.related-links a:hover {
  color: #0d9488;
  background-color: #f0fdfa;
  border-left-color: #0d9488;
}

/* ==========================================================================
   components
   ========================================================================== */
/* 品牌 */
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 13px;
  color: #64748b;
  line-height: 1.2;
}

/* 主导航 */
.main-nav ul {
  display: flex;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: #334155;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  color: #0d9488;
  background-color: #f0fdfa;
}

.main-nav a.is-current {
  color: #0d9488;
  background-color: #f0fdfa;
  font-weight: 600;
}

/* 服务动态入口 */
.service-update {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #2563eb;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.service-update:hover {
  background-color: #dbeafe;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.update-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  flex-shrink: 0;
  position: relative;
}

/* 面包屑 */
.breadcrumb {
  font-size: 14px;
  color: #64748b;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #64748b;
}

.breadcrumb a:hover {
  color: #0d9488;
}

.breadcrumb-sep {
  color: #94a3b8;
}

.breadcrumb-current {
  color: #0f172a;
  font-weight: 500;
}

/* 页面标题 */
.page-title-area,
.page-title-block {
  padding: 24px 0 32px;
}

.page-header {
  margin-bottom: 8px;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 0;
}

.page-title-area p,
.page-title-block p,
.page-description,
.page-lead {
  font-size: 16px;
  color: #475569;
  max-width: 720px;
  margin-top: 8px;
}

/* 按钮 */
.btn-primary,
.btn-secondary,
.error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}

.btn-primary {
  background-color: #0d9488;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #0f766e;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.btn-secondary {
  background-color: #ffffff;
  color: #0d9488;
  border-color: #0d9488;
}

.btn-secondary:hover {
  background-color: #f0fdfa;
  color: #0f766e;
  border-color: #0f766e;
}

/* 卡片链接 */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #0d9488;
  margin-top: auto;
}

.card-link:hover {
  color: #0f766e;
  text-decoration: underline;
}

.card-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* 区块标题 */
.section-header {
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.section-header p {
  font-size: 15px;
  color: #64748b;
  max-width: 640px;
  margin-bottom: 0;
}

/* 代码块 */
.code-block {
  background-color: #0f172a;
  color: #e2e8f0;
  border-radius: 8px;
  padding: 20px 24px;
  overflow-x: auto;
  font-family: "SF Mono", Consolas, "Courier New", monospace;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.code-block code {
  font-family: inherit;
}

/* 表格 */
.table-scroll {
  overflow-x: auto;
  margin-bottom: 16px;
}

.service-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 640px;
}

.service-table thead th {
  background-color: #f0fdfa;
  color: #0f172a;
  font-weight: 600;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 2px solid #99f6e4;
  white-space: nowrap;
}

.service-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
  color: #334155;
}

.service-table tbody tr:last-child td {
  border-bottom: none;
}

.service-table tbody tr:hover {
  background-color: #f8fafc;
}

.table-note {
  font-size: 14px;
  color: #64748b;
  margin-top: 8px;
}

/* FAQ 手风琴 */
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 12px;
  background-color: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: #99f6e4;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  min-height: 48px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: #0d9488;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] summary {
  border-bottom: 1px solid #f1f5f9;
}

.faq-answer {
  padding: 16px 20px;
  background-color: #f8fafc;
}

.faq-answer p {
  font-size: 15px;
  color: #334155;
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* 数据分类标签 */
.field-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.field-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  font-family: "SF Mono", Consolas, "Courier New", monospace;
  color: #0d9488;
  background-color: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 4px;
  line-height: 1.4;
}

/* 图片容器 */
figure {
  margin: 0;
}

figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

figcaption {
  font-size: 13px;
  color: #64748b;
  margin-top: 8px;
  text-align: center;
}

/* ==========================================================================
   pages - 首页
   ========================================================================== */
.home-main {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px 64px;
}

/* Hero */
.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 64px;
}

.hero-content h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #0f172a;
}

.hero-description {
  font-size: 17px;
  color: #475569;
  margin-bottom: 24px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-media figure {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* 信息架构索引 */
.directory-index {
  padding: 48px 0;
  border-top: 1px solid #e2e8f0;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.index-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  min-height: 160px;
}

.index-card:hover {
  border-color: #0d9488;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.1);
  transform: translateY(-2px);
}

.index-card-title {
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
}

.index-card-desc {
  font-size: 14px;
  color: #64748b;
  flex: 1;
}

.index-card-link {
  font-size: 14px;
  font-weight: 500;
  color: #0d9488;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.index-card-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.index-card:hover .index-card-link::after {
  transform: translateX(4px);
}

/* 核心服务能力 */
.featured-services {
  padding: 48px 0;
  border-top: 1px solid #e2e8f0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  border-color: #0d9488;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.08);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
}

.service-card p {
  font-size: 15px;
  color: #475569;
  flex: 1;
}

/* 数据目录精选 */
.data-catalog-preview {
  padding: 48px 0;
  border-top: 1px solid #e2e8f0;
}

.catalog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.catalog-item {
  padding: 24px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.catalog-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
}

.catalog-item p {
  font-size: 14px;
  color: #64748b;
  flex: 1;
}

.catalog-figure {
  max-width: 720px;
  margin: 0 auto;
}

.catalog-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

/* 更新记录 */
.updates-section {
  padding: 48px 0;
  border-top: 1px solid #e2e8f0;
}

.updates-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
}

.update-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.update-item:hover {
  border-color: #0d9488;
}

.update-badge {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: #2563eb;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 4px;
  padding: 2px 8px;
  margin-top: 2px;
  white-space: nowrap;
}

.update-item p {
  font-size: 15px;
  color: #334155;
  margin-bottom: 0;
  flex: 1;
}

/* 合作流程 */
.cooperate-steps {
  padding: 48px 0;
  border-top: 1px solid #e2e8f0;
  text-align: left;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.step-item {
  position: relative;
  padding: 24px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  min-height: 160px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 14px;
  font-weight: 700;
  font-family: "SF Mono", Consolas, "Courier New", monospace;
  color: #0d9488;
  background-color: #f0fdfa;
  border-radius: 6px;
  margin-bottom: 12px;
}

.step-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 0;
}

.cooperate-steps .btn-primary {
  margin-top: 8px;
}

/* FAQ 精选 */
.faq-preview {
  padding: 48px 0;
  border-top: 1px solid #e2e8f0;
}

.faq-list {
  max-width: 800px;
  margin-bottom: 24px;
}

/* 关于我们入口 */
.about-entry {
  padding: 48px 0;
  border-top: 1px solid #e2e8f0;
}

.about-entry-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 40px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  flex-wrap: wrap;
}

.about-entry-content h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.about-entry-content p {
  color: #475569;
  margin-bottom: 0;
  max-width: 640px;
}

/* ==========================================================================
   pages - 内页通用
   ========================================================================== */
.content-section {
  margin-bottom: 48px;
  scroll-margin-top: 88px;
}

.content-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.content-section p {
  font-size: 15px;
  color: #334155;
  margin-bottom: 16px;
}

/* 列表 */
.rule-list,
.checklist,
.principle-list,
.boundary-list {
  padding-left: 0;
  margin-bottom: 16px;
}

.rule-list li,
.checklist li,
.principle-list li,
.boundary-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: #334155;
  margin-bottom: 12px;
  line-height: 1.6;
}

.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #0d9488;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #10b981;
  font-weight: 700;
}

.principle-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background-color: #2563eb;
}

.boundary-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  color: #eab308;
  font-weight: 700;
}

/* 更新列表 */
.update-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.update-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: #334155;
  padding: 12px 16px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

.update-version {
  flex-shrink: 0;
  font-family: "SF Mono", Consolas, "Courier New", monospace;
  font-size: 13px;
  color: #0d9488;
  background-color: #f0fdfa;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  align-self: flex-start;
}

/* ==========================================================================
   pages - services
   ========================================================================== */
.service-matrix-intro {
  margin-bottom: 48px;
  scroll-margin-top: 88px;
}

.service-matrix-intro h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.service-matrix-intro p {
  font-size: 15px;
  color: #334155;
  margin-bottom: 16px;
  line-height: 1.75;
}

.comparison-table {
  margin-bottom: 48px;
  scroll-margin-top: 88px;
}

.comparison-table h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.usage-scenarios {
  margin-bottom: 48px;
  scroll-margin-top: 88px;
}

.usage-scenarios h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.scenario-card {
  padding: 24px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.scenario-card:hover {
  border-color: #0d9488;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.08);
}

.scenario-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 12px;
}

.scenario-card p {
  font-size: 15px;
  color: #475569;
  margin-bottom: 12px;
}

.scenario-card p:last-child {
  margin-bottom: 0;
}

.service-figure {
  margin: 48px 0 0;
}

.service-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.aside-related {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  margin-top: 16px;
}

/* ==========================================================================
   pages - data-catalog
   ========================================================================== */
.data-catalog .page-title-block {
  padding: 24px 0 32px;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.category-item {
  padding: 24px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.category-item:hover {
  border-color: #0d9488;
}

.category-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 12px;
}

.category-item .field-tags {
  margin-bottom: 12px;
}

.category-item p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 0;
}

.content-figure {
  margin: 32px 0;
}

.content-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.related-links {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  margin-top: 16px;
}

/* ==========================================================================
   pages - access-guide
   ========================================================================== */
.process-overview {
  margin-bottom: 48px;
  scroll-margin-top: 88px;
}

.process-overview h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.process-overview p {
  font-size: 15px;
  color: #334155;
  margin-bottom: 16px;
}

.process-figure {
  margin: 24px 0 0;
}

.process-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.four-stages {
  margin-bottom: 48px;
  scroll-margin-top: 88px;
}

.four-stages h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.steps-list .step-item {
  min-height: 140px;
}

.steps-list .step-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.steps-list .step-item p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 0;
}

.step-entry {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: #0d9488;
  font-weight: 500;
}

.prep-checklist {
  margin-bottom: 48px;
  scroll-margin-top: 88px;
}

.prep-checklist h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.prep-checklist p {
  font-size: 15px;
  color: #334155;
  margin-bottom: 16px;
}

.ongoing-service {
  scroll-margin-top: 88px;
}

.ongoing-service h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.ongoing-service p {
  font-size: 15px;
  color: #334155;
  margin-bottom: 16px;
}

.sidebar-related {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  margin-top: 16px;
}

/* ==========================================================================
   pages - faq
   ========================================================================== */
.faq-content .faq-section {
  margin-bottom: 48px;
  scroll-margin-top: 88px;
}

.faq-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.section-lead {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 20px;
}

.sidebar-figure {
  margin-top: 24px;
}

.sidebar-figure img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.sidebar-figure figcaption {
  font-size: 12px;
  color: #64748b;
  margin-top: 8px;
  text-align: left;
}

/* ==========================================================================
   pages - about
   ========================================================================== */
.brand-positioning {
  scroll-margin-top: 88px;
}

.brand-positioning p {
  font-size: 15px;
  color: #334155;
  margin-bottom: 16px;
}

.media-block {
  margin: 24px 0 0;
}

.media-block img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.service-principles {
  scroll-margin-top: 88px;
}

.service-boundaries {
  scroll-margin-top: 88px;
}

.boundary-note {
  font-size: 14px;
  color: #64748b;
  font-style: italic;
  margin-top: 16px;
  padding: 16px;
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 6px;
}

.sidebar-card {
  position: sticky;
  top: 88px;
}

/* ==========================================================================
   pages - 404
   ========================================================================== */
.error-main {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 24px;
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-content {
  text-align: center;
  max-width: 560px;
  padding: 48px 40px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.error-code {
  font-size: 64px;
  font-weight: 700;
  color: #0d9488;
  font-family: "SF Mono", Consolas, "Courier New", monospace;
  line-height: 1;
  margin-bottom: 16px;
}

.error-content h1 {
  font-size: 24px;
  margin-bottom: 16px;
}

.error-desc {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 32px;
}

.error-btn {
  background-color: #0d9488;
  color: #ffffff;
  margin-bottom: 32px;
}

.error-btn:hover {
  background-color: #0f766e;
  color: #ffffff;
}

.error-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.error-links a {
  font-size: 14px;
  color: #2563eb;
}

.error-links a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* ==========================================================================
   footer
   ========================================================================== */
.footer-column h3 {
  font-size: 15px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul a {
  font-size: 14px;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.footer-column ul a:hover {
  color: #ffffff;
}

.footer-column p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-positioning {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.footer-boundary {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

.footer-bottom p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 0;
}

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .index-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 32px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-media img {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: auto;
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    flex: 1;
  }

  .brand-tagline {
    display: none;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav ul {
    display: flex;
    gap: 4px;
    min-width: max-content;
    padding-bottom: 4px;
  }

  .main-nav a {
    padding: 8px 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  .service-update {
    font-size: 12px;
    padding: 6px 10px;
  }

  .inner-main {
    padding: 0 16px 48px;
  }

  .home-main {
    padding: 0 16px 48px;
  }

  .page-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-aside,
  .sidebar {
    order: 2;
  }

  .toc,
  .sidebar-inner,
  .sidebar-card {
    position: static;
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 40px 16px 24px;
  }

  .footer-bottom {
    padding: 16px 16px 24px;
  }

  .hero-section {
    padding: 32px 0 48px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .index-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .catalog-list {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .steps-list {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
  }

  .about-entry-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .about-entry-content .btn-secondary {
    width: 100%;
  }

  .directory-index,
  .featured-services,
  .data-catalog-preview,
  .updates-section,
  .cooperate-steps,
  .faq-preview,
  .about-entry {
    padding: 32px 0;
  }

  .page-title-area,
  .page-title-block {
    padding: 16px 0 24px;
  }

  .page-title {
    font-size: 24px;
  }

  .breadcrumb {
    padding: 12px 0;
    font-size: 13px;
  }

  .update-item {
    flex-direction: column;
    gap: 8px;
  }

  .update-badge {
    align-self: flex-start;
  }

  .table-scroll {
    margin: 0 -16px;
    padding: 0 16px;
    width: calc(100% + 32px);
  }

  .error-main {
    padding: 48px 16px;
  }

  .error-content {
    padding: 32px 24px;
  }

  .error-code {
    font-size: 48px;
  }

  .error-links {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-media img {
    height: 220px;
  }

  .catalog-figure img,
  .service-figure img,
  .content-figure img,
  .process-figure img,
  .media-block img {
    height: 200px;
  }

  .main-nav a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .service-update {
    font-size: 11px;
    padding: 4px 8px;
  }

  .update-dot {
    width: 6px;
    height: 6px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  .section-header h2 {
    font-size: 20px;
  }

  .content-section h2,
  .faq-section h2,
  .service-matrix-intro h2,
  .comparison-table h2,
  .usage-scenarios h2,
  .process-overview h2,
  .four-stages h2,
  .prep-checklist h2,
  .ongoing-service h2,
  .brand-positioning h2,
  .service-principles h2,
  .service-boundaries h2 {
    font-size: 20px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 10px 20px;
    font-size: 14px;
  }

  .step-item {
    padding: 20px;
  }

  .scenario-card {
    padding: 20px;
  }

  .category-item {
    padding: 20px;
  }

  .faq-item summary {
    padding: 14px 16px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 14px 16px;
  }

  .code-block {
    padding: 16px;
    font-size: 13px;
  }

  .service-table {
    font-size: 14px;
    min-width: 560px;
  }

  .service-table thead th,
  .service-table tbody td {
    padding: 12px;
  }
}
