/* =============================================================
   通化未来方案科技有限公司 · 官网 v4
   语言：技术白皮书 / 仪器界面
   颜色：冷白底 #F6F7F8 + 墨 #0B1520 + 天蓝 #2F8CFF（强调）
        浅青 #9FE6F0（仅填充）+ 深面板 #0A1219（锚点）
   字体：思源黑体（本站子集，自托管）+ JetBrains Mono
   ============================================================= */

/* 字体由 fonts.css 提供（自托管子集，见 assets/fonts/）
   中文：思源黑体 Noto Sans SC（400–600 可变字重）
   等宽：JetBrains Mono（仅拉丁/数字） */

:root {
  --bg: #f6f7f8;
  --ink: #0b1520;
  --muted: rgba(11, 21, 32, .56);
  --faint: rgba(11, 21, 32, .34);
  --line: rgba(11, 21, 32, .10);
  --line-2: rgba(11, 21, 32, .16);
  --accent: #2f8cff;
  --accent-ink: #1c6fd4;
  --tint: #9fe6f0;
  --panel: #0a1219;
  --panel-line: rgba(255, 255, 255, .12);
  --font: "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", -apple-system,
          "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Noto Sans SC", ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --maxw: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

/* 细网格：技术图纸感（不用光晕） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(11, 21, 32, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 21, 32, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(1300px 900px at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(1300px 900px at 50% 0%, #000 30%, transparent 80%);
}

h1, h2, h3 { margin: 0; font-weight: 600; color: var(--ink); letter-spacing: 0; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { width: min(var(--maxw), calc(100% - 64px)); margin-inline: auto; }
.mono, .chip, .num, .sec-no, .sec-note, .topline, .readouts, .panel-bar, .chart-tick, .footer-col .mono {
  font-family: var(--mono);
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------------- 顶部细条 ---------------- */
.topline { border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--faint); letter-spacing: .05em; }
.topline-inner { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 34px; flex-wrap: wrap; }

/* ---------------- 页头 ---------------- */
.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 247, 248, .84);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.site.is-scrolled { box-shadow: 0 10px 26px -26px rgba(11, 21, 32, .8); }

.brand { display: flex; align-items: center; gap: 11px; }
/* 品牌标：assets/logo.svg（定稿「对称山 + 右内线」，见品牌规格） */
.mark {
  width: 26px; height: 26px;
  border-radius: 6px;
  display: block;
  flex: none;
}
.mark-sm { width: 22px; height: 22px; border-radius: 5px; margin-bottom: 14px; }

/* 语言切换：分段胶囊（中 / РУ / EN） */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
}
.lang-btn {
  border: 0;
  background: transparent;
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--muted);
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .18s, background .18s, box-shadow .18s;
  line-height: 1.2;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(11, 21, 32, .12);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text b { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.brand-text span { font-family: var(--mono); font-size: 9.5px; color: var(--faint); letter-spacing: .14em; margin-top: 2px; }

nav { display: flex; gap: 2px; }
nav a { font-size: 13.5px; color: var(--muted); padding: 7px 12px; border-radius: 6px; transition: color .18s, background .18s; }
nav a:hover { color: var(--ink); background: rgba(11, 21, 32, .05); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px;
  font-size: 13.5px; font-family: inherit; letter-spacing: .01em;
  border-radius: 6px; border: 1px solid transparent;
  cursor: pointer; transition: background .18s, border-color .18s, color .18s;
}
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: #17293b; }
.btn-line { border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.nav-toggle { display: none; }

/* ---------------- 首屏 ---------------- */
.hero { padding: 78px 0 64px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; }
.eyebrow {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .09em; color: var(--accent-ink);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; flex: none; }

h1 {
  margin-top: 24px;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.18;
  letter-spacing: .01em;
  text-wrap: balance;
}
h1 em { font-style: normal; color: var(--accent-ink); }
.lead { margin-top: 24px; max-width: 33em; font-size: 15px; line-height: 1.95; color: var(--muted); }
.actions { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }

.specs { margin-top: 42px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.specs div { padding: 16px 18px 2px 0; border-right: 1px solid var(--line); }
.specs div:last-child { border-right: 0; padding-right: 0; }
.specs b { display: block; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .04em; color: var(--ink); }
.specs span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--faint); line-height: 1.7; }

/* 深色仪器面板：全页唯一的"重量" */
.panel {
  background: var(--panel);
  border-radius: 12px;
  color: #e8eef4;
  overflow: hidden;
  box-shadow: 0 40px 80px -60px rgba(11, 21, 32, .9);
}
.panel-bar {
  display: flex; align-items: center; gap: 12px;
  height: 42px; padding: 0 16px;
  border-bottom: 1px solid var(--panel-line);
  font-size: 10.5px; color: rgba(255, 255, 255, .44); letter-spacing: .07em;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(47, 140, 255, .16); display: block; flex: none; }
.state { margin-left: auto; color: var(--tint); display: flex; align-items: center; gap: 7px; }
.panel-body { padding: 16px 16px 8px; }
.chart { width: 100%; height: auto; }
.chart-grid line { stroke: rgba(255, 255, 255, .07); }
.chart-area { fill: url(#g1); }
.chart-line { fill: none; stroke: var(--tint); stroke-width: 1.8; }
.chart-cond { stroke: rgba(255, 255, 255, .18); stroke-dasharray: 4 4; }
.chart-tick { font-size: 9.5px; fill: rgba(255, 255, 255, .36); letter-spacing: .06em; }
.readouts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--panel-line); }
.readouts div { padding: 13px 16px; border-right: 1px solid var(--panel-line); }
.readouts div:last-child { border-right: 0; }
.readouts dt { font-size: 10px; letter-spacing: .08em; color: rgba(255, 255, 255, .38); }
.readouts dd { margin: 5px 0 0; font-size: 14px; color: #fff; font-variant-numeric: tabular-nums; }
.panel-foot { display: flex; gap: 16px; padding: 0 16px 13px; font-family: var(--mono); font-size: 10.5px; color: rgba(255, 255, 255, .38); }
.hero-figure figcaption { margin-top: 12px; font-family: var(--mono); font-size: 10.5px; color: var(--faint); text-align: right; letter-spacing: .03em; }

/* ---------------- 事实条 ---------------- */
.facts { border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid div { padding: 22px 20px 22px 0; border-right: 1px solid var(--line); }
.facts-grid div:last-child { border-right: 0; padding-right: 0; }
.facts-grid b { display: block; font-family: var(--mono); font-size: 13.5px; font-weight: 400; letter-spacing: .02em; color: var(--ink); }
.facts-grid span { display: block; margin-top: 5px; font-size: 12px; color: var(--faint); line-height: 1.6; }

/* ---------------- 段落骨架 ---------------- */
.section { padding: 88px 0; }
.section-rule { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .5); }
.sec-head {
  display: flex; align-items: baseline; gap: 20px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line-2);
}
.sec-no { font-size: 11.5px; color: var(--accent-ink); letter-spacing: .08em; flex: none; }
.sec-head h2 { font-size: clamp(23px, 2.3vw, 31px); line-height: 1.4; text-wrap: balance; }
.sec-note { margin-left: auto; font-size: 11px; color: var(--faint); letter-spacing: .05em; flex: none; }
.sec-lead { margin-top: 22px; max-width: 62em; font-size: 14.5px; line-height: 1.95; color: var(--muted); }
.lead-tight { margin-top: 18px; }

/* ---------------- 三栏 ---------------- */
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.col { padding: 26px 28px 26px 0; border-right: 1px solid var(--line); }
.col:last-child { border-right: 0; padding-right: 0; }
.col:nth-child(2) { padding-left: 28px; }
.col:nth-child(3) { padding-left: 28px; }
.num { display: block; font-size: 11.5px; color: var(--faint); letter-spacing: .1em; margin-bottom: 16px; }
.col h3 { font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
.col p { font-size: 13.8px; line-height: 1.95; color: var(--muted); }

/* 产品栏 */
.cols-product { margin-top: 44px; }
.product .chip { margin-bottom: 16px; }
.product h3 { font-size: 20px; }
.product .sub { font-size: 12.5px; color: var(--faint); line-height: 1.7; margin-bottom: 14px; }
.product .desc { font-size: 13.8px; line-height: 1.95; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.list-title { margin-top: 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--faint); }
.list { margin-top: 10px; }
.list li { position: relative; padding-left: 15px; margin-bottom: 7px; font-size: 13.5px; line-height: 1.85; color: var(--muted); }
.list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: .8; }
.limit { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 12.3px; line-height: 1.85; color: var(--faint); }
.limit span { color: var(--ink); font-weight: 600; margin-right: 6px; }

/* ---------------- 技术表 ---------------- */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 40px; }
.spec-table th {
  text-align: left; font-family: var(--mono); font-size: 10.5px; font-weight: 400;
  letter-spacing: .1em; color: var(--faint);
  padding: 12px 18px 12px 0; border-bottom: 1px solid var(--line-2);
}
.spec-table td {
  padding: 22px 18px 22px 0; border-bottom: 1px solid var(--line);
  font-size: 14px; line-height: 1.85; color: var(--muted); vertical-align: top;
}
.spec-table td strong { display: block; color: var(--ink); font-weight: 600; font-size: 14.5px; margin-bottom: 4px; }
.spec-table td:first-child { width: 44px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.spec-table td:last-child { width: 190px; }
.spec-table tbody tr { transition: background .18s; }
.spec-table tbody tr:hover { background: rgba(47, 140, 255, .035); }
.table-note { margin-top: 26px; padding-left: 14px; border-left: 2px solid var(--accent); font-size: 13.5px; line-height: 1.9; color: var(--muted); }

.chip {
  display: inline-block; padding: 3px 9px; border-radius: 4px;
  background: rgba(159, 230, 240, .38); color: #0a3f4a;
  font-size: 10.5px; letter-spacing: .04em; white-space: nowrap;
}

/* ---------------- 04 关于（深色） ---------------- */
.section-dark { background: var(--panel); color: rgba(232, 238, 244, .78); padding: 88px 0; position: relative; overflow: hidden; }
.section-dark::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(900px 600px at 80% 20%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(900px 600px at 80% 20%, #000, transparent 78%);
  pointer-events: none;
}
.dark-grid { position: relative; display: grid; grid-template-columns: 6.4fr 5.6fr; gap: 64px; align-items: start; }
.about-solo { position: relative; max-width: 880px; }
.about-solo .dark-p,
.about-solo .dark-quote { max-width: 40em; }
.dark-head { border-bottom-color: rgba(255, 255, 255, .16); }
.dark-head h2 { color: #fff; }
.section-dark .sec-no { color: var(--tint); }
.dark-p { margin-top: 22px; font-size: 14.2px; line-height: 2; color: rgba(232, 238, 244, .72); }
.dark-quote { margin-top: 26px; padding-left: 16px; border-left: 2px solid rgba(159, 230, 240, .7); font-size: 14.2px; line-height: 1.95; color: rgba(232, 238, 244, .92); }
.fact-table { border-top: 1px solid rgba(255, 255, 255, .16); }
.fact-table div { display: grid; grid-template-columns: 118px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .10); }
.fact-table dt { font-size: 12px; color: rgba(232, 238, 244, .48); letter-spacing: .02em; padding-top: 3px; }
.fact-table dd { font-size: 13.2px; line-height: 1.9; color: #e8eef4; }
.fact-table dd.mono { font-size: 12.5px; letter-spacing: .02em; }

/* ---------------- 05 联系 ---------------- */
.contact-grid { display: grid; grid-template-columns: 6.4fr 5.6fr; gap: 64px; align-items: start; }
.steps { margin-top: 30px; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.steps li b { font-weight: 600; font-size: 13.5px; color: var(--ink); }
.steps li span { font-size: 12.8px; color: var(--faint); line-height: 1.7; }
.contact-grid .actions { margin-top: 28px; }
.contact-list { border-top: 1px solid var(--line-2); }
.contact-list div { display: grid; grid-template-columns: 118px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 12.5px; color: var(--faint); padding-top: 3px; }
.contact-list dd { font-size: 14.2px; line-height: 1.8; color: var(--ink); }
.contact-list dd.mono { font-size: 12.5px; letter-spacing: .02em; }
.contact-list a { border-bottom: 1px solid rgba(47, 140, 255, .38); transition: border-color .18s; }
.contact-list a:hover { border-bottom-color: var(--accent); }

/* ---------------- 页脚 ---------------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.9fr; gap: 40px; padding-bottom: 48px; }
.footer-name { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
.footer-line { margin-top: 6px; font-size: 12px; color: var(--faint); }
.footer-icp {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .02em;
  line-height: 1.7;
  color: var(--muted);
}
.footer-line + .footer-icp { margin-top: 20px; }
.footer-title { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--ink); margin-bottom: 14px; }
.footer-col a, .footer-col span {
  display: block; font-size: 12px; line-height: 1.9; color: var(--muted); transition: color .18s;
}
.footer-col a:hover { color: var(--accent-ink); }
.footer-col span.muted { color: var(--faint); }
.addr-label {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  color: var(--faint);
  margin: 10px 0 2px;
}
.footer-col span:first-of-type .addr-label { margin-top: 0; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 0 22px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .03em; color: var(--faint);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .hero { padding: 64px 0 56px; }
  .hero-grid { gap: 40px; }
  .dark-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid div:nth-child(2) { border-right: 0; padding-left: 20px; }
  .facts-grid div:nth-child(3) { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 620px; }
  nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    flex-direction: column; gap: 0; padding: 8px 0;
    background: rgba(246, 247, 248, .99);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -34px rgba(11, 21, 32, .6);
  }
  nav.is-open { display: flex; }
  nav a { padding: 13px 26px; border-radius: 0; font-size: 14.5px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
    width: 36px; height: 36px; padding: 0 8px;
    border: 1px solid var(--line-2); border-radius: 6px; background: transparent; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
  .header-actions .btn-solid { display: none; }
  .cols-3 { grid-template-columns: 1fr; }
  .col, .col:nth-child(2), .col:nth-child(3) { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .col:last-child { border-bottom: 0; }
  .spec-table th:nth-child(3), .spec-table td:nth-child(3) { display: none; }
  .spec-table td:last-child { width: 120px; }
  .sec-note { display: none; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .topline-inner { justify-content: flex-start; min-height: 30px; font-size: 10.5px; }
  .topline-inner span:last-child { display: none; }
  .header-inner { height: 58px; }
  .brand-text span { display: none; }
  h1 { font-size: 32px; line-height: 1.3; }
  .lead { font-size: 14px; }
  .specs { grid-template-columns: 1fr; }
  .specs div { border-right: 0; border-bottom: 1px solid var(--line); padding: 13px 0; }
  .specs div:last-child { border-bottom: 0; }
  .section { padding: 60px 0; }
  .sec-head { flex-wrap: wrap; gap: 10px; }
  .sec-head h2 { font-size: 22px; }
  .sec-lead { font-size: 13.8px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid div { padding: 16px 12px 16px 0; }
  .facts-grid div:nth-child(2) { padding-left: 0; }
  .spec-table td:last-child { width: 96px; }
  .spec-table td { padding: 16px 12px 16px 0; font-size: 13.2px; }
  .spec-table th:nth-child(3), .spec-table td:nth-child(3) { display: none; }
  .steps li { grid-template-columns: 76px 1fr; }
  .world, .fact-table div, .contact-list div { grid-template-columns: 96px 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding-bottom: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .panel-bar, .panel-foot { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------------- 首屏：交付流程面板 ---------------- */
.deploy-list { list-style: none; }
.deploy-list li {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--panel-line);
  font-size: 13px;
}
.deploy-list li:last-child { border-bottom: 0; }
.deploy-list .n { font-family: var(--mono); font-size: 10.5px; color: rgba(255, 255, 255, .34); }
.deploy-list b { font-weight: 500; color: rgba(255, 255, 255, .82); }
.deploy-list em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .32);
}
.deploy-list li.done .n,
.deploy-list li.done em { color: var(--tint); }
.deploy-list li.done b { color: #fff; }
.deploy-list li.run b { color: #fff; }
.deploy-list li.run em { color: #8fb0ff; }

/* ---------------- 02 服务范围：细线格子 ---------------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 44px;
  border: 1px solid var(--line);
  background: var(--line);
}
.service { background: #fff; padding: 30px 26px 32px; }
.s-no {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--faint);
  margin-bottom: 16px;
}
.service h3 { font-size: 17px; line-height: 1.45; margin-bottom: 10px; }
.service > p { font-size: 13.6px; line-height: 1.95; color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.service .list { margin-top: 14px; }
.service .list li { font-size: 13px; margin-bottom: 6px; }

/* ---------------- 03 交付流程 ---------------- */
.process { margin-top: 44px; border-top: 1px solid var(--line-2); }
.process li {
  display: grid;
  grid-template-columns: 64px 1fr 230px;
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: background .18s;
}
.process li:hover { background: rgba(47, 140, 255, .03); }
.process .p-no { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--faint); }
.process .p-body b { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.process .p-body span { font-size: 13.8px; line-height: 1.9; color: var(--muted); }
.process .p-out { font-family: var(--mono); font-size: 10.5px; letter-spacing: .02em; color: var(--brand-deep); text-align: right; }

/* ---------------- 新组件响应式 ---------------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .process li { grid-template-columns: 52px 1fr; }
  .process .p-out { grid-column: 2; text-align: left; }
}
@media (max-width: 680px) {
  .services { grid-template-columns: 1fr; }
  .service { padding: 24px 20px; }
  .process li { grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; }
  .deploy-list li { font-size: 12.5px; }
}

/* 分隔线两侧留白：避免文字贴线 */
.specs > div + div { padding-left: 20px; }
.facts-grid > div + div { padding-left: 20px; }
@media (max-width: 680px) {
  .specs > div + div { padding-left: 0; }
}


/* ---------------- 服务方向页 ---------------- */
.crumb { display: flex; align-items: center; gap: 8px; padding-top: 22px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--faint); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent-ink); }
.crumb b { font-weight: 500; color: var(--ink); }
.sol-hero { padding: 40px 0 4px; }
.sol-hero h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.16; letter-spacing: 0; }
.sol-hero .lead { margin-top: 22px; max-width: 46em; font-size: 15px; line-height: 2; color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.spec-2col tbody td:first-child { width: 96px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--faint); white-space: nowrap; }
.spec-2col tbody td { vertical-align: top; }
.rel-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 44px; }
.rel-links .footer-title { width: 100%; margin: 0 0 4px; }
.rel-links a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 13px; color: var(--ink); transition: border-color .18s, color .18s; }
.rel-links a:hover { border-color: var(--accent); color: var(--accent-ink); }
a.service { display: block; color: inherit; text-decoration: none; transition: background .18s; }
a.service:hover { background: #fbfcfe; }
a.service h3 { color: var(--ink); }


/* ---------------- 可点击性（2026-10-23） ---------------- */
.click-hint {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--accent-ink);
}
.click-hint .arr { display: inline-block; margin-left: 6px; transition: transform .18s; }
a.service { position: relative; }
a.service .card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--muted);
  transition: color .18s;
}
a.service .card-cta .arr { transition: transform .18s; }
a.service:hover { background: #fbfcfe; box-shadow: inset 0 0 0 1px rgba(47, 140, 255, .35); }
a.service:hover h3 { color: var(--accent-ink); }
a.service:hover .s-no { color: var(--accent); }
a.service:hover .card-cta { color: var(--accent-ink); }
a.service:hover .card-cta .arr { transform: translateX(3px); }
a.service:hover .click-hint .arr { transform: translateX(3px); }
.footer-col a .arr { display: inline-block; margin-left: 4px; opacity: 0; transition: opacity .18s, transform .18s; }
.footer-col a:hover .arr { opacity: 1; transform: translateX(2px); }
@media (hover: none) {
  a.service .card-cta { color: var(--accent-ink); }
  .footer-col a .arr { opacity: .55; }
}

/* CTA 对齐到底部，六格更整齐 */
a.service { display: flex; flex-direction: column; height: 100%; }
a.service .card-cta { margin-top: auto; }

/* 手机端页头收紧：品牌不换行、隐藏次要按钮 */
@media (max-width: 620px) {
  .header-actions .btn-line { display: none; }
  .brand { gap: 8px; }
  .brand-text b { font-size: 13px; white-space: nowrap; }
  .brand-text span { display: none; }
  .lang-btn { padding: 5px 8px; font-size: 11px; }
  .lang-switch { padding: 2px; }
}


/* ---------------- 方向页：进入子页的视觉信号 ---------------- */
.dir-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--accent-ink), var(--accent) 40%, var(--tint));
  position: relative; z-index: 60;
}
.crumb-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; flex-wrap: wrap; }
.crumb-back {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px;
  background: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  color: var(--ink); transition: border-color .18s, color .18s;
}
.crumb-back:hover { border-color: var(--accent); color: var(--accent-ink); }
.crumb-row .crumb { padding-top: 0; }

.sol-hero { padding: 30px 0 8px; background: linear-gradient(180deg, rgba(47,140,255,.05), rgba(47,140,255,0) 72%); }
.sol-grid { display: grid; grid-template-columns: minmax(0, 6.6fr) minmax(0, 4.4fr); gap: 56px; align-items: start; }
.dir-tag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 7px 14px;
  border: 1px solid rgba(47,140,255,.32); border-radius: 4px; background: rgba(47,140,255,.06);
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--accent-ink);
}
.dir-tag-no { color: var(--ink); font-weight: 500; }
.dir-tag-name { color: var(--ink); letter-spacing: 0; font-family: var(--font); font-size: 12px; }
.sol-copy h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.16; letter-spacing: 0; }
.sol-copy .lead { margin-top: 22px; max-width: 42em; font-size: 15px; line-height: 2; color: var(--muted); }

.dir-file { background: var(--panel); color: #fff; border-radius: 8px; overflow: hidden; }
.dir-file .panel-bar {
  display: flex; align-items: center; justify-content: space-between; padding: 12px 18px;
  border-bottom: 1px solid var(--panel-line);
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: rgba(255,255,255,.5);
}
.dir-file-tags { list-style: none; padding: 18px; display: grid; gap: 10px; }
.dir-file-tags li { position: relative; padding-left: 16px; font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.86); }
.dir-file-tags li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 1px; background: var(--tint); }
.dir-file-tags .chip { background: rgba(159,230,240,.12); color: var(--tint); border: 0; }
.dir-file-note {
  padding: 14px 18px 6px; border-top: 1px solid var(--panel-line);
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: rgba(255,255,255,.42);
}
.dir-file-map { list-style: none; padding: 8px 18px 18px; display: grid; gap: 2px; }
.dir-file-map a { display: flex; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.78); }
.dir-file-map a:hover { color: #fff; }
.dir-file-map span { font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,.36); }
.dir-file-map b { font-weight: 400; font-size: 13px; }
.dir-file-map li:last-child a { border-bottom: 0; }

.toc { display: none; }
@media (min-width: 1320px) {
  .toc {
    display: grid; gap: 6px; position: fixed; right: 14px; top: 50%;
    transform: translateY(-50%); z-index: 40;
  }
  .toc a {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border: 1px solid var(--line-2); border-radius: 50%;
    background: #fff; font-family: var(--mono); font-size: 9.5px; letter-spacing: .02em;
    color: var(--faint); transition: border-color .18s, color .18s;
  }
  .toc a span:first-child { opacity: .9; }
  .toc a span:last-child {
    position: absolute; right: 34px; top: 50%; transform: translateY(-50%) translateX(4px);
    white-space: nowrap; padding: 5px 9px; border-radius: 3px;
    background: var(--panel); color: #fff; font-size: 10.5px; letter-spacing: .04em;
    opacity: 0; pointer-events: none; transition: opacity .16s, transform .16s;
  }
  .toc a:hover { border-color: var(--accent); color: var(--accent-ink); }
  .toc a:hover span:last-child { opacity: 1; transform: translateY(-50%) translateX(0); }
  .toc a.is-current { border-color: var(--accent); color: var(--accent-ink); background: rgba(47,140,255,.06); }
}
@media (max-width: 1080px) { .sol-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 680px) {
  .sol-hero { padding: 22px 0 4px; }
  .dir-tag { flex-wrap: wrap; gap: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .subpage .sol-copy, .subpage .dir-file { animation: subIn .38s ease-out both; }
  .subpage .dir-file { animation-delay: .06s; }
  @keyframes subIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}


/* ---------- 药物研发页：层析示意图面板 ---------- */
.chrom-hero { margin: 0; }
.chrom-hero .panel { max-width: 560px; }
.chrom-body { padding: 6px 10px 0; }
.chart { display: block; width: 100%; height: auto; }
.chart-grid line { stroke: rgba(255,255,255,.10); stroke-width: 1; }
.chart-area { fill: url(#chromArea); }
.chart-curve { fill: none; stroke: var(--tint); stroke-width: 2; stroke-linecap: round; }
.chart-cond { fill: none; stroke: rgba(255,255,255,.22); stroke-dasharray: 5 5; }
.chart-peak { fill: #fff; stroke: var(--accent); stroke-width: 2; }
.chart-label { fill: rgba(255,255,255,.5); font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }
.chrom-hero .panel-body { padding-bottom: 0; }
@media (max-width: 680px) {
  .chrom-hero .panel { max-width: none; }
}
