/* 站IT · home-v3 首页原型 · 设计 token 唯一来源
   与 sources/home-v2、sources/stitch 的 token 同源同步（交接时三选一保留），
   颜色保持 RGB 通道值，供 rgb(var(--color-x) / <alpha>) 使用。
   注释内是对应 hex，供后端组件与交接文档对照。
   本目录不引入 Tailwind CLI：所有组件样式为手写 CSS，颜色一律只来自本文件。 */
:root {
  --color-on-primary: 255 255 255; /* #FFFFFF */
  --color-primary-container: 15 23 42; /* #0F172A · 原设计深墨 */
  --color-secondary-fixed: 156 242 232; /* #9CF2E8 · 原设计浅青 */
  --color-on-tertiary-fixed: 55 14 0; /* #370E00 */
  --color-secondary-container: 153 239 229; /* #99EFE5 · 原设计青 */
  --color-on-secondary-fixed: 0 32 29; /* #00201D · 原设计深青 */
  --color-tertiary-fixed-dim: 255 181 153; /* #FFB599 */
  --color-inverse-surface: 30 41 59; /* #1E293B */
  --color-inverse-primary: 190 198 224; /* #BEC6E0 */
  --color-on-surface-variant: 71 85 105; /* #475569 */
  --color-inverse-on-surface: 241 245 249; /* #F1F5F9 */
  --color-on-error: 255 255 255; /* #FFFFFF */
  --color-surface-container-low: 241 245 249; /* #F1F5F9 */
  --color-secondary: 15 118 110; /* #0F766E · 原设计主青绿 */
  --color-primary: 15 23 42; /* #0F172A · 原设计深墨 */
  --color-on-tertiary: 255 255 255; /* #FFFFFF */
  --color-on-primary-fixed: 15 23 42; /* #0F172A */
  --color-surface-container-high: 226 232 240; /* #E2E8F0 */
  --color-error-container: 255 218 214; /* #FFDAD6 */
  --color-primary-fixed-dim: 203 213 225; /* #CBD5E1 */
  --color-tertiary-fixed: 255 219 206; /* #FFDBCE */
  --color-surface-dim: 203 213 225; /* #CBD5E1 */
  --color-on-primary-fixed-variant: 51 65 85; /* #334155 */
  --color-surface: 248 250 252; /* #F8FAFC */
  --color-on-secondary-fixed-variant: 0 80 74; /* #00504A · 原设计 */
  --color-secondary-fixed-dim: 128 213 203; /* #80D5CB · 原设计 */
  --color-outline: 148 163 184; /* #94A3B8 */
  --color-on-primary-container: 148 163 184; /* #94A3B8 · 原设计 */
  --color-on-surface: 15 23 42; /* #0F172A */
  --color-surface-container-highest: 203 213 225; /* #CBD5E1 */
  --color-error: 186 26 26; /* #BA1A1A */
  --color-tertiary: 234 88 12; /* #EA580C */
  --color-primary-fixed: 226 232 240; /* #E2E8F0 */
  --color-surface-container-lowest: 255 255 255; /* #FFFFFF */
  --color-on-background: 15 23 42; /* #0F172A */
  --color-surface-tint: 15 118 110; /* #0F766E · 原设计主青绿 */
  --color-on-error-container: 147 0 10; /* #93000A */
  --color-surface-bright: 255 255 255; /* #FFFFFF */
  --color-on-secondary: 255 255 255; /* #FFFFFF */
  --color-on-tertiary-container: 234 88 12; /* #EA580C */
  --color-surface-container: 241 245 249; /* #F1F5F9 */
  --color-on-secondary-container: 15 118 110; /* #0F766E · 原设计 */
  --color-outline-variant: 203 213 225; /* #CBD5E1 */
  /* 内容分隔线专用：比控件边框浅一档，用于 FAQ/列表/区块内分隔；
     控件边框仍用 outline-variant，避免调浅后看不清。 */
  --color-divider: 226 232 240; /* #E2E8F0 */
  --color-tertiary-container: 255 237 213; /* #FFEDD5 */
  --color-background: 248 250 252; /* #F8FAFC */
  --color-on-tertiary-fixed-variant: 154 52 18; /* #9A3412 */
  --color-surface-variant: 226 232 240; /* #E2E8F0 */

  --radius-default: 0.25rem;
  --radius-lg: 0.375rem;
  --radius-xl: 0.5rem;
  --radius-full: 0.75rem;

  --spacing-gutter: 1.5rem;
  --spacing-space-md: 1rem;
  --spacing-space-sm: 0.5rem;
  --spacing-gutter-mobile: 1rem;
  --spacing-margin: 3rem;
  --spacing-margin-mobile: 1.25rem;
  --spacing-space-xs: 0.25rem;
  --spacing-space-xl: 2.5rem;
  --spacing-space-lg: 1.5rem;

  /* 排版测宽（D-24）：全站段落右边缘统一到这一条。
     取 48em @16px，约 48 个汉字 / 行；ch 是数字 0 的宽度，中文排版不能按 ch 算。
     组件一律写 min(100%, var(--measure))，窄栏由父级兜底，不再各设一套 px / em / ch。 */
  --measure: 768px;

  /* 动效节奏（D-26）：只用于 transition / scroll-behavior，不做 @keyframes / animation。
     reduced-motion 兜底在 base.css 末尾，任何新增动效都必须落在那条兜底覆盖范围内。 */
  --motion-fast: 0.26s;
  --motion-base: 0.24s;
}
/* 站IT · home-v3 · 基础层
   正常中文排版、系统字体栈、无渐变 / 阴影 / 关键帧动画。
   D-26：交互反馈只用短 transition（颜色 / 位移），reduced-motion 下全部关闭。
   滚动红线：html / body / main 不写任何 overflow 或 overscroll-behavior。

   防横向溢出用 max-width + overflow-wrap，不在根容器截断。
*/
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: rgb(var(--color-background));
  color: rgb(var(--color-on-surface));
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, table, figure { margin: 0; }
ul, ol { padding: 0; }
li { list-style: none; }

/* D-28：裸链接默认带一条透明下划线，hover 时渐显成强调色。
   text-decoration-color 可过渡，比「瞬时出现 underline」明显得多；下划线不占布局，
   静态外观与改前一致。按钮 / 导航 / 胶囊自带 text-decoration:none，不受影响。 */
a {
  color: rgb(var(--color-secondary));
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
a:hover { text-decoration-color: rgb(var(--color-secondary)); }

/* D-26 交互反馈层：只过渡颜色 / 下划线 / 位移，不做阴影 / 渐变 / 滤镜 / 关键帧。
   D-28 补 text-decoration-color 与 transform，让状态变化本身能被看见。 */
a, button, input, textarea, select, summary {
  transition: color var(--motion-fast) ease,
              background-color var(--motion-fast) ease,
              border-color var(--motion-fast) ease,
              text-decoration-color var(--motion-fast) ease,
              transform var(--motion-fast) ease;
}
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid rgb(var(--color-secondary));
  outline-offset: 3px;
}

button { font: inherit; cursor: pointer; }

strong { font-weight: 700; color: rgb(var(--color-on-surface)); }

[id] { scroll-margin-top: 76px; }

.st-wrap {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 0 auto;
}

.st-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  padding: 10px 16px;
  background: rgb(var(--color-surface-bright));
  border: 1px solid rgb(var(--color-outline-variant));
  border-radius: var(--radius-default);
}
.st-skip:focus { left: 12px; top: 12px; }

.st-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.st-h1 {
  font-size: clamp(30px, 3.7vw, 46px);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 17em;
}
.st-h2 {
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.4;
  font-weight: 700;
}
.st-h3 { font-size: 19px; line-height: 1.5; font-weight: 700; }

/* D-24：全站裸段落共用同一测宽；父级比它窄时由 min() 兜底。 */
p { max-width: min(100%, var(--measure)); }
.st-small { font-size: 13px; color: rgb(var(--color-on-surface-variant)); line-height: 1.75; }
.st-note, .st-table-note, .st-fit-note {
  font-size: 13px;
  color: rgb(var(--color-on-surface-variant));
  line-height: 1.75;
}

.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 1px solid rgb(var(--color-secondary));
  border-radius: var(--radius-lg);
  background: rgb(var(--color-secondary));
  color: rgb(var(--color-on-secondary));
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: color var(--motion-fast) ease,
              background-color var(--motion-fast) ease,
              border-color var(--motion-fast) ease,
              transform var(--motion-fast) ease;
}
.st-btn:hover { text-decoration: none; background: rgb(var(--color-on-secondary-fixed-variant)); transform: translateY(-2px); }
.st-btn:active { transform: translateY(1px); }
.st-btn-secondary {
  background: rgb(var(--color-surface-bright));
  color: rgb(var(--color-on-secondary-container));
  border-color: rgb(var(--color-outline-variant));
}
.st-btn-secondary:hover { background: rgb(var(--color-surface-container)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .st-btn:active, .st-btn:hover, .st-jump a:hover, .st-nav a:hover { transform: none; }
  /* D-29 / D-30：page.css 里的 hover 缩放也要关掉（!important 压过后加载的组件样式）
     轴容器与正文段落已不做位移，无需再列 */
  .st-fig:hover img, .st-fig-wide:hover img, .st-case:hover,
  .st-point:hover { transform: none !important; }
}
/* 站IT · home-v3 · 页面组件层
   版式取向：像一份认真写出来的服务说明，而不是海报。
   正常字号、真实段落、表格与问答；无编号大字、无英文 kicker、无几何装饰。
*/

/* ---- 页头 ---- */
.st-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgb(var(--color-surface-bright));
  border-bottom: 1px solid rgb(var(--color-divider));
}
/* 三段式：品牌（带分隔线）｜导航项｜右侧按钮。
   导航项给足内边距，做成可点的整块，不再是四个裸文字。 */
.st-header-in {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 64px;
}
/* 品牌锁定组合（标记 + 字标）：页头 / 抽屉 / 页脚三处同一套对齐规则。
   标记是 32×32 的 <use href="#i-logo">，图形自带深墨蓝底托与实色填充，
   不跟 currentColor，所以在浅底页头、浅底抽屉、浅底页脚上完全一致；
   字标仍是真文本（不是 SVG 文字），可选中、可被搜索与读屏读到「站IT」。 */
.st-lockup {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.st-brand-mark {
  display: block;
  /* 字标 660:560 ≈ 1.18:1，高 30px → 宽约 35px（D-53 换标） */
  width: 35px;
  height: 30px;
  flex: 0 0 auto;
}
/* 中文的字身中心比行盒中心低约 1px（行高 1.8，字身在行盒里偏下），
   flex 的 align-items:center 对齐的是行盒，所以视觉上标记会显得偏高。
   只给页头这一处补 1px，不要动 .st-lockup 的公共对齐。 */
.st-brand .st-brand-mark { position: relative; top: 1px; }
.st-lockup-sm { gap: 7px; font-size: 16px; }
.st-lockup-sm .st-brand-mark { width: 30px; height: 25px; }
/* 新版横版字标（159:70）：导航/抽屉/页脚统一用 img 引入，
   断开旧的 symbol+文字组合。高度定宽，保留字标白底与深墨+翠绿配色。 */
.st-brand-logo {
  display: block;
  width: auto;
  height: 36px;
  flex: 0 0 auto;
}
.st-brand-logo-sm { height: 30px; }
.st-brand {
  padding-right: 24px;
  margin-right: 16px;
  border-right: 1px solid rgb(var(--color-outline-variant));
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgb(var(--color-on-surface));
  white-space: nowrap;
}
.st-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-left: 0;
}
.st-nav a, .st-footer-nav a, .st-fallback a {
  font-size: 14px;
  color: rgb(var(--color-on-surface-variant));
}
.st-nav a {
  position: relative;
  padding: 9px 13px;
  border-radius: var(--radius-default);
  font-size: 14.5px;
}
.st-nav a:hover, .st-footer-nav a:hover { color: rgb(var(--color-secondary)); }
.st-nav a:hover {
  background: rgb(var(--color-surface-container-low));
  text-decoration: none;
  transform: translateY(-1px);
}
/* 当前所在栏目：浅底 + 文字下方强调线（用伪元素，不用 box-shadow / border-bottom） */
.st-nav a[aria-current="page"] {
  background: rgb(var(--color-surface-container-low));
  color: rgb(var(--color-on-surface));
  font-weight: 600;
}
.st-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  background: rgb(var(--color-secondary));
}
.st-header-cta {
  margin-left: auto;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.st-burger {
  margin-left: auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 40px; height: 38px;
  padding: 0;
  background: transparent;
  border: 1px solid rgb(var(--color-outline-variant));
  border-radius: var(--radius-lg);
}
.st-burger-bar {
  display: block;
  width: 18px; height: 2px;
  background: rgb(var(--color-on-surface));
}

/* ---- 语言切换 ----
   当前语种 .st-lang-on 是 span（不可点）；其他语种 .st-lang-off 是 a，指向独立语种网址。
   指针按可点性区分：off 为 pointer，on 为 default，避免当前态出现文本选择光标。 */
.st-lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 14px;
  padding: 2px;
  border: 1px solid rgb(var(--color-outline-variant));
  border-radius: var(--radius-default);
  white-space: nowrap;
}
.st-lang-on, .st-lang-off {
  min-width: 32px;
  padding: 4px 8px;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  border: 0;
  border-radius: calc(var(--radius-default) / 2);
}
.st-lang-on {
  background: rgb(var(--color-surface-container-low));
  color: rgb(var(--color-on-surface));
  font-weight: 600;
  cursor: default;
}
.st-lang-off {
  background: transparent;
  color: rgb(var(--color-on-surface-variant));
  cursor: pointer;
}

/* ---- 抽屉（D-04 方案 B）：只隔离自身滚动，不锁背景 ---- */
.st-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgb(var(--color-primary) / 0.55);
  opacity: 0;
  visibility: hidden;
  touch-action: none;
  transition: opacity var(--motion-base) ease, visibility var(--motion-base) ease;
}
.st-overlay.is-open { opacity: 1; visibility: visible; }
.st-drawer {
  position: fixed;
  top: 0; right: 0;
  z-index: 50;
  width: min(86vw, 320px);
  height: 100vh;
  padding: 20px 22px 32px;
  background: rgb(var(--color-surface-bright));
  border-left: 1px solid rgb(var(--color-outline-variant));
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform var(--motion-base) ease;
}
.st-drawer.is-open { transform: translateX(0); }
.st-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgb(var(--color-divider));
  font-weight: 700;
}
.st-drawer-close {
  padding: 4px 10px;
  background: transparent;
  border: 1px solid rgb(var(--color-outline-variant));
  border-radius: var(--radius-default);
  color: rgb(var(--color-on-surface-variant));
  font-size: 13px;
}
.st-drawer-nav { display: flex; flex-direction: column; margin-top: 10px; }
.st-drawer-nav a {
  padding: 12px 2px;
  border-bottom: 1px solid rgb(var(--color-surface-container));
  color: rgb(var(--color-on-surface));
  font-size: 15px;
}
.st-fallback {
  display: flex;
  gap: 18px;
  padding: 10px 20px;
  background: rgb(var(--color-surface-container-low));
  border-bottom: 1px solid rgb(var(--color-divider));
  overflow-x: auto;
  white-space: nowrap;
}

/* ---- 首屏 ----
   深色 banner + 结构网格背景（bg-hero.svg），与全站浅底形成段落对比。
   背景不是装饰图形：72/288 双密度网格对应栅格与分栏，配合「从结构开始做」。
   主按钮沿用深色 CTA 区同一套青绿实心，不另立配色。 */
.st-hero {
  padding: 66px 0 72px;
  background-color: rgb(var(--color-primary));
  background-image: url("../img/bg-hero.svg");
  background-size: cover;
  background-position: center top;
  color: rgb(var(--color-on-primary));
}
.st-hero .st-h1 { color: rgb(var(--color-on-primary)); }
.st-hero .st-lede,
.st-hero .st-aside-note,
.st-hero .st-fig figcaption { color: rgb(var(--color-on-primary-container)); }
.st-hero .st-btn-secondary {
  background: transparent;
  color: rgb(var(--color-on-primary));
  border-color: rgb(var(--color-on-primary) / .45);
}
.st-hero .st-btn-secondary:hover { background: rgb(var(--color-on-primary) / .1); }
.st-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px;
  align-items: center;
}
.st-hero-main { min-width: 0; }
.st-h1 { margin-bottom: 20px; }
.st-lede {
  font-size: 17px;
  line-height: 1.85;
  color: rgb(var(--color-on-surface-variant));
  max-width: min(100%, var(--measure));
}
.st-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.st-aside-note {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.75;
  color: rgb(var(--color-on-surface-variant));
}
.st-hero-aside {
  padding: 24px 24px 8px;
  background: rgb(var(--color-background));
  border: 1px solid rgb(var(--color-outline-variant));
  border-radius: var(--radius-lg);
}
.st-aside-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.st-aside-list li {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgb(var(--color-divider));
}
.st-aside-list li:last-child { border-bottom: 0; }
.st-mline-name { display: block; font-weight: 700; font-size: 15px; }
.st-mline-desc { display: block; margin-top: 3px; font-size: 13px; line-height: 1.7; color: rgb(var(--color-on-surface-variant)); }

/* ---- 移动简略版：零 JS、一屏内 ---- */
.st-mhero {
  padding: 22px 0 30px;
  background: rgb(var(--color-surface-bright));
  border-bottom: 1px solid rgb(var(--color-divider));
}
.st-mlines { margin-bottom: 18px; }
.st-mline {
  padding: 9px 0;
  border-bottom: 1px solid rgb(var(--color-surface-container));
}
.st-mline .st-mline-name, .st-mline .st-mline-desc { display: inline; }
.st-mline .st-mline-name { margin-right: 10px; }
.st-mline .st-mline-desc { font-size: 13px; }
.st-mnote { margin-top: 14px; font-size: 12px; color: rgb(var(--color-on-surface-variant)); }

/* ---- 通用区块：去掉区块间边框线，靠留白与 .st-sec-alt 白底交替分隔 ---- */
.st-sec {
  padding: 64px 0 68px;
}
.st-sec-alt { background: rgb(var(--color-surface-bright)); }
.st-sec-head { margin-bottom: 34px; }
.st-sec-lede {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.8;
  color: rgb(var(--color-on-surface-variant));
  max-width: min(100%, var(--measure));
}

/* ---- 示意图 ----
   图是 SVG 线框，深浅由 stroke 决定；不用 box-shadow / 渐变，保持与设计系统一致。
   每张图都配 figcaption 说明它在讲什么，事实本身仍写在正文里。 */
.st-fig { margin: 0; }
.st-fig img {
  display: block;
  width: 100%;
  height: auto;
}
.st-fig figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: rgb(var(--color-on-surface-variant));
}
.st-fig-hero img { max-width: 100%; }
.st-fig-wide { max-width: 880px; margin-bottom: 30px; }
.st-fig-svc img {
  padding: 10px 12px;
  background: rgb(var(--color-background));
  border: 1px solid rgb(var(--color-surface-container));
  border-radius: var(--radius-default);
}
.st-qa-fig .st-fig { margin-top: 22px; }

/* ---- 服务：一条阶段轴串起四类（D-14 方案 B）----
   轴在左、节点在轴上、内容挂在右侧，四段共用一个计数器：
   「序号」在这里不是装饰，它和每段末尾那句衔接语一起说明先后关系。
   为什么不做参考图那种左右交错：交错会把文字栏压到 350px 左右，
   段落被切碎，滚到底还要来回换边读。 */
.st-track-note {
  /* 左侧 62px 是阶段轴对齐留白，从统一测宽里扣掉，右边缘才与正文对齐 */
  max-width: min(100%, calc(var(--measure) - 62px));
  margin: 0 0 26px 62px;
  padding: 12px 16px;
  background: rgb(var(--color-surface-container-low));
  border-left: 3px solid rgb(var(--color-secondary));
  border-radius: var(--radius-default);
  font-size: 14px;
  line-height: 1.75;
  color: rgb(var(--color-on-surface-variant));
}
.st-track {
  position: relative;
  counter-reset: phase;
  display: grid;
  gap: 0;
  padding-left: 62px;
}
/* 轴：只在第一段到末段的节点之间画，不顶到容器边缘 */
.st-track::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 34px;
  bottom: 34px;
  width: 1px;
  background: rgb(var(--color-outline-variant));
}
.st-phase {
  counter-increment: phase;
  position: relative;
  padding-bottom: 28px;
}
.st-phase:last-child { padding-bottom: 0; }
.st-phase-card {
  padding: 24px 30px 26px;
  background: rgb(var(--color-surface-bright));
  border: 1px solid rgb(var(--color-outline-variant));
  border-radius: var(--radius-lg);
}
/* 节点：白底圆环压住轴线，编号由计数器生成，不写死在 HTML 里 */
.st-phase::before {
  content: counter(phase, decimal-leading-zero);
  position: absolute;
  left: -62px;
  top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgb(var(--color-surface-bright));
  border: 1px solid rgb(var(--color-outline));
  border-radius: 50%;
  color: rgb(var(--color-on-surface-variant));
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.st-phase:target .st-phase-card { border-color: rgb(var(--color-secondary)); }
.st-phase-tag {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: rgb(var(--color-secondary));
}
.st-phase-main {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  margin-top: 14px;
}
.st-phase-text p { margin-bottom: 10px; max-width: min(100%, var(--measure)); }
.st-phase-text p:last-child { margin-bottom: 0; }
.st-phase-meta {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 20px 44px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgb(var(--color-surface-container));
}
.st-phase-col { min-width: 0; }
.st-phase-col .st-label { margin-top: 0; }
/* 衔接语：这一段产出了什么，下一段才成立什么 —— 递进关系写在这里 */
.st-phase-link {
  position: relative;
  margin-top: 12px;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.7;
  color: rgb(var(--color-on-surface-variant));
}
.st-phase-link::before {
  content: "↓";
  position: absolute;
  left: 2px;
  top: -1px;
  color: rgb(var(--color-secondary));
  font-weight: 700;
}
.st-phase-loop::before { content: "↻"; }
.st-fit { margin-top: 8px; font-size: 15px; color: rgb(var(--color-on-surface-variant)); }
.st-note {
  margin-top: 26px;
  max-width: min(100%, var(--measure));
  padding: 12px 16px;
  background: rgb(var(--color-surface-container-low));
  border-left: 3px solid rgb(var(--color-secondary));
  border-radius: var(--radius-default);
}

/* ---- 适用对象 ---- */
.st-audience { max-width: 940px; }
.st-audience-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}
.st-audience-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgb(var(--color-divider));
  line-height: 1.75;
}
.st-fit-note {
  margin-top: 26px;
  max-width: min(100%, var(--measure));
  padding: 14px 18px;
  background: rgb(var(--color-surface-container-low));
  border-radius: var(--radius-lg);
}

/* ---- 对比表 ---- */
.st-table { width: 100%; border-collapse: collapse; font-size: 15px; }
/* 含表格的详情页正文：容器放宽到 1120px 让三列表格铺开；
   正文段落仍走全局 min(100%, var(--measure)) = 768px，阅读行宽不变。
   :has() 自动识别，无需在模板里按模型加类。 */
.st-prose:has(.st-table) { max-width: 1120px; }
/* 表格单元格内的要点列表：收紧缩进与段距，避免把行高撑得过高 */
.st-table td ul, .st-table td ol { margin: 0 0 0 18px; }
.st-table td li { margin-bottom: 4px; }
.st-table td li:last-child { margin-bottom: 0; }
/* 品牌名「站IT」不拆行（D-44）：汉字 + 拉丁字母之间浏览器允许换行，
   实测会被拆成「站」/「IT」。只在文本节点里包 span，见 build.py::keep_brand。 */
.st-brandword { white-space: nowrap; }
.st-table th, .st-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgb(var(--color-divider));
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
.st-table thead th {
  background: rgb(var(--color-surface-container-low));
  font-weight: 700;
  border-bottom: 1px solid rgb(var(--color-outline));
}
.st-table tbody th { font-weight: 600; white-space: nowrap; }
.st-table-note { margin-top: 18px; }

/* ---- 正文卡片：把「三件事」「五个坑」这类并列条目从文字列表变成可扫读的卡片 ----
   只加类不改结构：<ul class="st-cards"> 里的每个 <li> 原样保留，
   <strong> 升为卡片标题，序号由 CSS 计数器生成，增删条目不用改样式。
   设计取向仍是「服务说明」而非海报：白底、1px 描边、6px 圆角，无阴影无渐变。 */
.st-prose ul.st-cards {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  counter-reset: stcard;
}
/* 文件后段有 `.st-prose ul > li { list-style: disc outside }`，
   特异性同为 (0,2,1) 但位置更靠后，会把圆点加回来；这里用 (0,2,2) 压过它。 */
.st-prose ul.st-cards > li {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 15px 18px 15px 48px;
  background: rgb(var(--color-surface-bright));
  border: 1px solid rgb(var(--color-divider));
  border-radius: var(--radius-lg);
  font-size: 14.5px;
  line-height: 1.7;
  color: rgb(var(--color-on-surface-variant));
  counter-increment: stcard;
}
.st-prose ul.st-cards > li::before {
  content: counter(stcard);
  position: absolute;
  left: 15px;
  top: 15px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgb(var(--color-secondary) / .1);
  color: rgb(var(--color-secondary));
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.st-prose ul.st-cards > li > strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 600;
  color: rgb(var(--color-on-surface));
}
/* 否定类：不做的三件事、三个坑。序号换成叉，颜色转警示但不刺眼 */
.st-prose ul.st-cards--no > li::before {
  content: "×";
  background: rgb(var(--color-error) / .08);
  color: rgb(var(--color-error));
  font-size: 14px;
}
/* 混合类：能承诺 / 不能承诺 / 不该做 —— 三张卡三种口径，靠左侧色条区分 */
.st-prose ul.st-cards--mixed > li { counter-increment: none; padding-left: 20px; border-left-width: 3px; }
.st-prose ul.st-cards--mixed > li::before { content: none; }
.st-prose ul.st-cards--mixed > li:nth-child(1) { border-left-color: rgb(var(--color-secondary)); }
.st-prose ul.st-cards--mixed > li:nth-child(2) { border-left-color: rgb(var(--color-error) / .65); }
.st-prose ul.st-cards--mixed > li:nth-child(3) { border-left-color: rgb(var(--color-outline)); }

/* ---- 引文强调：整页最多一处，用来托住一句判断 ----
   长度超过两行的句子不要用它，会变成大色块。 */
.st-prose .st-pull {
  margin: 32px 0;
  padding: 18px 22px;
  max-width: min(100%, var(--measure));
  background: rgb(var(--color-secondary) / .05);
  border-left: 3px solid rgb(var(--color-secondary));
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-size: 17px;
  line-height: 1.7;
  color: rgb(var(--color-on-surface));
  font-weight: 500;
}
.st-prose .st-pull strong { font-weight: 600; }

/* 表格：桌面加斑马纹与首列色条，让 5 行 4 列不再糊成一片。
   窄屏已整表转卡片（见文末媒体查询），那里不加底色，避免卡片上下错色。 */
@media (min-width: 900px) {
  .st-table tbody tr:nth-child(even) { background: rgb(var(--color-surface-container-low)); }
  /* 首列是行标题，用净色条把每一行的起点标出来；行少时靠它对齐视线 */
  .st-table tbody th[scope="row"] { box-shadow: inset 3px 0 0 rgb(var(--color-secondary) / .55); }
  .st-table tbody tr:hover { background: rgb(var(--color-secondary) / .05); }
}

/* ---- 流程：序号圆点 + 连接线，桌面横排、窄屏竖排（纯 CSS，无需图） ---- */
.st-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.st-step {
  position: relative;
  padding: 52px 26px 0 0;
}
.st-step::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 34px;
  right: 8px;
  height: 1px;
  background: rgb(var(--color-outline-variant));
}
.st-step:last-child::before { display: none; }
.st-step-no {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgb(var(--color-secondary));
  color: rgb(var(--color-on-secondary));
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.st-step .st-h3 { margin-bottom: 6px; }
.st-step p { color: rgb(var(--color-on-surface-variant)); font-size: 15px; }
.st-step-out {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgb(var(--color-outline));
}

/* ---- 案例位：版式骨架示意，不是真实截图 ---- */
.st-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.st-case { min-width: 0; }
.st-case-label { margin-top: 12px; }
.st-case-note { margin-top: 4px; font-size: 12px; color: rgb(var(--color-on-surface-variant)); }
/* 案例网格：15 家按 3 列 5 行排满，截图统一 16:9；与旧的 quad(2列) 区分 */
.st-cases-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 22px; }
.st-cases-grid .st-case img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); }
@media (max-width: 767px) {
  .st-cases-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* ---- 客户 LOGO 墙：真实客户 logo，统一灰度，悬停恢复彩色 ---- */
.st-client-wall {
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid rgb(var(--color-divider));
}
.st-client-wall-note {
  margin: 0 0 22px;
  text-align: center;
  font-size: 12px;
  letter-spacing: .08em;
  color: rgb(var(--color-on-surface-variant));
}
.st-client-wall-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.st-client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 76px;
  padding: 16px 18px;
  border: 1px solid rgb(var(--color-divider));
  border-radius: var(--radius-lg);
  background: rgb(var(--color-surface-container-low));
}
.st-client-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .78;
  transition: filter .2s ease, opacity .2s ease;
}
.st-client-logo:hover img { filter: grayscale(0); opacity: 1; }
@media (max-width: 1199px) {
  .st-client-wall-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
}
@media (max-width: 600px) {
  .st-client-wall { margin-top: 36px; padding-top: 24px; }
  .st-client-wall-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .st-client-logo { height: 66px; padding: 12px 14px; }
}

/* ---- 常见问题：答案直接可见，不折叠 ---- */
.st-faq { display: block; }
.st-qa { padding: 22px 0 24px; border-top: 1px solid rgb(var(--color-divider)); }
.st-qa:first-child { border-top: 0; padding-top: 0; }
.st-qa-q { margin-bottom: 8px; }
.st-qa p { max-width: min(100%, var(--measure)); color: rgb(var(--color-on-surface-variant)); }

/* ---- 子页：面包屑与页头 ---- */
.st-crumbs { padding: 4px 0 20px; }
.st-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgb(var(--color-on-surface-variant));
}
.st-crumbs li + li::before { content: "/"; margin-right: 8px; color: rgb(var(--color-outline)); }
.st-page-head {
  padding: 12px 0 40px;
  background: rgb(var(--color-surface-bright));
  border-bottom: 1px solid rgb(var(--color-divider));
}
.st-page-head .st-h1 { font-size: clamp(28px, 3.4vw, 42px); max-width: 24em; }
.st-page-head .st-lede { margin-top: 18px; }
.st-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.st-jump a {
  padding: 7px 15px;
  border: 1px solid rgb(var(--color-outline-variant));
  border-radius: var(--radius-full);
  background: rgb(var(--color-background));
  font-size: 14px;
  color: rgb(var(--color-on-surface-variant));
}
.st-jump a:hover {
  border-color: rgb(var(--color-secondary));
  color: rgb(var(--color-secondary));
  background: rgb(var(--color-surface-container-low));
  text-decoration: none;
  transform: translateY(-2px);
}

/* ---- D-28 可感知反馈：补状态差异，不是补过渡时长 ------------------------
   D-26 给所有 a/button 加了 transition，但全站仅 7 条 :hover 规则，案例卡等
   21 个容器 hover 前后计算样式完全不变 —— 过渡加在没有状态变化的元素上是空转。
   本段不写 opacity:0 初始态、不加 @keyframes、不引 JS；默认态静态外观不变。 */
.st-case h3, .st-point h3 {
  transition: color var(--motion-fast) ease;
}
.st-case:hover h3, .st-point:hover h3 {
  color: rgb(var(--color-secondary));
}

/* ---- 服务概览卡（D-56）：在「一条路径」之上补一层扫读层，让人一眼看清做哪四类。
   与 D-15 不冲突：卡片只负责快速识别+锚点跳转，先后与细节仍由下方路径承载。
   四张卡的标题/标签/说明/图标全部取自服务内容，运营改后台即同步。 */
.st-svc-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 6px 0 34px; }
.st-svc-tile {
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  min-height: 178px;
  background: rgb(var(--color-surface-bright));
  /* 与首页服务卡一致：弱化全包围实线，改淡边框 + 弥散阴影，避免被"框死" */
  border: 1px solid rgb(var(--color-outline-variant) / .5);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgb(15 23 42 / 6%);
  transition: border-color var(--motion-fast) ease, transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}
.st-svc-tile:hover {
  border-color: rgb(var(--color-secondary) / .45);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgb(15 23 42 / 11%);
}
.st-svc-tile-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.st-svc-tile .st-icon-card { color: rgb(var(--color-secondary)); }
.st-svc-tile-title { font-size: 17px; line-height: 1.45; font-weight: 700; margin: 0 0 8px; }
.st-svc-tile-tag {
  flex: 0 0 auto;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgb(var(--color-secondary-container));
  color: rgb(var(--color-secondary));
  font-size: 11px;
  font-weight: 600;
}
.st-svc-tile-desc { font-size: 13.5px; line-height: 1.6; color: rgb(var(--color-on-surface-variant)); margin: 0 0 14px; }
.st-svc-tile-more { margin-top: auto; font-size: 13px; font-weight: 600; color: rgb(var(--color-on-tertiary-fixed-variant)); }

/* ---- 首页四类服务图文卡（D-57）：图在上、文在下，4 张平铺，一眼看清做什么。
   数据取 regions.home_services（后台「模板配置」绑定），运营改图/文案即同步。
   与 D-56 详情页那组无图卡分工：首页靠图识别，详情页靠文字看细节。 */
.st-hsvc-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.st-hsvc-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: rgb(var(--color-surface-bright));
  /* 去边框化：不用全包围实线把内容"框死"，改用低透明度弥散阴影让卡片轻微浮起，
     与下方无边框的分栏共用"轻容器"语言，消除封闭盒 vs 开放线的割裂感。 */
  border: 1px solid rgb(var(--color-outline-variant) / .5);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgb(15 23 42 / 6%);
  transition: border-color var(--motion-fast) ease, transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}
.st-hsvc-card:hover { border-color: rgb(var(--color-secondary) / .45); transform: translateY(-3px); box-shadow: 0 10px 26px rgb(15 23 42 / 11%); }
/* 图区四色相（中等明度）：四张卡一眼区分，白框浮出、蓝线仍清晰；按序循环不写死数据 */
.st-hsvc-fig { display: flex; align-items: center; justify-content: center; height: 180px; padding: 14px; background: rgb(var(--color-secondary-container)); }
/* 图区容器底色与 SVG 深色背景一致，padding 与图融为一体 */
.st-hsvc-card:nth-child(4n+1) .st-hsvc-fig { background: #BFD3F2; } /* 浅蓝 · 起步 */
.st-hsvc-card:nth-child(4n+2) .st-hsvc-fig { background: #C3E8E2; } /* 浅青 · 拓展 */
.st-hsvc-card:nth-child(4n+3) .st-hsvc-fig { background: #DED5F6; } /* 浅紫 · 增长 */
.st-hsvc-card:nth-child(4n+4) .st-hsvc-fig { background: #F8E1C2; } /* 浅琥珀 · 迭代 */
.st-hsvc-fig img { display: block; width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.st-hsvc-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.st-hsvc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.st-hsvc-top .st-icon-card { color: rgb(var(--color-secondary)); }
.st-hsvc-tag { flex: 0 0 auto; padding: 2px 9px; border-radius: 999px; background: rgb(var(--color-secondary-container)); color: rgb(var(--color-secondary)); font-size: 11px; font-weight: 600; }
.st-hsvc-title { font-size: 16px; line-height: 1.45; font-weight: 700; margin: 0 0 8px; }
.st-hsvc-desc { font-size: 13px; line-height: 1.6; color: rgb(var(--color-on-surface-variant)); margin: 0 0 14px; }
.st-hsvc-more { margin-top: auto; font-size: 13px; font-weight: 600; color: rgb(var(--color-secondary)); }

/* ---- 服务：首页是一条路径的清单，不是四张并列卡（D-15）----
   2×2 只能说明「有四类服务」，说明不了先后；四段挂在同一条轴上，
   序号 + 阶段名 + 一句结论，末行回到起点，读一遍就成一条路径。 */
/* 不套外框：外层加圆角边框、里面每张图又各有一个盒子，两层框叠在一起
   就是「表格装进盒子里」的那种笨重感。这里只留竖轴和段间细线。 */
.st-path-panel {
  padding-left: 52px;
}
.st-path { counter-reset: step; }
.st-path-item {
  counter-increment: step;
  position: relative;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid rgb(var(--color-surface-container));
}
.st-path-item:first-child { border-top: 0; }
/* 节点：白底圆环压在段间细线上，编号由计数器生成，不写死在 HTML */
.st-path-item::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -52px;
  top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgb(var(--color-surface-bright));
  border: 1px solid rgb(var(--color-outline));
  border-radius: 50%;
  color: rgb(var(--color-on-surface-variant));
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
/* 段间连线：本段节点底边连到下一段节点顶边，接头被圆环盖住 */
.st-path-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -38px;
  top: 52px;
  bottom: -24px;
  width: 1px;
  background: rgb(var(--color-divider));
}
/* 图区浅色块：沿用原设计四色浅底，白色小框更易辨认，图也更突出 */
.st-path-fig { padding: 12px; border-radius: var(--radius-lg); background: rgb(var(--color-secondary-container)); }
.st-path-item:nth-child(4n+1) .st-path-fig { background: #BFD3F2; }
.st-path-item:nth-child(4n+2) .st-path-fig { background: #C3E8E2; }
.st-path-item:nth-child(4n+3) .st-path-fig { background: #DED5F6; }
.st-path-item:nth-child(4n+4) .st-path-fig { background: #F8E1C2; }
.st-path-fig img { display: block; width: 100%; height: auto; }
.st-path-tag {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  color: rgb(var(--color-secondary));
}
.st-path-text .st-h3 { margin-bottom: 6px; }
/* 服务条目标题链接：显式主题蓝，hover 沿用全局下划线与父级变色 */
.st-path-title-link { color: rgb(var(--color-secondary)); }
/* 「看这一类怎么做」：改用 tertiary 深橙，与蓝色标题区分；hover 下划线同色 */
.st-more a { color: rgb(var(--color-on-tertiary-fixed-variant)); }
.st-more a:hover { text-decoration-color: rgb(var(--color-on-tertiary-fixed-variant)); }
.st-path-text p {
  font-size: 15px;
  color: rgb(var(--color-on-surface-variant));
}
.st-path-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
}
/* 闭环：末段之后回到起点，不写成一条走完就断的流程 */
.st-path-loop {
  margin-left: 384px;
  padding: 20px 0 4px;
  border-top: 1px solid rgb(var(--color-surface-container));
  font-size: 14px;
  color: rgb(var(--color-on-surface-variant));
}
.st-path-loop::before {
  content: "↻";
  margin-right: 8px;
  color: rgb(var(--color-secondary));
  font-weight: 700;
}

/* ---- 要点列：三点并列，不是编号大字 ---- */
.st-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 30px; }
/* 线条降重：细浅灰分隔线，不再用 2px 青绿粗线"框定"，与上方去边框卡片统一为轻语言 */
.st-point { padding-top: 14px; border-top: 1px solid rgb(var(--color-divider)); }
.st-point .st-h3 { margin-bottom: 6px; }
.st-point p { font-size: 15px; color: rgb(var(--color-on-surface-variant)); }
/* 变体：6 组维护清单用双列；首页四点做法用四列 */
.st-points-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st-points-quad { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* 组内周期行：必须用 .st-point 前缀，否则被 .st-point p 覆盖 */
.st-point .st-cycle {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--color-secondary));
}

/* ---- 服务详情（服务页）：沿用左图右文，标题用 h2 但视觉与 h3 同级 ---- */
.st-svc-title { font-size: 21px; line-height: 1.45; font-weight: 700; margin-bottom: 10px; }
.st-label {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: rgb(var(--color-on-surface));
}
.st-deliver { display: grid; gap: 7px; margin-top: 8px; }
.st-deliver li {
  position: relative;
  padding-left: 1.1em;
  font-size: 15px;
  color: rgb(var(--color-on-surface-variant));
}
.st-deliver li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgb(var(--color-secondary));
}

/* ---- 案例字段：骨架里写清每个案例会披露什么 ---- */
.st-case-meta { display: grid; gap: 5px; margin-top: 10px; font-size: 13px; line-height: 1.7; }
.st-case-meta > div { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 8px; }
.st-case-meta dt { color: rgb(var(--color-on-surface-variant)); }
.st-case-meta dd { margin: 0; color: rgb(var(--color-on-surface)); }
.st-cases-quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---- 表单骨架（联系页）：后端接入前只交付结构 ---- */
.st-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: min(100%, var(--measure));
  margin-top: 0;
}
.st-field { display: grid; gap: 6px; }
.st-field label { font-size: 14px; font-weight: 600; }
.st-field input, .st-field textarea, .st-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgb(var(--color-outline-variant));
  border-radius: var(--radius-default);
  background: rgb(var(--color-surface-bright));
  color: rgb(var(--color-on-surface));
  font: inherit;
  font-size: 15px;
}
.st-field textarea { min-height: 96px; resize: vertical; }
.st-form .st-btn { justify-self: start; }
.st-more { margin-top: 26px; font-size: 15px; font-weight: 600; }
.st-form-note, .st-note-inline { font-size: 13px; color: rgb(var(--color-on-surface-variant)); }

/* ---- 联系页：询盘 / 留言表单与联系方式槽位（D-35）----
   表单两列只在够宽时排开，窄屏统一单列；联系方式的值由 build.py::CONTACT
   注入，这里只负责版式，不写死任何号码或邮箱。 */
.st-field select { cursor: pointer; }
.st-field input:focus, .st-field select:focus, .st-field textarea:focus {
  border-color: rgb(var(--color-secondary));
}
.st-field-full, .st-form > .st-btn, .st-form > .st-form-note { grid-column: 1 / -1; }
.st-req {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 500;
  color: rgb(var(--color-secondary));
}
.st-info-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr);
  gap: 32px;
  margin-top: 0;
  align-items: stretch;
}
.st-info-list { display: grid; gap: 12px; align-content: start; }
/* D-40：渠道卡 = 图标 + 文字两行，不再带每条一句的说明（st-info-hint 已移除）。 */
.st-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgb(var(--color-outline-variant) / .5);
  border-radius: var(--radius-default);
  background: rgb(var(--color-surface-bright));
  box-shadow: 0 2px 12px rgb(15 23 42 / 6%);
}
.st-info-text { min-width: 0; }
.st-info-item dt { font-size: 13px; color: rgb(var(--color-on-surface-variant)); }
.st-info-item dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; }
.st-info-side p { margin-bottom: 12px; color: rgb(var(--color-on-surface-variant)); }
.st-cta-line { margin-top: 26px; }

/* ---- 联系页首屏主区（D-36）：表单与联系方式同屏，说明性内容后置 ----
   D-40 起联系方式占窄栏、表单占宽栏；两栏都给 min-width:0，避免 input 撑破网格。
   首屏区块收紧上内边距，把 H1 与表单之间的空白压到一屏内。 */
.st-form-col, .st-info-side { min-width: 0; }
.st-info-side .st-info-list { margin-top: 14px; }
.st-prep-title { margin-top: 28px; margin-bottom: 10px; }
.st-sec-lead { padding-top: 24px; }
.st-sec-lead .st-sec-head { margin-bottom: 18px; }

/* ---- 联系页两栏平级（D-37）-----------------------------------------------
   原来只有左栏有区块头，右栏是小标题且 padding-top 让它整体下沉，看起来像附属说明。
   现在两栏从 st-info-grid 的同一基线起排，各带同级 H2 + 一行导语；头部内部 margin
   统一，避免导语的下边距不同把表单与渠道卡错开。 */
.st-info-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.st-col-head .st-h2 { margin: 0; }
.st-col-head .st-sec-lede { margin: 12px 0 0; }
.st-info-grid .st-col-head p { margin-bottom: 0; }
/* D-40：左栏（联系方式）下方主入口，与右栏「发送需求」同为一级按钮；
   窄屏跳回按钮降为次级。margin-bottom 必须归零，否则 .st-info-side p 的
   12px 会让按钮比右栏高 12px。 */
.st-info-side .st-consult-line { margin-top: 20px; margin-bottom: 0; }
.st-info-side .st-cta-line { margin-top: 12px; }

/* ---- 联系页左栏主按钮配色（D-39）：与右栏青绿区分，只用现有 token ----------
   右栏「发送需求」是留资，左栏「在线咨询」是即时沟通；深墨蓝是首屏主色，
   在这里复用不新增色值。hover 提亮一档，仍走 .st-btn 已有的颜色过渡。 */
.st-btn-primary {
  background: rgb(var(--color-primary));
  border-color: rgb(var(--color-primary));
  color: rgb(var(--color-on-primary));
}
.st-btn-primary:hover {
  background: rgb(var(--color-inverse-surface));
  border-color: rgb(var(--color-inverse-surface));
}
/* 联系页首屏 H1 区下方留白同步收紧；:has() 只在「下一节是首屏主区」时生效，
   不支持的浏览器只是不收紧，不会破坏版式。 */
.st-page-head:has(+ .st-sec-lead) { padding-bottom: 24px; }

/* ---- 图标体系（D-40）--------------------------------------------------------
   build.py 每页输出一份 <svg class="st-icon-sprite"> 符号表，页面用 <use> 取图标。
   图形本身不含色值，外层 svg 用 currentColor 描边，颜色一律由这里的 token 决定；
   图标 aria-hidden，不进无障碍树，剥离标签后的可见文案逐字不变。
   sprite 用 0 尺寸 + overflow 隐藏，不占布局；这是局部容器，不触碰滚动红线。 */
.st-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.st-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  vertical-align: -.22em;
  color: rgb(var(--color-secondary));
}
/* H1 不能套用下面 .st-h3:has() 的 flex 居中：hero 的 H1 带 <br> 是两行，
   flex + align-items:center 会把图标掉到两行文字中间。改为让图标盒尺寸随字号
   缩放（.72em），再用 .02em 把盒中心对到文字首行 em box 中心；这样 42 / 46 /
   30px 三档字号都自动对齐，不需要按断点写死像素偏移。 */
.st-icon-h1 {
  width: .72em;
  height: .72em;
  margin-right: .24em;
  vertical-align: .02em;
}
/* 深色 hero 上把主题图标提亮一档，浅底子页与移动简版保持青绿 */
.st-hero .st-icon-h1 { color: rgb(var(--color-secondary-fixed)); }
/* 要点卡 / 案例卡：浅青绿圆角底把图标做成图形锚点，替代原来纯文字顶边线 */
.st-icon-card {
  width: 28px;
  height: 28px;
  padding: 5px;
  margin-right: 8px;
  border-radius: var(--radius-lg);
  background: rgb(var(--color-secondary-container));
  color: rgb(var(--color-on-secondary-container));
  vertical-align: middle;
}
.st-icon-q { width: 19px; height: 19px; margin-right: 8px; }
.st-icon-label { width: 17px; height: 17px; margin-right: 6px; }
.st-icon-mline { width: 17px; height: 17px; margin-right: 6px; }
/* 渠道卡图标：与卡片同高的一枚浅底徽章，和右侧两行文字对齐 */
.st-icon-channel {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: var(--radius-lg);
  background: rgb(var(--color-secondary-container));
  color: rgb(var(--color-on-secondary-container));
}
/* 标题内含图标时改为 flex，图标与文字同基线；不支持 :has() 时退化为 inline 同行 */
.st-h3:has(> .st-icon), .st-label:has(> .st-icon) {
  display: flex;
  align-items: center;
  gap: 0;
}
/* FAQ 问题标题最长，窄屏会折成两行；align-items:center 会把图标推到两行中间
   （实测与第一行错开 15px）。baseline 让图标始终跟住第一行基线；单行时偏差
   ≤2px。只作用于 .st-qa-q：卡片徽章 28px 用 baseline 会整体偏上 7px。 */
.st-qa-q:has(> .st-icon) { align-items: baseline; }

/* ---- 联系：唯一深色段 ---- */
.st-contact {
  padding: 66px 0 72px;
  background: rgb(var(--color-primary));
  color: rgb(var(--color-on-primary));
}
/* 补充出口链接：放在左栏主内容底部（三条保障下方），去掉原来的右侧卡片。
   用顶部分隔线与上方保障拉开，左对齐与标题/按钮同列，不再有孤立的右边框。 */
.st-contact-side-note {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgb(var(--color-outline) / .22);
  font-size: 13px;
  line-height: 1.8;
  color: rgb(var(--color-on-primary-container));
}
.st-contact-side-note a { color: rgb(var(--color-secondary-fixed)); }
.st-contact .st-h2 { color: rgb(var(--color-on-primary)); }
.st-contact .st-sec-lede { color: rgb(var(--color-on-primary-container)); }
.st-contact .st-small { color: rgb(var(--color-on-primary-container)); }
.st-contact a { color: rgb(var(--color-secondary-fixed)); }
/* 深色区里的链接色会给到 <a class="st-btn"> 上：换回青绿主题后浅青前景
   在深墨底上对比充足，但按钮仍固定用自己的前景色，不受链接色影响，保证任何主题下都可读。
   特异性 (0,2,0) > (0,1,1)，无需 !important。 */
.st-contact .st-btn { color: rgb(var(--color-on-primary)); }
/* CTA 底部的三条保障：都是站内已经写过的话（联系页与各服务页原文），
   不新增「4 小时回复」这类兑现不了的硬承诺。横向排列，窄屏换行。 */
.st-cta-tags {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.st-cta-tags li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 13.5px;
  color: rgb(var(--color-on-primary-container));
}
.st-icon-tag {
  width: 15px;
  height: 15px;
  flex: none;
  color: rgb(var(--color-secondary-fixed));
}
.st-summary { margin-top: 24px; }
.st-summary li {
  padding: 6px 0 6px 1.2em;
  list-style: disc;
  color: rgb(var(--color-inverse-on-surface));
  font-size: 15px;
}

/* ---- 页脚 ---- */
.st-footer {
  padding: 40px 0 22px;
  background: rgb(var(--color-surface-bright));
  border-top: 1px solid rgb(var(--color-divider));
}
.st-footer-in {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .55fr) minmax(0, .55fr);
  gap: 40px;
}
.st-footer-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
/* 加上标记后，页脚品牌行需要一个比正文略大的字标：
   下面 .st-footer-brand p 的 14px 是为说明段写的，字标套用会显得「图标大、字小」。 */
.st-footer-brand .st-footer-title { font-size: 16px; margin-bottom: 10px; }
.st-footer-brand p { font-size: 14px; color: rgb(var(--color-on-surface-variant)); max-width: min(100%, var(--measure)); }
.st-footer-h { margin-bottom: 10px; font-size: 13px; font-weight: 700; color: rgb(var(--color-on-surface)); }
.st-footer-nav { display: flex; flex-direction: column; gap: 6px; }
.st-footer-nav a { padding: 2px 0; }
.st-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgb(var(--color-divider));
}
.st-footer-meta { font-size: 12px; color: rgb(var(--color-on-surface-variant)); }

/* ---- 断点互斥：1024，与 D-04 抽屉 / D-07 双分支口径一致 ----
   首屏 H1 与 lede 两断点共用且全页唯一，分支只控制附加内容。
   ⚠️ 必须放在所有基础规则之后：.st-nav / .st-hero-grid 等基础规则特异性相同，
      写在前面会被后面的 display / grid-template-columns 直接覆盖，断点静默失效。 */
/* 首页四点做法：四列要 1200 以上才排得开（每列 >=240px），窄一档就退两列 */
@media (max-width: 1199px) {
  .st-points-quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-svc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-hsvc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .st-desktop-branch { display: none; }
  .st-nav, .st-header-cta { display: none; }
  .st-burger { display: inline-flex; }
  /* 语言控件与汉堡并排：由 lang 独占 auto，两个 auto 会把控件挤到中间 */
  .st-lang { margin-left: auto; margin-right: 12px; }
  .st-burger { margin-left: 0; }
  .st-hero-grid { grid-template-columns: 1fr; }
  /* 导航收起后品牌独占左侧，分隔线没有意义 */
  .st-brand { padding-right: 0; margin-right: 0; border-right: 0; }
  /* 平板：图栏 300 会把文字挤到 300 以内 */
  .st-phase-main { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
  .st-path-item { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
  .st-path-loop { margin-left: 316px; }
  /* 联系页：宽度不够两栏时退单列。D-40 起 DOM 顺序是联系方式在前，
     用 order 把表单排回前面，首屏先给可填的内容，也不留半宽输入框。 */
  .st-info-grid { grid-template-columns: 1fr; gap: 24px; }
  .st-form-col { order: 1; }
  .st-info-side { order: 2; }
  /* ≤1023 时深色 hero 已带「看服务与方案」，移动简版不再重复同一入口 */
  .st-mhero .st-btn { display: none; }
}
@media (min-width: 1024px) {
  .st-mobile-branch, .st-burger, .st-overlay, .st-drawer, .st-fallback { display: none; }
  /* 桌面双栏时表单就在右栏，不需要重复跳回；窄屏单列时联系方式在表单下方，保留 */
  .st-info-side .st-cta-line { display: none; }
  /* 两个主按钮同基线：左栏剩余空间交给 auto margin，把「在线咨询」推到栏底；
     与右栏成为表单最后一行的「发送需求」自然对齐。padding-top 保证最小 20px 间距，
     不写死像素差，表单说明换行或字号变化都不会破坏对齐。 */
  .st-info-side .st-consult-line { margin-top: auto; padding-top: 20px; }
}

/* ---- 窄屏 ---- */
@media (max-width: 767px) {
  .st-wrap { width: calc(100% - 32px); }
  .st-header-in { min-height: 56px; gap: 12px; }
  .st-hero { padding: 40px 0 44px; }
  .st-h1 { font-size: 30px; }
  .st-lede { font-size: 15px; }
  .st-hero-actions { margin-top: 22px; }
  .st-btn { padding: 10px 18px; font-size: 14px; }
  .st-sec { padding: 44px 0 48px; }
  .st-sec-head { margin-bottom: 26px; }
  .st-sec-lede { font-size: 15px; }
  /* 轴缩到 12px 位置，节点 22px，卡片内改单列 */
  .st-track-note { margin-left: 40px; }
  .st-track { padding-left: 40px; }
  .st-track::before { left: 13px; top: 26px; bottom: 26px; }
  .st-phase { padding-bottom: 22px; }
  .st-phase-card { padding: 18px 16px 20px; }
  .st-phase::before { left: -40px; top: 16px; width: 24px; height: 24px; font-size: 10px; }
  .st-phase-main { grid-template-columns: 1fr; gap: 16px; margin-top: 12px; }
  .st-phase-meta { grid-template-columns: 1fr; gap: 18px; margin-top: 16px; padding-top: 14px; }
  .st-fig-svc img { padding: 8px 10px; }
  /* 首页路径清单：轴收到 44px，节点 26px，图与文字改单列 */
  .st-path-panel { padding-left: 36px; }
  .st-path-item { grid-template-columns: 1fr; gap: 14px; align-items: start; padding: 18px 0; }
  .st-path-item::before { left: -36px; top: 14px; width: 24px; height: 24px; font-size: 10px; }
  .st-path-item:not(:last-child)::after { left: -24px; top: 38px; bottom: -14px; }
  .st-path-loop { margin-left: 0; padding: 16px 0 12px; }
  .st-points, .st-points-duo, .st-points-quad, .st-cases-quad { grid-template-columns: 1fr; }
  .st-svc-tiles { grid-template-columns: 1fr; gap: 12px; margin-bottom: 26px; }
  .st-svc-tile { min-height: 0; padding: 18px 18px 16px; }
  .st-hsvc-cards { grid-template-columns: 1fr; gap: 14px; }
  /* 联系页：表单与联系方式窄屏都改单列，避免输入框被压到 150px */
  .st-form, .st-info-grid { grid-template-columns: 1fr; }
  .st-info-grid { gap: 20px; }
  .st-sec-lead { padding-top: 28px; }
  .st-page-head { padding: 8px 0 30px; }
  .st-jump { gap: 8px; margin-top: 20px; }
  .st-jump a { padding: 6px 12px; font-size: 13px; }
  .st-svc-title { font-size: 19px; }
  .st-audience-list, .st-cases, .st-contact-grid { grid-template-columns: 1fr; }
  .st-contact-grid { gap: 0; }
  /* 页脚：品牌占满一行，「服务 / 站点」两列并排。
     共用 gap:0 会让标题压在上一块末行下方（contact 有 margin 补偿、页脚没有），
     故行距单独给 32px，与 .st-footer-bottom 的 margin-top 同节奏。
     两列各约 163px（390 下），最长项「企业官网建设」约 84px，余量充足。 */
  .st-footer-in { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .st-footer-brand { grid-column: 1 / -1; }
  .st-footer-h { margin-bottom: 12px; }
  /* 流程改竖排：圆点在左，连接线转竖线 */
  .st-steps { grid-template-columns: 1fr; }
  .st-step { padding: 0 0 24px 46px; }
  .st-step::before {
    top: 34px;
    bottom: 0;
    left: 14px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .st-step:last-child { padding-bottom: 0; }
  /* 宽图在窄屏换竖版（<picture> 切换），不再横滚：整图可见，无需引导用户滑 */
  /* 对比表在窄屏改为逐项卡片：避免只看到两列、第三列要横滑才能看到 */
  .st-table-wrap { overflow-x: visible; }
  .st-table { min-width: 0; display: block; }
  .st-table thead { display: none; }
  .st-table tbody { display: block; }
  .st-table tr {
    display: block;
    margin-bottom: 12px;
    padding: 14px 16px;
    background: rgb(var(--color-surface-bright));
    border: 1px solid rgb(var(--color-outline-variant));
    border-radius: var(--radius-lg);
  }
  .st-table tr:last-child { margin-bottom: 0; }
  .st-table th[scope="row"] {
    display: block;
    padding: 0 0 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgb(var(--color-surface-container));
    font-size: 15px;
    white-space: normal;
  }
  .st-table td {
    display: block;
    padding: 6px 0;
    border: 0;
  }
  .st-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    color: rgb(var(--color-on-surface-variant));
  }
  .st-table td:last-child::before { color: rgb(var(--color-secondary)); }
  .st-contact { padding: 46px 0 52px; }
  .st-contact-side-note { margin-top: 20px; padding-top: 15px; }
  .st-footer-bottom { flex-direction: column; }
}

/* ---- D-29 hover 缩放（鼠标指向放大；不做点击 / lightbox）------------------
   图是 SVG 矢量，放大不失真。D-43：原实现给 figure 写 overflow:hidden 做
   「窗口里放大」的裁切层，实拍发现放大 1.06 时图片边缘（浏览器窗口边框、
   底部说明文字）会被切掉。改为 overflow:visible，放大时整张图完整浮起；
   grid 的 26px gap 与 figcaption 的 10px 间距足够容纳 6% 溢出，不盖相邻卡片。
   figcaption 仍提层，避免放大的图衬到文字下面影响阅读。
   D-30：整卡缩放只给网格里的独立卡片（.st-case / .st-point，有 gap 兜住）。
   轴类容器 .st-path-item / .st-phase-card 的编号圆环 ::before 与段间纵线 ::after
   长在元素自身，整行 transform 会把圆环、连线、分隔线一起缩放位移，纵轴断裂；
   .st-fit 是正文段落，整段位移也会串行。轴内只做内容层过渡：图缩放 + 标题变色
   + 边框色，不对容器写 transform / position / z-index。 */
.st-fig { overflow: visible; }
.st-fig img {
  transform-origin: center center;
  transition: transform var(--motion-fast) ease;
}
.st-fig figcaption { position: relative; z-index: 1; }
.st-fig:hover img,
.st-case:hover .st-fig img,
.st-point:hover .st-fig img,
.st-path-item:hover .st-path-fig img,
.st-phase-card:hover .st-fig img { transform: scale(1.06); }
/* 880px 大图幅度收小，避免推得过满 */
.st-fig-wide:hover img { transform: scale(1.03); }

.st-case, .st-point {
  position: relative;
  transition: transform var(--motion-fast) ease;
}
.st-case:hover, .st-point:hover {
  transform: scale(1.025);
  z-index: 1;
}

/* D-30 轴内 / 服务卡的内容层过渡：只改颜色，不改几何 */
.st-path-text .st-h3, .st-phase-card .st-svc-title {
  transition: color var(--motion-fast) ease;
}
.st-path-item:hover .st-path-text .st-h3,
.st-phase-card:hover .st-svc-title { color: rgb(var(--color-secondary)); }
.st-phase-card { transition: border-color var(--motion-fast) ease; }
.st-phase:not(:target) .st-phase-card:hover { border-color: rgb(var(--color-outline)); }

@media (prefers-reduced-motion: reduce) {
  .st-fig img, .st-fig:hover img, .st-fig-wide:hover img,
  .st-case:hover, .st-point:hover { transform: none !important; }
}

/* ===== CMS 接线：联系表单的验证码 / 错误提示 / 提交反馈 ===== */
.st-captcha-row { display: flex; gap: 10px; align-items: center; }
.st-captcha-row input { flex: 1 1 auto; min-width: 0; }
.st-captcha-img { width: 178px; height: 50px; border: 1px solid rgb(var(--color-outline-variant)); border-radius: 6px; cursor: pointer; background: rgb(var(--color-surface-bright)); }
.st-captcha-refresh {
  flex: none;
  height: 50px;
  padding: 0 12px;
  border: 1px solid rgb(var(--color-outline-variant));
  border-radius: 6px;
  background: transparent;
  color: rgb(var(--color-on-surface-variant));
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.st-captcha-refresh:hover { border-color: rgb(var(--color-secondary)); color: rgb(var(--color-secondary)); }

/* ---- 联系页左栏「提交之后」三步（填补左栏空白，降低提交顾虑）---- */
.st-info-hint { margin: 3px 0 0; font-size: 12px; color: rgb(var(--color-on-surface-variant)); }
.st-after-sec { padding: 56px 0 64px; }
.st-after-sec .st-sec-lede { margin-top: 10px; }
.st-after-steps {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  counter-reset: after;
}
.st-after-steps li {
  position: relative;
  padding-top: 44px;
  font-size: 14px;
  line-height: 1.7;
  color: rgb(var(--color-on-surface-variant));
  counter-increment: after;
}
.st-after-steps li::before {
  content: counter(after);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgb(var(--color-secondary) / .12);
  color: rgb(var(--color-secondary));
  font-size: 13px;
  font-weight: 700;
}
.st-after-steps strong { display: block; margin-bottom: 4px; color: rgb(var(--color-on-surface)); font-size: 15px; font-weight: 600; }
/* 三步之后的一句脚注：加通栏细分割线，避免读起来像是第一列的补充说明 */
.st-after-note {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgb(var(--color-outline-variant));
  /* 全局段落有 --measure 768px 的阅读行宽，这里只有一句短文本，
     放开宽度让分割线通栏，否则线会在区块中间断掉。 */
  max-width: none;
}
.st-after-note a { color: rgb(var(--color-secondary)); text-underline-offset: 3px; }

/* 联系页表单：三个短字段一行（桌面），避免电话独占半行留出空槽 */
@media (min-width: 900px) {
  .st-form-contact { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .st-form-contact > .st-field:not(.st-field-full) { grid-column: span 2; }
  .st-form-contact > .st-field-full { grid-column: 1 / -1; }
}
/* 提交行与说明必须占满整行，否则按钮会被挤进一列而换行 */
.st-form-contact > .st-form-actions { grid-column: 1 / -1; }
.st-captcha-row { flex-wrap: wrap; }
.st-captcha-row input { max-width: 280px; }
.st-captcha-img { flex: none; }
@media (max-width: 899px) {
  .st-after-steps { grid-template-columns: 1fr; gap: 18px; }
  .st-after-steps li { padding-top: 36px; }
  .st-after-sec { padding: 40px 0 48px; }
}
@media (max-width: 560px) {
  /* 窄屏：输入框独占一行，图 + 换一张排在下面，避免三者互相挤压 */
  .st-captcha-row input { flex: 1 1 100%; max-width: none; }
}
.st-field-error { display: block; min-height: 0; font-size: 13px; line-height: 1.6; color: rgb(var(--color-error, 190 30 45)); }
.st-field-error:not(:empty) { margin-top: 4px; }
.st-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.st-form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 8px; font-size: 14px; line-height: 1.7; border: 1px solid rgb(var(--color-outline-variant)); }
.st-form-msg.is-success { border-color: rgb(var(--color-secondary)); color: rgb(var(--color-on-surface)); background: rgb(var(--color-secondary-container)); }
.st-form-msg.is-error { border-color: rgb(var(--color-error, 190 30 45)); background: rgb(var(--color-surface)); }
.st-btn[disabled] { opacity: .6; cursor: progress; }

/* ===== 单网页 / 详情正文排版 ===== */
.st-prose { max-width: min(100%, var(--measure)); margin-top: 24px; }
.st-prose > :first-child { margin-top: 0; }
.st-prose h2 { font-size: 22px; line-height: 1.5; margin: 32px 0 10px; font-weight: 700; }
.st-prose h3 { font-size: 17px; line-height: 1.6; margin: 24px 0 8px; font-weight: 700; }
.st-prose p, .st-prose li { font-size: 16px; line-height: 1.85; color: rgb(var(--color-on-surface-variant)); }
.st-prose p { margin: 0 0 14px; }
.st-prose ul, .st-prose ol { margin: 0 0 16px 20px; }
.st-prose li { margin-bottom: 6px; }
.st-prose a { color: rgb(var(--color-secondary)); text-decoration: underline; text-underline-offset: 3px; }
.st-prose strong { color: rgb(var(--color-on-surface)); }
.st-fig-wide { margin: 24px 0; }
.st-fig-wide img { width: 100%; height: auto; }

/* ---- 在线咨询（D-50）：悬浮按钮 + 弹窗 --------------------------------------
   按钮是本页 DOM，不是 SDK 的气泡；SDK 的 iframe 只在弹窗里出现。
   层级：内容 30 < 悬浮按钮 35 < 遮罩 40 < 抽屉 50 < 头 60 < 弹窗 70。
   滚动红线沿用 D-04 方案 B：不锁 html / body。 */
.st-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 35;
}
/* 联系页：页面本身就有表单和两处「在线咨询」入口，右下悬浮按钮是重复的，
   还会压住联系方式卡片；这里只隐藏入口，弹窗逻辑与 chat.js 保持原样。 */
.st-chat--no-fab .st-chat-fab { display: none; }
.st-chat-fab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 20px 0 16px;
  border: 0;
  border-radius: var(--radius-full);
  background: rgb(var(--color-secondary));
  color: rgb(var(--color-on-secondary));
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgb(var(--color-primary) / 0.28);
  transition: transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease,
              background-color var(--motion-fast) ease;
}
.st-chat-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgb(var(--color-primary) / 0.34);
}
.st-chat-fab:active { transform: translateY(0); }
.st-chat-fab:focus-visible {
  outline: 2px solid rgb(var(--color-on-surface));
  outline-offset: 3px;
}
.st-chat-fab-icon { width: 22px; height: 22px; flex: none; }
.st-chat.is-active .st-chat-fab { background: rgb(var(--color-primary)); }

/* 弹窗 */
.st-chat-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
}
.st-chat-modal.is-open { display: block; }
.st-chat-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(var(--color-primary) / 0.55);
  opacity: 0;
  transition: opacity var(--motion-base) ease;
}
.st-chat-modal.is-open .st-chat-backdrop { opacity: 1; }
.st-chat-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  width: min(92vw, 460px);
  height: min(86vh, 700px);
  transform: translate(-50%, -50%);
  background: rgb(var(--color-surface-bright));
  border: 1px solid rgb(var(--color-outline-variant));
  border-radius: var(--radius-full);
  box-shadow: 0 24px 60px rgb(var(--color-primary) / 0.35);
  overflow: hidden;
}
.st-chat-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: none;
  padding: 12px 12px 12px 18px;
  border-bottom: 1px solid rgb(var(--color-divider));
}
.st-chat-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: rgb(var(--color-on-surface));
}
.st-chat-close {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background: transparent;
  color: rgb(var(--color-on-surface-variant));
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background-color var(--motion-fast) ease, color var(--motion-fast) ease;
}
.st-chat-close svg { width: 16px; height: 16px; flex: none; }
.st-chat-close:hover {
  background: rgb(var(--color-surface-container));
  color: rgb(var(--color-on-surface));
}
.st-chat-close:focus-visible {
  outline: 2px solid rgb(var(--color-secondary));
  outline-offset: 2px;
}
.st-chat-body {
  flex: 1;
  min-height: 0;
  background: rgb(var(--color-surface-container-lowest));
}
.st-chat-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.st-chat-foot {
  flex: none;
  margin: 0;
  padding: 10px 18px;
  border-top: 1px solid rgb(var(--color-divider));
  background: rgb(var(--color-surface));
  font-size: 13px;
  line-height: 1.6;
  color: rgb(var(--color-on-surface-variant));
}
.st-chat-foot a {
  color: rgb(var(--color-secondary));
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 窄屏：按钮收成圆形，弹窗改底部抽屉（和 SDK 移动端形态一致，用户不会觉得两套东西） */
@media (max-width: 767px) {
  .st-chat {
    right: 14px;
    bottom: 14px;
    transition: opacity var(--motion-base) ease, transform var(--motion-base) ease;
  }
  /* 页脚进入视口后收起，避免压住正文与页脚联系方式 */
  .st-chat.is-hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
  }
  .st-chat-fab {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .st-chat-fab-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
  .st-chat-panel {
    left: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 86vh;
    transform: none;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: var(--radius-full) var(--radius-full) 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .st-chat-fab,
  .st-chat-backdrop { transition: none; }
  .st-chat-fab:hover { transform: none; }
}

/* 关于页服务范围：数据库正文经 markdown 渲染为要点列表，补回圆点与加粗标题的对比 */
.st-prose-about ul { list-style: disc; margin-left: 20px; }
.st-prose-about li { list-style-type: disc; list-style-position: outside; }
.st-prose-about li::marker { color: rgb(var(--color-secondary)); }

/* 关于页服务范围：数据库正文经 markdown 渲染为要点列表，补回圆点与加粗标题的对比 */

.st-prose-about ul { list-style: disc; margin-left: 20px; }
.st-prose-about li { list-style-type: disc; list-style-position: outside; }
.st-prose-about li::marker { color: rgb(var(--color-secondary)); }

/* 案例卡说明文字：字号 12→13，颜色加深到正文色，提升小字可读性 */
.st-case-note { font-size: 13px; color: rgb(var(--color-on-surface)); }

/* 页头（st-page-head）内的概览卡/联系栅格：原属宽松区块，放进紧凑页头后补回间距 */
.st-page-head .st-svc-tiles { margin-top: 30px; }
.st-page-head .st-info-grid { margin-top: 30px; }

/* ---- 行业洞察（news 模型）----------------------------------------------------
   文章列表走时间流，用分隔线与行距分层，不堆卡片；详情页元信息紧跟标题。 */
.st-posts { margin-top: 6px; }
.st-post { padding: 26px 0; border-bottom: 1px solid rgb(var(--color-divider)); }
.st-post:first-child { padding-top: 10px; }
.st-post:last-child { border-bottom: 0; padding-bottom: 6px; }
.st-post-title { font-size: 20px; line-height: 1.5; margin: 0 0 6px; font-weight: 700; }
.st-post-title a { color: inherit; text-decoration: none; }
.st-post-title a:hover { color: rgb(var(--color-secondary)); }
.st-post-meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 8px; font-size: 13px; color: rgb(var(--color-on-surface-variant)); }
.st-post-summary { margin: 0; font-size: 15px; line-height: 1.8; color: rgb(var(--color-on-surface-variant)); max-width: min(100%, var(--measure)); }

.st-article-meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0 0; font-size: 13px; color: rgb(var(--color-on-surface-variant)); }

/* 详情页正文（st-prose）列表：全局 reset 清掉了 list-style，这里补回圆点与序号 */
.st-prose ul > li { list-style: disc outside; }
.st-prose ol > li { list-style: decimal outside; }
.st-prose li::marker { color: rgb(var(--color-secondary)); }

/* 长文（行业洞察）阅读排版：加大节间距、行内路径样式、标题换行均衡
   覆盖 .st-prose 基础值（同级选择器，后者生效），短正文同样受益 */
.st-prose h2 { margin: 44px 0 12px; }
.st-prose h3 { margin: 32px 0 10px; }
.st-prose ul ul, .st-prose ol ol { margin-top: 8px; margin-bottom: 8px; }
.st-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(15, 118, 110, 0.07);
  border: 1px solid rgba(15, 118, 110, 0.16);
  color: rgb(var(--color-on-surface));
  word-break: break-word;
}
.st-h1 { text-wrap: balance; }
/* 首屏主标题断行：balance 在中文里会把「独立站」拆开，固定断在逗号后 */
.st-h1-br { display: inline; }
@media (max-width: 767px) {
  /* 27px 时「企业官网与外贸独立站，」正好落在一行，不依赖断行策略 */
  .st-hero .st-h1 { font-size: 27px; }
}

/* ============================================================
   详情页两栏：正文 + 侧栏（本文目录 / 服务入口 / 联系卡）
   容器 1120：左列 auto（≈764），右列 300，间隙 56
   ============================================================ */
.st-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
}
.st-article-main { min-width: 0; }

/* 详情页 H1 收敛：原 46px 比列表页 42px 还大，长标题会吃掉三行 */
.st-detail .st-h1 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.42; margin-bottom: 14px; }
.st-detail .st-lede { margin-top: 14px; }

/* 侧栏撑满整行高度，内层 sticky 才有可滑动空间（写成 start 会让 sticky 失效） */
.st-aside { align-self: stretch; }
.st-aside-inner {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}
.st-aside-h {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgb(var(--color-on-surface));
}

/* 本文目录：竖线必须在容器内（aside-inner 有 overflow-y:auto，负 margin 会把线裁掉） */
.st-toc { padding-left: 0; }
.st-toc .st-aside-h { padding-left: 12px; }
.st-toc-list { list-style: none; margin: 0; padding: 0; }
.st-toc-list a {
  display: block;
  padding: 5px 0 5px 12px;
  border-left: 2px solid rgba(15, 118, 110, .12);
  font-size: 13.5px;
  line-height: 1.6;
  color: rgb(var(--color-on-surface-variant));
  text-decoration: none;
  transition: color .15s, border-color .15s;
}
.st-toc-list a:hover { color: rgb(var(--color-secondary)); }
.st-toc-list a.is-active {
  color: rgb(var(--color-secondary));
  border-left-color: rgb(var(--color-secondary));
  font-weight: 600;
}

/* 服务入口 */
.st-aside-links { list-style: none; margin: 0; padding: 0; }
.st-aside-links li:not(:last-child) { border-bottom: 1px solid rgba(15, 118, 110, .10); }
.st-aside-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgb(var(--color-on-surface));
  text-decoration: none;
}
.st-aside-links a::after { content: "→"; color: rgb(var(--color-secondary)); opacity: .55; }
.st-aside-links a:hover { color: rgb(var(--color-secondary)); text-decoration: none; }

/* 联系卡 */
.st-aside-card {
  padding: 18px;
  border-radius: 12px;
  background: rgba(15, 118, 110, .05);
  border: 1px solid rgba(15, 118, 110, .16);
}
.st-aside-card .st-aside-h { margin-bottom: 8px; }
.st-aside-text { margin: 0 0 14px; font-size: 13.5px; line-height: 1.7; color: rgb(var(--color-on-surface-variant)); }
.st-aside-btn { display: block; width: 100%; text-align: center; padding: 10px 14px; font-size: 14px; }
.st-aside-note { margin: 10px 0 0; font-size: 12px; color: rgb(var(--color-on-surface-variant)); }

/* 窄屏：单列，侧栏落到文末；目录在移动端意义不大，隐藏 */
@media (max-width: 1023px) {
  .st-article-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .st-aside-inner { position: static; max-height: none; overflow: visible; }
  .st-toc { display: none; }
  /* 侧栏落到文末时，紧接其后就是全站 CTA，联系卡会变成连续两个转化块，隐藏 */
  .st-aside-card { display: none; }
  .st-detail .st-lede { margin-top: 12px; }
}

/* FAQ 列表：问题标题本身就是详情入口（每问一页，锚文本即问题原文）
   静态下给一道极浅的下划线做可点提示，hover 转为青绿 */
.st-qa-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(15, 118, 110, 0.30);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.st-qa-link:hover,
.st-qa-link:focus-visible {
  color: rgb(var(--color-secondary));
  text-decoration-color: currentColor;
}

/* 首页案例不足 3 条时（真实案例补齐前）改两列，避免右侧空出一列；
   补到 3 条以上自动回到三列。不支持 :has() 的浏览器保持三列，不影响可读性 */
#cases .st-cases:not(:has(article:nth-of-type(3))) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* 关于页「项目团队与分工」内部的职责边界子块（沿用服务页的分工表） */
.st-roles-split { margin-top: 38px; }
.st-roles-split .st-h3 { margin-bottom: 8px; }
.st-roles-split > p { margin-bottom: 16px; }

/* ---- 服务总览页 UI 打磨（D-评审 2026-11-21）----
   作用域全部限定在服务页，避免影响首页/其他列表共用组件。
   1) 主推卡（起步=企业官网 / 拓展=外贸站）淡青绿高亮，引导优先查看；
   2) 卡片内部与区块间留白加大，缓解"线框图"的拥挤感；
   3) 报价因素图标标签；4) 底部深色 Banner 加低透明度网格，去纯色块暗沉。 */
.st-svc-tile--featured {
  border-color: rgb(var(--color-secondary) / .38);
  background: linear-gradient(180deg, rgb(var(--color-secondary) / .045), rgb(var(--color-surface-bright)) 42%);
  box-shadow: 0 3px 14px rgb(var(--color-secondary) / 9%);
}

/* 2) 留白：卡片内部间距拉开 */
.st-svc-tile-top { margin-bottom: 18px; }
.st-svc-tile-title { margin: 0 0 12px; }
.st-svc-tile-desc { margin: 0 0 18px; }
/* 区块之间：交付表 → 报价说明之间多留一段呼吸空间（只作用服务页相邻两节） */
#stage + #price { padding-top: 92px; }
#stage .st-sec-head { margin-bottom: 40px; }

/* 3) 报价因素图标标签：浅底 pill，桌面横排、窄屏换行 */
.st-price-factors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  list-style: none;
  margin: 4px 0 26px;
  padding: 0;
}
.st-price-factors li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid rgb(var(--color-secondary) / .22);
  border-radius: 999px;
  background: rgb(var(--color-secondary) / .055);
  font-size: 14px;
  font-weight: 600;
  color: rgb(var(--color-on-secondary-container));
}
.st-icon-factor { width: 17px; height: 17px; flex: none; color: rgb(var(--color-secondary)); }

/* 4) 底部 Banner 网格：仅服务页的 CTA（#price 的兄弟节点）加低透明度网格，
   用 #price ~ .st-contact 限定作用域；伪元素置于文字下方，不拦点击。 */
#price ~ .st-contact { position: relative; isolation: isolate; overflow: hidden; }
#price ~ .st-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgb(var(--color-secondary-fixed) / .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(var(--color-secondary-fixed) / .07) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 85% 120% at 50% 40%, #000 25%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 120% at 50% 40%, #000 25%, transparent 100%);
}
@media (max-width: 600px) {
  #stage + #price { padding-top: 64px; }
  .st-price-factors { gap: 8px; }
  .st-price-factors li { padding: 7px 11px; font-size: 13px; }
}
