/* ============================================================
   麟编码工作室官网全站样式（移动优先，单文件，无外部依赖）
   品牌色取自正式 Logo 色板：深蓝墨 #1B2838/#2D4059 + 金 #C9A94E + 科技蓝 #2F6FDB
   改品牌主色只需改 :root 的 --brand / --gold / --tech 三行（doc/01 §8-6）
   断点：640 / 960 / 1200（导航折行阈值，main.js 同步）/ 1200；字体用系统中文字体栈，不引境外 CDN
   ============================================================ */

:root {
  /* 品牌色 */
  --brand: #1B2838;
  --brand-2: #2D4059;
  --tech: #2f6fdb;
  --tech-dark: #1e56b8;
  --gold: #C9A94E;
  --gold-2: #D8BA6E;
  --orange: #D4783C;

  /* 中性色 */
  --ink: #121a28;
  --ink-2: #3b4657;
  --muted: #5b6575;
  --line: #e6e9f0;
  --line-2: #d5dbe6;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-brand: #eef3fb;
  --ok: #1a7f5c;
  --warn: #7a5310;
  --warn-bg: #fdf6e6;
  --danger: #b42318;
  --danger-bg: #fef3f2;

  /* 圆角 / 间距 / 字号 */
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --space-1: 6px;
  --space-2: 12px;
  --space-3: 20px;
  --space-4: 32px;
  --space-5: 56px;
  --space-6: 88px;
  --fs-body: 16px;
  --fs-sm: 14px;
  --fs-h1: clamp(28px, 4.4vw, 42px);
  --fs-h2: clamp(22px, 2.8vw, 30px);
  --fs-h3: 19px;
  --fs-lead: clamp(16px, 1.6vw, 18.5px);

  /* 阴影：三级层次，避免全站一个味 */
  --shadow-1: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-2: 0 2px 4px rgba(16, 24, 40, .04), 0 12px 28px -16px rgba(16, 24, 40, .18);
  --shadow-3: 0 4px 8px rgba(16, 24, 40, .05), 0 22px 44px -18px rgba(16, 24, 40, .24);
  --shadow-brand: 0 10px 30px -12px rgba(31, 89, 189, .45);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--tech); text-decoration: none; transition: color .16s ease; }
a:hover { color: var(--tech-dark); }

h1, h2, h3, h4 { line-height: 1.28; margin: 0 0 var(--space-2); color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: 16.5px; }
p { margin: 0 0 var(--space-2); }
ul, ol { margin: 0 0 var(--space-2); padding-left: 1.35em; }
li { margin-bottom: var(--space-1); }
li::marker { color: var(--gold); }
code { font-family: var(--mono); font-size: .9em; background: var(--bg-soft); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: var(--brand); }
strong { color: var(--ink); font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-4) 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--space-3); }
@media (min-width: 960px) { .wrap { padding: 0 var(--space-4); } }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff;
  padding: 10px 16px; z-index: 60; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 图标 sprite ---------- */
.ic-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 24px; height: 24px; display: block; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius);
  font-size: 15.5px; font-weight: 600; line-height: 1.3; border: 1px solid transparent;
  text-align: center; cursor: pointer; transition: .18s ease; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-2); }
.btn-primary:hover { background: var(--brand-2); color: #fff; box-shadow: var(--shadow-3); }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--line-2); box-shadow: var(--shadow-1); }
.btn-ghost:hover { background: var(--bg-brand); border-color: var(--tech); color: var(--brand); }
.btn-lg { padding: 15px 28px; font-size: 16.5px; }
.btn-note { display: block; margin-top: var(--space-1); font-size: var(--fs-sm); color: var(--muted); line-height: 1.7; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.6) blur(12px);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 22px -14px rgba(16, 24, 40, .3); }
.header-inner { display: flex; align-items: center; gap: var(--space-2); min-height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); flex: none; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; border-radius: 11px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 18px; letter-spacing: .06em; color: var(--brand); }
.brand-text em { font-style: normal; font-size: 11.5px; color: var(--muted); letter-spacing: .04em; margin-top: 2px; }

.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 14px; border: 1px solid var(--line-2); background: #fff;
  border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 600; color: var(--brand); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; display: block; width: 15px; height: 2px; border-radius: 2px; background: var(--brand); position: absolute;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { top: -5px; left: 0; }
.nav-toggle-bars::after { top: 5px; left: 0; }
.site-nav { display: none; }
.header-actions { display: none; }

.site-nav a {
  display: block; padding: 12px 12px; border-radius: 10px; color: var(--ink-2);
  font-size: 15px; font-weight: 500;
}
.site-nav a:hover { background: var(--bg-soft); color: var(--tech); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--tech); font-weight: 700; background: var(--bg-brand); }

/* 窄屏导航面板：仅汉堡模式（<1200）下生效，规则排在通用 .site-nav a 之后才能盖掉圆角 */
@media (max-width: 1199px) {
  .site-nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 1px); display: none; background: #fff;
    border-bottom: 1px solid var(--line); padding: var(--space-2) var(--space-3) var(--space-3);
    box-shadow: var(--shadow-3); max-height: calc(100vh - 74px); overflow-y: auto;
  }
  body.nav-open .site-nav { display: block; }
  .site-nav a { border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a:last-child { border-bottom: 0; }
}

@media (min-width: 1200px) {
  .header-inner { gap: var(--space-3); }
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
  .site-nav a { position: relative; padding: 8px 11px; font-size: 14.5px; white-space: nowrap; }
  .site-nav a:hover, .site-nav a[aria-current="page"] { background: none; color: var(--tech); }
  .site-nav a::after {
    content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px;
    background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
  }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav a[aria-current="page"] { font-weight: 700; }
  .header-actions { display: flex; gap: 8px; margin-left: var(--space-2); flex: none; }
  .btn-cta { padding: 9px 16px; font-size: 14.5px; border-radius: 10px; }
}

/* ---------- 首屏（深色品牌面板，全站视觉锚点） ---------- */
.page-head {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(155deg, #14202f 0%, var(--brand) 42%, var(--brand-2) 100%);
  padding: var(--space-5) 0 var(--space-5);
}
.page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 90% at 80% 0%, #000 20%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 80% 0%, #000 20%, transparent 72%);
}
.page-head::after {
  content: ""; position: absolute; right: -140px; top: -160px; width: 520px; height: 520px; pointer-events: none;
  background: radial-gradient(circle, rgba(201, 169, 78, .3) 0%, rgba(47, 111, 219, .16) 42%, transparent 68%);
  filter: blur(6px);
}
.page-head > .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #fff; max-width: 21em; margin-bottom: var(--space-3); }
.page-head .lead { color: rgba(255, 255, 255, .8); max-width: 46em; }
.page-head .lead a, .page-head p a { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.page-head .lead a:hover { color: var(--gold-2); }
.page-head .btn-note { color: rgba(255, 255, 255, .62); }
.page-head .eyebrow { color: var(--gold-2); }
.page-head .eyebrow::before { background: var(--gold); }
.page-head .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .5); }
.page-head .btn-primary:hover { background: var(--gold-2); color: var(--brand); }
.page-head .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .38); box-shadow: none; }
.page-head .btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .7); color: #fff; }
@media (min-width: 960px) { .page-head { padding: 76px 0 84px; } }

/* ---------- 首屏底图与动效（底图由 build.mjs 按 HERO 配置注入，doc/01 §8-13） ----------
   图层从下到上：底图 → 遮罩 → 网格/光晕伪元素 → 流光 → 文字；
   遮罩只在文字区（左侧 0–60%）压深，右侧 60% 以外放到最轻，否则底图会被抹成“只是黑背投”。
   底图上下各多留 10%/12%，给视差与缩放动画留余量，任何滚动位置都不会露缝。 */
.page-head.has-bg { background-color: #0e1723; }
.head-bg {
  position: absolute; top: -10%; left: 0; width: 100%; height: 120%;
  object-fit: cover; object-position: 70% 50%; opacity: .8; z-index: 0;
  translate: 0 var(--py, 0px); /* 滚动视差由 main.js 写 --py，与下面的 transform 缩放互不干扰 */
  animation: heroDrift 30s ease-in-out infinite alternate;
  will-change: transform;
}
.head-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(10, 17, 26, .95) 0%, rgba(12, 20, 31, .84) 32%, rgba(15, 25, 38, .5) 60%, rgba(18, 28, 42, .26) 86%, rgba(20, 30, 45, .18) 100%),
    linear-gradient(0deg, rgba(10, 17, 26, .62), rgba(10, 17, 26, 0) 46%);
}
.page-head.has-bg::before, .page-head.has-bg::after { z-index: 2; }
.page-head.has-bg > .wrap { z-index: 4; }
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.6%, -1%, 0); }
}

/* 首屏内容逐行进场：先标题再按钮，避开“整块突然浮现”的死板感 */
.page-head .eyebrow, .page-head h1, .page-head .lead, .page-head .head-actions,
.page-head > .wrap > p, .page-head .head-points {
  animation: riseIn .68s cubic-bezier(.22, .61, .36, 1) both;
}
.page-head h1 { animation-delay: .07s; }
.page-head .lead { animation-delay: .15s; }
.page-head .head-actions { animation-delay: .23s; }
.page-head > .wrap > p { animation-delay: .3s; }
.page-head .head-points { animation-delay: .36s; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* 右上虚线流光：只在 ≥1440 的宽屏摆（实测 1280 下流光墨迹左缘 914px，platform 的长标题右缘 1028px 会压字；
   1440 下收窄到 300px + 标题 max-width 21em 后净空 86px）。窄屏不摆，不挤占文字空间 */
.head-flow { position: absolute; right: 2%; top: 12%; width: min(300px, 24vw); z-index: 3; opacity: .8; pointer-events: none; }
.head-flow .fl { stroke: rgba(201, 169, 78, .6); stroke-width: 1.6; stroke-dasharray: 5 11; animation: flowDash 4.2s linear infinite; }
.head-flow .fl-2 { stroke: rgba(126, 173, 255, .55); animation-duration: 5.6s; }
.head-flow .fl-3 { stroke: rgba(126, 173, 255, .38); animation-duration: 7s; }
.head-flow .nd circle { fill: #D8BA6E; animation: nodePulse 3.4s ease-in-out infinite; }
.head-flow .nd circle:nth-child(2) { animation-delay: .5s; fill: #8fbcff; }
.head-flow .nd circle:nth-child(3) { animation-delay: 1.1s; fill: #8fbcff; }
.head-flow .nd circle:nth-child(4) { animation-delay: 1.7s; }
.head-flow .nd circle:nth-child(5) { animation-delay: 2.3s; fill: #8fbcff; }
@keyframes flowDash { to { stroke-dashoffset: -160; } }
@keyframes nodePulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@media (max-width: 1439px) { .head-flow { display: none; } }
@media (min-width: 960px) { .page-head.has-bg { padding: 84px 0 92px; } }
/* 窄屏首屏不能超出一屏（实测 375×812 下原本 832px，产品入口被推到第二屏）：
   收紧上下内边距、要点行与 lead 字号，不动内容本身 */
@media (max-width: 959px) {
  .page-head, .page-head.has-bg { padding: 40px 0 44px; }
  .page-head .lead { font-size: 16.2px; }
  .head-actions .btn { padding: 11px 18px; font-size: 15px; }
  .head-points { margin-top: var(--space-3); gap: 8px; }
  .head-points li { padding: 10px 14px 10px 36px; font-size: 14.5px; line-height: 1.55; }
  .head-points li::before { top: 9px; left: 12px; }
  /* 窄屏文字几乎横到遮罩最轻的一端（实测 platform 页 btn-note 只有 3.36:1），
     所以右半遮罩不能沿用桌面的渐隐量，head-points 也从提亮底改为压暗底衬 */
  .head-veil {
    background:
      linear-gradient(100deg, rgba(10, 17, 26, .95) 0%, rgba(12, 20, 31, .9) 34%, rgba(15, 25, 38, .74) 68%, rgba(18, 28, 42, .58) 100%),
      linear-gradient(0deg, rgba(10, 17, 26, .62), rgba(10, 17, 26, 0) 46%);
  }
  .page-head .head-points li { background: rgba(6, 12, 20, .44); border-color: rgba(255, 255, 255, .18); }
  .page-head .btn-note { color: rgba(255, 255, 255, .82); }
}

/* 滚动进场：main.js 只在支持 IntersectionObserver 且未开启减弱动效时才加 .rv，
   所以禁用 JS / 老浏览器 / 偏好减弱动效的访客看到的都是完整内容。 */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .5s ease var(--rd, 0s), transform .55s cubic-bezier(.22, .61, .36, 1) var(--rd, 0s); }
.rv.rv-in { opacity: 1; transform: none; }

/* 主按钮扫光（hover 一下有反馈，不靠弹窗刷存在感） */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: -20%; left: -70%; width: 42%; height: 140%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-14deg); transition: left .55s ease; pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }
/* 首屏/体验区/页脚的主按钮是白底，白扫光看不出来，改成深蓝墨阴影扫过 */
.page-head .btn-primary::after, .trial-band .btn-primary::after, .footer-cta .btn-primary::after {
  background: linear-gradient(100deg, transparent, rgba(27, 40, 56, .26), transparent);
}

.lead { font-size: var(--fs-lead); color: var(--ink-2); }
.head-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.head-points { display: grid; gap: 10px; margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.head-points li {
  position: relative; padding: 13px 16px 13px 40px; margin: 0; border-radius: var(--radius);
  /* 底行用压暗而不是提亮：白字背在 rgba(255,255,255,.07) 上时，右列正好压到底图亮部会掉到 4.2:1 */
  background: rgba(8, 14, 24, .34); border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .92); font-size: 15px; line-height: 1.6; backdrop-filter: blur(2px);
}
.head-points li::before {
  content: "✓"; position: absolute; left: 14px; top: 11px; width: 19px; height: 19px;
  display: grid; place-items: center; border-radius: 50%; background: rgba(201, 169, 78, .22);
  color: var(--gold-2); font-size: 12px; font-weight: 700;
}
@media (min-width: 640px) { .head-points { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .head-points { grid-template-columns: repeat(3, 1fr); } }
/* 窄屏收紧首屏节奏，避免 hero 高出一整屏、产品入口被推到 1.6 屏之后 */
@media (max-width: 639px) {
  .page-head, .page-head.has-bg { padding: 28px 0 32px; } /* 与上面 0,2,0 同特异度，靠后生效 */
  .page-head h1 { margin-bottom: var(--space-2); }
  .page-head .lead { font-size: 15px; line-height: 1.7; }
  .head-actions { margin-top: var(--space-2); gap: 8px; }
  .head-actions .btn { flex: 1 1 auto; padding: 11px 18px; font-size: 15px; }
  .head-points { gap: 6px; margin-top: var(--space-3); }
  .head-points li { padding: 8px 10px 8px 32px; font-size: 13.5px; line-height: 1.5; }
  .head-points li::before { left: 11px; top: 8px; }
}

/* ---------- 区块 ---------- */
.section { padding: var(--space-5) 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-brand { background: linear-gradient(180deg, var(--bg-brand), #fff); }
@media (min-width: 960px) { .section { padding: 76px 0; } }
.section-head { max-width: 52em; margin-bottom: var(--space-4); }
.section-head > p:last-child { color: var(--ink-2); margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .12em; color: var(--tech); margin-bottom: var(--space-2);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--gold); }

.grid { display: grid; gap: var(--space-3); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: var(--space-4); } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow-2); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); border-color: rgba(47, 111, 219, .3); }
.card h3 { margin-bottom: 8px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--tech); text-decoration: none; }
.card > p:last-child { margin-bottom: 0; }
/* 行内链接的可点区域：窄屏下“查看…场景方案 →”一类链接只有 17.5–22.5px 高 */
main p a, main li a, main td a, main h3 a, main h4 a { padding: 5px 1px; }
.card .icon {
  width: 46px; height: 46px; margin: 0 0 var(--space-3); border-radius: 13px;
  display: grid; place-items: center; color: var(--tech);
  background: linear-gradient(160deg, var(--bg-brand), #e5edf9); border: 1px solid rgba(47, 111, 219, .16);
}
.card-tag {
  display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--warn);
  background: var(--warn-bg); border-radius: var(--radius-pill); padding: 3px 11px; margin-bottom: var(--space-2);
}

/* ---------- 在线体验区块（深色锚点） ---------- */
.trial-band {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-2) 68%, #34516f 100%);
  border-radius: var(--radius-lg); padding: 34px 26px; box-shadow: var(--shadow-3);
}
.trial-band::after {
  content: ""; position: absolute; right: -80px; bottom: -140px; width: 340px; height: 340px; pointer-events: none;
  background: radial-gradient(circle, rgba(201, 169, 78, .32), transparent 66%);
}
.trial-band > * { position: relative; z-index: 1; }
.trial-band h2 { color: #fff; margin-bottom: var(--space-1); }
.trial-band p { color: rgba(255, 255, 255, .82); }
.trial-band .btn-note { color: rgba(255, 255, 255, .62); }
.trial-band .head-actions { margin: var(--space-3) 0 var(--space-1); }
.trial-band .btn-primary { background: #fff; color: var(--brand); }
.trial-band .btn-primary:hover { background: var(--gold-2); }
.trial-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); box-shadow: none; }
.trial-band .btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .7); color: #fff; }
.trial-band ul { margin: var(--space-2) 0 0; padding-left: 1.2em; font-size: var(--fs-sm); color: rgba(255, 255, 255, .7); }
@media (min-width: 960px) { .trial-band { padding: 42px 40px; } }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-1); }
.table-wrap:focus-visible { outline: 2px solid var(--tech); outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
caption { text-align: left; padding: 14px 18px; color: var(--ink); font-size: 14.5px; font-weight: 700; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
th, td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.65; }
thead th { background: #f2f5fa; font-size: 13.5px; font-weight: 700; color: var(--brand); white-space: nowrap; letter-spacing: .02em; }
tbody tr:nth-child(even) td { background: #fbfcfe; }
tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 600; color: var(--ink); }
/* “标准功能 / 可定制实现”两类标注（td 与行内文本通用） */
.yes { color: var(--ok); font-weight: 700; }
.part { color: var(--warn); font-weight: 700; }
/* 窄屏表格滑动提示：粘在滚动容器左缘，不随表格内容滚走；
   阈值取 681px（table min-width 640 + .wrap 左右内边距 2×20 + 左右边框 2），表格真被裁切时才提示 */
@media (max-width: 681px) {
  .table-wrap::after {
    content: "← 左右滑动查看完整表格 →"; position: sticky; left: var(--space-3);
    display: block; width: max-content; padding: 8px 16px 10px;
    font-size: 12.5px; color: var(--muted); background: #fff;
  }
}

/* ---------- 步骤 ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
.step {
  position: relative; padding: 30px 24px 24px; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-2);
}
.step::before {
  counter-increment: step; content: counter(step); position: absolute; top: -16px; left: 22px;
  width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14.5px;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--gold);
}
.step h3 { margin-top: 0; }
.step .step-meta { font-size: 13px; color: var(--tech); font-weight: 600; margin-bottom: var(--space-2); }
.step > p:last-child { margin-bottom: 0; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
  .step::after {
    content: ""; position: absolute; top: -3px; right: -22px; width: 22px; height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
  }
  .step:last-child::after { display: none; }
}

/* ---------- 截图 / 图注 ---------- */
.shot { margin: 0; }
.shot img { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); box-shadow: var(--shadow-2); }
.shot figcaption { font-size: var(--fs-sm); color: var(--muted); margin-top: 10px; }
.shot-grid { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .shot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0; transition: border-color .18s ease, box-shadow .18s ease; }
.faq details:hover { border-color: var(--line-2); }
.faq details[open] { border-color: rgba(47, 111, 219, .38); box-shadow: var(--shadow-2); }
.faq summary {
  cursor: pointer; padding: 16px 54px 16px 18px; font-weight: 600; position: relative;
  list-style: none; color: var(--ink); font-size: 16px; line-height: 1.5; border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 13px; width: 26px; height: 26px;
  display: grid; place-items: center; border-radius: 50%; background: var(--bg-brand);
  color: var(--tech); font-size: 18px; font-weight: 600; line-height: 1; transition: .18s ease;
}
.faq details[open] summary::after { content: "−"; background: var(--brand); color: #fff; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq-body { padding: 16px 18px 18px; color: var(--ink-2); font-size: 15.5px; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- 留资表单：外层卡片（字段样式见下方 .form 系列） ---------- */
.lead-form { border: 1px solid var(--line); background: var(--bg-soft); border-radius: var(--radius-lg); padding: 26px 24px; container-type: inline-size; }
.lead-form h3 { margin-bottom: var(--space-1); }
.lead-form ul { font-size: var(--fs-sm); color: var(--ink-2); margin-bottom: 0; }

/* ---------- 表单（预约演示 / 试用申请 / 材料索取） ----------
   只有前端：校验与提交逻辑在 main.js（⑧）。接后端时把 <form data-endpoint=""> 填上接口地址即可，
   没填时走 mailto 兜底，保证表单独也能用。 */
.form { display: grid; gap: 14px; margin-top: var(--space-3); }
.form > h3 { margin-bottom: 0; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.65; }
.form-grid { display: grid; gap: 14px; }
/* 两列只在卡片本身就够宽时出现（三处表单都放在窄栏里，按容器宽度判断比按视口准确） */
@container (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; margin: 0; }
.field-full { grid-column: 1 / -1; }
.field > label, .field-label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.req { color: var(--danger); font-weight: 700; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"],
.field select, .field textarea {
  width: 100%; padding: 11px 12px; font: inherit; font-size: 15px; line-height: 1.5; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: 10px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5l5-5' fill='none' stroke='%235b6575' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 12px;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa4b6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #bfc9d8; }
.field input[type="text"]:focus, .field input[type="tel"]:focus, .field input[type="email"]:focus,
.field select:focus, .field textarea:focus {
  outline: none; border-color: var(--tech); box-shadow: 0 0 0 3px rgba(47, 111, 219, .16);
}
.check input:focus-visible, .consent input:focus-visible { outline: 2px solid var(--tech); outline-offset: 2px; }
.field [aria-invalid="true"], .consent input[aria-invalid="true"] {
  border-color: var(--danger); box-shadow: 0 0 0 3px rgba(180, 35, 24, .12);
}
.field-hint { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.field-err { display: block; margin: 0; font-size: 12.5px; font-style: normal; color: var(--danger); line-height: 1.6; }
.field-err[hidden] { display: none; }
.check-grid { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.check-grid li { margin: 0; }
@container (min-width: 560px) { .check-grid-2 { grid-template-columns: 1fr 1fr; } }
.check {
  display: flex; gap: 9px; align-items: flex-start; margin: 0; padding: 9px 11px;
  font-size: 14px; font-weight: 400; line-height: 1.55; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}
.check:hover { border-color: rgba(47, 111, 219, .42); }
.check input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--tech); }
.check:has(input:checked) { border-color: var(--tech); background: var(--bg-brand); }
.consent { display: flex; gap: 9px; align-items: flex-start; margin: 0; font-size: 13px; line-height: 1.65; color: var(--muted); }
.consent input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--tech); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 2px; }
.form-actions .btn { font-family: inherit; }
.form-done { display: none; margin-top: var(--space-3); padding: 18px 18px 16px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--ok); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.form-done.is-on { display: block; }
.form-done h4 { margin: 0 0 6px; font-size: 15.5px; color: var(--ink); }
.form-done p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.form-done p:last-child { margin-bottom: 0; }
.form-done .form-actions { margin: 0; }
.form.is-hidden { display: none; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 提示块 ---------- */
.callout {
  border-left: 3px solid var(--tech); background: var(--bg-brand);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 24px; color: var(--ink-2);
}
.callout h3 { color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }
.callout-warn { border-left-color: var(--gold); background: var(--warn-bg); }
.split { display: grid; gap: var(--space-4); }
@media (min-width: 960px) { .split { grid-template-columns: 1.15fr .85fr; align-items: start; gap: 48px; } }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #0f1722; color: #a7b1c4; padding: 56px 0 30px; font-size: 15px;
  position: relative;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-2), var(--gold) 55%, var(--brand-2));
}
.site-footer a { color: #d3dae8; }
.site-footer a:hover { color: #fff; }
.site-footer h2, .site-footer h3 { color: #fff; }
.footer-cta {
  display: grid; gap: var(--space-3); padding-bottom: var(--space-4); margin-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.footer-cta-text .eyebrow { color: var(--gold-2); }
.footer-cta-text .eyebrow::before { background: var(--gold); }
.footer-cta-text h2 { margin-bottom: 8px; }
.footer-cta p { color: #9aa5bb; margin-bottom: 0; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); align-content: start; }
.footer-cta .btn-primary { background: #fff; color: var(--brand); }
.footer-cta .btn-primary:hover { background: var(--gold-2); }
.footer-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .34); box-shadow: none; }
.footer-cta .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
@media (min-width: 960px) { .footer-cta { grid-template-columns: 1.5fr auto; align-items: center; gap: 48px; } }

.footer-main { display: grid; gap: var(--space-5); }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text em { color: #8f9ab1; }
.footer-brand .brand-mark { border-radius: 12px; background: rgba(255, 255, 255, .06); padding: 3px; }
.contact-list { list-style: none; padding: 0; margin: var(--space-3) 0 0; }
.contact-list li { display: flex; gap: 12px; align-items: baseline; padding: 5px 0; margin: 0; color: #98a2b8; }
.contact-list li > span:first-child { flex: none; width: 34px; font-size: 12.5px; color: #7f8ba3; }
/* 联系信息附注（微信号与电话同号时自动输出一句，页脚/关于/联系页共用） */
.contact-note { color: var(--muted); font-size: .86em; }
.site-footer .contact-note { color: #98a2b8; } /* 深色底上不能用灰蓝，否则对比不足 */
.qr-item { display: flex; align-items: center; gap: 14px; margin: var(--space-3) 0 0; font-size: 13px; color: #8f9ab1; }
.qr-item img { width: 96px; height: 96px; border-radius: 10px; background: #fff; padding: 5px; }
.footer-cols { display: grid; gap: var(--space-4); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col h3 { font-size: 13px; letter-spacing: .12em; color: #7f8ba3; margin-bottom: var(--space-3); font-weight: 700; }
.footer-col a { font-size: 14.5px; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); } }
@media (min-width: 960px) {
  .footer-main { grid-template-columns: 340px 1fr; gap: 64px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09); margin-top: var(--space-5); padding-top: var(--space-3);
  font-size: 13.5px; color: #7f8ba3; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #98a2b8; }
.icp a { color: #7f8ba3; }
.icp a:hover { color: #d3dae8; }

/* ---------- 悬浮入口：白卡片 + 深色图标块，和站内卡片同一套语言 ---------- */
.float-cta {
  position: fixed; right: 16px; bottom: 18px; z-index: 45; display: none;
  align-items: center; gap: 10px; padding: 8px 16px 8px 8px;
  border: 1px solid rgba(27, 40, 56, .1); border-radius: 14px;
  background: #fff; color: var(--ink);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 12px 28px -14px rgba(16, 24, 40, .3);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.float-cta-ic {
  flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand); color: #fff;
  transition: background .18s ease, transform .18s ease;
}
.float-cta-ic .ic { width: 17px; height: 17px; }
.float-cta-tx { display: flex; flex-direction: column; gap: 1px; line-height: 1.32; text-align: left; }
.float-cta-main { font-size: 13.5px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.float-cta-sub { font-size: 11px; color: var(--muted); }
.float-cta:hover, .float-cta:focus-visible {
  color: var(--ink); text-decoration: none; transform: translateY(-2px);
  border-color: rgba(47, 111, 219, .38);
  box-shadow: 0 2px 4px rgba(16, 24, 40, .06), 0 18px 36px -16px rgba(16, 24, 40, .34);
}
.float-cta:hover .float-cta-ic, .float-cta:focus-visible .float-cta-ic { background: var(--tech); transform: translateX(1px); }
.float-cta.is-visible { display: flex; }
@media (min-width: 960px) { .float-cta { right: 28px; bottom: 26px; } }
/* 手机上只留主文案，避免小屏被这块横幅占掉太多可视区域 */
@media (max-width: 480px) {
  .float-cta { padding: 7px 14px 7px 7px; gap: 8px; }
  .float-cta-sub { display: none; }
}

/* ---------- 面包屑 ---------- */
.breadcrumb { font-size: 13.5px; color: var(--muted); padding: var(--space-3) 0 0; }
.breadcrumb .sep { margin: 0 8px; color: var(--line-2); }
.breadcrumb a { color: var(--muted); padding: 4px 2px; }
.breadcrumb a:hover { color: var(--tech); }
.page-head .breadcrumb, .page-head .breadcrumb a { color: rgba(255, 255, 255, .72); }
.page-head .breadcrumb .sep { color: rgba(255, 255, 255, .35); }

/* ---------- 文章页 ---------- */
.article-wrap { max-width: 820px; margin: 0 auto; }
.post { padding: var(--space-4) 0 var(--space-5); }
.post-header {
  position: relative; overflow: hidden; /* 保证长文页与首页首屏同一品牌语言：顶部一条三色渐变线 */
  background: linear-gradient(160deg, #fff, var(--bg-soft)); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 26px 28px; box-shadow: var(--shadow-1);
}
.post-header::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--tech) 46%, var(--gold));
}
.post-header::after {
  content: ""; position: absolute; right: -60px; top: -70px; width: 260px; height: 260px; pointer-events: none;
  background: radial-gradient(circle, rgba(201, 169, 78, .16), transparent 68%);
}
.post-header h1 { margin-top: var(--space-2); font-size: clamp(25px, 3.4vw, 34px); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.post-meta span, .post-cat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 3px 12px; }
.post-summary {
  font-size: 16.5px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin-top: var(--space-3); margin-bottom: 0;
}
.post-body { font-size: 16.8px; line-height: 1.9; color: #2b3444; padding-top: var(--space-3); }
.post-body h2 { margin-top: var(--space-5); padding-bottom: 10px; border-bottom: 1px solid var(--line); position: relative; }
.post-body h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 46px; height: 2px; background: var(--gold); }
.post-body h3 { margin-top: var(--space-4); }
.post-body p { margin-bottom: var(--space-3); }
.post-body ul, .post-body ol { margin-bottom: var(--space-3); }
.post-body li { margin-bottom: 7px; }
.post-body .table-wrap { margin: var(--space-3) 0; }
.post-body blockquote {
  margin: var(--space-3) 0; padding: 18px 22px; background: var(--bg-brand);
  border-left: 3px solid var(--tech); color: var(--ink-2); border-radius: 0 var(--radius) var(--radius) 0; font-size: 16px;
}
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-cta { margin-top: var(--space-5); padding: 26px 24px; background: linear-gradient(150deg, var(--bg-brand), #fff); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.post-cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-2) 0 0; }
.post-cta-note { font-size: var(--fs-sm); color: var(--muted); margin: var(--space-2) 0 0; }
.post-related ul { list-style: none; padding: 0; }
.post-related li { display: flex; justify-content: space-between; gap: var(--space-2); padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.post-related .post-date { color: var(--muted); font-size: var(--fs-sm); white-space: nowrap; }

/* ---------- 知识库列表 ---------- */
.blog-layout { display: grid; gap: var(--space-4); }
@media (min-width: 960px) { .blog-layout { grid-template-columns: 1fr 300px; } }
.post-list { display: grid; gap: var(--space-3); align-content: start; }
.post-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-2); transition: .18s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); border-color: rgba(47, 111, 219, .3); }
.post-card h2 { font-size: 20px; margin-bottom: 8px; }
.post-card h2 a { color: var(--ink); }
.post-card h2 a:hover { color: var(--tech); text-decoration: none; }
.post-card-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.post-card p { color: var(--ink-2); }
.post-card-more { margin-bottom: 0; font-weight: 600; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-3); }
.blog-cats a {
  font-size: 13px; padding: 5px 13px; border: 1px solid var(--line); border-radius: var(--radius-pill);
  color: var(--ink-2); background: #fff;
}
.blog-cats a:hover { border-color: var(--tech); color: var(--tech); text-decoration: none; }
.blog-cats a span { margin-left: 6px; color: var(--muted); }
.blog-side { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; align-self: start; }
.blog-side h2 { font-size: 17px; }
.blog-side ul { list-style: none; padding: 0; margin: 0; }
.blog-side li { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
.blog-side li:last-child { border-bottom: 0; }
.blog-side-note { font-size: 13px; color: var(--muted); margin: var(--space-2) 0 0; }
.empty { color: var(--muted); }

/* ---------- 下载中心 ---------- */
.res-list { display: grid; gap: var(--space-3); }
.res-item { display: grid; gap: var(--space-2); padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-1); }
@media (min-width: 960px) { .res-item { grid-template-columns: 1fr 240px; align-items: center; gap: var(--space-4); } }
.res-item h3 { margin-bottom: 4px; }
.res-item p { color: var(--ink-2); margin-bottom: 0; font-size: 15px; }
.res-status { font-size: 13px; color: var(--muted); }
.res-side { text-align: left; }
@media (min-width: 960px) { .res-side { text-align: right; } }

/* ---------- 缺项占位标记（仅当联系方式未配置时由构建输出，正常不出现） ---------- */
.todo {
  display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--warn-bg);
  border: 1px solid rgba(122, 83, 16, .26); color: var(--warn); font-size: .86em; font-weight: 600; white-space: nowrap;
}

/* ---------- 微交互（悬停 / 展开 / 悬浮入口呼吸） ---------- */
.card .icon, .step, .res-item, .trial-band::after { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover .icon { transform: translateY(-2px) scale(1.06); }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.res-item:hover { border-color: rgba(47, 111, 219, .3); box-shadow: var(--shadow-2); }
tbody tr:hover td { background: #f4f8fe; }
.faq details[open] .faq-body { animation: faqIn .3s ease both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.trial-band::after { animation: glowFloat 16s ease-in-out infinite alternate; }
@keyframes glowFloat { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-26px, -22px, 0) scale(1.12); } }
/* 悬浮入口不再用外发光：白卡 + 阴影已足够，避免与 hover 阴影抢层级 */

/* ---------- 产品流程链路图（LIMS / ERP / 平台共用） ---------- */
.flowmap {
  position: relative; margin-top: var(--space-4); padding: 28px 22px 24px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, var(--bg-soft)); box-shadow: var(--shadow-2);
}
.flowmap-steps { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); margin: 0; padding: 0; list-style: none; counter-reset: fm; }
/* 宽屏时把节点串成一条“线路”，比一排卡片更像流程图 */
.flowmap-steps::before {
  content: ""; display: none; position: absolute; left: 9%; right: 9%; top: 23px; height: 2px;
  background: linear-gradient(90deg, rgba(201, 169, 78, .12), var(--gold), rgba(201, 169, 78, .12));
}
.fm { position: relative; margin: 0; padding: 0 6px; text-align: center; }
.fm::after {
  counter-increment: fm; content: counter(fm, decimal-leading-zero); position: absolute; top: -6px; right: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; color: rgba(27, 40, 56, .18);
}
.fm-icon {
  position: relative; z-index: 1; width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 50%;
  display: grid; place-items: center; color: var(--tech); background: #fff;
  border: 2px solid var(--gold); box-shadow: 0 0 0 5px #fff, var(--shadow-1);
}
.fm-icon .ic { width: 22px; height: 22px; }
.fm b { display: block; font-size: 15px; color: var(--ink); line-height: 1.5; margin-bottom: 2px; }
.fm span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.flowmap-note { margin: var(--space-3) 0 0; font-size: var(--fs-sm); color: var(--muted); text-align: center; }
@media (min-width: 960px) {
  .flowmap { padding: 30px 28px 26px; }
  .flowmap-steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-3) var(--space-4); }
}
@media (min-width: 1200px) {
  .flowmap-steps { grid-template-columns: repeat(6, 1fr); gap: 0; }
  .flowmap-steps::before { display: block; }
  .fm { padding: 0 8px; }
  .fm::after { right: 10px; }
}

/* ---------- 产品线入口（平台页：同一底座做出两套产品） ---------- */
.prod-line { display: grid; gap: 12px; margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.prod-line li {
  display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 14px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.prod-line li:hover { transform: translateY(-2px); border-color: rgba(47, 111, 219, .3); box-shadow: var(--shadow-2); }
.prod-line .pl-icon {
  flex: none; width: 40px; height: 40px; margin: 0; border-radius: 11px; display: grid; place-items: center;
  color: var(--tech); background: var(--bg-brand); border: 1px solid rgba(47, 111, 219, .16);
}
.prod-line .pl-icon .ic { width: 21px; height: 21px; }
.prod-line b { display: block; font-size: 15.5px; color: var(--ink); }
.prod-line b a { color: var(--ink); }
.prod-line b a:hover { color: var(--tech); }
.prod-line span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ---------- 打印（自查表等） ---------- */
@media print {
  .site-header, .site-footer, .float-cta, .post-cta, .breadcrumb, .head-actions { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .page-head { background: none; color: #000; padding: 0 0 12pt; }
  .head-bg, .head-veil, .head-flow { display: none !important; }
  .rv { opacity: 1 !important; transform: none !important; }
  .page-head h1, .page-head .lead { color: #000; }
  .card, .step, .post-card { box-shadow: none; break-inside: avoid; }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  /* 底图不再呼吸/视差，直接停在构图较好的中间帧 */
  .head-bg { animation: none; transform: scale(1.04); translate: none; }
  .page-head .eyebrow, .page-head h1, .page-head .lead, .page-head .head-actions,
  .page-head > .wrap > p, .page-head .head-points { animation: none; }
  .rv { opacity: 1; transform: none; }
}
