:root {
  --bg: #020B1C;
  --bg-2: #061429;
  --navy: #041E42;
  --teal: #00B2A9;
  --teal-hi: #3FD9D0;
  --slate: #8D99AE;
  --text: #EDF2F9;
  --muted: #8A97AE;
  --faint: #5F6D86;
  --orange: #FC7A1E;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --max: 1200px;
  --gutter: 24px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--bg); }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.75; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; line-break: strict; }
svg, canvas, img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, table { margin: 0; padding: 0; }
ul { list-style: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); letter-spacing: .02em; }
h1, h2, h3 { text-wrap: balance; }

/* 小标签：序号 + 名称 */
.tag { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; color: var(--teal-hi); text-transform: uppercase; }
.tag i { font-style: normal; color: var(--faint); }
.tag::after { content: ""; width: 40px; height: 1px; background: var(--line-2); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 24px; border-radius: 10px; font-weight: 600; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; font-family: inherit; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 3px; }
.btn-primary { background: var(--teal); color: #031632; }
.btn-primary:hover { background: #16C7BD; transform: translateY(-1px); }
.btn-ghost { color: var(--text); border-color: var(--line-2); background: transparent; }
.btn-ghost:hover { border-color: rgba(255,255,255,.4); }
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }

/* 导航 */
header.nav { position: fixed; left: 0; right: 0; top: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
/* 不用 backdrop-filter：它要对导航背后的内容实时做模糊，背后正好是每帧都在重绘的首屏画布，每帧都得重算一遍 */
header.nav.solid { background: rgba(2,11,28,.92); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: .06em; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { text-decoration: none; font-size: 14.5px; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { height: 38px; padding: 0 18px; font-size: 14px; color: #031632; }
.nav-links .btn:hover { color: #031632; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 9px; width: 40px; height: 40px; cursor: pointer; color: var(--text); font-size: 17px; }

/* 首屏：山脊线 */
.hero { position: relative; min-height: min(100vh, 900px); padding-top: 68px; display: flex; flex-direction: column; overflow: hidden; }
/* 画布外面不能套 mask：mask 加 mask-composite 套在每帧都重绘的画布上，浏览器每帧都得重新做一遍蒙版合成。
   四周的淡出改成下面 .hero::after 里的静态渐变层（只合成一次），contain 让画布的重绘不波及页面其它部分 */
.ridge { position: absolute; inset: 0; z-index: 0; contain: strict; }
.ridge canvas { width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 60% 50% at 70% 62%, rgba(0,178,169,.14), transparent 70%), linear-gradient(90deg, rgba(2,11,28,.9) 0%, rgba(2,11,28,.35) 45%, transparent 70%), linear-gradient(180deg, #020B1C 0%, rgba(2,11,28,0) 26%, rgba(2,11,28,0) 88%, #020B1C 100%); }
.hero-in { position: relative; z-index: 2; margin: auto 0; padding-top: 40px; padding-bottom: 120px; }
.hero .tag { margin-bottom: 28px; }
.hero .tag i { color: var(--text); }
.hero h1 { font-size: clamp(38px, 6.2vw, 84px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; max-width: 900px; }
.hero h1 span { color: var(--teal-hi); }
.hero .lead { margin-top: 30px; max-width: 540px; font-size: clamp(16px, 1.5vw, 18.5px); color: var(--muted); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.balance { position: absolute; z-index: 2; right: var(--gutter); font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--teal-hi); display: flex; align-items: center; gap: 10px; }
.balance::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-hi); animation: blink 2.4s infinite; }
/* 衡线和山峰上的圆点：原来是每帧在画布里画的（还带两处 shadowBlur），现在是静态元素，位置由 site.js 按首屏高度设置 */
.bal-line { position: absolute; z-index: 1; left: 0; right: 0; height: 1px; pointer-events: none; background: linear-gradient(90deg, rgba(0,178,169,0) 0%, rgba(63,217,208,.85) 30%, rgba(63,217,208,.95) 100%); box-shadow: 0 0 12px rgba(0,178,169,.7); }
.bal-line::before { content: ""; position: absolute; left: 30%; right: 0; bottom: 1px; height: 4px; background: repeating-linear-gradient(90deg, rgba(63,217,208,.55) 0 1px, transparent 1px 26px); }
.bal-dot { position: absolute; left: 68%; top: -4px; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: var(--teal-hi); box-shadow: 0 0 14px rgba(63,217,208,1); }
.bal-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 1px solid rgba(63,217,208,.45); }

/* 数字条 */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 3; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 0 34px 28px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font-size: clamp(36px, 4.4vw, 56px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); }

/* 通用区块 */
section.block { padding: 128px 0; position: relative; }
.head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: end; margin-bottom: 72px; }
.head h2 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 650; letter-spacing: -.025em; line-height: 1.15; margin-top: 22px; }
.head p { color: var(--muted); font-size: 17px; max-width: 480px; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* 产品界面 */
.stage { margin-top: 88px; position: relative; z-index: 4; padding-bottom: 40px; }
.frame { border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-2); box-shadow: 0 60px 120px -40px rgba(0,0,0,.85), 0 0 0 8px rgba(255,255,255,.015); overflow: hidden; position: relative; }
.frame-top { display: flex; align-items: center; gap: 16px; padding: 0 18px; height: 46px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.lights { display: flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.12); }
.crumbs b { color: var(--text); font-weight: 600; }
.demo { margin-left: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: #FFA462; border: 1px solid rgba(252,122,30,.4); padding: 1px 8px; border-radius: 4px; }
.live { margin-left: auto; display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; font-variant-numeric: tabular-nums; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-hi); animation: blink 2.4s infinite; }
.shot { width: 100%; display: none; }
.frame.has-shot .shot { display: block; }
.frame.has-shot .ui { display: none; }
.ui { display: grid; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.kpi { padding: 22px 24px; border-left: 1px solid var(--line); }
.kpi:first-child { border-left: 0; }
.kpi .k { font-size: 12.5px; color: var(--muted); }
.kpi .v { font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .5s; }
.kpi .v.flash { color: var(--teal-hi); }
.kpi .d { font-size: 12.5px; font-family: var(--mono); color: var(--teal-hi); margin-top: 2px; }
.kpi .d.down { color: #FFA462; }
.ui-row { display: grid; grid-template-columns: 1.8fr 1fr; }
.ui-cell { padding: 20px 24px; min-width: 0; }
.ui-cell + .ui-cell { border-left: 1px solid var(--line); }
.ui-row + .ui-row { border-top: 1px solid var(--line); }
.ui-cell h4 { font-size: 13px; font-weight: 500; color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 12px; }
.ui-cell h4 em { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--teal-hi); }
.bars { display: grid; gap: 15px; margin-top: 14px; }
.bar { display: grid; grid-template-columns: 36px 1fr 28px; gap: 12px; align-items: center; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar span:last-child { text-align: right; color: var(--text); }
.bar div { height: 3px; background: rgba(255,255,255,.08); border-radius: 2px; }
.bar i { display: block; height: 100%; width: 0; background: var(--teal-hi); border-radius: 2px; transition: width 1.3s cubic-bezier(.2,.8,.2,1); }
table.t { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
table.t td { padding: 9px 0; border-top: 1px solid var(--line); color: var(--muted); }
table.t tr:first-child td { border-top: 0; }
table.t td:last-child { text-align: right; color: var(--text); }
table.t tr.new td { animation: rowin 1.2s ease; }
.legend { display: flex; gap: 18px; font-size: 12px; color: var(--muted); margin-top: 6px; }
.legend i { display: inline-block; width: 14px; height: 2px; vertical-align: middle; margin-right: 6px; background: var(--teal-hi); }
.legend i.b { background: rgba(255,255,255,.35); }
.caption { margin-top: 18px; font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: .04em; }

/* 对比 */
.vs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vs > div { padding: 44px 0; }
.vs > div:last-child { padding-left: 56px; border-left: 1px solid var(--line); }
.vs > div:first-child { padding-right: 56px; }
.vs h3 { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; margin-bottom: 26px; }
.vs .old h3 { color: var(--faint); }
.vs .new h3 { color: var(--teal-hi); }
.vs li { padding: 14px 0 14px 30px; position: relative; font-size: 18px; border-top: 1px solid var(--line); }
.vs li:first-of-type { border-top: 0; }
.vs .old li { color: var(--faint); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.18); }
.vs .old li::before { content: "×"; position: absolute; left: 4px; color: var(--faint); font-family: var(--mono); }
.vs .new li::before { content: "✓"; position: absolute; left: 2px; color: var(--teal-hi); }

/* 工作方式 */
.flow { display: grid; grid-template-columns: 1fr 120px 260px 120px 1fr; align-items: stretch; }
.col { display: grid; align-content: center; }
.item { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 16.5px; }
.item:last-child { border-bottom: 1px solid var(--line); }
.item small { font-size: 12.5px; color: var(--faint); font-family: var(--mono); text-align: right; }
.core { border: 1px solid rgba(0,178,169,.5); border-radius: 14px; padding: 36px 20px; text-align: center; display: grid; align-content: center; justify-items: center; gap: 6px; background: linear-gradient(180deg, rgba(0,178,169,.10), rgba(0,178,169,.02)); position: relative; }
.core b { font-size: 26px; letter-spacing: .1em; font-weight: 700; margin-top: 8px; }
.core span { font-size: 13px; color: var(--muted); }
.wire { position: relative; align-self: center; height: 1px; background: var(--line-2); overflow: hidden; margin: 0 -1px; }
.wire::after { content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 1px; background: linear-gradient(90deg, transparent, var(--teal-hi), transparent); animation: travel 3s linear infinite; }
.note { margin-top: 28px; font-size: 14px; color: var(--faint); }

/* 四件事：编辑式排版 */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 120px 1fr 1.25fr; gap: 40px; align-items: start; padding: 48px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.row:hover { background: linear-gradient(90deg, rgba(0,178,169,.05), transparent 60%); }
.glyph { font-size: 88px; line-height: 1; font-weight: 300; color: transparent; -webkit-text-stroke: 1px rgba(63,217,208,.7); letter-spacing: 0; transition: color .4s; }
.row:hover .glyph { color: rgba(63,217,208,.12); }
.row h3 { font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.row .sub { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.row ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.row li { padding: 11px 0 11px 18px; position: relative; font-size: 15px; color: #C3CCDC; border-top: 1px solid var(--line); }
.row li:nth-child(-n+2) { border-top: 0; padding-top: 0; }
.row li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 7px; height: 1px; background: var(--teal-hi); }
.row li:nth-child(-n+2)::before { top: .72em; }

/* 看板 */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.split h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 650; letter-spacing: -.025em; line-height: 1.15; margin-top: 22px; }
.split .lead { margin-top: 22px; color: var(--muted); font-size: 17px; }
.feats { margin-top: 44px; border-top: 1px solid var(--line); }
.feat { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feat .no { font-family: var(--mono); font-size: 13px; color: var(--teal-hi); padding-top: 3px; }
.feat h3 { font-size: 17px; font-weight: 600; }
.feat p { margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chip { font-family: var(--mono); font-size: 12.5px; border: 1px solid var(--line-2); border-radius: 6px; padding: 5px 12px; color: #C3CCDC; }
.wall { border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-2); overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0,0,0,.8); }
.wall-top { display: flex; justify-content: space-between; padding: 14px 22px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: .08em; }
.wall-grid { display: grid; grid-template-columns: 1fr 1fr; }
.wcell { padding: 24px 24px 26px; border-bottom: 1px solid var(--line); }
.wcell:nth-child(odd) { border-right: 1px solid var(--line); }
.wcell.full { grid-column: span 2; border-right: 0; }
.wcell:nth-last-child(-n+2):not(.full) { border-bottom: 0; }
.wcell h4 { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.big { font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; margin-top: 8px; font-variant-numeric: tabular-nums; color: var(--teal-hi); white-space: nowrap; }
.hours { display: flex; align-items: flex-end; gap: 6px; height: 96px; margin-top: 14px; }
.hours i { flex: 1; background: rgba(63,217,208,.28); border-top: 2px solid var(--teal-hi); height: 8%; transition: height 1.2s cubic-bezier(.2,.8,.2,1); }

/* 权限矩阵 */
.perm { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start; }
.quote { border-left: 2px solid var(--teal); padding: 4px 0 4px 28px; }
.quote small { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--teal-hi); }
.quote p { margin-top: 18px; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.5; font-weight: 500; letter-spacing: -.01em; }
.quote .mono { margin-top: 22px; font-size: 13px; color: var(--faint); }
.perm-note { margin-top: 40px; color: var(--muted); font-size: 16px; max-width: 460px; }
table.m { width: 100%; border-collapse: collapse; font-size: 15px; }
table.m th { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; color: var(--faint); text-align: center; padding: 0 0 14px; }
table.m th:first-child { text-align: left; }
table.m td { padding: 13px 0; border-top: 1px solid var(--line); text-align: center; color: #C3CCDC; }
table.m td:first-child { text-align: left; color: var(--text); }
table.m td i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-hi); box-shadow: 0 0 10px rgba(63,217,208,.7); animation: blink 3.2s ease-in-out infinite; }
table.m tr:nth-child(3n) td i { animation-delay: .6s; }
table.m tr:nth-child(3n+1) td i { animation-delay: 1.2s; }
table.m tr:last-child td { border-bottom: 1px solid var(--line); }

/* 数字员工 */
.duo { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: start; }
.trig { border-top: 1px solid var(--line); }
.trig > div { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 130px 1fr; gap: 18px; }
.trig .when { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; color: var(--teal-hi); padding-top: 4px; }
.trig h3 { font-size: 19px; font-weight: 600; }
.trig p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.trig .eg { margin-top: 10px; font-size: 13.5px; color: var(--faint); }
.trig .eg b { color: #C3CCDC; font-weight: 500; }
.term { border: 1px solid var(--line-2); border-radius: 14px; background: #010814; overflow: hidden; position: sticky; top: 100px; box-shadow: 0 50px 100px -40px rgba(0,0,0,.85); }
.term-bar { display: flex; align-items: center; gap: 14px; padding: 0 18px; height: 44px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--faint); }
.term-body { padding: 22px 22px 26px; font-family: var(--mono); font-size: 13.5px; line-height: 2.1; min-height: 270px; }
.term-body div { opacity: 0; transform: translateY(5px); transition: opacity .4s, transform .4s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #C3CCDC; }
.term-body div.on { opacity: 1; transform: none; }
.term-body .ts { color: var(--faint); margin-right: 14px; }
.term-body .ok { color: var(--teal-hi); }
.chat-body { padding: 22px; display: grid; gap: 16px; min-height: 440px; align-content: start; }
.msg { opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; font-size: 14.5px; line-height: 1.7; }
.msg.on { opacity: 1; transform: none; }
.msg.me { justify-self: end; max-width: 84%; border: 1px solid var(--line-2); border-radius: 12px 12px 2px 12px; padding: 9px 15px; background: rgba(255,255,255,.04); }
.msg.ai { max-width: 94%; color: #C3CCDC; }
.msg .who { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--teal-hi); margin-bottom: 4px; }
.msg .meta { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-bottom: 8px; }
.msg table.t { margin: 4px 0 10px; max-width: 320px; }
.msg table.t td { white-space: nowrap; }
.msg table.t td:nth-child(2) { color: var(--text); text-align: left; }
.msg table.t td:last-child { text-align: right; }
.msg .up { color: var(--teal-hi) !important; }
.msg .dn { color: #FFA462 !important; }
.confirm { display: flex; gap: 10px; margin-top: 12px; }
.confirm .b { font-size: 13px; padding: 4px 18px; border-radius: 7px; border: 1px solid var(--line-2); color: var(--muted); }
.confirm .b.ok { background: var(--teal); border-color: var(--teal); color: #031632; font-weight: 600; }
.caret::after { content: "▍"; color: var(--teal-hi); animation: blink 1s steps(2) infinite; margin-left: 4px; }
.fine { margin-top: 36px; font-size: 14.5px; color: var(--faint); max-width: 560px; }

/* 对接 / 安全：发丝线网格 */
.cells { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.cell { padding: 36px 32px 40px 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding-left: 32px; transition: background .3s; }
.cell:nth-child(3n) { border-right: 0; padding-right: 0; }
.cell:nth-child(3n+1) { padding-left: 0; }
.cell:hover { background: rgba(0,178,169,.035); }
.cell h3 { font-size: 19px; font-weight: 600; }
.cell p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.cell .tg { display: inline-block; margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--teal-hi); }
.cell .tg::before { content: "→ "; color: var(--faint); }

.who { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.who > div { padding: 34px 28px 12px 0; }
.who > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.who h3 { font-size: 20px; font-weight: 600; }
.who .sub { margin-top: 6px; color: var(--muted); font-size: 14.5px; min-height: 3.2em; }
.who ul { margin-top: 16px; display: grid; gap: 6px; font-size: 14.5px; color: #C3CCDC; }
.who li::before { content: "— "; color: var(--faint); }
.who .q { margin: 22px 0 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--teal-hi); }

/* 联系 */
.cta { padding: 160px 0 140px; text-align: left; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta::before { content: ""; position: absolute; right: -10%; top: 0; width: 70%; height: 100%; background: radial-gradient(ellipse at 70% 50%, rgba(0,178,169,.16), transparent 65%); pointer-events: none; }
.cta .wrap { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: end; }
.cta h2 { font-size: clamp(34px, 5.4vw, 70px); font-weight: 650; letter-spacing: -.03em; line-height: 1.12; margin-top: 24px; }
.cta .lead { margin-top: 26px; color: var(--muted); font-size: 17px; max-width: 520px; }
.cta .btn { margin-top: 36px; }
.info { border-top: 1px solid var(--line); }
.info div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.info span:first-child { color: var(--faint); font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; }
.info .mono { color: var(--teal-hi); }

footer { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 13.5px; color: var(--faint); }
.foot { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; align-items: center; }
footer .brand { color: var(--text); font-size: 17px; }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes travel { from { left: -40%; } to { left: 100%; } }
@keyframes rowin { from { background: rgba(0,178,169,.22); } to { background: transparent; } }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: rgba(2,11,28,.97); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 24px; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links .btn { justify-content: center; margin-top: 18px; height: 46px; border-bottom: 0; }
}
@media (max-width: 1020px) {
  section.block { padding: 96px 0; }
  .head, .split, .perm, .duo, .cta .wrap { grid-template-columns: 1fr; gap: 40px; }
  .head { margin-bottom: 48px; }
  .row { grid-template-columns: 80px 1fr; gap: 24px; }
  .row ul { grid-column: 1 / -1; }
  .glyph { font-size: 64px; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow .wire { width: 1px; height: 48px; margin: 0 auto; background: var(--line-2); }
  .flow .wire::after { width: 1px; height: 40%; top: -40%; left: 0; background: linear-gradient(180deg, transparent, var(--teal-hi), transparent); animation: travelv 3s linear infinite; }
  .cells, .who { grid-template-columns: 1fr 1fr; }
  .cell, .cell:nth-child(3n), .cell:nth-child(3n+1) { padding: 32px 24px 36px 0; border-right: 0; }
  .who > div, .who > div + div { padding: 30px 20px 10px 0; border-left: 0; }
  .term { position: static; }
  .vs > div:first-child { padding-right: 32px; } .vs > div:last-child { padding-left: 32px; }
}
@keyframes travelv { from { top: -40%; } to { top: 100%; } }
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  section.block { padding: 72px 0; }
  .hero { min-height: 0; }
  .hero-in { padding-bottom: 150px; padding-top: 28px; }
  .hero::after { background: linear-gradient(180deg, rgba(2,11,28,.85) 0%, rgba(2,11,28,.2) 55%, transparent 80%), linear-gradient(180deg, transparent 0%, transparent 90%, #020B1C 100%); }
  .balance { bottom: 20px !important; }
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact { padding: 26px 0 26px 20px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stage { margin-top: 36px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(3) { border-left: 0; }
  .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .kpi { padding: 16px 18px; }
  .ui-row { grid-template-columns: 1fr; }
  .ui-cell + .ui-cell { border-left: 0; border-top: 1px solid var(--line); }
  .ui-cell { padding: 16px 18px; }
  .live .t { display: none; }
  .vs { grid-template-columns: 1fr; }
  .vs > div:first-child { padding: 36px 0 24px; }
  .vs > div:last-child { padding: 28px 0 36px; border-left: 0; border-top: 1px solid var(--line); }
  .row { grid-template-columns: 1fr; gap: 12px; padding: 36px 0; }
  .row ul { grid-template-columns: 1fr; }
  .row li:nth-child(2) { border-top: 1px solid var(--line); padding-top: 11px; }
  .cells, .who { grid-template-columns: 1fr; }
  .who > div, .who > div + div { padding: 28px 0 8px; border-top: 1px solid var(--line); }
  .who { border-top: 0; }
  .trig > div { grid-template-columns: 1fr; gap: 6px; }
  .wall-grid { grid-template-columns: 1fr; }
  .wcell, .wcell:nth-child(odd) { border-right: 0; }
  .wcell.full { grid-column: auto; }
  .wcell:nth-last-child(-n+2):not(.full) { border-bottom: 1px solid var(--line); }
  .wcell:last-child { border-bottom: 0; }
  .cta { padding: 96px 0 90px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .term-body div, .msg { opacity: 1; transform: none; }
}

/* ───── 功能页（scripts/mainsite/build.mjs 生成）───── */
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 13.5px; }
.foot-links a:hover { color: var(--text); }
a.more { font-family: var(--mono); font-size: 13.5px; color: var(--teal-hi); text-decoration: none; border-bottom: 1px solid rgba(63,217,208,.4); padding-bottom: 2px; transition: border-color .2s; }
a.more:hover { border-bottom-color: var(--teal-hi); }

.phero { position: relative; padding: 148px 0 72px; overflow: hidden; }
.phero::before { content: ""; position: absolute; right: -8%; top: -10%; width: 62%; height: 120%; background: radial-gradient(ellipse at 60% 40%, rgba(0,178,169,.16), transparent 65%); pointer-events: none; }
.phero .wrap { position: relative; }
.crumbs { display: flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 12.5px; color: var(--faint); margin-bottom: 36px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.phero .tag { margin-bottom: 26px; }
.phero .tag i { color: var(--text); }
.phero h1 { font-size: clamp(32px, 5vw, 62px); font-weight: 700; letter-spacing: -.03em; line-height: 1.14; max-width: 980px; }
.phero .lead { margin-top: 28px; max-width: 620px; font-size: clamp(16px, 1.5vw, 18.5px); color: var(--muted); }
.phero .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 38px; }
.pfacts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-top: 1px solid var(--line); max-width: 980px; }
.pfacts > div { padding: 24px 24px 0 0; }
.pfacts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.pfacts b { display: block; font-size: clamp(20px, 2.3vw, 28px); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; overflow-wrap: anywhere; }
.pfacts span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }

.psec { padding: 96px 0 !important; }
.prose { max-width: 760px; }
.prose p { font-size: 17px; color: #C3CCDC; line-height: 1.9; }
.prose p + p { margin-top: 20px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a, .faq a, .cell a { color: var(--teal-hi); text-decoration: none; border-bottom: 1px solid rgba(63,217,208,.4); }

.steps { list-style: none; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 15px; color: var(--teal-hi); padding-top: 3px; }
.steps h3 { font-size: 19px; font-weight: 600; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 15.5px; max-width: 720px; }

.cell-link { display: block; text-decoration: none; color: inherit; }
.cell-link p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cell .tg { display: block; }

.code { border: 1px solid var(--line-2); border-radius: 14px; background: #010814; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.85); }
.code figcaption { padding: 12px 20px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: .04em; }
.code pre { margin: 0; padding: 22px 22px 26px; overflow-x: auto; }
.code code { font-family: var(--mono); font-size: 13.5px; line-height: 1.9; color: #C3CCDC; white-space: pre; }

.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; font-size: 18px; font-weight: 550; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 22px; color: var(--teal-hi); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details[open] summary { color: var(--teal-hi); }
.faq details p { padding: 0 40px 26px 0; color: var(--muted); font-size: 16px; line-height: 1.85; }

.cta.solo .wrap { grid-template-columns: 1fr; }
.cta.solo { padding: 130px 0 120px; }

@media (max-width: 1020px) {
  .phero { padding: 124px 0 56px; }
  .psec { padding: 72px 0 !important; }
}
@media (max-width: 760px) {
  .phero { padding: 104px 0 44px; }
  .pfacts { grid-template-columns: 1fr; margin-top: 44px; }
  .pfacts > div, .pfacts > div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .steps li { grid-template-columns: 1fr; gap: 4px; }
  .psec { padding: 56px 0 !important; }
  .faq summary { font-size: 16.5px; }
}
