/* ============================================================
   商讯传媒 · Design System
   Scheme C refined: 白底 + 墨色描边 + 轻投影 + 单一品牌强调色
   ============================================================ */

:root {
  /* color */
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-softer: #fbfcfd;
  --ink: #14161a;
  --ink-2: #51565f;
  --ink-3: #8b909a;
  --line: #e6e8ec;
  --line-soft: #eef0f3;

  /* brand: 商讯(indigo) → 传媒(cyan) */
  --brand: #4f46e5;
  --brand-2: #06b6d4;
  --brand-ink: #312e81;
  --brand-tint: #eef0fe;
  --brand-tint-2: #e6fbff;
  --grad: linear-gradient(120deg, #5b5bf5 0%, #06b6d4 100%);
  --grad-soft: linear-gradient(120deg, rgba(91,91,245,.10), rgba(6,182,212,.10));

  /* shape */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20,22,26,.04), 0 1px 3px rgba(20,22,26,.06);
  --shadow: 0 4px 16px rgba(20,22,26,.06), 0 1px 4px rgba(20,22,26,.04);
  --shadow-lg: 0 18px 48px rgba(20,22,26,.12), 0 4px 12px rgba(20,22,26,.06);

  --maxw: 1140px;
  --nav-h: 66px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 { line-height: 1.25; letter-spacing: -.01em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(30px, 5vw, 50px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p  { margin: 0; }
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
small { font-size: .62em; font-weight: 700; }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ===================== NAV ===================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 22px;
  height: var(--nav-h); display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 20px;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(79,70,229,.30);
}
.brand-text { font-weight: 800; font-size: 17px; letter-spacing: .02em; }
.brand-sub  { font-size: 11px; color: var(--ink-3); letter-spacing: .14em; font-weight: 600; }

/* ⚠️ 2026-09-22：导航宽度紧凑化（gap 4→2px、内距 13→11px）。
   实测依据（_probe_navmetrics.html，iframe 强制 1600px 布局宽度）：
   容器 maxw=1140px ⇒ 内容区仅 1096px。
   · 中文 11 项 + 短标签：需要 1096px，**恰好余 0px**；index.html 还超 1px
     —— 任何一个导航标签多一个字就会整站横向溢出，属踩线隐患。
   · 英文 11 项标签更长（Overseas promotion / GEO writing）：需要 1307px ⇒ 超 211px，
     且已撞 maxw 上限 ⇒ **无论视口多宽都放不下**，提高折叠断点治不了根。
   故此处省 64px（gap −20px、内距 −44px），另配合英文副标题与 CTA 文案缩短，
   实测中文余量 64px、英文约 100px，两端均脱离临界。 */
.nav-links { display: flex; gap: 2px; margin-left: auto; }
/* ⚠️ 2026-09-22 必读：导航 11 项其实一直排不进一行（被掩盖的既有缺陷）
   实测（_probe_navmetrics.html 注入 nowrap+max-content 量自然宽）：
   容器 maxw=1140px ⇒ 内容区只有 1096px，而一行排下需要
     · 中文 1129–1165px（差 33–69）
     · 英文 1233–1241px（差 137–145）
   此前 `.nav-links a` **没有 white-space:nowrap**，flex 就靠「压缩 + 文字换行」
   把缺口吃掉 —— 于是「横向溢出」检查全绿，可导航一直是挤成两行的状态。
   ⇒ 两头一起修：
     ① 加 nowrap，让缺口显性化（也是本次能测出真值的前提）
     ② 同步减宽：字号 14.5→13px、每项内距 11→9px（配合下方 gap 4→2px）
        另由 sync_en_nav.py 缩短英文标签（GEO service→GEO / Mini Program→Product
        / Insights→News）、中文页把「EN 英文版」缩为「EN」
   实测结果：中文 1016px（余 80）、英文 1009px（余 87），均脱离临界。 */
.nav-links a {
  padding: 8px 9px; border-radius: 9px; font-size: 13px; font-weight: 600;
  color: var(--ink-2); transition: .18s; white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a.active { color: var(--brand); background: var(--brand-tint); }

.nav-cta {
  padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 700;
  background: var(--ink); color: #fff; transition: .18s; white-space: nowrap;
}
.nav-cta:hover { background: #000; transform: translateY(-1px); }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff; border-radius: 9px;
  width: 40px; height: 38px; font-size: 18px; cursor: pointer; color: var(--ink);
}

/* ===================== HERO ===================== */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 9vw, 104px) 0 clamp(40px, 6vw, 72px);
  background:
    radial-gradient(60% 60% at 12% 0%, rgba(91,91,245,.10), transparent 60%),
    radial-gradient(50% 50% at 92% 8%, rgba(6,182,212,.10), transparent 60%),
    var(--bg);
}
.hero .wrap { position: relative; }
.hero-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  color: var(--brand); background: var(--brand-tint);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
  border: 1px solid rgba(79,70,229,.16);
}
.hero h1 { max-width: 16ch; margin-bottom: 22px; }
.hero-lede {
  max-width: 64ch; font-size: clamp(16px, 2vw, 18.5px); color: var(--ink-2);
  margin-bottom: 30px;
}
.hero-lede strong { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

/* stats */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  border-top: 1px solid var(--line); padding-top: 34px;
}
.stat { padding: 4px 2px; }
.stat-num { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.stat-label { margin-top: 9px; color: var(--ink-3); font-size: 13.5px; line-height: 1.5; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 15px;
  transition: .2s; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(79,70,229,.28); }
.btn-primary:hover { background: #4338ca; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(79,70,229,.34); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ===================== SECTIONS ===================== */
.section { padding: clamp(48px, 7vw, 84px) 0; }
.section:nth-child(even of .section) { } /* marker only */
.sec-head { max-width: 760px; margin: 0 auto clamp(30px, 4vw, 48px); text-align: center; }
.sec-kicker {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.sec-head h2 { margin-bottom: 14px; }
.sec-head p { color: var(--ink-2); font-size: 16.5px; }

/* ===================== GRID / CARDS ===================== */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-sm);
  transition: .22s ease; overflow: hidden;
}
.card-lg { padding: 30px; }
.card-hover:hover { transform: translateY(-4px); border-color: rgba(79,70,229,.35); box-shadow: var(--shadow-lg); }
.card-dot {
  position: absolute; top: 18px; right: 18px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--grad);
}
.ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; background: var(--brand-tint); color: var(--brand); margin-bottom: 16px;
}
.ico.txt { font-size: 16px; font-weight: 800; letter-spacing: .04em; width: auto; padding: 0 14px; height: 40px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 14.8px; }
.card-idx {
  position: absolute; top: 20px; right: 22px; font-size: 13px; font-weight: 800;
  color: var(--ink-3); letter-spacing: .08em;
}
.card-price {
  margin-top: 16px; font-size: 22px; font-weight: 800; color: var(--brand);
}
.card-price span { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.card-badge {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--brand);
  background: var(--brand-tint); border: 1px solid rgba(79,70,229,.2);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.card-badge.soon { color: #b45309; background: #fff7ed; border-color: #fed7aa; }

/* tick list */
.tick { list-style: none; padding: 0; margin: 14px 0 0; }
.tick li {
  position: relative; padding-left: 26px; margin-bottom: 9px;
  font-size: 14.5px; color: var(--ink-2);
}
.tick li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--grad);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/12px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/12px no-repeat;
}

/* ===================== CALLOUT ===================== */
.callout {
  background: var(--bg-soft); border: 1px solid var(--line-soft);
  border-left: 4px solid var(--brand); border-radius: var(--r); padding: 22px 24px;
}
.callout-title { font-weight: 800; color: var(--ink); margin-bottom: 8px; font-size: 15.5px; }
.callout p { color: var(--ink-2); font-size: 14.8px; }
.callout strong { color: var(--ink); }

/* ===================== TABLE ===================== */
.tbl-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14.8px; }
thead th {
  background: var(--bg-soft); text-align: left; font-weight: 700; color: var(--ink);
  padding: 14px 18px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
tbody td { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); vertical-align: top; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--bg-softer); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--bg-soft); padding: 2px 7px; border-radius: 6px; font-size: 12.5px; }
.tbl-note { margin-top: 16px; color: var(--ink-3); font-size: 13.5px; }
.tbl-note a { color: var(--brand); border-bottom-color: var(--brand) !important; }

/* ===================== PILL ===================== */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 6px 13px; border-radius: 999px;
}
.pill.on { color: var(--brand); background: var(--brand-tint); border-color: rgba(79,70,229,.22); }

/* ===================== STEPS ===================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 22px 22px; box-shadow: var(--shadow-sm);
}
.step-n {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: var(--brand); margin-bottom: 14px;
  box-shadow: 0 6px 14px rgba(79,70,229,.25);
}
.step h4 { font-size: 15.5px; margin-bottom: 7px; }
.step p { font-size: 13.8px; color: var(--ink-2); }

/* ===================== CTA BLOCK ===================== */
.cta-block {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff; border-radius: var(--r-lg);
  padding: clamp(34px, 5vw, 56px); text-align: center;
  background-image: radial-gradient(60% 120% at 15% 0%, rgba(91,91,245,.35), transparent 60%),
                    radial-gradient(50% 120% at 90% 100%, rgba(6,182,212,.30), transparent 60%);
}
.cta-block .card-dot { background: #fff; opacity: .5; }
.cta-block h2 { color: #fff; margin-bottom: 14px; }
.cta-block p { color: rgba(255,255,255,.82); max-width: 60ch; margin: 0 auto; font-size: 16px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 26px 0 8px; }
.cta-block .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.cta-block .btn-primary:hover { background: #f1f1f3; }
.cta-block .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.cta-block .btn-ghost:hover { border-color: #fff; }

/* ===================== BREADCRUMB / PAGE HEAD ===================== */
.crumb { font-size: 13.5px; color: var(--ink-3); padding: 22px 0 0; }
.crumb a { color: var(--ink-2); }
.crumb a:hover { color: var(--brand); }
.crumb span { margin: 0 8px; }
.page-head { padding: clamp(24px,4vw,40px) 0 clamp(8px,2vw,16px); max-width: 820px; }
.page-head h1 { margin-bottom: 14px; }
.page-head p { color: var(--ink-2); font-size: 17px; }
.page-head .sec-kicker { margin-bottom: 12px; }

/* page-head tag row: 主题胶囊 + 英文眉标 */
.ph-tags { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.ph-tags .hero-eyebrow { margin-bottom: 0; }
.ph-tags .sec-kicker { margin-bottom: 0; }
.ph-tags .sep { flex: 0 0 1px; width: 1px; height: 16px; background: var(--line); }

/* ===================== THEME BAND (GEO 架构 · AI 可见) ===================== */
.theme-band {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--grad-soft), var(--bg);
  padding: clamp(24px, 3vw, 34px) clamp(22px, 3vw, 38px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center;
}
.theme-band::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad);
}
.tb-kicker {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 10px;
}
.tb-title { font-size: clamp(20px, 2.6vw, 27px); font-weight: 800; line-height: 1.34; margin-bottom: 10px; }
.tb-desc { color: var(--ink-2); font-size: 14.6px; }
.tb-desc strong { color: var(--ink); }
.tb-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-content: center; }
.tb-chip {
  font-size: 12.8px; font-weight: 700; padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.tb-chip.on { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 8px 18px rgba(79,70,229,.24); }

/* CTA 主题眉标 */
.cta-kicker {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: 14px;
}

/* ============================================================
   NEWS · 资讯栏目
   ============================================================ */

/* ---- 筛选胶囊 ---- */
.cat-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.cat {
  font-size: 13.5px; font-weight: 700; color: var(--ink-2); cursor: pointer;
  background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px;
  transition: .18s; font-family: inherit;
}
.cat:hover { border-color: var(--ink-3); }
.cat.on { color: #fff; background: var(--ink); border-color: var(--ink); }

/* ---- 文章缩略图（渐变占位，无图片依赖）---- */
.news-thumb {
  position: relative; height: 156px; border-radius: var(--r) var(--r) 0 0;
  background: var(--grad); overflow: hidden; display: flex; align-items: flex-end;
  padding: 16px 20px;
}
.news-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 90% at 85% 10%, rgba(255,255,255,.34), transparent 62%);
}
.news-thumb-cat {
  position: relative; z-index: 1; font-size: 12px; font-weight: 800; letter-spacing: .1em;
  color: #fff; background: rgba(255,255,255,.20); border: 1px solid rgba(255,255,255,.42);
  padding: 5px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.news-thumb-glyph {
  position: absolute; right: 18px; top: 4px; font-size: 84px; font-weight: 800;
  color: rgba(255,255,255,.20); line-height: 1; z-index: 0; pointer-events: none;
}
.news-thumb.alt { background: linear-gradient(120deg, #06b6d4 0%, #4f46e5 100%); }
.news-thumb.alt2 { background: linear-gradient(120deg, #312e81 0%, #06b6d4 100%); }

/* ---- 文章卡片 ---- */
.news-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: .22s ease;
}
.news-card:hover { transform: translateY(-4px); border-color: rgba(79,70,229,.35); box-shadow: var(--shadow-lg); }
.news-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.news-card h3 { font-size: 17.5px; line-height: 1.45; margin-bottom: 10px; }
.news-card:hover h3 { color: var(--brand); }
.news-card p { color: var(--ink-2); font-size: 14.4px; flex: 1; }
.news-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft);
  font-size: 12.8px; color: var(--ink-3); font-weight: 600;
}
.news-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }
.news-tag {
  font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-tint);
  border: 1px solid rgba(79,70,229,.18); padding: 3px 10px; border-radius: 999px;
}

/* ---- 头条 ---- */
.news-featured {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow); margin-bottom: 44px;
}
.news-featured .news-thumb { height: 100%; min-height: 268px; border-radius: 0; }
.news-featured-body { padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.news-featured-body h2 { font-size: clamp(21px, 2.5vw, 29px); line-height: 1.36; margin: 14px 0 14px; }
.news-featured-body > p { color: var(--ink-2); font-size: 15.5px; }
.news-featured-body .news-meta { border-top: none; padding-top: 20px; margin-top: 20px; }

/* ---- RSS / 订阅条 ---- */
.subscribe {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: space-between;
  border: 1px dashed var(--line); background: var(--bg-softer); border-radius: var(--r);
  padding: 20px 24px; margin-top: 36px;
}
.subscribe p { color: var(--ink-2); font-size: 14.4px; }
.subscribe .sub-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 10px; }

/* ============================================================
   ARTICLE · 文章详情页
   ============================================================ */
.article-head { max-width: 800px; padding: clamp(24px, 4vw, 40px) 0 0; }
.article-head h1 { font-size: clamp(27px, 4vw, 41px); line-height: 1.3; margin: 14px 0 18px; }
.article-lede {
  font-size: clamp(16px, 1.9vw, 18.5px); color: var(--ink-2);
  padding-left: 18px; border-left: 3px solid var(--brand);
}
.art-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 24px;
  font-size: 13.2px; color: var(--ink-3); font-weight: 600;
}
.art-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }

.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 48px;
  align-items: start; padding: clamp(32px, 4vw, 52px) 0 clamp(40px, 5vw, 64px);
}
.article-body { max-width: 720px; font-size: 16.6px; }
.article-body > * { max-width: 68ch; }
.article-body h2 {
  font-size: clamp(21px, 2.5vw, 26.5px); margin: 46px 0 16px; padding-top: 4px;
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.article-body h2::before {
  content: ""; display: block; width: 38px; height: 3px; border-radius: 2px;
  background: var(--grad); margin-bottom: 14px;
}
.article-body h3 { font-size: 18.5px; margin: 30px 0 12px; }
.article-body p { color: var(--ink-2); margin-bottom: 18px; }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body a { color: var(--brand); font-weight: 600; border-bottom: 1.5px solid rgba(79,70,229,.35); }
.article-body a:hover { border-bottom-color: var(--brand); }
.article-body ul, .article-body ol { color: var(--ink-2); margin: 0 0 20px; padding-left: 24px; }
.article-body li { margin-bottom: 10px; }
.article-body ul li::marker { color: var(--brand); }
.article-body blockquote {
  margin: 0 0 22px; padding: 18px 22px; background: var(--bg-soft);
  border-left: 3px solid var(--ink-3); border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.article-body blockquote p { margin: 0; font-size: 15.6px; }

/* 关键结论框 */
.keypoint {
  background: var(--grad-soft); border: 1px solid rgba(79,70,229,.18); border-radius: var(--r);
  padding: 20px 24px; margin: 0 0 24px; max-width: 68ch;
}
.keypoint-title {
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 8px;
}
.keypoint p { font-size: 15.4px; margin: 0; color: var(--ink-2); }
.keypoint p + p { margin-top: 10px; }

/* 文中 Q&A（同时输出 FAQPage 结构化数据）*/
.art-qa { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 8px; }
.art-qa .qa { padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.art-qa .qa-q { font-weight: 700; font-size: 16.4px; color: var(--ink); margin-bottom: 8px; }
.art-qa .qa-a { color: var(--ink-2); font-size: 15.4px; }

/* 目录 */
.article-toc {
  position: sticky; top: calc(var(--nav-h) + 26px);
  border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-softer);
  padding: 20px 22px;
}
.article-toc-title {
  font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 14px;
}
.article-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.article-toc li { counter-increment: toc; margin-bottom: 3px; }
.article-toc a {
  display: block; font-size: 13.6px; color: var(--ink-2); padding: 7px 10px 7px 30px;
  border-radius: 8px; position: relative; transition: .16s; line-height: 1.5;
}
.article-toc a::before {
  content: counter(toc); position: absolute; left: 10px; top: 7px;
  font-size: 11.5px; font-weight: 800; color: var(--ink-3);
}
.article-toc a:hover { background: var(--brand-tint); color: var(--brand); }
.article-toc a:hover::before { color: var(--brand); }

/* 作者 / 机构署名 */
.article-author {
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px;
  background: var(--bg-softer); margin-top: 40px; max-width: none;
}
.article-author .aa-mark {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 19px;
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(79,70,229,.26);
}
.article-author h4 { font-size: 15.5px; margin-bottom: 5px; }
.article-author p { font-size: 13.8px; color: var(--ink-2); margin: 0; }

/* 上下篇 */
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.article-nav a {
  border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px;
  background: #fff; transition: .2s; box-shadow: var(--shadow-sm);
}
.article-nav a:hover { transform: translateY(-3px); border-color: rgba(79,70,229,.35); box-shadow: var(--shadow); }
.article-nav .an-label { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--ink-3); display: block; margin-bottom: 8px; }
.article-nav .an-title { font-size: 15.4px; font-weight: 700; line-height: 1.5; }
.article-nav .right { text-align: right; }

/* ===================== FAQ ===================== */
.faq-group { margin-bottom: 30px; }
.faq-group-title {
  font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 14px; padding-left: 2px;
}
.faq {
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
  margin-bottom: 12px; overflow: hidden; transition: .18s;
}
.faq[open] { border-color: rgba(79,70,229,.35); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 48px 17px 18px; position: relative;
  font-weight: 700; font-size: 15.5px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--ink-3); transition: .2s; line-height: 1;
}
.faq[open] summary::after { content: "−"; color: var(--brand); }
.faq-body { padding: 0 18px 18px; color: var(--ink-2); font-size: 14.8px; }
.faq-body a { color: var(--brand); border-bottom: 1.5px solid var(--brand); font-weight: 600; }

/* ===================== FOOTER ===================== */
footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 54px 0 28px; margin-top: 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.foot-brand p { color: var(--ink-3); font-size: 13.5px; margin-top: 16px; max-width: 38ch; }
.foot-contact { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-3); }
.foot-contact a { color: var(--ink-2); border-bottom: 1px dashed var(--line-2, var(--line)); }
.foot-contact a:hover { color: var(--brand); }
.foot-col h5 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--ink-2); font-size: 14px; padding: 5px 0; }
.foot-col a:hover { color: var(--brand); }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 12.8px; color: var(--ink-3);
}

/* ===================== SCROLL ANCHOR ===================== */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .news-featured { grid-template-columns: 1fr; }
  .news-featured .news-thumb { min-height: 190px; height: 190px; border-radius: 0; }
  /* ⚠️ 2026-09-22 修复：这里原先写 `1fr`，而 `1fr` 等价于 `minmax(auto, 1fr)`，
     其最小值取**子项的内容最小宽度**。文章页里的 .tbl-wrap 内含
     `table { min-width: 560px }`，min-content 就是 560px ⇒ 轨道被撑到 562px，
     而容器只有 346px ⇒ 整页横向溢出 194px。
     改用 minmax(0, 1fr) 把最小值归零，让 .tbl-wrap 自己横向滚动。
     （实测：privacy / terms / news 全部 4 篇 + 英文对应页，共 11 页在 ≤980px 下溢出） */
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 34px; }
  .article-toc { position: static; }
  .article-toc ol { columns: 2; column-gap: 18px; }
}
/* ⚠️ 2026-09-22：导航折叠断点单独提到 1100px。
   原因：英文站导航有 11 项、标签是长英文（Overseas promotion / GEO writing …），
   实测在 761–1024px 区间根本放不下 —— 900px 时英文 16 个页面全部横向溢出 325–429px。
   中文标签短，原 760px 断点够用；但为了让中英表现一致、且今后再加导航项不再复发，
   统一在 ≤1100px 折叠为汉堡菜单。实测 ≥1101px 时中文 11 项可完整排下。 */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 2px; background: #fff; padding: 12px 16px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    margin-left: 0; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { display: none; }
}
@media (max-width: 760px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .theme-band { grid-template-columns: 1fr; gap: 20px; }
  .tb-chips { justify-content: flex-start; }
  .ph-tags .sep { display: none; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .right { text-align: left; }
  .article-toc ol { columns: 1; }
}
@media (max-width: 420px) {
  .stat-row { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   GEO WRITING · GEO 文章写作
   ============================================================ */

/* ---- 两条路径对比 ---- */
.path-cmp { display: grid; gap: 16px; }
.path-lane {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.path-lane::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.path-lane.bad  { background: linear-gradient(180deg, #fff6f5 0%, #fff 62%); border-color: #f6d3ce; }
.path-lane.bad::before  { background: #e2a49d; }
.path-lane.good { background: linear-gradient(180deg, #f2fdf8 0%, #fff 62%); border-color: #c7ead9; }
.path-lane.good::before { background: var(--grad); }

.pl-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.pl-badge {
  font-size: 11.5px; font-weight: 800; letter-spacing: .14em;
  padding: 5px 11px; border-radius: 999px; border: 1px solid;
}
.path-lane.bad  .pl-badge { color: #b42318; background: #fdeceb; border-color: #f6cdc9; }
.path-lane.good .pl-badge { color: #087443; background: #e6f7ef; border-color: #c2e9d5; }
.pl-name { font-size: 17px; font-weight: 800; }
.pl-out { margin-left: auto; font-size: 12.6px; font-weight: 700; color: var(--ink-3); }

.pl-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; align-items: stretch; }
.pn {
  border: 1px solid var(--line); background: #fff; border-radius: var(--r-sm);
  padding: 14px 16px; text-align: center;
  display: flex; flex-direction: column; gap: 5px; justify-content: center;
}
.pn b { font-size: 14.6px; font-weight: 800; }
.pn span { font-size: 12.6px; color: var(--ink-3); font-weight: 600; line-height: 1.45; }
.path-lane.bad  .pn { border-color: #f6d3ce; }
.path-lane.bad  .pn b { color: #b42318; }
.path-lane.good .pn { border-color: #c2e9d5; }
.path-lane.good .pn b { color: #087443; }
.parrow { display: grid; place-items: center; font-size: 17px; font-weight: 800; color: var(--line); }
.path-lane.bad  .parrow { color: #dc9c95; }
.path-lane.good .parrow { color: #6cc19c; }

.pl-concl {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 14.2px; color: var(--ink-2);
}
.pl-concl strong { color: var(--ink); }

/* ---- 七优势 ---- */
.adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.adv {
  display: grid; grid-template-columns: 50px 1fr; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 24px 22px 20px; box-shadow: var(--shadow-sm); transition: .22s ease;
}
.adv:hover { transform: translateY(-4px); border-color: rgba(79,70,229,.35); box-shadow: var(--shadow-lg); }
.adv-n {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font-size: 16.5px; font-weight: 800; color: #fff; background: var(--grad);
  box-shadow: 0 8px 18px rgba(79,70,229,.26);
}
.adv h3 { font-size: 17px; margin-bottom: 8px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.adv p { color: var(--ink-2); font-size: 14.5px; }
.adv-evi { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.adv-evi span {
  font-size: 12.2px; font-weight: 700; color: var(--brand-ink); background: var(--brand-tint);
  border: 1px solid rgba(79,70,229,.16); padding: 4px 10px; border-radius: 999px;
}
.adv.feat { background: linear-gradient(180deg, var(--brand-tint) 0%, #fff 58%); border-color: rgba(79,70,229,.28); }
.adv.feat .adv-n { background: var(--ink); box-shadow: 0 8px 18px rgba(20,22,26,.24); }
.adv-tag {
  font-size: 11.5px; font-weight: 800; color: #b45309; background: #fff7ed;
  border: 1px solid #fed7aa; padding: 3px 9px; border-radius: 999px;
}
.adv.wide { grid-column: 1 / -1; }

/* ---- 宣传语墙 ---- */
.slogan-wall {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; overflow: hidden; box-shadow: var(--shadow-sm);
}
.slogan {
  display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: baseline;
  padding: 20px 26px; border-bottom: 1px solid var(--line-soft); transition: .18s;
}
.slogan:last-child { border-bottom: none; }
.slogan:hover { background: var(--bg-softer); }
.slogan-i { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--brand); }
.slogan-t { font-size: clamp(17.5px, 2.3vw, 23px); font-weight: 800; letter-spacing: -.01em; line-height: 1.35; }
.slogan-d { display: block; margin-top: 7px; font-size: 14.2px; font-weight: 500; color: var(--ink-3); }

/* ---- 第三方实测注记 ---- */
.note-src {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  border: 1px dashed var(--line); border-radius: var(--r);
  background: var(--bg-softer); padding: 18px 22px; margin-top: 20px;
}
.note-src .ns-kicker {
  font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); padding-top: 2px; white-space: nowrap;
}
.note-src p { font-size: 13.8px; color: var(--ink-2); }
.note-src a { color: var(--brand); font-weight: 600; border-bottom: 1.5px solid rgba(79,70,229,.35); }

/* ---- 门禁步骤 3 列 ---- */
.steps.s3 { grid-template-columns: repeat(3, 1fr); }
.step-gate {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .12em;
  color: var(--brand); background: var(--brand-tint); border: 1px solid rgba(79,70,229,.18);
  padding: 3px 9px; border-radius: 999px; margin-bottom: 10px;
}

@media (max-width: 980px) {
  .adv-grid { grid-template-columns: 1fr; }
  .adv.wide { grid-column: auto; }
  .steps.s3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .pl-flow { grid-template-columns: 1fr; gap: 8px; }
  .parrow { transform: rotate(90deg); }
  .pl-out { margin-left: 0; }
  .steps.s3 { grid-template-columns: 1fr; }
  .slogan { grid-template-columns: 1fr; gap: 8px; padding: 18px 20px; }
  .note-src { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- 文章配图与代码块（后台编辑器产出） ---------- */
.article-body figure { margin: 0 0 22px; }
.article-body img {
  display: block; max-width: 100%; height: auto; margin: 0 auto;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm);
}
.article-body figcaption {
  text-align: center; font-size: 12.5px; color: var(--ink-3);
  margin-top: 9px; line-height: 1.65;
}
.article-body pre {
  background: #0f172a; color: #e2e8f0; border-radius: 10px;
  padding: 14px 16px; overflow-x: auto; font-size: 13px; line-height: 1.7; margin: 0 0 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.article-body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
.article-body p code, .article-body li code {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 5px; padding: 1px 5px; color: var(--ink);
}
.article-body hr { border: none; border-top: 1px solid var(--line); margin: 30px 0; }

/* 页脚法务链接 */
.foot-legal { display: block; margin-top: 6px; }
.foot-legal a { color: var(--ink-3); border-bottom: 1px solid var(--line); }
.foot-legal a:hover { color: var(--brand); border-bottom-color: var(--brand); }

/* ---------- 小程序二维码卡（海外推广页 / 小程序功能页共用） ----------
   2026-09-22 新增：用户提供的小程序码（GEO 地球主题）需要一处可复用容器。
   设计仍守方案 C：白底 + 墨色描边 + 轻投影，不加新颜色。
   ⚠️ 二维码必须给足留白（padding），否则扫描率下降 —— 不要为了好看裁掉边距。 */
.qr-card {
  display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; box-shadow: var(--shadow); padding: 28px 30px;
}
.qr-card .qr-img {
  display: block; width: 200px; height: 200px; border-radius: 16px;
  border: 1px solid var(--line); background: #fff; padding: 8px;
}
.qr-card .qr-kicker {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 9px;
}
.qr-card h3 { font-size: 22px; margin-bottom: 9px; }
.qr-card > div > p { color: var(--ink-2); font-size: 15px; }
.qr-card .qr-name {
  display: inline-block; margin-top: 12px; font-weight: 700; color: var(--ink);
  background: var(--brand-tint); border: 1px solid rgba(79,70,229,.2);
  padding: 6px 13px; border-radius: 999px; font-size: 13.5px;
}
.qr-card .qr-hint { font-size: 12.8px; color: var(--ink-3); margin-top: 10px; }

/* 窄版（放在页脚前的小 CTA 区）*/
.qr-card.qr-slim { grid-template-columns: 132px 1fr; gap: 22px; padding: 22px 24px; }
.qr-card.qr-slim .qr-img { width: 132px; height: 132px; border-radius: 12px; }
.qr-card.qr-slim h3 { font-size: 19px; }

@media (max-width: 760px) {
  .qr-card, .qr-card.qr-slim { grid-template-columns: 1fr; gap: 18px; padding: 22px 20px; }
  .qr-card .qr-img { width: 168px; height: 168px; margin: 0 auto; }
  .qr-card.qr-slim .qr-img { width: 148px; height: 148px; }
  .qr-card h3, .qr-card .qr-kicker { text-align: center; }
  .qr-card > div { text-align: center; }
}

/* ============================================================
   栅格子项最小宽度兜底（2026-09-22）
   ------------------------------------------------------------
   问题：栅格子项的 min-width 默认是 auto，即「不得小于自身内容最小宽度」。
   本表里 `table { min-width: 560px }` 会把 560px 通过 min-content 一路传给
   轨道，即使表格外面套了 `.tbl-wrap { overflow-x: auto }` 也一样
   —— overflow 不会降低 min-content 贡献。
   后果：任何「栅格里放表格」的位置在窄屏下都会把整页撑破。
   （真实案例：.article-layout 在 ≤980px 时轨道被撑到 562px，11 个页面横向溢出 194px）

   修法：把这些栅格的直接子项统一设 min-width: 0，让子项可以被压缩到轨道宽度，
   表格再在 .tbl-wrap 内部横向滚动。这是根治，且对新增栅格自动生效
   —— 新增栅格时请把容器类名加进下面这一行。
   ============================================================ */
.grid > *, .g2 > *, .g3 > *, .g4 > *,
.steps > *, .steps.s3 > *,
.adv-grid > *, .article-layout > *,
.news-featured > *, .theme-band > *, .foot-grid > *,
.pl-flow > *, .stat-row > *, .path-cmp > * { min-width: 0; }


/* ============================================================
   VISUAL UPGRADE v2 · 2026-10-06
   ------------------------------------------------------------
   设计约束（不可违反）：
   1. **纯 CSS，零 HTML 改动** —— 页面结构、class 命名、DOM 层级一律不动。
      ⇒ 190 块 JSON-LD / 49 个title / canonical / hreflang / robots /
         sitemap 全部零影响。这是本次升级的安全边界。
   2. 只用 ::before / ::after / background / transform 等装饰性属性，
      不使用 content 注入业务文本（避免与可见内容不一致 = 结构化数据失实）。
   3. 不引入任何 JS、不引外部字体/CDN —— AI 爬虫不执行 JS 且部分环境屏蔽外链，
      外链字体还会拖慢首屏。
   4. 所有效果在 prefers-reduced-motion 下关闭。
   5. 响应式断点必须复测：1440 / 1280 / 1024 / 768 / 390。
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   1. 令牌升级：更精致的色阶 + 更克制的圆角与阴影
   ──────────────────────────────────────────────────────────── */
:root {
  /* 品牌色微调：原indigo #4f46e5 偏「SaaS 模板蓝紫」，
     降饱和 + 加深，让它读起来像专业服务品牌而非通用组件库 */
  --brand:      #4338ca;
  --brand-2:    #0891b2;
  --brand-ink:  #2e2a8a;
  --brand-tint: #eef1ff;
  --brand-tint-2: #e6f9fe;

  /* 中性色：加一点冷调，原 #f6f7f9 偏脏灰 */
  --bg:      #ffffff;
  --bg-soft: #f7f9fc;
  --ink:     #0f1115;
  --ink-2:   #4a5159;
  --ink-3:   #868d97;
  --line:      #e4e8ee;
  --line-soft: #eef1f6;

  /* 圆角：外层收一点（更利落），内层保持柔和 */
  --r-sm:  8px;
  --r:    14px;
  --r-lg: 20px;

  /* 阴影：多层叠加代替单层，模拟真实光照 */
  --shadow-sm: 0 1px 2px rgba(15,17,21,.04), 0 1px 1px rgba(15,17,21,.03);
  --shadow:
    0 1px 2px rgba(15,17,21,.04),
    0 4px 12px rgba(15,17,21,.05),
    0 12px 28px rgba(15,17,21,.04);
  --shadow-lg:
    0 2px 4px rgba(15,17,21,.05),
    0 12px 28px rgba(15,17,21,.09),
    0 28px 64px rgba(15,17,21,.07);

  /* 新增：玻璃与高光变量 */
  --glass:      rgba(255,255,255,.72);
  --glass-line: rgba(255,255,255,.65);
  --sheen:      linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,0));
  --ring:       0 0 0 1px rgba(67,56,202,.14);

  --maxw: 1180px;
}

/* ────────────────────────────────────────────────────────────
   2. Hero：解决「1440px 下右侧约 40% 完全空置」
   做法：不改 HTML，用 hero 的伪元素在右侧构造「AI 引用示意图」——
   一块抽象的「答案卡+引用来源」面板，纯装饰、pointer-events:none。
   ──────────────────────────────────────────────────────────── */
.hero { padding: clamp(60px, 8vw, 100px) 0 clamp(44px, 5vw, 68px); }

/* 背景层升级：加一层极细网格 + 更收敛的双色光晕，
   光晕缩小并偏移，避免原来的"整片发白" */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,17,21,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,17,21,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(78% 62% at 50% 0%, #000 30%, transparent 100%);
          mask-image: radial-gradient(78% 62% at 50% 0%, #000 30%, transparent 100%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(38% 44% at 4% 2%,  rgba(79,70,229,.13), transparent 62%),
    radial-gradient(34% 40% at 46% 0%, rgba(6,182,212,.11), transparent 64%),
    radial-gradient(30% 36% at 96% 14%, rgba(79,70,229,.08), transparent 66%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

/* Hero 内容左栏限宽，右侧留出视觉面板的位置 */
.hero h1 { max-width: 15ch; margin-bottom: 24px; letter-spacing: -.025em; }

.hero-lede {
  max-width: 58ch;
  font-size: clamp(16px, 1.55vw, 18px);
  color: var(--ink-2);
  margin-bottom: 32px;
  line-height: 1.75;
}

/* 右侧「AI 引用面板」：仅 ≥1240px 出现，纯装饰。
   ⚠️ 关键教训：**不要给 .hero .wrap 加 display:grid**。
   hero 的子元素（eyebrow/h1/lede/actions/stat-row）是普通流式兄弟节点，
   一旦变 grid，它们会被 grid-row:1/-1 全部拉去同一行再叠起来，
   内容顺序与间距全乱（实测 H1 被推到视口外）。
   正确做法：wrap 保持普通流，只用绝对定位把装饰面板钉到右侧。 */
@media (min-width: 1240px) {
  .hero .wrap::before,
  .hero .wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 360px;
    height: 380px;
    border-radius: 20px;
    pointer-events: none;
  }
  /* 底层：玻璃卡片本体 */
  .hero .wrap::after {
    background: linear-gradient(158deg, rgba(255,255,255,.94), rgba(255,255,255,.58));
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    z-index: -1;
  }
  /* 上层：面板内的抽象内容（答案块 + 三条引用来源）
     布局按面板高度 380px 重排：内容垂直居中，不再全部堆在顶部 */
  .hero .wrap::before {
    background:
      /* 顶部：三个引擎标记点 */
      radial-gradient(circle 5px at 22px 28px, rgba(67,56,202,.34) 99%, transparent),
      radial-gradient(circle 5px at 38px 28px, rgba(8,145,178,.34) 99%, transparent),
      radial-gradient(circle 5px at 54px 28px, rgba(15,17,21,.11) 99%, transparent),
      /* 分隔细线 */
      linear-gradient(90deg, rgba(15,17,21,.06) 0 100%) 22px 52px / calc(100% - 44px) 1px no-repeat,
      /* 答案主块：两长一短，模拟逐字答案 */
      linear-gradient(90deg, rgba(15,17,21,.070) 0 100%) 22px 74px  / calc(100% - 44px) 9px no-repeat,
      linear-gradient(90deg, rgba(15,17,21,.055) 0 100%) 22px 96px  / calc(100% - 84px) 9px no-repeat,
      linear-gradient(90deg, rgba(15,17,21,.055) 0 100%) 22px 118px / calc(100% - 116px) 9px no-repeat,
      /* 第二组：再一段答案（面板下半不留空） */
      linear-gradient(90deg, rgba(15,17,21,.050) 0 100%) 22px 158px / calc(100% - 70px) 9px no-repeat,
      linear-gradient(90deg, rgba(15,17,21,.050) 0 100%) 22px 180px / calc(100% - 132px) 9px no-repeat,
      /* 引用来源三条：品牌色/青色/中性 */
      linear-gradient(90deg, rgba(67,56,202,.17) 0 100%) 22px 232px / 146px 26px no-repeat,
      linear-gradient(90deg, rgba(8,145,178,.15)  0 100%) 22px 268px / 116px 26px no-repeat,
      linear-gradient(90deg, rgba(15,17,21,.075) 0 100%) 22px 304px / 164px 26px no-repeat,
      /* 顶部高光 */
      var(--sheen);
    background-repeat: no-repeat;
    z-index: 0;
  }
}

/* Hero 内容限宽：给右侧面板腾空间（≥1240px 才生效） */
@media (min-width: 1240px) {
  .hero .wrap > * { position: relative; z-index: 1; max-width: calc(100% - 420px); }
  .stat-row { max-width: calc(100% - 420px); }
}

/* Hero eyebrow：更精致的小胶囊 */
.hero-eyebrow {
  font-size: 12.5px; letter-spacing: .05em; font-weight: 700;
  padding: 6px 13px 6px 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, var(--brand-tint));
  border: 1px solid rgba(67,56,202,.18);
  box-shadow: 0 1px 2px rgba(67,56,202,.08);
  margin-bottom: 24px;
}

/* 数据条：原本是一排数字，现在做成四张「数据卡」 */
.stat-row {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  border-top: 0;
  padding-top: 0;
}
.stat {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: var(--r);
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.stat::before {
  content: "";
  position: absolute; left: 18px; top: 0;
  width: 26px; height: 2px;
  background: var(--grad);
  border-radius: 0 0 2px 2px;
}
.stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(67,56,202,.22);
}
.stat-num {
  font-size: clamp(26px, 3.1vw, 34px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  background: linear-gradient(180deg, var(--ink), #2c3138);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { margin-top: 7px; color: var(--ink-3); font-size: 13px; line-height: 1.5; }

/* ────────────────────────────────────────────────────────────
   3. 导航：加一层底部渐隐线 + 更清晰的当前页指示
   ──────────────────────────────────────────────────────────── */
.nav {
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 1px 12px rgba(15,17,21,.035);
}
.brand-mark {
  border-radius: 10px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.28) inset,
    0 4px 14px rgba(67,56,202,.34);
}
.nav-links a { position: relative; }
.nav-links a.active {
  color: var(--brand);
  background: var(--brand-tint);
  box-shadow: inset 0 0 0 1px rgba(67,56,202,.14);
}
.nav-cta {
  background: linear-gradient(180deg, #262a31, #0f1115);
  box-shadow: 0 1px 2px rgba(15,17,21,.16), 0 4px 12px rgba(15,17,21,.12);
}
.nav-cta:hover { box-shadow: 0 2px 4px rgba(15,17,21,.18), 0 8px 20px rgba(15,17,21,.16); }

/* ────────────────────────────────────────────────────────────
   4. 卡片：从「描边+平投影」升级为「精细边框+多层阴影+顶部高光」
   ──────────────────────────────────────────────────────────── */
.card {
  border-radius: var(--r);
  padding: 28px;
  background: linear-gradient(180deg, #fff, #fdfdfe);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, border-color .22s;
}
.card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent);
  border-radius: var(--r) var(--r) 0 0;
  pointer-events: none;
}
.card-hover:hover {
  transform: translateY(-3px);
  border-color: rgba(67,56,202,.30);
  box-shadow: var(--shadow-lg);
}
.card h3 { letter-spacing: -.012em; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 14.6px; line-height: 1.72; }

/* 图标块：渐变底 + 内阴影，不再是扁平浅蓝块 */
.ico {
  width: 44px; height: 44px; border-radius: 11px;
  background: linear-gradient(160deg, var(--brand-tint), #fff);
  border: 1px solid rgba(67,56,202,.14);
  box-shadow: 0 1px 2px rgba(67,56,202,.10), 0 2px 8px rgba(67,56,202,.06);
  color: var(--brand-ink);
  font-size: 20px;
  margin-bottom: 18px;
}
.card-dot {
  width: 6px; height: 6px;
  box-shadow: 0 0 0 3px rgba(67,56,202,.10);
}

/* ────────────────────────────────────────────────────────────
   5. Section 头部：加一条短渐变横线，强化节奏锚点
   ──────────────────────────────────────────────────────────── */
.sec-kicker {
  position: relative;
  padding-bottom: 12px;
  letter-spacing: .15em;
}
.sec-kicker::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 26px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.sec-head h2 { letter-spacing: -.022em; margin-bottom: 16px; }
.sec-head p { color: var(--ink-2); font-size: 16.2px; line-height: 1.75; }

/* ────────────────────────────────────────────────────────────
   6. 按钮：更克制的立体感+ 键盘可达性
   ──────────────────────────────────────────────────────────── */
.btn { border-radius: 11px; transition: transform .18s, box-shadow .18s, background .18s; }
.btn-primary {
  background: linear-gradient(180deg, #4f46e5, var(--brand));
  box-shadow:
    0 1px 0 rgba(255,255,255,.20) inset,
    0 2px 4px rgba(67,56,202,.20),
    0 8px 20px rgba(67,56,202,.22);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #4338ca, #3730a3);
  box-shadow:
    0 1px 0 rgba(255,255,255,.18) inset,
    0 4px 8px rgba(67,56,202,.24),
    0 14px 30px rgba(67,56,202,.28);
}
/* ⚠️ 权重修正：原 site.css 里 `.cta-block .btn-primary` 权重(0,2,0) 高于上面的
   `.btn-primary`(0,1,0)，导致 CTA 区块按钮不生效（实测主按钮仍是纯色块）。
   CTA 区块是深色背景，按钮应为白底 —— 这里显式覆盖并保留白底语义。 */
.cta-block .btn-primary,
.cta-block .btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: rgba(255,255,255,.5);
  box-shadow: 0 2px 6px rgba(0,0,0,.18), 0 10px 24px rgba(0,0,0,.22);
}
.cta-block .btn-primary:hover,
.cta-block .btn-ghost:hover {
  background: #f4f5f7;
  color: var(--ink);
  box-shadow: 0 4px 10px rgba(0,0,0,.22), 0 16px 36px rgba(0,0,0,.28);
}
.btn-ghost {
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow);
}
:where(a,button,[tabindex]):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ────────────────────────────────────────────────────────────
   7. Callout / Steps / Table：补质感
   ──────────────────────────────────────────────────────────── */
.callout {
  border-radius: var(--r);
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  border-left: 3px solid var(--brand);
  box-shadow: var(--shadow-sm);
}
.steps .step, .steps > div {
  position: relative;
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

/* ────────────────────────────────────────────────────────────
   8. FAQ：折叠块改为「可点击卡片」，加左侧品牌色指示
   ──────────────────────────────────────────────────────────── */
/* ────────────────────────────────────────────────────────────
   8. FAQ 折叠块：加左侧品牌色指示条 + hover 精化
   ⚠️ 权重坑（实测踩出）：原 site.css 用的是 **`.faq summary::after`**，
   权重 (0,0,3)；若我们写 `summary::after` 只有 (0,0,1)，**完全压不住** ——
   实测表现为「加了样式但箭头还是原来的 +/− 字符」。
   正解：选择器必须写成 `.faq summary::after` 才同级覆盖。
   本次只改颜色与字号（保留原 +/- 语义，避免动结构），
   左侧指示条另用 .faq summary::before（原CSS未占用该伪元素）。
   ──────────────────────────────────────────────────────────── */
.faq {
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition: border-color .18s, box-shadow .18s;
}
.faq[open] {
  border-color: rgba(67,56,202,.28);
  box-shadow: var(--shadow);
}
.faq summary { padding-left: 46px; }        /* 给左侧指示条留位 */
.faq summary::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .2s;
}
.faq[open] summary::before { opacity: 1; }
/* 与原 .faq summary::after 同权重，只覆盖观感不改语义 */
.faq summary::after {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-3);
  transition: color .2s, transform .2s;
}
.faq[open] summary::after { color: var(--brand); }
.faq summary:hover { background: #fbfcfe; }

/* 无 class 的裸<details>（部分页面使用）同样处理 */
details > summary { padding-left: 46px; }
details > summary::-webkit-details-marker { display: none; }
details > summary::marker { content: ""; }
details > summary:hover { background: #fbfcfe; }



/* ────────────────────────────────────────────────────────────
   9. Footer：收尾质感
   ──────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-soft), #fff);
}
footer a { transition: color .16s; }
footer a:hover { color: var(--brand); }

/* ────────────────────────────────────────────────────────────
   10. 表格与滚动条
   ──────────────────────────────────────────────────────────── */
table { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
thead th { background: var(--bg-soft); }
tbody tr { transition: background .14s; }
tbody tr:hover { background: #fbfcfe; }

::selection { background: rgba(67,56,202,.16); color: var(--ink); }

/* 细滚动条（桌面端） */
@media (hover: hover) and (pointer: fine) {
  ::-webkit-scrollbar { width: 11px; height: 11px; }
  ::-webkit-scrollbar-track { background: var(--bg-soft); }
  ::-webkit-scrollbar-thumb {
    background: #cfd5dd; border-radius: 6px;
    border: 3px solid var(--bg-soft);
  }
  ::-webkit-scrollbar-thumb:hover { background: #b4bcc6; }
}

/* ────────────────────────────────────────────────────────────
   11. 无障碍：尊重减少动效偏好
   ──────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .card-hover:hover, .stat:hover, .btn-primary:hover, .btn-ghost:hover {
    transform: none !important;
  }
}

/* ────────────────────────────────────────────────────────────
   12. 响应式：逐断点复位
   ──────────────────────────────────────────────────────────── */
/* 桌面：数据条 4 列 */
@media (max-width: 900px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .stat-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 14px 14px 12px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .hero .wrap::before, .hero .wrap::after { display: none; }
  .sec-kicker { font-size: 11.5px; letter-spacing: .12em; }
}

/* 打印：去掉装饰层，保留可读性 */
@media print {
  .hero::before, .hero::after,
  .hero .wrap::before, .hero .wrap::after { display: none !important; }
  .nav { position: static; box-shadow: none; }
  .card, .stat { box-shadow: none; }
}