/* ============================================================================
   AICOAST www — 上岸智源企业门户设计系统
   单文件交付：ui/www.css（构建期复制为 /assets/www.css）
   断点：1200 / 968 / 640 ｜ 零外链字体 ｜ 零第三方资源
   视觉基调：浅色编辑风（纸白 / 墨绿 / 砖红），衬线标题 + 无衬线正文 + 等宽标签
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. 设计 token
   ------------------------------------------------------------------------- */
:root {
  /* 纸张与墨色 */
  --paper: #f5f2eb;
  --paper-deep: #e8eee8;
  --white: #fffdf8;
  --ink: #202923;
  --muted: #40524a;
  --faint: #687870;
  --line: rgba(32, 41, 35, .15);
  --line-strong: rgba(32, 41, 35, .30);

  /* 品牌色 */
  --green: #1c604f;
  --green-dark: #124638;
  --green-tint: #edf3ef;
  --red: #9d3d2d;
  --red-soft: #f2c3b4;
  --red-tint: #faf0ec;

  /* 字体栈：全部系统字体，禁止外链 */
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  --serif: "Songti SC", "Noto Serif SC", "Noto Serif CJK SC", STSong, STZhongsong,
    "SimSun", "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo,
    Consolas, "Liberation Mono", monospace;

  /* 版式尺度 */
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 24px);
  --measure: 72ch;               /* ≈ 36 个汉字/行，符合中文舒适行宽 */
  --radius: 3px;
  --radius-lg: 5px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-1: 0 1px 0 rgba(32, 41, 35, .04);
  --shadow-2: 0 10px 24px rgba(32, 41, 35, .09);
  --shadow-3: 0 18px 44px rgba(32, 41, 35, .14);
}

/* ---------------------------------------------------------------------------
   2. Reset 与基础排版
   ------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--paper);
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  word-break: normal;
}

[hidden] { display: none !important; }

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

img { border: 0; }

/* 长 URL / 英文串在窄栏内强制断行，防止横向溢出 */
.text-link,
.external-link,
.result-desc,
.section-sub,
.evidence-card p,
.child-card p,
.pick-card p,
.case-card p,
.mentor-focus,
.line-card-body p,
.prose p,
.faq-a p,
.why-card p,
.flag-card p,
.arrow-link {
  overflow-wrap: anywhere;
}

a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .18s ease, text-decoration-color .18s ease;
}

a:hover { color: var(--red); }

p, ul, ol, dl, blockquote, figure, table, pre { margin: 0 0 1.1em; }

ul, ol { padding-left: 1.3em; }
li { margin: .38em 0; }
li > ul, li > ol { margin: .38em 0; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .55em;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: .01em;
  text-wrap: balance;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.16;
  letter-spacing: .015em;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.7vw, 2.3rem);
  line-height: 1.26;
}

h3 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
}

h4 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
}

p {
  color: var(--muted);
  text-wrap: pretty;
}

strong, b { color: var(--ink); font-weight: 600; }
small { font-size: .875em; }
sup, sub { line-height: 0; }

hr {
  height: 0;
  margin: 2.4rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

code, kbd, samp, pre {
  font-family: var(--mono);
  font-size: .92em;
}

code {
  padding: .1em .36em;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper-deep);
  color: var(--ink);
}

pre {
  overflow-x: auto;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  line-height: 1.6;
}

pre code { padding: 0; border: 0; background: none; }

blockquote {
  margin: 2rem 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--red);
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink);
}

blockquote p:last-child { margin-bottom: 0; }

::selection {
  background: var(--red-soft);
  color: var(--ink);
}

/* ---------------------------------------------------------------------------
   3. 可访问性：焦点、跳转、屏读
   ------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}

/* 鼠标点击不出现描边，键盘保留 */
:focus:not(:focus-visible) { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--green);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-2);
  transition: top .18s var(--ease);
}

.skip-link:hover { background: var(--green-dark); color: var(--white); }
.skip-link:focus,
.skip-link:focus-visible { top: 0; color: var(--white); }

/* 所有带 id 的锚点避开 sticky 页头 */
[id] { scroll-margin-top: 96px; }

/* ---------------------------------------------------------------------------
   4. 布局容器与节
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-main { display: block; }

/* render_main 的页头容器与页尾 meta 容器是裸 .container，补上下留白 */
.site-main > .container {
  padding-top: clamp(18px, 2.4vw, 28px);
}

.site-main > .container:first-child {
  padding-bottom: clamp(22px, 3vw, 38px);
}

.site-main > .container:last-child {
  padding-bottom: clamp(28px, 4vw, 46px);
}

.site-main > .container h1.section-title {
  font-size: clamp(2.05rem, 3.6vw, 2.95rem);
}

body[data-page-type="404"] .site-main > .container:first-child {
  position: relative;
  overflow: hidden;
  padding-top: clamp(38px, 6vw, 76px);
}

body[data-page-type="404"] .site-main > .container:first-child::after {
  content: "404";
  position: absolute;
  top: 46%;
  right: clamp(4px, 2.4vw, 36px);
  z-index: 0;
  color: rgba(28, 96, 79, .08);
  font-family: var(--serif);
  font-size: clamp(96px, 15vw, 210px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  pointer-events: none;
  user-select: none;
  transform: translateY(-50%);
}

body[data-page-type="404"] .answer-box {
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  padding-block: clamp(56px, 6.6vw, 96px);
  border-top: 1px solid var(--line);
}

.section:first-child { border-top: 0; }

/* 可选的整节浅底（首页 why-now、服务页证据/FAQ 等） */
.section-tint {
  background: var(--paper-deep);
}

/* 节头：eyebrow + 标题 + 说明 */
.section-head {
  max-width: var(--measure);
  margin-bottom: clamp(28px, 3.6vw, 46px);
}

.section-head > *:last-child { margin-bottom: 0; }

.section-title {
  margin: .28em 0 .42em;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.24;
  color: var(--ink);
}

.section-sub {
  margin: 0;
  max-width: var(--measure);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.85;
  color: var(--muted);
}


/* ---------------------------------------------------------------------------
   5. 标签、链接、按钮、徽标
   ------------------------------------------------------------------------- */
.eyebrow,
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 2px 0 2px 12px;
  border-left: 3px solid var(--red);
  color: var(--red);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow:empty { display: none; }

.text-link {
  font-weight: 600;
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.text-link:hover { color: var(--red); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 4px;
}

.arrow-link::after {
  content: "→";
  font-family: var(--mono);
  font-size: .95em;
  transition: transform .18s var(--ease);
}

.arrow-link:hover { color: var(--red); }
.arrow-link:hover::after { transform: translateX(3px); }

/* link() 对绝对 URL 会在文字后加 ↗；arrow-link 统一用 →，避免双箭头 */
.arrow-link > span[aria-hidden="true"] { display: none; }

.external-link { color: var(--green); }

.cross-link {
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* ---- 按钮：近直角、克制动效（位移 ≤ 2px） ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 46px;
  padding: .68em 1.45em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--green);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .02em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease,
    color .18s ease, transform .18s var(--ease), box-shadow .18s ease;
}

.btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.btn-primary {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(18, 70, 56, .18);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--green);
}

.btn-ghost:hover {
  border-color: var(--green);
  background: var(--green-tint);
  color: var(--green-dark);
  transform: translateY(-1px);
}

.btn:active { transform: translateY(0); }

.btn-sm {
  min-height: 38px;
  padding: .48em 1.05em;
  font-size: 14px;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 深底上的主按钮反白，保证对比度 */
.cta-band .btn-primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--green-dark);
}

.cta-band .btn-primary:hover {
  border-color: var(--red-soft);
  background: var(--red-soft);
  color: var(--ink);
}

.cta-band .btn-ghost {
  border-color: rgba(245, 242, 235, .42);
  color: var(--paper);
}

.cta-band .btn-ghost:hover {
  border-color: var(--paper);
  background: rgba(245, 242, 235, .1);
  color: var(--white);
}

.cta-band :focus-visible { outline-color: var(--paper); }

/* ---- 徽标 / 小型标签 ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .26em .7em;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .07em;
  max-width: 100%;
  text-transform: none;
  white-space: normal;
}

.badge-red {
  border-color: rgba(157, 61, 45, .35);
  background: var(--red-tint);
  color: var(--red);
}

.badge-green {
  border-color: rgba(28, 96, 79, .3);
  background: var(--green-tint);
  color: var(--green-dark);
}

.badge-mono { letter-spacing: .12em; text-transform: uppercase; }

/* ---------------------------------------------------------------------------
   6. 页头：sticky、下拉、移动端抽屉
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 253, 248, .95);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.15) blur(10px);
  backdrop-filter: saturate(1.15) blur(10px);
  transition: box-shadow .22s ease;
}

.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(32, 41, 35, .07); }

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 36px);
  width: 100%;
  max-width: var(--container);
  min-height: 78px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
}

.logo:hover { color: inherit; }

.logo-mark {
  display: block;
  width: auto;
  height: 38px;
  max-width: none;
}

img.logo-mark { width: auto; height: 38px; }

/* 有图形标时不再重复显示文字标 */
.logo-mark + .logo-text { display: none; }

.logo-text {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--green-dark);
  white-space: nowrap;
}

.site-nav { margin-left: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.9vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
  margin: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 27px 0;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease;
}

.nav-link:hover,
.nav-link.is-active,
.nav-link[aria-current="page"] { color: var(--ink); }

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s var(--ease);
}

.nav-link:hover::after,
.nav-link.is-active::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* ---- 桌面下拉 ---- */
.has-dropdown > .nav-link { cursor: pointer; }

.has-dropdown > .nav-link::before {
  content: "";
  order: 2;
  width: 5px;
  height: 5px;
  margin-left: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .65;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 30;
  min-width: 248px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-3);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s var(--ease), visibility .18s;
}

.dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  right: 0;
  height: 7px;
}

.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}

.dropdown a:hover,
.dropdown a:focus-visible {
  background: var(--paper);
  color: var(--ink);
}

.dropdown ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dropdown li { margin: 0; }

.dropdown li + li { border-top: 1px solid var(--line); }

/* ---- 页头动作区 ---- */
.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  margin-left: 4px;
}

.header-cta {
  min-height: 42px;
  padding: .52em 1.15em;
  font-size: 14px;
  white-space: nowrap;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
}

.lang-switch a {
  padding: 4px 6px;
  border: 1px solid transparent;
  border-radius: 2px;
  color: var(--muted);
  text-decoration: none;
}

.lang-switch a:hover { color: var(--ink); border-color: var(--line); }

.lang-switch a[aria-current="page"],
.lang-switch .is-active {
  border-color: var(--line);
  color: var(--green);
}

/* ---- 汉堡按钮 + 移动端导航 ---- */
.mobile-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s var(--ease), opacity .2s ease;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  max-height: calc(100vh - 78px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 22px 36px rgba(32, 41, 35, .08);
}

.mobile-nav.is-open { display: block; }

body.nav-open { overflow: hidden; }

.mobile-nav .nav-links {
  display: block;
  padding: 8px 0 18px;
}

.mobile-nav .nav-item {
  border-bottom: 1px solid var(--line);
}

.mobile-nav .nav-item:last-child { border-bottom: 0; }

.mobile-nav .nav-link {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 2px;
  font-size: 16px;
  font-weight: 600;
  white-space: normal;
}

.mobile-nav .nav-link::after { display: none; }

/* 移动端二级导航默认展开，无 JS 也可达 */
.mobile-nav .dropdown {
  position: static;
  display: block;
  min-width: 0;
  margin: 0 0 12px;
  padding: 0 0 0 14px;
  border: 0;
  border-left: 2px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-nav .dropdown li + li { border-top: 0; }

.mobile-nav .dropdown a {
  padding: 9px 4px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
}

.mobile-nav .dropdown a:hover { background: transparent; color: var(--red); }

.mobile-nav .mobile-cta {
  margin: 10px 0 4px;
  width: 100%;
}

/* ---------------------------------------------------------------------------
   7. 页脚
   ------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
  color: var(--muted);
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(44px, 5.5vw, 68px);
}

.footer-col { min-width: 0; }

.footer-title,
.footer-col h3 {
  margin: 0 0 14px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li { margin: 0 0 9px; }
.footer-col li:last-child { margin-bottom: 0; }

.footer-col a {
  display: inline-block;
  color: var(--muted);
  line-height: 1.6;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-block: 20px 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--red); text-decoration: underline; }

/* ---------------------------------------------------------------------------
   8. 首页首屏
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #eef2ec 0%, var(--paper) 84%);
}

/* 极淡的工程网格纹理，桌面可见，移动端不打扰 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: .22;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent 82%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent 82%);
}

/* 左下角砖红强调线 */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: clamp(72px, 12vw, 168px);
  height: 3px;
  background: var(--red);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(0, .64fr);
  gap: clamp(30px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(52px, 6.8vw, 100px);
}

.hero-inner > :only-child { grid-column: 1 / -1; }

.hero-copy { max-width: 760px; min-width: 0; }

.hero-title {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.9vw, 3.5rem);
  line-height: 1.18;
  letter-spacing: .01em;
  color: var(--ink);
}

.hero-title em {
  font-style: normal;
  color: var(--green);
}

.hero-lede {
  max-width: 40em;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.hero-actions .btn { min-height: 48px; }

.hero-facts {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.hero-facts::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--green);
}

.hero-fact {
  margin: 0;
  padding: 17px 22px;
  border-bottom: 1px solid var(--line);
}

.hero-fact:last-child { border-bottom: 0; }

.hero-fact strong,
.hero-fact .num,
.hero-fact dt {
  display: block;
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.3;
}

.hero-fact span,
.hero-fact small,
.hero-fact dd {
  display: block;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* ---------------------------------------------------------------------------
   9. 首页模块：六线矩阵 / 为什么是现在 / 交付路径
   ------------------------------------------------------------------------- */
.line-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.line-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2.3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-1);
  transition: transform .22s var(--ease), border-color .22s ease,
    box-shadow .22s ease;
}

.line-card:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 96, 79, .45);
  box-shadow: var(--shadow-2);
}

.line-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

/* 模板在标题内输出 01/02 序号 badge：作为等宽小标号，不再做成胶囊 */
.line-card-head h3 .badge {
  margin-right: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--red);
  font-size: 11.5px;
  letter-spacing: .14em;
}

.line-card-head .arrow-link {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .03em;
  white-space: nowrap;
}

.line-card-head .arrow-link:hover { color: var(--green); }

.line-card-head h2,
.line-card-head h3,
.line-card-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.34rem;
  line-height: 1.35;
}

.line-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
}

.line-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.line-card-body p + p { margin-top: .5em; }

.line-card-body strong { color: var(--ink); }

.line-children {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 14px;
  margin: auto 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.line-children li { margin: 0; min-width: 0; }

.line-children a {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 4px 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  text-decoration: none;
}

.line-children a::before {
  content: "—";
  flex: 0 0 auto;
  color: var(--red);
  font-size: .9em;
  transition: color .18s ease;
}

.line-children a:hover { color: var(--green); }
.line-children a:hover::before { color: var(--green); }

/* 交错的数线细格：why-now */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  counter-reset: why;
}

.why-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  padding: clamp(20px, 2.3vw, 28px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  counter-increment: why;
}

.why-card::before {
  content: counter(why, decimal-leading-zero);
  margin-bottom: 4px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
}

.why-card h3,
.why-card h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.16rem;
  line-height: 1.42;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.why-card strong { color: var(--green-dark); }

/* 交付路径：顶部细线 + 等宽编号 */
.path-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.path-step {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.path-step > .badge {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--red);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
}

.path-step h3 .badge {
  margin-left: 8px;
  vertical-align: 2px;
  font-size: 11px;
}

.path-step h3,
.path-step h4 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.45;
}

.path-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------------------------------------------------------------------------
   10. 首页模块：主推 / 证据 / 行业入口 / 精选 / 团队
   ------------------------------------------------------------------------- */
.flagship {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.flagship-media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 3vw, 40px);
  background: linear-gradient(150deg, var(--green-dark) 0%, #0e3a2e 100%);
  color: var(--white);
}

.flagship-media::before {
  content: "";
  position: absolute;
  top: 28px;
  left: clamp(24px, 3vw, 40px);
  width: 44px;
  height: 3px;
  background: var(--red-soft);
}

.flagship-media h2,
.flagship-media h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.4;
}

.flagship-media p {
  margin: 0;
  color: rgba(245, 242, 235, .78);
  font-size: 14.5px;
  line-height: 1.7;
}

.flagship-media strong {
  display: block;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.12;
}

.flagship-media .eyebrow {
  border-left-color: var(--red-soft);
  color: var(--red-soft);
}

.flagship-media .badge {
  align-self: flex-start;
  border-color: rgba(242, 195, 180, .35);
  background: transparent;
  color: var(--red-soft);
}

.flagship-media img {
  width: calc(100% + 2 * clamp(24px, 3vw, 40px));
  max-width: none;
  height: auto;
  margin: calc(-1 * clamp(24px, 3vw, 40px));
  margin-bottom: 0;
  object-fit: cover;
}

.flagship-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(26px, 3.4vw, 48px);
}

.flagship-body > * { margin: 0; }

.flagship-body h2,
.flagship-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.3;
}

.flagship-body p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
}

.flagship-body ul,
.flagship-body ol {
  margin: 0;
  padding-left: 1.25em;
  color: var(--muted);
  font-size: 14.5px;
}

.flagship-body .btn { margin-top: 8px; }

/* 证据卡（首页条带 + 服务页网格共用） */
.evidence-strip,
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}

.evidence-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  padding: clamp(18px, 2.2vw, 24px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 2px;
  background: var(--white);
}

.evidence-card .badge { align-self: flex-start; }

.evidence-card h3,
.evidence-card h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.45;
}

.evidence-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.evidence-card .note,
.evidence-card small {
  color: var(--muted);
  font-size: 12.5px;
}

/* 行业双入口 */
.industry-entry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.industry-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 216px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-deep);
  color: var(--ink);
  text-decoration: none;
  transition: transform .22s var(--ease), background-color .22s ease,
    border-color .22s ease, box-shadow .22s ease;
}

a.industry-card:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 96, 79, .5);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-2);
}

.industry-card h2,
.industry-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.1vw, 1.7rem);
  line-height: 1.35;
}

.industry-card p {
  margin: 0;
  max-width: 34em;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.industry-card .arrow-link,
.industry-card .text-link { margin-top: auto; padding-top: 4px; }

.industry-card .line-children {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0;
  padding: 0;
  border-top: 0;
}

.industry-card .line-children .badge {
  background: var(--white);
}

/* 内容精选 */
.insights-pick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.pick-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.3vw, 26px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: transform .22s var(--ease), box-shadow .22s ease;
}

a.pick-card:hover {
  transform: translateY(-2px);
  color: var(--ink);
  box-shadow: var(--shadow-2);
}

.pick-card h2,
.pick-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.5;
}

a.pick-card:hover h2,
a.pick-card:hover h3 { color: var(--red); }

.pick-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.pick-card .badge { align-self: flex-start; order: -1; }

.pick-card h3 .arrow-link {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 700;
  text-decoration: none;
}

a.pick-card:hover h3 .arrow-link,
.pick-card:hover h3 .arrow-link { color: var(--red); }

/* 团队 / 导师卡 */
.team-grid,
.mentor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

/* 首页团队预览通常 5 人：一行排满，避免 4+1 孤卡 */
.team-grid:has(> :nth-child(5):last-child) {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mentor-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
  padding: clamp(18px, 2.1vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform .2s var(--ease), border-color .2s ease,
    box-shadow .2s ease;
}

.mentor-card:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 96, 79, .42);
  box-shadow: var(--shadow-2);
}

.mentor-card img {
  width: 52px;
  height: 52px;
  margin-bottom: 6px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-deep);
  object-fit: cover;
}

/* 无头像时的姓名首字兜底（模板输出 span.mentor-avatar，aria-hidden） */
.mentor-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
  border: 1px solid rgba(28, 96, 79, .25);
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1;
}

.mentor-name {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.16rem;
  line-height: 1.4;
}

.mentor-role {
  margin: 0;
  color: var(--red);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .1em;
}

.mentor-focus {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.mentor-card > p { margin: 0; }

.mentor-card p.badge {
  align-self: flex-start;
  margin-top: 2px;
  white-space: normal;
}

.mentor-card a,
.mentor-card .text-link {
  margin-top: auto;
  padding-top: 8px;
  color: var(--green);
  font-size: 13.5px;
  font-weight: 600;
}

/* 统计栅格 */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stat {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.stat strong,
.stat .num {
  display: block;
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1.2;
}

.stat span,
.stat .label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* ---------------------------------------------------------------------------
   11. 通用内容块：直答 / 适配对照 / 场景表 / 交付物 / 流程 / 验收 / 边界
   ------------------------------------------------------------------------- */
.answer-box {
  position: relative;
  max-width: 940px;
  margin: 0;
  padding: clamp(22px, 2.7vw, 32px) clamp(22px, 2.8vw, 34px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.answer-box::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin-bottom: 16px;
  background: var(--red);
}

.answer-box p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.25vw, 1.12rem);
  line-height: 1.85;
}

.answer-box p + p { margin-top: .7em; }
.answer-box strong { color: var(--green-dark); }
.answer-box h2 { margin: 0 0 10px; font-size: 1.2rem; }
.answer-box .eyebrow { margin-bottom: 12px; }

/* ---- 适用 / 不适用 双栏 ---- */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.fit-list,
.unfit-list {
  margin: 0;
  padding: clamp(20px, 2.5vw, 28px);
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.fit-list {
  border-color: rgba(28, 96, 79, .28);
  background: var(--green-tint);
}

.unfit-list {
  border-color: rgba(157, 61, 45, .26);
  background: var(--red-tint);
}

.fit-list > li,
.unfit-list > li,
.fit-list ul > li,
.unfit-list ul > li {
  position: relative;
  margin: .5em 0;
  padding-left: 26px;
  color: var(--ink);
  font-size: 14.8px;
  line-height: 1.75;
}

.fit-list ul,
.unfit-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-list > li::before,
.fit-list ul > li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
}

.unfit-list > li::before,
.unfit-list ul > li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-weight: 700;
}

.fit-list h2,
.fit-list h3,
.unfit-list h2,
.unfit-list h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.16rem;
  line-height: 1.45;
}

.fit-list h2,
.fit-list h3 { color: var(--green-dark); }

.fit-list .section-sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}
.unfit-list h2,
.unfit-list h3 { color: var(--red); }

/* ---- 场景表（真表格；移动端横向滚动） ---- */
.scenario-table {
  overflow-x: auto;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}

.scenario-table table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.7;
}

.scenario-table th,
.scenario-table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.scenario-table thead th {
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper-deep);
  color: var(--green-dark);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  white-space: nowrap;
}

.scenario-table tbody tr:last-child td,
.scenario-table tbody tr:last-child th { border-bottom: 0; }

.scenario-table tbody tr:nth-child(even) td,
.scenario-table tbody tr:nth-child(even) th {
  background: #faf8f2;
}

.scenario-table td { color: var(--muted); }

.scenario-table td:first-child,
.scenario-table tbody th {
  min-width: 116px;
  color: var(--ink);
  font-weight: 600;
}

.scenario-table td p,
.scenario-table td ul,
.scenario-table td ol { margin: 0; }

.scenario-table td .badge { margin: 0 4px 4px 0; }

.scenario-table td p:not(:first-child) { margin-top: 4px; }

.scenario-table caption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 12.5px;
  text-align: left;
}

/* ---- 交付物清单 ---- */
.deliver-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: deliver;
}

.deliver-list > li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  counter-increment: deliver;
}

.deliver-list > li::before {
  content: counter(deliver, decimal-leading-zero);
  margin-bottom: 2px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
}

.deliver-list strong,
.deliver-list dt {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.deliver-list span,
.deliver-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

dl.deliver-list { display: block; }
dl.deliver-list dt { margin-top: 14px; }
dl.deliver-list dd { margin: 2px 0 0; }

/* ---- 实施流程 ---- */
.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list > li {
  position: relative;
  margin: 0;
  padding: 0 0 28px 62px;
}

.process-list > li > .badge:first-child {
  position: absolute;
  top: -2px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
}

.process-list > li::after {
  content: "";
  position: absolute;
  top: 44px;
  bottom: 4px;
  left: 19.5px;
  width: 1px;
  background: var(--line);
}

.process-list > li:last-child { padding-bottom: 0; }
.process-list > li:last-child::after { display: none; }

.process-list h2,
.process-list h3,
.process-list h4 {
  margin: 0 0 5px;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.5;
}

.process-list p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.process-list p:last-child { margin-bottom: 0; }

.process-list small,
.process-list time {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .03em;
}

.process-list .badge { margin-top: 8px; }

/* ---- 验收标准 ---- */
.accept-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.accept-list > li {
  position: relative;
  margin: 0;
  padding: 2px 0 2px 28px;
  color: var(--ink);
  font-size: 14.8px;
  line-height: 1.75;
}

.accept-list > li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ---- 不做的事（边界） ---- */
.boundary-list {
  margin: 0;
  padding: clamp(18px, 2.4vw, 26px);
  list-style: none;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 2px;
  background: var(--paper-deep);
}

.boundary-list > li {
  position: relative;
  margin: .45em 0;
  padding-left: 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.boundary-list > li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 600;
}

.boundary-list strong { color: var(--ink); }

/* ---- 价格口径 ---- */
.pricing-note {
  max-width: 940px;
  margin: 0;
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 2px;
  background: var(--paper-deep);
}

.pricing-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.pricing-note p + p { margin-top: .6em; }
.pricing-note strong { color: var(--ink); }
.pricing-note .eyebrow { margin-bottom: 10px; }

/* ---- FAQ（details/summary 无 JS 可用） ---- */
.faq {
  max-width: 940px;
  margin: 0;
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background-color .18s ease;
}

.faq-q,
.faq-item > summary {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 20px 48px 20px 2px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::marker { content: ""; }

.faq-q::after,
.faq-item > summary::after {
  content: "+";
  position: absolute;
  top: 17px;
  right: 4px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: color .18s ease, transform .18s ease;
}

.faq-item[open] > summary::after,
.faq-item[open] .faq-q::after,
.faq-item.is-open .faq-q::after {
  content: "−";
  color: var(--red);
}

.faq-item:hover { background: rgba(255, 253, 248, .55); }

.faq-a {
  padding: 0 48px 22px 2px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.faq-a > *:last-child { margin-bottom: 0; }
.faq-a p { color: var(--muted); }

/* ---- 相关阅读 ---- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}

.rel-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  min-height: 0;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s var(--ease), border-color .2s ease,
    box-shadow .2s ease;
}

.rel-card .text-link {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  font-size: 14.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

a.rel-card:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 96, 79, .5);
  color: var(--ink);
  box-shadow: var(--shadow-2);
}

.rel-card h3,
.rel-card h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.5;
}

.rel-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.rel-card .badge {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-left: 0;
}

/* ---- 转化带 ---- */
.cta-band {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 44px);
  overflow: hidden;
  padding: clamp(30px, 4.2vw, 54px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green-dark) 0%, #0d3529 100%);
  color: var(--paper);
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(120px, 18vw, 240px);
  height: 3px;
  background: var(--red-soft);
}

.cta-band h2,
.cta-band h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.35;
}

.cta-band p {
  max-width: 52ch;
  margin: 0;
  color: rgba(245, 242, 235, .82);
  font-size: 15px;
  line-height: 1.8;
}

.cta-band .eyebrow {
  border-left-color: var(--red-soft);
  color: var(--red-soft);
}

.cta-band ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cta-band li { margin: 0; }

/* ---- 面包屑 / 元信息 / 作者行 / 语言切换 / 目录 ---- */
.breadcrumbs {
  padding-top: 26px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs ol,
.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--faint);
  font-family: var(--mono);
}

.breadcrumbs a { color: var(--muted); text-decoration: none; }

.breadcrumbs a:hover {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumbs [aria-current="page"] { color: var(--ink); }

.meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
}

.meta-bar span,
.meta-bar time,
.meta-bar > * { color: var(--muted); }
.meta-bar a { color: var(--green); text-decoration: none; }
.meta-bar a:hover { text-decoration: underline; }
.meta-bar .badge { font-size: 11px; }

.author-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 34px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

/* 模板把 meta 文案放在 .meta-bar > p.author-line：去掉作者行的边距/边线，保持元信息单行 */
.meta-bar .author-line {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .04em;
}

.author-line strong { color: var(--ink); }
.author-line a { color: var(--green); }

.toc {
  margin: 0 0 30px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 2px;
  background: var(--white);
  font-size: 14px;
}

.toc h2,
.toc h3 {
  margin: 0 0 10px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.toc ul,
.toc ol { margin: 0; padding: 0; list-style: none; }

.toc li { margin: .3em 0; }

.toc a {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.65;
}

.toc a:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- 通用长文容器（模板用于 prose 块 / 说明块） ---- */
.prose {
  max-width: var(--measure);
}

.prose > *:last-child { margin-bottom: 0; }

.prose p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

.prose h2,
.prose h3 {
  margin-top: 1.2em;
  font-family: var(--serif);
}

.prose h2 { font-size: 1.4rem; }
.prose h3 { font-size: 1.1rem; }

.prose ul,
.prose ol {
  color: var(--muted);
  font-size: 15px;
}

/* ---------------------------------------------------------------------------
   12. Hub / 子页卡片
   ------------------------------------------------------------------------- */
.hub-intro {
  max-width: var(--measure);
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.9;
}

.hub-intro p:last-child { margin-bottom: 0; }
.hub-intro p { color: var(--muted); }

.line-pov {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 2.8vw, 32px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 2px;
  background: var(--white);
}

.line-pov p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.line-pov h2,
.line-pov h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.45;
}

.hub-children {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.child-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s var(--ease), border-color .2s ease,
    box-shadow .2s ease;
}

a.child-card:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 96, 79, .46);
  color: var(--ink);
  box-shadow: var(--shadow-2);
}

.child-card-tag {
  align-self: flex-start;
  color: var(--red);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.child-card h2,
.child-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.45;
}

.child-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.child-card .arrow-link {
  margin-top: 4px;
  font-size: 13.5px;
}

.child-card .arrow-link:hover { color: var(--red); }

/* ---------------------------------------------------------------------------
   13. 案例
   ------------------------------------------------------------------------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: clamp(16px, 2.2vw, 26px);
}

.case-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  background: var(--white);
}

.case-card h2,
.case-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.45;
}

.case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.case-card ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 13.5px;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: .05em;
}

.case-card > .badge { align-self: flex-start; }
.case-meta .badge { font-size: 11px; }
.case-card ul { margin: -.4em 0 0; }

/* ---------------------------------------------------------------------------
   14. 长文（法律 / 隐私 / AI 标识）
   ------------------------------------------------------------------------- */
.legal-body {
  max-width: var(--measure);
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

.legal-body p,
.legal-body li {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

.legal-section {
  margin: 0 0 2.2rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 .6rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.5;
}

.legal-section h3 {
  margin: 1.4em 0 .5em;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.55;
}

.legal-section ul,
.legal-section ol { padding-left: 1.3em; }
.legal-section p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------------------
   15. 站内搜索
   ------------------------------------------------------------------------- */
.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin: 0 0 30px;
}

.search-input {
  flex: 1 1 280px;
  min-width: 0;
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.search-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(28, 96, 79, .15);
}

.search-input::placeholder { color: #5b6b63; opacity: 1; }

.search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease,
    transform .18s var(--ease);
}

.search-button:hover {
  border-color: var(--green-dark);
  background: var(--green-dark);
  transform: translateY(-1px);
}

.search-results {
  display: grid;
  gap: 14px;
  max-width: 860px;
}

.result-item {
  display: block;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

a.result-item:hover {
  border-color: rgba(28, 96, 79, .45);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}

.result-title {
  display: block;
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
}

.result-desc {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.result-meta {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: .05em;
}

/* 站内搜索命中词高亮：用品牌砖红柔色，不用浏览器默认黄 */
mark {
  padding: 0 .12em;
  border-radius: 2px;
  background: var(--red-soft);
  color: var(--ink);
}

/* ---------------------------------------------------------------------------
   16. 表单（诊断 / 联系）
   ------------------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 26px;
  max-width: 860px;
  margin: 0;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

/* textarea 独占整行（:has 不支持时降级为单列，不影响可用性） */
.form-field:has(.form-textarea),
.form-field:has(textarea) { grid-column: 1 / -1; }

.form-label {
  display: inline-block;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .02em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover { border-color: rgba(32, 41, 35, .45); }

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(28, 96, 79, .15);
}

.form-input::placeholder,
.form-textarea::placeholder { color: #5b6b63; opacity: 1; }

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 15px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.form-check {
  display: flex;
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.form-check label.form-label {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
}

.form-label [aria-hidden="true"] {
  margin-left: 2px;
  color: var(--red);
}

.form-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--green);
}

.form-check label { color: var(--muted); }
.form-check a { color: var(--green); }

.form-error {
  display: none;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.form-error:not(:empty) { display: block; }

.form-input[aria-invalid="true"],
.form-textarea[aria-invalid="true"],
.form-select[aria-invalid="true"] {
  border-color: var(--red);
  background: var(--red-tint);
}

.form-status {
  display: block;
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 2px;
  background: var(--green-tint);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}

.form-status:empty { display: none; }

.form-status.is-error,
.form-status[data-state="error"] {
  border-left-color: var(--red);
  background: var(--red-tint);
  color: var(--red);
}

.form-grid > .btn,
.form-grid button[type="submit"] {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 48px;
}

form[data-lead-form] > .form-grid { margin-bottom: 0; }
form[data-lead-form] > .form-status { margin-top: 18px; }
form[data-lead-form] > .btn { margin-top: 18px; }

/* 蜜罐字段：对真人不可见、对爬虫可见 */
.honeypot,
.hp-field {
  position: absolute !important;
  top: auto !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ---------------------------------------------------------------------------
   17. 404 / 错误页
   ------------------------------------------------------------------------- */
.not-found {
  max-width: 760px;
  padding-block: clamp(44px, 7vw, 88px);
}

.not-found .error-code {
  display: block;
  margin: 0 0 12px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
}

.not-found h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.not-found p {
  max-width: var(--measure);
  font-size: 1.02rem;
  line-height: 1.85;
}

.not-found .hero-actions { margin-top: 26px; }

/* ---------------------------------------------------------------------------
   18. 响应式 · 1200 / 968 / 640 三断点
   ------------------------------------------------------------------------- */
/* ---- ≤1200：桌面窄屏，收紧容器与模块间距 ---- */
@media (max-width: 1200px) {
  :root { --container: 1120px; }

  .header-inner { gap: 20px; }
  .nav-links { gap: 16px; }
  .nav-link { font-size: 14px; }
  .hero-inner { gap: 40px; }
  .line-matrix { gap: 18px; }
  .line-children { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
}

/* ---- ≤968：平板 / 折叠导航 ---- */
@media (max-width: 968px) {
  :root { --container: 860px; }

  html { scroll-padding-top: 84px; }
  [id] { scroll-margin-top: 84px; }

  /* 页头折叠 */
  .site-nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .header-inner { min-height: 68px; gap: 12px; }
  .logo-mark,
  img.logo-mark { height: 34px; }
  .header-cta { min-height: 40px; padding: .5em 1em; font-size: 13.5px; }
  .mobile-nav { max-height: calc(100vh - 68px); }

  /* 首屏 */
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-block: 54px 58px;
  }
  .hero-copy { max-width: none; }
  .hero-title { font-size: clamp(2.1rem, 5.6vw, 3rem); }
  .hero-facts { max-width: 560px; }

  /* 节与栅格 */
  .section { padding-block: 64px; }
  .section-head { margin-bottom: 32px; }
  .line-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insights-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid,
  .mentor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .team-grid:has(> :nth-child(5):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-children { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; }

  .flagship { grid-template-columns: minmax(0, 1fr); }
  .flagship-media { min-height: 200px; }
  .flagship-media img {
    width: 100%;
    height: 220px;
    margin: 0 0 18px;
    object-fit: cover;
  }

  .cta-band { padding: 34px; }
  .search-form { max-width: 640px; }
}

/* ---- ≤640：手机单列 ---- */
@media (max-width: 640px) {
  :root { --container: 100%; }

  html { scroll-padding-top: 76px; }
  [id] { scroll-margin-top: 76px; }
  body { font-size: 15.5px; }

  /* 页头 */
  .header-inner { min-height: 62px; gap: 10px; }
  .logo-mark,
  img.logo-mark { height: 30px; }
  .header-cta { display: none; }
  .mobile-toggle { display: inline-flex; width: 42px; height: 42px; }
  .mobile-nav .mobile-cta,
  .mobile-nav > .btn { margin-top: 14px; width: 100%; }
  .mobile-nav { max-height: calc(100vh - 62px); }
  .mobile-nav .nav-link { padding: 13px 2px; font-size: 15.5px; }

  /* 首屏 */
  .hero-inner { padding-block: 42px 46px; gap: 26px; }
  .hero-title {
    margin-bottom: 18px;
    font-size: clamp(1.85rem, 8.2vw, 2.5rem);
    line-height: 1.18;
  }
  .hero-lede { margin-bottom: 24px; font-size: 1rem; line-height: 1.8; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; min-height: 46px; }
  .hero-facts { max-width: none; }
  .hero-fact { padding: 15px 18px; }
  .hero-fact strong,
  .hero-fact .num { font-size: 1.28rem; }

  /* 节 */
  .section { padding-block: 50px; }
  .section-head { margin-bottom: 26px; }
  .section-title { font-size: clamp(1.5rem, 6.2vw, 1.9rem); }
  .section-sub { font-size: .98rem; }

  /* 单列栅格 */
  .team-grid:has(> :nth-child(5):last-child) {
    grid-template-columns: minmax(0, 1fr);
  }

  .line-matrix,
  .why-grid,
  .path-steps,
  .flagship,
  .insights-pick,
  .industry-entry,
  .fit-grid,
  .team-grid,
  .mentor-grid,
  .case-grid,
  .hub-children,
  .related-grid,
  .evidence-strip,
  .evidence-grid,
  .deliver-list,
  .form-grid,
  .stat-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .line-matrix { gap: 12px; }
  .line-card { gap: 12px; padding: 20px 18px; }
  .line-card-head h2,
  .line-card-head h3 { font-size: 1.22rem; }
  .line-children { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 10px; }
  .line-children a { font-size: 13px; }

  .why-card { padding: 18px; }
  .why-grid { border-radius: 2px; }

  .path-steps { gap: 22px; }
  .path-step { padding-top: 14px; }

  .flagship-media { min-height: 160px; padding: 22px; }
  .flagship-media::before { top: 20px; left: 22px; }
  .flagship-body { padding: 22px 20px 24px; }
  .flagship-body p { font-size: 14.5px; }

  .industry-card { min-height: 0; padding: 22px; }
  .industry-card .line-children { gap: 6px; }

  .mentor-card { padding: 18px; }
  .mentor-avatar { width: 40px; height: 40px; font-size: 1rem; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* 内容块 */
  .answer-box { padding: 20px 18px; }
  .answer-box p { font-size: 1rem; }
  .fit-list,
  .unfit-list { padding: 18px; }
  .fit-list > li,
  .unfit-list > li,
  .fit-list ul > li,
  .unfit-list ul > li { font-size: 14px; }

  /* 表格：横向滚动容器，禁止撑破页面 */
  .scenario-table { border-radius: 2px; }
  .scenario-table table { min-width: 620px; font-size: 13.5px; }
  .scenario-table th,
  .scenario-table td { padding: 10px 12px; }
  .scenario-table thead th { font-size: 12.5px; }
  table.scenario-table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .deliver-list > li { padding: 15px 16px; }
  .process-list > li { padding: 0 0 24px 52px; }
  .process-list > li > .badge:first-child { width: 34px; height: 34px; font-size: 10.5px; }
  .process-list > li::after { top: 38px; left: 16.5px; }
  .process-list h2,
  .process-list h3,
  .process-list h4 { font-size: 1.05rem; }

  .accept-list { gap: 8px; }
  .accept-list > li { font-size: 14px; }

  .faq-q,
  .faq-item > summary { padding: 16px 38px 16px 2px; font-size: .98rem; }
  .faq-q::after,
  .faq-item > summary::after { top: 14px; right: 2px; }
  .faq-a { padding: 0 38px 18px 2px; font-size: 14.5px; }

  .related-grid .rel-card,
  .child-card,
  .case-card { min-height: 0; }
  .case-card { padding: 20px; }
  .case-card h2,
  .case-card h3 { font-size: 1.16rem; }

  /* 转化带 */
  .cta-band { flex-direction: column; align-items: stretch; gap: 22px; padding: 26px 20px; }
  .cta-band h2,
  .cta-band h3 { font-size: 1.4rem; }
  .cta-band p { font-size: 14.5px; }
  .cta-band ul { flex-direction: column; }
  .cta-band .btn { width: 100%; }

  /* 面包屑 / 元信息 */
  .breadcrumbs { padding-top: 18px; font-size: 12.5px; }
  .meta-bar { gap: 6px 14px; font-size: 11.5px; }
  .author-line { margin-top: 26px; font-size: 13px; }
  .toc { margin-bottom: 22px; padding: 16px 18px; }

  /* 搜索 / 表单 */
  .search-form { flex-direction: column; }
  .search-input { flex: 1 1 auto; min-height: 46px; }
  .search-button { min-height: 46px; width: 100%; }
  .form-grid { gap: 16px; }
  .form-select { font-size: 16px; }
  .form-grid > .btn,
  .form-grid button[type="submit"] { width: 100%; }

  /* 页脚：两列链接，底部竖排 */
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; padding-block: 34px 26px; }
  .footer-col li { margin-bottom: 8px; }
  .footer-col a { font-size: 14px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 16px 22px; }
  .footer-bottom p { font-size: 12.5px; }

  /* 404 */
  .not-found { padding-block: 40px 56px; }
}

/* ---------------------------------------------------------------------------
   19. 英文页（/en/ 八页）：拉丁字母优先，行距与标点略作调整
   ------------------------------------------------------------------------- */
html[lang="en"] body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: .005em;
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] .section-title,
html[lang="en"] .hero-title,
html[lang="en"] .flagship-body h2,
html[lang="en"] .line-card-head h2 {
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  letter-spacing: 0;
}

html[lang="en"] p,
html[lang="en"] li,
html[lang="en"] .legal-body p { hyphens: auto; }

html[lang="en"] .eyebrow,
html[lang="en"] .hero-kicker { letter-spacing: .12em; }

/* 整卡链接：统一继承墨色，hover 不收下划线 */
a.line-card,
a.industry-card,
a.pick-card,
a.child-card,
a.case-card,
a.rel-card,
a.mentor-card { color: var(--ink); text-decoration: none; }

a.line-card:hover,
a.pick-card:hover,
a.child-card:hover,
a.case-card:hover,
a.rel-card:hover,
a.mentor-card:hover { color: var(--ink); }

/* 兼容 details 之外的极简手风琴状态类 */
.is-active { color: var(--ink); }

/* ---------------------------------------------------------------------------
   20. 动效偏好 / 强制色 / 打印
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .btn:hover,
  .line-card:hover,
  .mentor-card:hover,
  a.pick-card:hover,
  a.rel-card:hover,
  a.child-card:hover,
  a.industry-card:hover,
  .faculty-card:hover { transform: none; }

  .nav-link::after,
  .dropdown,
  .rel-card::after,
  .child-card::after,
  .industry-card::after { transition: none; }
}

@media (prefers-contrast: more) {
  :root {
    --line: rgba(32, 41, 35, .32);
    --line-strong: rgba(32, 41, 35, .55);
    --muted: #33443c;
  }

  .btn,
  .badge,
  .answer-box,
  .line-card,
  .mentor-card,
  .case-card,
  .rel-card,
  .child-card,
  .industry-card,
  .pick-card,
  .evidence-card,
  .form-input,
  .form-textarea,
  .form-select,
  .scenario-table { border-width: 2px; }
}

@media (forced-colors: active) {
  .btn,
  .badge,
  .line-card,
  .mentor-card,
  .case-card,
  .rel-card,
  .child-card,
  .industry-card,
  .pick-card,
  .evidence-card,
  .answer-box,
  .form-input,
  .form-textarea,
  .form-select,
  .scenario-table { border: 1px solid CanvasText; }

  .btn-primary { forced-color-adjust: none; }
}

@media print {
  .site-header,
  .site-footer,
  .mobile-toggle,
  .skip-link,
  .breadcrumbs,
  .cta-band,
  .hero::before,
  .hero::after { display: none !important; }

  html,
  body { background: #fff; color: #000; font-size: 11pt; }

  a { color: #000; text-decoration: underline; }

  .section { padding-block: 18pt; border-top: 1px solid #ccc; }
  .line-card,
  .why-card,
  .case-card,
  .answer-box,
  .scenario-table,
  .process-list > li { break-inside: avoid; }

  .hero { padding-block: 18pt; }
  .hero::before { display: none; }
}

/* ===========================================================================
   21. 图片与数据图组件（43 页 hero + 内嵌图，codex 构建期按 pages.json 注入）
   ========================================================================= */
.figure {
  margin: clamp(26px, 3.6vw, 44px) auto;
  padding: 0;
}

.figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-deep);
  object-fit: cover;
}

/* 页面 hero 图：首屏之后的宽幅主视觉 */
.figure-hero img { aspect-ratio: 16 / 8.6; }

/* 内嵌照片：16:9 */
.figure:not(.figure-hero):not(.figure-fig) img { aspect-ratio: 16 / 9; }

/* SVG 数据图：等比完整显示，不裁切 */
.figure-fig img {
  aspect-ratio: 1200 / 675;
  background: var(--white);
  object-fit: contain;
}

.figure figcaption {
  display: block;
  margin-top: 10px;
  padding-left: 12px;
  border-left: 2px solid var(--red);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: .02em;
}

/* 首页：hero 内插槽（hero 有纹理伪元素，图需在上层） */
.hero .figure-hero {
  position: relative;
  z-index: 1;
  margin-top: clamp(6px, 1.4vw, 16px);
  margin-bottom: clamp(30px, 4vw, 50px);
}

/* 页头 hero 图：紧随页头容器 */
.article ~ .figure-hero,
.site-main > .container + .container > .figure-hero { margin-top: clamp(14px, 2.2vw, 26px); }

/* 法务/搜索/404 等信息页：hero 图更收敛 */
body[data-page-type="legal"] .figure-hero img,
body[data-page-type="search"] .figure-hero img { aspect-ratio: 21 / 8; }

/* ===========================================================================
   22. 内容中心：总览 / 类目枢纽
   ========================================================================= */
.insights-hero,
.category-hero {
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(38px, 5vw, 68px);
}

.insights-hero .container,
.category-hero .container { position: relative; }

.category-hero .container::after {
  content: "";
  display: block;
  clear: both;
}

.category-cover {
  float: right;
  width: min(44%, 500px);
  margin: 4px 0 26px 40px;
}

.category-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  object-fit: cover;
}

.category-hero .section-title,
.insights-hero .section-title {
  margin: 8px 0 14px;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}

.category-hero .article-lede,
.insights-hero .article-lede {
  max-width: 54ch;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.85;
}

.category-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.category-stats .badge { background: var(--white); }

.insights-intro {
  margin-top: clamp(24px, 3vw, 36px);
}

.insights-intro .answer-box { max-width: 980px; }

/* 类目胶囊导航 */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: clamp(22px, 2.8vw, 32px) 0 clamp(18px, 2.2vw, 26px);
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.category-nav a {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.category-nav a:hover {
  border-color: rgba(28, 96, 79, .45);
  color: var(--green-dark);
  background: var(--white);
}

.category-nav a.is-active {
  border-color: var(--green);
  background: var(--green-tint);
  color: var(--green-dark);
}

/* 文章卡栅格 */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(16px, 2.2vw, 26px);
  margin: clamp(16px, 2vw, 24px) 0 0;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform .22s var(--ease), border-color .22s ease,
    box-shadow .22s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 96, 79, .42);
  box-shadow: var(--shadow-2);
}

.article-card-cover {
  display: block;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.article-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s var(--ease);
}

.article-card:hover .article-card-cover img { transform: scale(1.015); }

.article-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: clamp(16px, 2vw, 22px);
}

.article-card-body h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.5;
}

.article-card-body h3 a {
  color: var(--ink);
  text-decoration: none;
}

.article-card-body h3 a:hover { color: var(--red); }

.article-card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.article-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: .03em;
}

.article-card-meta .badge { padding: .18em .55em; font-size: 10.5px; }

/* ===========================================================================
   23. 文章页
   ========================================================================= */
.article { display: block; }

.article > .container { padding-top: clamp(10px, 1.8vw, 18px); }

.article-hero {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.8vw, 32px);
}

.article-cover { margin: 0; }

.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-deep);
  object-fit: cover;
}

.article-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 940px;
}

.article-head .eyebrow { margin-bottom: 0; }

.article-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.22;
  letter-spacing: .01em;
}

.article-lede {
  max-width: 64ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
  line-height: 1.85;
}

.article-meta {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .03em;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-hero .answer-box {
  max-width: 940px;
  margin-top: 4px;
}

/* 目录：文章页两栏排列 */
.article .toc { max-width: 940px; margin-bottom: 0; }

.article .toc .eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: .12em;
}

.article .toc ol {
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 36px;
  list-style: none;
  counter-reset: toc;
}

.article .toc li {
  display: flex;
  gap: 8px;
  break-inside: avoid;
  margin: 0 0 7px;
  counter-increment: toc;
}

.article .toc li::before {
  content: counter(toc, decimal-leading-zero);
  flex: 0 0 auto;
  color: var(--red);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.8;
}

.article .toc a {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
  text-decoration: none;
}

.article .toc a:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 正文 */
.article-body { margin-top: clamp(26px, 3.4vw, 42px); }

.article-body > section { margin-top: clamp(30px, 3.8vw, 46px); }
.article-body > section:first-child { margin-top: 0; }

.article-body h2 {
  margin: 0 0 .65em;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.62rem);
  line-height: 1.42;
}

.article-body p {
  max-width: var(--measure);
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

.article-body p:last-child { margin-bottom: 0; }

/* key_points：编号论点 */
.key-points { counter-reset: kp; }

.key-point {
  position: relative;
  max-width: 82ch;
  margin-top: clamp(22px, 2.8vw, 32px);
  padding-top: clamp(16px, 2.2vw, 24px);
  border-top: 1px solid var(--line);
  counter-increment: kp;
}

.key-points .key-point:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.key-point h2 {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.key-point h2::before {
  content: counter(kp, decimal-leading-zero);
  flex: 0 0 auto;
  color: var(--red);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
}

.key-point p { max-width: 76ch; }

/* 文章内复用块：fit / scenario / steps / pitfalls / checklist / faq / sources */
.article-body .fit-block .fit-grid { margin-top: 16px; }

.article-body .scenario-block {
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 2px;
  background: var(--paper-deep);
}

.article-body .scenario-block p { max-width: none; margin: 0; }

/* 文章步骤：模板用 ol.path-steps + 纯文本 li，这里改成编号清单 */
.article-body .steps .path-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: artstep;
}

.article-body .steps .path-step {
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
  counter-increment: artstep;
}

.article-body .steps .path-step::before {
  content: "0" counter(artstep);
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
}

.article-body .pitfalls .boundary-list { margin-top: 16px; }

.article-body .checklist .accept-list { margin-top: 16px; }

.article-body .faq-block .faq { margin-top: 14px; }

/* 参考来源 */
.sources {
  padding-top: clamp(16px, 2.2vw, 24px);
  border-top: 1px solid var(--line-strong);
}

.sources-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  max-width: 82ch;
}

.source-item {
  position: relative;
  margin: 0 0 12px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.source-item::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--red);
}

.source-item .text-link { font-size: 13.5px; }

.source-item .article-card-meta {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: 12px;
  color: var(--muted);
}

/* 相关阅读 / 翻页 / 类目上下文 */
.related-articles { margin-top: clamp(34px, 4vw, 52px); }

.related-articles .section-head { margin-bottom: 20px; }

.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: var(--container);
  margin: clamp(30px, 4vw, 44px) auto 0;
  padding: 20px var(--gutter) 0;
  border-top: 1px solid var(--line);
}

.pager:empty { display: none; }

.pager a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 46%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
}

.pager a:hover {
  border-color: rgba(28, 96, 79, .45);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}

.pager a::before {
  content: "上一篇 / 下一篇";
  color: var(--red);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
}

.pager a:last-child { text-align: right; }
.pager a:last-child::before { content: "下一篇 / 上一篇"; }

.category-context {
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--container);
  margin: clamp(34px, 4vw, 52px) auto 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  background: var(--paper-deep);
}

.category-context h2 {
  margin: 0 0 .5em;
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.5;
}

.category-context h2:not(:first-child) { margin-top: 1.5em; }

.category-context p {
  max-width: var(--measure);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

/* 文章/枢纽页的 CTA 直接挂在 section 下（未包 container），限制到容器宽度 */
.section > .cta-band {
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--container);
  margin-inline: auto;
}

/* ===========================================================================
   24. 新增组件响应式（与既有 1200/968/640 断点一致）
   ========================================================================= */
@media (max-width: 968px) {
  .category-cover {
    float: none;
    width: 100%;
    max-width: 620px;
    margin: 0 0 22px;
  }

  .article-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .article .toc ol { columns: 1; }
  .pager a { max-width: 100%; flex: 1 1 100%; }
}

@media (max-width: 640px) {
  .figure { margin-block: 22px; }
  .figure-hero img { aspect-ratio: 4 / 3; }
  .figure:not(.figure-hero):not(.figure-fig) img { aspect-ratio: 4 / 3; }
  body[data-page-type="legal"] .figure-hero img,
  body[data-page-type="search"] .figure-hero img { aspect-ratio: 4 / 3; }

  .category-hero,
  .insights-hero { padding-block: 34px; }
  .category-hero .section-title,
  .insights-hero .section-title { font-size: clamp(1.55rem, 6vw, 1.9rem); }

  .category-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 12px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .category-nav::-webkit-scrollbar { display: none; }
  .category-nav a { flex: 0 0 auto; }

  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .article-card-body { padding: 16px; }

  .article-title { font-size: clamp(1.65rem, 6.6vw, 2.05rem); }
  .article-head { gap: 12px; }
  .article-lede { font-size: .98rem; }
  .article-cover img { aspect-ratio: 1200 / 630; border-radius: 3px; }

  .article .toc { padding: 16px 18px; }
  .article-body p { font-size: 15px; }
  .key-point h2 { font-size: 1.22rem; }
  .article-body .steps .path-steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }

  .pager { padding-top: 16px; }
  .pager a::before { content: "上一篇"; }
  .pager a:last-child::before { content: "下一篇"; }

  .category-context { padding-inline: 0; }
  .source-item { font-size: 13px; }

  /* 手机面包屑：只保留「首页 / … / 当前页」，避免斜杠跑到行首 */
  .breadcrumbs li:not(:first-child):not(:last-child) { display: none; }
  .breadcrumbs ol:has(li:nth-child(3)) li:last-child::before {
    content: "/ …";
    color: var(--red);
  }
}
