/* 显影视觉系统 — 延续首页「显影」：暖黑底 #13100D、象牙字 #EDE3D3、琥珀光 #E39B5B
   自托管 Geist / Geist Mono / Noto Sans Khmer 字体，无外部 Google Fonts 依赖。 */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Khmer Local";
  src: url("/assets/fonts/noto-sans-khmer-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Khmer Local";
  src: url("/assets/fonts/noto-sans-khmer-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #13100D;
  --bg2: #1A1511;
  --ink: #EDE3D3;
  --body: #D9CDBA;
  --mute: #978773;
  --line: rgba(237, 227, 211, .13);
  --acc: #E39B5B;
  --acc2: #F2C08F;
  --f-lat: "Geist", -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-cn: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: max(20px, env(safe-area-inset-left, 0px));
}

html[lang="km"] {
  --f-cn: "Noto Sans Khmer Local", "Khmer OS Battambang", "Noto Sans Khmer", sans-serif;
  --f-lat: "Noto Sans Khmer Local", "Geist", -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { background: var(--bg); color: var(--ink); }
body {
  margin: 0;
  font-family: var(--f-lat), var(--f-cn);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { overflow-x: clip; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 1px solid var(--acc); outline-offset: 4px; border-radius: 4px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  z-index: 100;
  font-size: 14px;
  text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; border-radius: 8px; }

.wrap {
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 860px) {
  .wrap { padding-left: 56px; padding-right: 56px; }
}

/* 顶栏 */
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: rgba(19, 16, 13, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 21;
  background: var(--bg);
}
.top .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  gap: 16px;
}
.logo {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .28em;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.logo i { font-style: normal; color: var(--acc); }
.nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 14px;
  color: var(--mute);
}
.nav a { text-decoration: none; transition: color .25s ease; }
.nav a:hover, .nav a.on, .nav a[aria-current="page"] { color: var(--ink); }
.nav .links { display: flex; gap: 22px; }
.lang {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  display: flex;
  gap: 10px;
  align-items: center;
}
.lang a { color: var(--mute); text-decoration: none; }
.lang a[aria-current="true"], .lang b { color: var(--ink); font-weight: 500; }
.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(19, 16, 13, .96);
  padding: 16px 20px 22px;
}
.mobile-nav.open { display: block; }
.mobile-nav-list {
  display: grid;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}
.mobile-nav-list a {
  text-decoration: none;
  font-size: 16px;
  color: var(--body);
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-list a[aria-current="page"] { color: var(--acc2); }
@media (max-width: 859px) {
  .nav .links { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
}
.progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  background: var(--acc);
  transform-origin: 0 50%;
  transform: scaleX(0);
  box-shadow: 0 0 10px var(--acc);
}

/* 字体层级 */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--mute);
  text-transform: uppercase;
}
.eyebrow.dot::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acc);
  margin-right: 10px;
  vertical-align: 1px;
  box-shadow: 0 0 12px var(--acc);
}
.h1 {
  font-family: var(--f-cn);
  font-weight: 600;
  font-size: clamp(30px, 4.6vw, 60px);
  line-height: 1.22;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
.h2 {
  font-family: var(--f-cn);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.3;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
.lead {
  font-family: var(--f-cn);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.85;
  color: var(--body);
  margin: 0;
  max-width: 34em;
}
.small {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--mute);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 24px 10px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-family: var(--f-cn);
  font-weight: 600;
  font-size: 16px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.btn svg { transition: transform .5s var(--ease); flex-shrink: 0; }
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px -10px rgba(227, 155, 91, .55);
}
.btn:hover svg { transform: translateX(3px); }
.link {
  font-family: var(--f-cn);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  color: var(--body);
  transition: border-color .3s ease, color .3s ease;
}
.link:hover { border-color: var(--acc); color: var(--ink); }
.cta { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }

/* 图片「显影」：进入视野时从模糊、偏暗到清晰；无 JS 时直接完整可见 */
.dev {
  overflow: hidden;
  border-radius: 18px;
  background: var(--bg2);
  position: relative;
}
.dev img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 1.6s var(--ease), transform 1.8s var(--ease), opacity 1.2s var(--ease);
}
.js .dev:not(.in) img {
  filter: blur(18px) brightness(.55) saturate(.6);
  transform: scale(1.06);
  opacity: .6;
}
.dev::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(237, 227, 211, .08);
  pointer-events: none;
}
.dev.in img[data-par] {
  transition: filter 1.6s var(--ease), opacity 1.2s var(--ease);
}

/* 文字浮现；无 JS 时直接完整可见 */
.js .up {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .up.in { opacity: 1; transform: none; filter: none; }

/* 前后对比滑块 */
.ba {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 4/5;
  max-width: 100%;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
  background: var(--bg2);
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba .after { clip-path: inset(0 0 0 var(--x, 50%)); }
.ba .bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--x, 50%);
  width: 1px;
  background: rgba(242, 192, 143, .9);
  box-shadow: 0 0 18px 2px rgba(227, 155, 91, .55);
}
.ba .knob {
  position: absolute;
  top: 50%;
  left: var(--x, 50%);
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: rgba(30, 23, 18, .35);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 240, 220, .35), 0 8px 30px rgba(0, 0, 0, .35);
  display: grid;
  place-items: center;
  color: var(--ink);
}
.ba .tag {
  position: absolute;
  top: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .14em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(19, 16, 13, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
}
.ba .tag.l { left: 14px; }
.ba .tag.r { right: 14px; }

/* —— 内页与服务页共用区块 —— */
.hero-inner {
  padding-block: 56px 40px;
  display: grid;
  gap: 36px;
  position: relative;
}
.hero-inner::before {
  content: "";
  position: absolute;
  inset: -60px 0 auto;
  height: 520px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 55% at 72% 40%, rgba(227, 155, 91, .16), transparent 70%),
    radial-gradient(35% 40% at 15% 20%, rgba(140, 80, 40, .14), transparent 70%);
}
.hero-inner .txt { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero-inner .hero-media .dev { aspect-ratio: 4/5; }
.hero-inner.single-col { max-width: 820px; }
.price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--f-cn);
  color: var(--body);
  font-size: 15px;
}
.price b {
  font-family: var(--f-lat);
  font-weight: 300;
  font-size: 56px;
  letter-spacing: -.04em;
  color: var(--ink);
  line-height: 1;
}
@media (min-width: 860px) {
  .hero-inner {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    padding-block: 88px 72px;
    gap: 64px;
  }
  .hero-inner.single-col { grid-template-columns: 1fr; }
}

/* 三行大字 + 图（无卡片框） */
.pack { padding-block: 72px 24px; }
.pack-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.row {
  display: grid;
  gap: 24px;
  padding-block: 36px;
  border-top: 1px solid var(--line);
}
.row .n {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--acc);
  letter-spacing: .16em;
}
.row h3 {
  font-family: var(--f-cn);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 6px 0 10px;
  line-height: 1.35;
  color: var(--ink);
}
.row p {
  font-family: var(--f-cn);
  color: var(--body);
  line-height: 1.85;
  margin: 0 0 10px;
  font-size: 16px;
  max-width: 34em;
}
.row p:last-child { margin-bottom: 0; }
.row .dev-wide { aspect-ratio: 16/10; }
.row .dev-port { aspect-ratio: 4/5; max-width: 440px; }
@media (min-width: 860px) {
  .row {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding-block: 48px;
  }
}

.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.strip .dev { border-radius: 10px; aspect-ratio: 3/4; }
.strip .dev:nth-child(2) img { transition-delay: .12s; }
.strip .dev:nth-child(3) img { transition-delay: .24s; }
.strip .dev:nth-child(4) img { transition-delay: .36s; }
.strip .dev:nth-child(5) img { transition-delay: .48s; }

.phone {
  width: min(200px, 46%);
  aspect-ratio: 9/16;
  border-radius: 26px;
  padding: 6px;
  background: linear-gradient(160deg, #3a2f26, #15110e);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(237, 227, 211, .12);
  position: relative;
}
.phone .dev { border-radius: 21px; height: 100%; }
.phone .dev img { animation: kb 9s ease-in-out infinite alternate; }
@keyframes kb { to { transform: scale(1.14) translate(-4%, -3%); } }
.phone .rec {
  position: absolute;
  left: 16px;
  top: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}
.phone .rec::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E5674A;
  box-shadow: 0 0 8px #E5674A;
  animation: blink 1.4s infinite;
}
@keyframes blink { 50% { opacity: .25; } }
.phone .time {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  height: 2px;
  background: rgba(237, 227, 211, .2);
  border-radius: 2px;
  overflow: hidden;
}
.phone .time::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--acc);
  transform-origin: 0;
  animation: tl 10s linear infinite;
}
@keyframes tl { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.pay { display: flex; align-items: center; gap: 18px; }
.pay .big {
  font-family: var(--f-lat);
  font-weight: 300;
  font-size: clamp(72px, 9vw, 120px);
  letter-spacing: -.06em;
  line-height: .9;
  background: linear-gradient(180deg, var(--ink), var(--acc));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pay .chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--mute);
}
.pay .chips span::before { content: "✓ "; color: var(--acc); }

/* 作品横向滑动画廊 */
.gal { padding-block: 80px 24px; }
.rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 28px max(20px, env(safe-area-inset-left, 0px)) 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-padding-left: max(20px, env(safe-area-inset-left, 0px));
}
.rail::-webkit-scrollbar { display: none; }
.rail figure { margin: 0; flex: 0 0 min(74vw, 380px); scroll-snap-align: start; }
.rail .dev { aspect-ratio: 4/5; }
.rail.rail-wide figure { flex: 0 0 min(82vw, 480px); }
.rail.rail-wide .dev { aspect-ratio: 16/10; }
.rail .dev img { will-change: transform; }
.rail figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-family: var(--f-cn);
  font-size: 13px;
  color: var(--body);
  line-height: 1.6;
}
.rail figcaption span:last-child {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--mute);
  white-space: nowrap;
}
@media (min-width: 860px) {
  .rail {
    padding-left: max(56px, calc((100vw - 1200px)/2 + 56px));
    scroll-padding-left: max(56px, calc((100vw - 1200px)/2 + 56px));
  }
}

/* 步骤光线 */
.steps { padding-block: 88px 24px; }
.track {
  position: relative;
  margin-top: 36px;
  display: grid;
  gap: 44px;
  padding-left: 44px;
}
.track::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}
.track::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 6px;
  width: 1px;
  height: calc((100% - 12px) * var(--p, 0));
  background: linear-gradient(var(--acc2), var(--acc));
  box-shadow: 0 0 12px var(--acc);
}
.step { position: relative; }
.step::before {
  content: "";
  position: absolute;
  left: -39px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--mute);
  transition: all .6s var(--ease);
}
.step.in::before {
  background: var(--acc);
  box-shadow: 0 0 0 4px rgba(227, 155, 91, .18), 0 0 16px var(--acc);
}
.step .n {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--mute);
}
.step h3 {
  font-family: var(--f-cn);
  font-weight: 600;
  font-size: 22px;
  margin: 6px 0 8px;
  color: var(--ink);
}
.step p {
  font-family: var(--f-cn);
  color: var(--body);
  line-height: 1.85;
  margin: 0;
  max-width: 34em;
}

/* 收尾大区 */
.end {
  margin-top: 96px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 56px 24px;
  text-align: center;
  display: grid;
  gap: 22px;
  justify-items: center;
  background: radial-gradient(60% 90% at 50% 120%, rgba(227, 155, 91, .35), transparent 70%), var(--bg2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.end .h2 { max-width: 16em; }

/* 笔记图文列表（无卡片框，封面图 + 标题 + 一句话） */
.notes-list { padding-block: 36px 24px; }
.note-item {
  display: grid;
  gap: 20px;
  padding-block: 32px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  align-items: center;
}
.note-item:hover h2 { color: var(--acc2); }
.note-item .note-thumb { aspect-ratio: 16/10; }
.note-item .note-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--acc);
  margin-bottom: 8px;
  display: block;
}
.note-item h2 {
  font-family: var(--f-cn);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  margin: 0 0 10px;
  color: var(--ink);
  transition: color .25s ease;
}
.note-item p {
  font-family: var(--f-cn);
  color: var(--body);
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 12px;
  max-width: 38em;
}
.note-item .read-more {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--mute);
}
@media (min-width: 860px) {
  .note-item {
    grid-template-columns: 280px 1fr;
    gap: 44px;
    padding-block: 38px;
  }
}

/* —— 文章页专用 —— */
.art-head { padding-block: 40px 0; display: grid; gap: 18px; }
.art-head .back { order: 1; }
.art-head .meta { order: 2; }
.art-head .h1 { order: 3; }
.back {
  font-family: var(--f-cn);
  font-size: 14px;
  color: var(--mute);
  text-decoration: none;
}
.back:hover { color: var(--ink); }
.meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.meta .pill {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .14em;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--acc2);
}
.cover { margin: 32px 0 0; position: relative; }
.cover .dev { aspect-ratio: 16/10; border-radius: 22px; }
.cover .dev img { object-position: 50% 40%; }
.cover figcaption { margin-top: 10px; }
@media (max-width: 859px) {
  .cover .dev { aspect-ratio: 4/5; }
}
@media (min-width: 860px) {
  .head-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 56px;
    align-items: end;
    padding-top: 40px;
  }
  .head-grid .art-head { padding: 0 0 8px; }
  .head-grid .cover { margin-top: 0; }
  .cover .dev { aspect-ratio: 4/5; max-height: 620px; }
}

.fig .stage, .fig .ba { max-width: 520px; margin-left: auto; margin-right: auto; }
.fig figcaption { max-width: 520px; margin-left: auto; margin-right: auto; }

/* 正文窄栏 17px 行高 1.95 */
.prose { max-width: 680px; margin: 0 auto; padding-top: 48px; }
.prose p {
  font-family: var(--f-cn);
  font-size: 17px;
  line-height: 1.95;
  color: var(--body);
  margin: 0 0 1.3em;
}
.prose p strong { color: var(--ink); font-weight: 600; }
.prose a:not(.btn) {
  color: var(--acc2);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 192, 143, .35);
  padding-bottom: 1px;
}
.prose a:not(.btn):hover { border-color: var(--acc); color: var(--ink); }
.prose .first { font-size: 19px; color: var(--ink); line-height: 1.85; }
.prose h3 {
  font-family: var(--f-cn);
  font-weight: 600;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.45;
  margin: 32px 0 12px;
  color: var(--ink);
}
.prose code {
  font-family: var(--f-mono);
  font-size: .88em;
  background: var(--bg2);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--acc2);
}
.prose .tbl-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg2);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-family: var(--f-cn);
  font-size: 15px;
  line-height: 1.65;
}
.prose thead th {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  background: rgba(237, 227, 211, .05);
  border-bottom: 1px solid var(--line);
  padding: 13px 16px;
}
.prose tbody td {
  color: var(--body);
  border-bottom: 1px solid var(--line);
  padding: 13px 16px;
  vertical-align: top;
}
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody td strong { color: var(--ink); font-weight: 600; }
.prose ol,
.prose ul:not(.check) {
  margin: 14px 0 24px;
  padding-left: 22px;
  font-family: var(--f-cn);
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--body);
}
.prose ol li,
.prose ul:not(.check) li { margin-bottom: 10px; }
.prose ol li strong,
.prose ul:not(.check) li strong { color: var(--ink); font-weight: 600; }
.prose .geo-note {
  font-size: 14px;
  color: var(--mute);
  line-height: 1.75;
  margin-top: -12px;
  margin-bottom: 24px;
}
.prose .faq-inline details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.prose .faq-inline details:last-child { border-bottom: 1px solid var(--line); }
.prose .faq-inline summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--f-cn);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.prose .faq-inline summary::-webkit-details-marker { display: none; }
.prose .faq-inline summary::after {
  content: "+";
  font-family: var(--f-mono);
  color: var(--acc);
  font-size: 18px;
  flex-shrink: 0;
}
.prose .faq-inline details[open] summary::after { content: "−"; }
.prose .faq-inline details p { margin: 12px 0 0; font-size: 16px; }

/* About 页极简 3 列 FDE 工程参数条 */
.fde-specs {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.fde-specs .spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fde-specs .spec-k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
}
.fde-specs .spec-v {
  font-family: var(--f-cn);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}
@media (min-width: 720px) {
  .fde-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }
  .fde-specs .spec-item {
    padding: 2px 18px 2px 0;
  }
  .fde-specs .spec-item + .spec-item {
    padding-left: 18px;
    border-left: 1px solid var(--line);
  }
  .fde-specs .spec-item:last-child {
    padding-right: 0;
  }
}

.sec { margin-top: 68px; }
.sec-n {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--acc);
  margin-bottom: 12px;
}
.sec-n::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(227, 155, 91, .5), transparent);
}
.sec h2 {
  font-family: var(--f-cn);
  font-weight: 600;
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.4;
  margin: 0 0 20px;
  color: var(--ink);
  text-wrap: balance;
}

/* 标注图：滚到时画圈/箭头、弹说明、放大镜 */
.fig { margin: 32px 0 36px; }
.fig .stage { position: relative; }
.fig .dev { aspect-ratio: 4/5; }
.fig.fig-wide .dev { aspect-ratio: 16/10; }
.fig svg.ann {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.ann .s {
  fill: none;
  stroke: var(--acc2);
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(227, 155, 91, .8));
  stroke-dasharray: var(--len, 600);
  stroke-dashoffset: var(--len, 600);
  transition: stroke-dashoffset 1.4s var(--ease) .9s;
}
.draw.in .ann .s, html:not(.js) .ann .s { stroke-dashoffset: 0; }
.ann .lbl { opacity: 0; transition: opacity .8s var(--ease) 1.8s; }
.draw.in .ann .lbl, html:not(.js) .ann .lbl { opacity: 1; }
.chip {
  position: absolute;
  font-family: var(--f-cn);
  font-size: 13px;
  line-height: 1.4;
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--ink);
  max-width: 62%;
  background: rgba(19, 16, 13, .62);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255, 240, 220, .18);
  opacity: 0;
  transform: translateY(8px);
  transition: all .9s var(--ease) 1.7s;
}
.chip b {
  display: block;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--acc2);
  margin-bottom: 2px;
}
.draw.in .chip, html:not(.js) .chip { opacity: 1; transform: none; }
.fig figcaption {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  font-family: var(--f-cn);
  font-size: 13px;
  color: var(--mute);
  line-height: 1.6;
}
.fig figcaption::before {
  content: "";
  flex: 0 0 14px;
  height: 1px;
  background: var(--acc);
  margin-top: .8em;
}

/* 放大镜 */
.loupe {
  position: absolute;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  right: 5%;
  top: 20%;
  box-shadow: 0 0 0 1px rgba(255, 240, 220, .35), 0 0 0 6px rgba(19, 16, 13, .35), 0 20px 50px rgba(0, 0, 0, .5);
  transform: scale(.6);
  opacity: 0;
  transition: all 1.1s var(--ease) 1s;
}
.loupe img {
  position: absolute;
  width: 660%;
  max-width: none;
  left: var(--lx);
  top: var(--ly);
}
.draw.in .loupe, html:not(.js) .loupe { transform: none; opacity: 1; }

/* 怎么查怎么救 / 提示条 */
.fix {
  margin: 28px 0 16px;
  padding: 18px 20px;
  border-left: 1px solid var(--acc);
  background: linear-gradient(90deg, rgba(227, 155, 91, .08), transparent 75%);
  border-radius: 0 12px 12px 0;
}
.fix p { margin: 0; }
.fix h3, .fix b {
  display: block;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--acc);
  margin: 0 0 8px;
}

/* 自查清单 */
.check {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  display: grid;
  gap: 4px;
}
.check li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  font-family: var(--f-cn);
  font-size: 16px;
  line-height: 1.85;
  color: var(--body);
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.check li strong { color: var(--ink); }
.check svg { margin-top: 5px; }
.check .c {
  stroke: var(--acc);
  stroke-width: 1.6;
  fill: none;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset .7s var(--ease);
}
.check li.in .c, html:not(.js) .check .c { stroke-dashoffset: 0; }
.check li:nth-child(2) .c { transition-delay: .18s; }
.check li:nth-child(3) .c { transition-delay: .36s; }
.check li:nth-child(4) .c { transition-delay: .54s; }
.check li:nth-child(5) .c { transition-delay: .72s; }

/* 结尾提问区 */
.ask {
  margin: 72px auto 0;
  max-width: 680px;
  border-radius: 24px;
  padding: 36px 24px;
  display: grid;
  gap: 16px;
  background: radial-gradient(70% 100% at 100% 0%, rgba(227, 155, 91, .22), transparent 70%), var(--bg2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.ask h2 {
  font-family: var(--f-cn);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.35;
  margin: 0;
  color: var(--ink);
}
.ask p { font-family: var(--f-cn); color: var(--body); line-height: 1.85; margin: 0; font-size: 16px; }

/* 页脚 */
.foot {
  border-top: 1px solid var(--line);
  margin-top: 96px;
  padding-block: 36px 48px;
}
.foot .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.foot-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--mute);
  margin-bottom: 10px;
}
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

/* 兼容首页首屏下方残留旧类（若存在） */
.container { max-width: 1200px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
@media (min-width: 860px) { .container { padding-inline: 56px; } }

@media (prefers-reduced-motion: reduce) {
  .js .dev:not(.in) img,
  .js .up,
  .ann .s,
  .ann .lbl,
  .chip,
  .loupe,
  .check .c {
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
  }
  * { transition: none !important; animation: none !important; }
}

/* 首页首屏下方：消除首页首屏下方到深色版块的浅色过渡断层（不动 hero-reveal.css） */
.hero-reveal + .hero-bridge { height: 0 !important; background: var(--bg) !important; }

/* —— T097 业务系统主站版块样式 —— */
.pos-band {
  padding-block: 64px 28px;
  border-bottom: 1px solid var(--line);
}
.pos-band .h2 { max-width: 24em; margin-top: 12px; }
.pos-band .pos-sub {
  margin-top: 16px;
  font-family: var(--f-cn);
  font-size: 16px;
  line-height: 1.85;
  color: var(--body);
  max-width: 42em;
}
.pos-band .pos-minor {
  margin-top: 12px;
  font-family: var(--f-cn);
  font-size: 14px;
  color: var(--mute);
  line-height: 1.7;
}
.pos-band .pos-minor a {
  color: var(--body);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.pos-band .pos-minor a:hover { color: var(--ink); border-color: var(--acc); }

/* 适合谁 / 不太适合 两列 */
.fit-sec { padding-block: 64px 24px; }
.fit-grid {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}
@media (min-width: 860px) {
  .fit-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.fit-col {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
}
.fit-col.fit-no { background: rgba(26, 21, 17, .55); }
.fit-col h3 {
  font-family: var(--f-cn);
  font-size: 20px;
  font-weight: 600;
  margin: 8px 0 16px;
  color: var(--ink);
}
.fit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.fit-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-family: var(--f-cn);
  font-size: 15px;
  line-height: 1.75;
  color: var(--body);
}
.fit-col.fit-yes .fit-list li::before {
  content: "✓";
  color: var(--acc);
  font-weight: 700;
}
.fit-col.fit-no .fit-list li::before {
  content: "×";
  color: var(--mute);
  font-weight: 700;
}

/* 案例区块（前后对比滑块 + 2 张截图） */
.case-sec { padding-block: 68px 24px; }
.case-story {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
@media (min-width: 860px) {
  .case-story { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.case-box {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.case-box .n {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--acc);
  text-transform: uppercase;
}
.case-box p {
  font-family: var(--f-cn);
  font-size: 15px;
  line-height: 1.85;
  color: var(--body);
  margin: 8px 0 0;
}
.ba.ba-wide {
  aspect-ratio: 16/10;
  margin-top: 28px;
  border: 1px solid var(--line);
}
.case-shots {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
@media (min-width: 860px) {
  .case-shots { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.case-shots figure { margin: 0; }
.case-shots .dev { aspect-ratio: 16/10; }
.case-shots figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  font-family: var(--f-cn);
  font-size: 13px;
  color: var(--body);
}
.case-shots figcaption span:last-child {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--mute);
  white-space: nowrap;
}

/* 交付保障 3 条 */
.guar-sec { padding-block: 68px 24px; }
.guar-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
@media (min-width: 860px) {
  .guar-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.guar-item {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.guar-item .n {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--acc);
}
.guar-item h3 {
  font-family: var(--f-cn);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin: 8px 0 8px;
  line-height: 1.4;
}
.guar-item p {
  font-family: var(--f-cn);
  font-size: 15px;
  line-height: 1.8;
  color: var(--body);
  margin: 0;
}

/* 常见问答（原生 details，无 JS 可展开） */
.faq-sec { padding-block: 68px 24px; }
.faq-list {
  margin-top: 28px;
  display: grid;
  gap: 0;
  max-width: 820px;
}
.faq-list details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--f-cn);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--f-mono);
  font-size: 20px;
  font-weight: 400;
  color: var(--acc);
  flex-shrink: 0;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
  margin: 12px 0 0;
  font-family: var(--f-cn);
  font-size: 15px;
  line-height: 1.85;
  color: var(--body);
  max-width: 44em;
}

/* 副线：AI 陪跑 */
.side-sec { padding-block: 56px 24px; }
.side-band {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 860px) {
  .side-band {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 36px 40px;
    gap: 36px;
  }
}
.side-band h2 { margin: 8px 0 10px; }
.side-band p {
  font-family: var(--f-cn);
  font-size: 15px;
  line-height: 1.85;
  color: var(--body);
  margin: 0;
  max-width: 40em;
}

/* 首页精选笔记 3 卡 */
.notes-sec { padding-block: 68px 24px; }
.notes-cards {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
@media (min-width: 860px) {
  .notes-cards { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}
.note-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 22px;
  border-radius: 18px;
  background: var(--bg2);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .25s ease, transform .3s var(--ease);
}
.note-card:hover { border-color: var(--acc); transform: translateY(-2px); }
.note-card .note-k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--acc);
}
.note-card h3 {
  font-family: var(--f-cn);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  margin: 8px 0 8px;
  color: var(--ink);
}
.note-card p {
  font-family: var(--f-cn);
  font-size: 14px;
  line-height: 1.75;
  color: var(--body);
  margin: 0;
}
.note-card .more {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--acc2);
}

/* /built/ 视频演示与价格区间 */
.video-wrap {
  margin-top: 28px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d0b09;
}
.video-wrap video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  background: #0d0b09;
}
.price-range {
  margin-top: 28px;
  padding: 28px 24px;
  border-radius: 20px;
  background: radial-gradient(70% 100% at 100% 0%, rgba(227, 155, 91, .16), transparent 70%), var(--bg2);
  border: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.price-range .pr-val {
  font-family: var(--f-cn);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.price-range p {
  font-family: var(--f-cn);
  font-size: 15px;
  line-height: 1.85;
  color: var(--body);
  margin: 0;
  max-width: 44em;
}

/* 联系区补充提示 */
.end-tip {
  font-family: var(--f-cn);
  font-size: 15px;
  line-height: 1.8;
  color: var(--body);
  max-width: 36em;
  margin: 0;
}
.end-meta {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mute);
  margin: 0;
}

/* 手机端底部常驻细条（仅移动端显示，不挡正文） */
.mob-bar {
  display: none;
}
@media (max-width: 859px) {
  .foot { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .mob-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(19, 16, 13, .92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    transition: transform .3s var(--ease), opacity .3s ease;
  }
  .js .mob-bar.is-hidden {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
  }
  .mob-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    font-family: var(--f-cn);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
  }
  .mob-bar a.mb-wa {
    background: var(--ink);
    color: var(--bg);
  }
  .mob-bar a.mb-tg {
    background: var(--bg2);
    color: var(--ink);
    border: 1px solid var(--line);
  }
}

@media (max-width: 859px) {
  .price { flex-direction: column; gap: 6px; }
  .price b { font-size: clamp(28px, 8vw, 44px); white-space: nowrap; }
}

/* —— 案例省时双数字与客户原话引语 —— */
.case-metrics {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
@media (min-width: 860px) {
  .case-metrics { grid-template-columns: 1fr 1fr; gap: 22px; }
}
.metric-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 22px;
}
.metric-card .m-lbl {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--acc);
  margin-bottom: 10px;
}
.metric-card .m-val {
  font-family: var(--f-cn);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -.01em;
}
.metrics-note {
  margin: 12px 0 0;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--mute);
}
.case-quote {
  margin: 28px 0 0;
  padding: 28px 26px;
  border-left: 2px solid var(--acc);
  border-radius: 0 18px 18px 0;
  background: linear-gradient(90deg, rgba(227, 155, 91, .10), rgba(26, 21, 17, .65) 75%);
}
.case-quote p {
  font-family: var(--f-cn);
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
  font-weight: 500;
}
.case-quote footer {
  margin-top: 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--acc2);
}
