:root {
  --ink: #101828;
  --ink-2: #475467;
  --ink-3: #667085;
  --ink-4: #98a2b3;
  --line: #e4e7ec;
  --line-strong: #d0d5dd;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --card: #ffffff;
  --brand: #1f4ed8;
  --brand-dark: #163da8;
  --brand-soft: #eef2ff;
  --brand-line: #c7d2fe;
  --accent: #0f6e56;
  --hero-from: #fbfcfe;
  --hero-to: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --shadow-1: 0 10px 26px rgba(16, 24, 40, .06);
  --shadow-2: 0 16px 40px rgba(16, 24, 40, .10);
  --header-h: 68px;
  --dark-surface: #101828;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.3; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5.2vw, 48px); font-weight: 700; }
h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-2); }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
strong { color: var(--ink); font-weight: 600; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--card); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px rgba(16,24,40,.05);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 16px;
}
.brand-sub { color: var(--ink-3); font-weight: 400; font-size: 13px; margin-left: 4px; }

.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav a { color: var(--ink-2); font-size: 15px; }
.primary-nav a:hover { color: var(--brand); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: var(--card); border-radius: 10px; cursor: pointer; padding: 11px 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 10px; background: var(--brand); color: #fff;
  font-size: 15px; font-weight: 500; border: 1px solid var(--brand); transition: .18s ease;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.primary-nav a.btn,
.primary-nav a.btn:hover { color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-ghost { background: var(--card); color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-dark); border-color: #c7d2fe; }
.btn-light { background: #fff; color: var(--brand-dark); border-color: #fff; }
.btn-light:hover { background: #eef2ff; color: var(--brand-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; background: linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%); }
.hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.eyebrow {
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); font-weight: 600; margin-bottom: 12px;
}
.lede { font-size: 17px; color: var(--ink-2); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 20px; }
.hero-points {
  list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: 14px; color: var(--ink-3);
}
.hero-points li { position: relative; padding-left: 16px; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand);
}

.hero-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(16,24,40,.07); overflow: hidden;
}
.chat-head {
  display: flex; align-items: center; gap: 6px; padding: 12px 16px;
  border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.chat-head .dot { width: 9px; height: 9px; border-radius: 50%; background: #d0d5dd; }
.chat-title { margin-left: 8px; font-size: 13px; color: var(--ink-3); }
.chat-body { padding: 20px; }
.chat-q { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.chat-a {
  font-size: 14.5px; color: var(--ink-2); background: var(--brand-soft);
  padding: 14px 16px; border-radius: 10px; border-left: 3px solid var(--brand);
}
.chat-cite { font-size: 12.5px; color: var(--ink-3); margin: 8px 0 0; }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 36px 24px;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 700; color: var(--brand); line-height: 1.2; }
.stat-label { font-size: 13.5px; color: var(--ink-3); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-soft); }
.section-tag {
  font-size: 13px; font-weight: 600; color: var(--brand); letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 8px;
}
.section-lede { max-width: 68ch; margin-bottom: 36px; font-size: 16.5px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column; transition: .2s ease;
}
.card:hover { border-color: #c7d2fe; box-shadow: 0 10px 26px rgba(16,24,40,.06); }
.card-featured { border-color: var(--brand); box-shadow: 0 10px 26px rgba(31,78,216,.08); }
.card-index { font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .1em; }
.card h3 { margin-top: 6px; }
.card-list { list-style: none; padding: 0; margin: 4px 0 18px; font-size: 14.5px; }
.card-list li { position: relative; padding-left: 20px; margin-bottom: 8px; color: var(--ink-2); }
.card-list li::before {
  content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px;
  border-radius: 2px; background: #c7d2fe;
}
.card-meta { margin: auto 0 0; font-size: 13px; color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: 14px; }

/* ---------- Table ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.case-notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 28px; }
.case-notes article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.case-notes p { margin: 0; font-size: 14.5px; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.steps p { margin: 0; font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px;
}
.faq-list summary {
  cursor: pointer; font-weight: 600; font-size: 16.5px; color: var(--ink); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 20px; color: var(--brand); font-weight: 400; line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 12px 0 0; font-size: 15px; }

/* ---------- About ---------- */
.about-list { list-style: none; padding: 0; margin: 0; }
.about-list li {
  padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2);
}

/* ---------- CTA ---------- */
.cta-section { background: var(--dark-surface); color: #fff; text-align: center; }
.cta-section h2 { color: #fff; }
.cta-section p { color: #cdd2dc; }
.cta-section .section-tag { color: #9db4f0; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 24px 0 28px; }
.contact-list {
  list-style: none; padding: 0; margin: 0 auto 16px; display: flex; gap: 28px;
  flex-wrap: wrap; justify-content: center; font-size: 14.5px; color: #e4e7ec;
}
.contact-list span { color: #98a2b3; margin-right: 8px; }

/* FAQ 底部联系方式块（替代原来的邮件入口，统一引导到微信） */
.contact-block {
  margin-top: 34px; padding: 26px 28px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--line);
}
.contact-block h3 { margin: 0 0 8px; font-size: 18px; color: var(--ink); }
.contact-block > p { margin: 0 0 16px; color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }
.contact-block .contact-list { justify-content: flex-start; margin: 0 0 4px; color: var(--ink); gap: 20px; }
.contact-block .contact-list span { color: var(--ink-4); }
.contact-block .about-actions { margin-top: 20px; }
@media (max-width: 640px) {
  .contact-block { padding: 20px 18px; }
  .contact-block .contact-list { flex-direction: column; gap: 10px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 44px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.footer-desc { font-size: 14px; color: var(--ink-3); margin: 0; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 28px; padding-top: 20px;
}
.footer-bottom p { margin: 0; font-size: 13px; color: var(--ink-3); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute; top: 68px; left: 0; right: 0; background: var(--card);
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 24px 20px; display: none; box-shadow: 0 12px 24px rgba(16,24,40,.06);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .primary-nav a.btn { margin-top: 14px; border-bottom: none; justify-content: center; }

  .hero { padding: 48px 0 44px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 18px; padding: 28px 24px; }
  .section { padding: 56px 0; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .case-notes { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  h1 { font-size: 28px; }
  .hero-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 24px; }
  .contact-list { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ==========================================================================
   资讯站扩展：导航搜索 / 面包屑 / 文章列表与详情 / 侧栏 / 分页 / 标签
   ========================================================================== */

/* ---------- 导航补充 ---------- */
.primary-nav a.is-current { color: var(--brand); font-weight: 600; }
.nav-search { display: flex; align-items: center; }
.nav-search input {
  width: 168px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: var(--bg-soft);
  transition: .18s ease;
}
.nav-search input:focus { outline: none; border-color: var(--brand); background: var(--card); box-shadow: 0 0 0 3px rgba(31,78,216,.1); }

/* ---------- 面包屑 ---------- */
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.breadcrumb .wrap { padding-top: 12px; padding-bottom: 12px; font-size: 13px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: var(--line); }
.breadcrumb span[aria-current] { color: var(--ink-3); }

/* ---------- 页头 ---------- */
.page-head { padding: 52px 0 28px; }
.page-head h1 { margin-bottom: 10px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head h2 { margin-bottom: 6px; }

/* ---------- 版面：主体 + 侧栏 ---------- */
.layout-with-side { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; align-items: start; padding-top: 8px; padding-bottom: 72px; }
.main-col { min-width: 0; }

.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 88px; }
.side-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-title { font-size: 14px; font-weight: 600; color: var(--ink); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.side-cats { list-style: none; padding: 0; margin: 0; }
.side-cats li + li { margin-top: 2px; }
.side-cats a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; color: var(--ink-2); font-size: 14.5px; }
.side-cats a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.side-cats a span { font-size: 12px; color: var(--ink-3); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 20px; font-size: 13px; color: var(--ink-2); }
.tag-cloud a:hover { border-color: #c7d2fe; color: var(--brand); background: var(--brand-soft); }
.tag-cloud a i { font-style: normal; font-size: 11px; color: var(--ink-3); }
.side-hot { list-style: none; padding: 0; margin: 0; counter-reset: hot; }
.side-hot li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.side-hot li:last-child { border-bottom: none; }
.side-hot a { color: var(--ink-2); }
.side-hot a:hover { color: var(--brand); }
.side-hot span { font-size: 12px; color: var(--ink-3); flex: 0 0 auto; }
.side-cta { background: var(--brand-soft); border-color: #c7d2fe; }
.side-cta p { font-size: 13.5px; margin-bottom: 14px; }
.btn-block { width: 100%; }

/* ---------- 文章卡片 ---------- */
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.post-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .2s ease;
}
.post-card:hover { border-color: #c7d2fe; box-shadow: 0 10px 26px rgba(16,24,40,.06); transform: translateY(-1px); }
.post-card.is-featured { border-color: var(--brand); }
.post-card-body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.post-card-title { font-size: 17.5px; margin: 4px 0 10px; line-height: 1.45; }
.post-card.is-featured .post-card-title { font-size: 20px; }
.post-card-title a { color: var(--ink); }
.post-card-title a:hover { color: var(--brand); }
.post-card-summary { font-size: 14.5px; color: var(--ink-2); margin: 0 0 16px; flex: 1; }
.card-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pin-badge {
  display: inline-block; align-self: flex-start; font-size: 11.5px; font-weight: 600;
  color: var(--brand); background: var(--brand-soft); padding: 2px 9px; border-radius: 20px; margin-bottom: 8px;
}

/* ---------- 列表行 ---------- */
.post-row { display: flex; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.post-row:first-child { padding-top: 4px; }
.post-row-main { flex: 1; min-width: 0; }
.post-row h3 { font-size: 19px; margin: 0 0 8px; line-height: 1.45; }
.post-row h3 a { color: var(--ink); }
.post-row h3 a:hover { color: var(--brand); }
.post-row p { font-size: 14.5px; color: var(--ink-2); margin: 0 0 10px; }
.post-row-thumb { flex: 0 0 168px; border-radius: 10px; overflow: hidden; background: var(--bg-soft); aspect-ratio: 16 / 10; }
.post-row-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.post-meta .dot { color: var(--line); }
.post-meta a { color: var(--ink-3); }
.meta-cat { color: var(--brand) !important; }

/* ---------- 文章详情 ---------- */
.post-full { padding-top: 0; }
.post-head { margin-bottom: 26px; }
.post-cat { display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 4px 12px; border-radius: 20px; margin-bottom: 14px; }
.post-head h1 { margin-bottom: 14px; }
.post-lede { font-size: 17px; color: var(--ink-2); line-height: 1.7; margin: 0 0 18px; }
.post-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 16px; }
.post-byline .dot { color: var(--line); }
.byline-author { font-weight: 600; color: var(--ink); }
.post-cover { margin: 0 0 30px; }
.post-cover img { width: 100%; border-radius: var(--radius); display: block; }
.post-cover figcaption { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 10px; }

.post-body { font-size: 17px; line-height: 1.85; color: var(--ink-2); }
.post-body h2 { font-size: 25px; color: var(--ink); margin: 40px 0 16px; padding-left: 14px; border-left: 4px solid var(--brand); }
.post-body h3 { font-size: 19.5px; color: var(--ink); margin: 30px 0 12px; }
.post-body h4 { font-size: 17px; color: var(--ink); margin: 24px 0 10px; }
.post-body p { margin: 0 0 18px; }
.post-body ul, .post-body ol { padding-left: 24px; margin: 0 0 18px; }
.post-body li { margin-bottom: 8px; }
.post-body blockquote {
  margin: 0 0 20px; padding: 16px 20px; background: var(--brand-soft);
  border-left: 3px solid var(--brand); border-radius: 0 10px 10px 0;
}
.post-body blockquote p { margin: 0; color: var(--ink); }
.post-body img { max-width: 100%; height: auto; border-radius: 10px; display: block; margin: 24px 0; }
.post-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.post-body code { background: var(--bg-soft); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; font-size: .9em; }
.post-body pre { background: var(--dark-surface); color: #e4e7ec; padding: 18px 20px; border-radius: 10px; overflow-x: auto; font-size: 14px; line-height: 1.7; margin: 0 0 20px; }
.post-body pre code { background: none; border: none; padding: 0; color: inherit; }
.post-body table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 15px; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
.post-body th { background: var(--bg-soft); color: var(--ink); font-weight: 600; }
.post-body hr { border: none; border-top: 1px solid var(--line); margin: 34px 0; }
.post-body figure { margin: 0 0 22px; }
.post-body figcaption { font-size: 13.5px; color: var(--ink-3); text-align: center; margin-top: 8px; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.post-tags a { font-size: 13px; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line); padding: 5px 12px; border-radius: 20px; }
.post-tags a:hover { color: var(--brand); border-color: #c7d2fe; background: var(--brand-soft); }

.post-neighbors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.neighbor {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--card); transition: .18s ease;
}
.neighbor:hover { border-color: #c7d2fe; background: var(--brand-soft); }
.neighbor.is-next { text-align: right; }
.neighbor span { font-size: 12.5px; color: var(--ink-3); }
.neighbor strong { font-size: 14.5px; color: var(--ink); font-weight: 600; line-height: 1.5; }
.neighbor.is-empty { border: 1px dashed var(--line); background: none; }

.prose { font-size: 17px; line-height: 1.85; color: var(--ink-2); margin-bottom: 30px; }
.prose p { margin: 0 0 18px; }
.about-list li strong { display: inline-block; min-width: 96px; color: var(--ink); font-weight: 600; }
.about-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- 分页 ---------- */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 40px; }
.page-num, .page-nav, .page-gap {
  min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px;
  color: var(--ink-2); background: var(--card); transition: .16s ease;
}
.page-num:hover, .page-nav:hover { border-color: #c7d2fe; color: var(--brand); background: var(--brand-soft); }
.page-num.is-current { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.page-nav.is-disabled { color: var(--ink-4, #b0b6c0); background: var(--bg-soft); cursor: default; }
.page-gap { border: none; color: var(--ink-3); }

/* ---------- 筛选 chip ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 15px; border-radius: 20px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2); font-size: 14px; transition: .16s ease;
}
.chip:hover { border-color: #c7d2fe; color: var(--brand); background: var(--brand-soft); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip i { font-style: normal; font-size: 11.5px; opacity: .8; }

/* ---------- 搜索 ---------- */
.search-form { display: flex; gap: 12px; max-width: 620px; margin: 8px 0 16px; }
.search-form input { flex: 1; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; }
.search-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,78,216,.1); }
.search-summary { font-size: 14.5px; color: var(--ink-3); }
.empty { text-align: center; color: var(--ink-3); padding: 48px 16px; font-size: 15px; }

/* ---------- 页脚补充 ---------- */
.footer-meta { padding-bottom: 28px; }
.footer-meta p { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 12.5px; color: var(--ink-3); margin: 0; }
.footer-meta a { color: var(--ink-3); }
.footer-meta a:hover { color: var(--brand); }
/* 备案号：小一号、弱化，符合合规展示要求又不抢视觉 */
.footer-beian { margin-top: 8px !important; font-size: 12px; color: var(--ink-3); }
.footer-beian a { color: var(--ink-3); }

/* ---------- 响应式补充 ---------- */
@media (max-width: 980px) {
  .layout-with-side { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sidebar { position: static; }
  .cards-2, .cards-3 { grid-template-columns: 1fr 1fr; }
  .post-body { font-size: 16.5px; }
}

@media (max-width: 760px) {
  .cards-2, .cards-3 { grid-template-columns: 1fr; }
  .post-row { gap: 16px; }
  .post-row-thumb { flex: 0 0 108px; }
  .post-row h3 { font-size: 17px; }
  .post-neighbors { grid-template-columns: 1fr; }
  .neighbor.is-next { text-align: left; }
  .nav-search { display: none; }
  .primary-nav.is-open .nav-search { display: flex; }
  .primary-nav.is-open .nav-search input { width: 100%; padding: 11px 14px; font-size: 16px; }
  .page-head { padding: 34px 0 20px; }
  .post-body h2 { font-size: 21px; }
  .search-form { flex-direction: column; }
  .search-form .btn { width: 100%; }
}

/* ---------- 服务页排版 ---------- */
.page-services .section { padding: 60px 0; }
.svc-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 28px; }
.svc-nav-item {
  display: flex; flex-direction: column; gap: 4px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
  text-decoration: none; transition: .2s ease;
}
.svc-nav-item:hover { border-color: var(--brand); box-shadow: 0 8px 22px rgba(16,24,40,.06); transform: translateY(-1px); }
.svc-nav-tier { font-size: 12px; font-weight: 600; color: var(--brand); letter-spacing: .05em; }
.svc-nav-item strong { color: var(--ink); font-size: 15.5px; }
.svc-nav-price { font-size: 13px; color: var(--ink-3); }
.svc-note {
  background: var(--brand-soft); border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 4px 0 8px;
}
.svc-note strong { display: block; color: var(--brand-dark); font-size: 14.5px; margin-bottom: 6px; }
.svc-note p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.svc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; flex-wrap: wrap; }
.svc-head .section-lede { margin-bottom: 0; }
.svc-price {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; display: flex; flex-direction: column; gap: 3px;
  min-width: 250px; max-width: 300px; flex-shrink: 0;
}
.svc-price-label { font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: .05em; }
.svc-price-num { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.55; }
.svc-price-cycle { font-size: 13px; color: var(--ink-3); }
.svc-cols { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: start; margin-top: 26px; }
.svc-main h3, .svc-side h3 { font-size: 15px; margin: 0 0 12px; color: var(--ink); }
.svc-main h3:not(:first-child), .svc-side h3:not(:first-child) { margin-top: 22px; }
.svc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.svc-list li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.svc-list li::before {
  content: ''; position: absolute; left: 4px; top: .62em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--brand);
}
.muted { color: var(--ink-3); font-size: 13.5px; margin-top: 18px; }
.svc-side { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.svc-side p { margin: 0 0 4px; font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.svc-cta { width: 100%; text-align: center; margin-top: 18px; }
.prose-narrow { max-width: 820px; }
@media (max-width: 880px) {
  .svc-cols { grid-template-columns: 1fr; }
  .svc-price { max-width: none; width: 100%; }
}

/* 首页 hero 单栏适配（移除示例卡后） */
.hero-inner > div:only-child { grid-column: 1 / -1; max-width: 760px; }

/* ==========================================================================
   2026-10-09 优化补丁：SEO 落地页可读性 + 视觉细节 + 无障碍 + 暗色模式
   ========================================================================== */

/* ---------- 1. 全局可读性与无障碍 ---------- */

/* 此前全站没有任何可见焦点样式，纯键盘用户无法判断焦点位置 */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.btn:focus-visible, .chip:focus-visible, .tag-cloud a:focus-visible, .toc-list a:focus-visible { outline-offset: 3px; }

/* 锚点跳转不被吸顶导航遮住（目录、#contact、页内跳转都依赖它） */
[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

/* 中文标题避免尾行孤字 */
h1, h2, h3 { text-wrap: balance; }
.post-body p, .lede, .section-lede, .post-lede, .post-card-summary { text-wrap: pretty; }
.post-body { word-break: break-word; }
.post-body p { hanging-punctuation: allow-end; }
::selection { background: var(--brand-soft); color: var(--brand-dark); }

/* 搜索框补上底色，否则暗色模式下是透明底 */
.search-form input { background: var(--card); color: var(--ink); }

/* ---------- 2. 首页 hero 双栏 + 示意卡 ---------- */
.hero { background: linear-gradient(180deg, var(--hero-from) 0%, var(--hero-to) 100%); }
.hero-inner { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 52px; }
.hero-lead h1 { margin-bottom: 16px; }
.hero-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-2); overflow: hidden; }
.chat-head .dot { background: var(--line-strong); }
.chat-q { margin-bottom: 12px; }
.chat-a { display: flex; flex-direction: column; gap: 10px; }
.chat-a p { margin: 0; font-size: 14.5px; line-height: 1.75; }
.chat-cite { font-size: 12.5px !important; color: var(--ink-3); }
.chat-cite a { color: var(--brand); }
.chat-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.chat-tags li {
  font-size: 12.5px; color: var(--brand-dark); background: var(--brand-soft);
  border: 1px solid var(--brand-line); border-radius: 20px; padding: 4px 11px;
}

/* ---------- 3. 数据条 ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px 24px; }
.stat { text-align: center; position: relative; }
.stat-num {
  display: block; font-size: 27px; font-weight: 700; color: var(--brand);
  line-height: 1.25; font-variant-numeric: tabular-nums;
}
.stat-num.is-small { font-size: 17px; padding-top: 8px; }
.stat-label { font-size: 13px; color: var(--ink-3); }
@media (min-width: 761px) {
  .stat + .stat::before {
    content: ""; position: absolute; left: -10px; top: 50%; transform: translateY(-50%);
    width: 1px; height: 26px; background: var(--line);
  }
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; padding: 24px 18px; }
  .stat-num { font-size: 23px; }
  .stat-num.is-small { font-size: 15px; }
}

/* ---------- 4. 文章目录 ---------- */
.toc-inline {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft);
  padding: 14px 18px; margin: 0 0 26px;
}
.toc-inline summary {
  cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ink); list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.toc-inline summary::-webkit-details-marker { display: none; }
.toc-inline summary::after { content: "▾"; color: var(--brand); }
.toc-inline[open] summary::after { content: "▴"; }
.toc-list { list-style: none; margin: 12px 0 0; padding: 0; }
.toc-list li { margin: 0; }
.toc-list a {
  display: block; padding: 5px 8px 5px 12px; font-size: 14px; color: var(--ink-2);
  border-left: 2px solid var(--line); line-height: 1.6; border-radius: 0 6px 6px 0;
}
.toc-list a:hover { color: var(--brand); border-left-color: var(--brand); background: var(--brand-soft); }
.toc-list .toc-lv3 a { padding-left: 26px; font-size: 13.5px; color: var(--ink-3); }
.side-toc .toc-list { margin-top: 0; max-height: 48vh; overflow: auto; }
.side-toc .toc-list a { font-size: 13.5px; }
.toc-list a.is-active { color: var(--brand); border-left-color: var(--brand); background: var(--brand-soft); font-weight: 600; }
@media (min-width: 981px) { .toc-inline { display: none; } }
@media (max-width: 980px) { .side-toc { display: none; } }

/* ---------- 5. 阅读进度与回到顶部 ---------- */
.reading-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  z-index: 100; pointer-events: none; transition: width .1s linear;
}
.back-to-top {
  position: fixed; right: 22px; bottom: 26px; z-index: 60;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
  box-shadow: var(--shadow-1); cursor: pointer; transition: .18s ease;
}
.back-to-top:hover { color: #fff; background: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.back-to-top[hidden] { display: none; }
@media (max-width: 520px) { .back-to-top { right: 14px; bottom: 16px; width: 40px; height: 40px; } }

/* ---------- 6. 页脚分栏 ---------- */
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.footer-brand-col .footer-desc + .footer-desc { margin-top: 6px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col-title { font-size: 13px; font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.footer-col a { font-size: 14px; color: var(--ink-2); }
.footer-col a:hover { color: var(--brand); }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- 7. 列表项标题层级（h3 → h2，避免跳级）与卡片细节 ---------- */
.post-row h2 { font-size: 19px; margin: 0 0 8px; line-height: 1.45; letter-spacing: -.005em; }
.post-row h2 a { color: var(--ink); }
.post-row h2 a:hover { color: var(--brand); }
.post-card .card-thumb img { transition: transform .35s ease; }
.post-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.post-card:hover .card-thumb img { transform: scale(1.03); }

/* ---------- 8. 暗色模式（跟随系统偏好，不改变默认浅色观感） ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef1f6;
    --ink-2: #b9c0cc;
    --ink-3: #8b93a1;
    --ink-4: #6b7280;
    --line: #2a3040;
    --line-strong: #3a4254;
    --bg: #0f1319;
    --bg-soft: #161b23;
    --card: #161b23;
    --brand: #7b9bff;
    --brand-dark: #a5b8ff;
    --brand-soft: #1b2438;
    --brand-line: #2f3d5e;
    --accent: #4ad3a8;
    --hero-from: #121821;
    --hero-to: #0f1319;
    --shadow-1: 0 10px 26px rgba(0, 0, 0, .40);
    --shadow-2: 0 16px 40px rgba(0, 0, 0, .52);
    --dark-surface: #0b0e13;
  }
  html { color-scheme: dark; }
  .site-header { background: rgba(15, 19, 25, .92); }
  /* 品牌蓝在暗色下变浅，按钮文字需要反过来用深色 */
  .btn, .btn:hover { color: #0f1319; }
  .brand-mark, .btn-light, .chip.is-active, .page-num.is-current { color: #0f1319; }
  .btn-light { background: #eef1f6; border-color: #eef1f6; }
  .btn-ghost { background: transparent; }
  .cta-section p { color: #b9c0cc; }
  .contact-list span { color: #8b93a1; }
}

@media (prefers-reduced-motion: reduce) {
  .post-card:hover .card-thumb img { transform: none; }
  .post-card:hover { transform: none; }
  .back-to-top:hover { transform: none; }
}

/* ---------- 9. 在线咨询（右下角悬浮客服气泡） ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.chat-widget { position: fixed; right: 22px; bottom: 82px; z-index: 70; }
.chat-launcher {
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 20px; border-radius: 26px; cursor: pointer;
  border: 1px solid var(--brand); background: var(--brand); color: #fff;
  font-size: 15px; font-weight: 600; box-shadow: 0 10px 24px rgba(31, 78, 216, .28);
  transition: .18s ease;
}
.chat-launcher:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-2px); }
.chat-launcher-icon { display: block; }
.chat-launcher[hidden] { display: none; }

.chat-panel {
  position: absolute; right: 0; bottom: 0;
  width: min(360px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 120px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-2);
}
.chat-panel[hidden] { display: none; }

.chat-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 14px 16px; background: var(--brand); color: #fff;
}
.chat-head-title { margin: 0; font-weight: 600; color: #fff; font-size: 15px; }
.chat-head-sub { margin: 2px 0 0; font-size: 12px; color: rgba(255, 255, 255, .82); }
.chat-close {
  flex: none; width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 8px; border: 0; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer;
}
.chat-close:hover { background: rgba(255, 255, 255, .28); }

.chat-body { padding: 14px; overflow-y: auto; flex: 1 1 auto; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { display: flex; }
.chat-msg-bot { justify-content: flex-start; }
.chat-msg-user { justify-content: flex-end; }
.chat-bubble {
  max-width: 86%; padding: 10px 13px; border-radius: 12px; font-size: 14px; line-height: 1.65;
  background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); white-space: pre-wrap; word-break: break-word;
}
.chat-msg-user .chat-bubble { background: var(--brand); border-color: var(--brand); color: #fff; }
.chat-msg-system .chat-bubble { background: var(--brand-soft); border-color: var(--brand-line); color: var(--ink-2); }
.chat-vendor-slot:empty { display: none; }

.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 10px; }
.chat-chip {
  border: 1px solid var(--brand-line); background: var(--brand-soft); color: var(--brand);
  border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; transition: .15s ease;
}
.chat-chip:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.chat-wechat { padding: 0 14px 12px; text-align: center; }
.chat-wechat[hidden] { display: none; }
.chat-qr { width: 180px; height: 180px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 6px; }
.chat-wechat-id { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-size: 13px; }
.chat-wechat-id span { color: var(--ink-3); }
.chat-wechat-id code { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; color: var(--ink); }
.chat-copy { border: 1px solid var(--line); background: var(--card); color: var(--ink-2); border-radius: 6px; padding: 2px 8px; font-size: 12px; cursor: pointer; }
.chat-copy:hover { border-color: var(--brand); color: var(--brand); }
.chat-wechat-tip { margin: 8px 0 0; font-size: 12px; color: var(--ink-4); }

.chat-form { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.chat-form[hidden] { display: none; }
.chat-form textarea, .chat-form input {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 10px; padding: 9px 11px;
  font: inherit; font-size: 14px; background: var(--bg); color: var(--ink); resize: vertical;
}
.chat-form textarea:focus, .chat-form input:focus { outline: 2px solid var(--brand-line); border-color: var(--brand); }
.chat-form-row { display: flex; gap: 8px; align-items: center; }
.chat-form-row input { flex: 1 1 auto; }
.chat-send { flex: none; }
.chat-hint { margin: 0; font-size: 12px; color: var(--ink-4); min-height: 1em; }
.chat-hint.is-error { color: #d92d20; }
.chat-hint.is-ok { color: var(--accent); }

/* 首页对比表 + 权威参考链接 */
.table-scroll { overflow-x: auto; margin: 18px 0 26px; border: 1px solid var(--line); border-radius: 12px; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; background: var(--card); }
.cmp-table th, .cmp-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.6; }
.cmp-table thead th { background: var(--bg-soft); font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table tbody td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.ref-links { border-top: 1px dashed var(--line); padding-top: 18px; }
.ref-links h3 { margin: 0 0 10px; font-size: 16px; }
.ref-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ref-links li { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.ref-links a { color: var(--brand); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--brand-line); }
.ref-links a:hover { border-bottom-color: var(--brand); }

/* 迷你输入框（对话阶段，单行） */
.chat-form-mini { padding: 0 14px 12px; }
.chat-form-mini[hidden] { display: none; }
.chat-form-mini input { border-radius: 999px; }

/* 留资表单（命中需求后才展开） */
.chat-lead { padding: 0 14px 12px; border-top: 1px dashed var(--line); margin-top: 2px; padding-top: 12px; }
.chat-lead[hidden] { display: none; }
.chat-lead-tip {
  margin: 0 0 10px; font-size: 13px; line-height: 1.6; color: var(--ink-2);
  background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: 10px; padding: 9px 11px;
}
.chat-lead .chat-form { padding: 0; }
.chat-lead .chat-form textarea { min-height: 62px; }

/* 「正在输入」气泡 */
.chat-typing .chat-bubble { display: inline-flex; gap: 4px; align-items: center; padding: 12px 14px; }
.chat-typing .chat-bubble i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); display: inline-block;
  animation: chatDot 1.2s infinite ease-in-out both;
}
.chat-typing .chat-bubble i:nth-child(1) { animation-delay: -.24s; }
.chat-typing .chat-bubble i:nth-child(2) { animation-delay: -.12s; }
@keyframes chatDot {
  0%, 80%, 100% { transform: scale(.6); opacity: .5; }
  40% { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-typing .chat-bubble i { animation: none; }
}

.chat-actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 14px 14px; }
.chat-action {
  flex: 1 1 auto; text-align: center; border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
  border-radius: 10px; padding: 8px 10px; font-size: 13px; cursor: pointer; text-decoration: none;
}
.chat-action:hover { border-color: var(--brand); color: var(--brand); }

@media (max-width: 520px) {
  .chat-widget { right: 14px; bottom: 70px; }
  .chat-launcher { height: 48px; padding: 0 16px; }
  .chat-panel { max-height: calc(100vh - 110px); }
}

@media (prefers-color-scheme: dark) {
  .chat-launcher { color: #0f1319; }
  .chat-head { color: #0f1319; }
  .chat-head-title { color: #0f1319; }
  .chat-head-sub { color: rgba(15, 19, 25, .72); }
  .chat-close { color: #0f1319; }
  .chat-msg-user .chat-bubble { color: #0f1319; }
  .chat-chip:hover { color: #0f1319; }
}


/* ==========================================================================
   首页「服务内容」板块（数据与 /services 同源）
   注：配色一律使用站点既有 token（--brand / --accent / --ink / --card ...），
   不引入任何独立色阶，保持与原站视觉一致。
   ========================================================================== */

.svc-home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.svc-home-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 24px; overflow: hidden; transition: .22s ease;
}
/* 顶边渐变描线：hover 时点亮 */
.svc-home-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
  transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.svc-home-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.svc-home-card:hover::before { transform: scaleX(1); }

.svc-home-tier {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: var(--brand); background: var(--brand-soft);
  border: 1px solid var(--brand-line); border-radius: 999px;
  padding: 4px 11px; margin-bottom: 14px;
}
.svc-home-card h3 { font-size: 20px; margin: 0 0 10px; color: var(--ink); }
.svc-home-card > p { font-size: 14.5px; color: var(--ink-2); line-height: 1.75; margin: 0 0 16px; }

.svc-home-list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 9px; }
.svc-home-list li { position: relative; padding-left: 22px; font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.svc-home-list li::before {
  content: ""; position: absolute; left: 3px; top: .62em;
  width: 7px; height: 7px; border-radius: 2px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.svc-home-foot {
  margin: auto 0 0; padding-top: 16px; border-top: 1px dashed var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.svc-home-price { font-size: 15px; font-weight: 700; color: var(--ink); }
.svc-home-cycle { font-size: 13px; color: var(--ink-3); }
.svc-home-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* 三阶段能力矩阵条 */
.svc-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 34px; }
.svc-flow-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 18px;
}
.svc-flow-num {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
  background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff;
}
.svc-flow-item strong { display: block; font-size: 15px; color: var(--ink); }
.svc-flow-item span { font-size: 13px; color: var(--ink-3); }

@media (max-width: 980px) {
  .svc-home-grid { grid-template-columns: 1fr 1fr; }
  .svc-flow { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .svc-home-grid { grid-template-columns: 1fr; }
  .svc-home-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-home-card:hover { transform: none; }
}
