/* Hallmark · genre modern-minimal · theme custom-ink · posture restrained · surface: absolute · hero: split · nav: quiet pill, hairline only after scroll · footer: quiet rule · by request */
/* critique: 全站只用墨、纸、酸绿三色；色块让位给细线与留白；无渐变、无装饰点、无手绘窗口 */

:root {
  --paper: #f9fafb;
  --paper-2: #eef1f5;
  --surface: #ffffff;
  --surface-2: #f4f6f9;
  --grid-line: rgba(12, 26, 43, 0.055);
  --hero-glow: rgba(25, 118, 210, 0.09);
  --mask-solid: #000;
  --ink: #121316;
  --ink-hover: #23252b;
  --ink-2: #5a5e66;
  --ink-3: #8d9199;
  --on-ink: rgba(255, 255, 255, 0.62);
  --rule: rgba(18, 19, 22, 0.1);
  --rule-soft: rgba(18, 19, 22, 0.055);
  --rule-on-ink: rgba(255, 255, 255, 0.3);
  --ink-deep: #0c1a2b;
  --accent: #1976d2;
  --accent-hover: #0f5cad;
  --accent-2: #00bcd4;
  --accent-wash: rgba(25, 118, 210, 0.08);
  --accent-ink: #ffffff;
  --scope-line: rgba(23, 42, 68, 0.7);
  --scope-halo: rgba(25, 118, 210, 0.22);
  --scope-knockout: rgba(255, 255, 255, 0.9);

  /* 首屏：深底 + 代码雨 */
  --hero-bg: #04080a;
  --hero-bg-mid: #050c0e;
  --hero-bg-deep: #04090b;
  --hero-green: #4ade80;
  --hero-glow: rgba(34, 197, 94, 0.12);
  --on-hero: #f1f7f4;
  --on-hero-2: rgba(226, 240, 233, 0.74);
  --on-hero-3: rgba(203, 224, 214, 0.7);
  --hero-rule: rgba(150, 255, 195, 0.16);
  --hero-grid: rgba(150, 255, 195, 0.055);
  --hero-ring: rgba(150, 255, 195, 0.1);
  --hero-scope: rgba(190, 255, 214, 0.82);
  --hero-halo: rgba(74, 222, 128, 0.12);
  --hero-knockout: rgba(4, 8, 10, 0.92);
  --hero-mask-edge: rgba(0, 0, 0, 0.22);
  --hero-shade: rgba(4, 8, 10, 0.92);
  --hero-shade-soft: rgba(4, 8, 10, 0.7);
  --hero-shade-faint: rgba(4, 8, 10, 0.18);
  --hero-shade-mid: rgba(4, 8, 10, 0.4);
  --hero-scan-hi: #d9ffe8;
  --hero-btn-ink: #06110c;
  --hero-btn-hover: #d6ffe8;
  --hero-ghost-line: rgba(255, 255, 255, 0.26);
  --hero-ghost-wash: rgba(255, 255, 255, 0.06);
  --hero-shadow: rgba(0, 0, 0, 0.95);

  --font-sans: "Inter", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei",
    system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-display: clamp(2.2rem, 3.9vw, 3.6rem);
  --text-h2: clamp(1.75rem, 2.7vw, 2.5rem);
  --text-h3: 1.0625rem;
  --text-body: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.8125rem;

  --space-3xs: 2px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 144px;

  --radius: 8px;
  --radius-lg: 14px;
  --shell: 1360px;

  --shadow-1: 0 1px 2px rgba(20, 22, 30, 0.05);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long: 420ms;
}

* { box-sizing: border-box; }
/* 固定导航挡在顶上，锚点落点让它 84px */
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}
/* 中文标题只在标点处断行，别把「资料」拆成「资 / 料」 */
h1, h2, h3 { word-break: keep-all; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b { font-weight: 600; }
em { font-style: normal; }

::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 1em; height: 1em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--space-xl); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: var(--space-md); top: var(--space-md); z-index: 300;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  background: var(--ink); color: var(--surface);
}

/* ---------- 导航 ---------- */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 300;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background var(--dur-short) var(--ease-out),
    border-color var(--dur-short) var(--ease-out);
}
.nav.is-scrolled {
  background: var(--paper);
  border-bottom-color: var(--rule);
}
/* 首屏是深底，导航未滚动时反白 */
.nav:not(.is-scrolled) .brand__cn { color: var(--on-hero); }
.nav:not(.is-scrolled) .brand__en { color: var(--on-hero-3); }
.nav:not(.is-scrolled) .nav__links a { color: var(--on-hero-2); }
.nav:not(.is-scrolled) .nav__links a:hover { color: var(--on-hero); }
.nav:not(.is-scrolled) .nav__links a::after { background: var(--hero-green); }
.nav:not(.is-scrolled) .nav__toggle { color: var(--on-hero); }
.nav:not(.is-scrolled) .nav__actions .btn--primary { background: var(--on-hero); color: var(--hero-btn-ink); }
.nav:not(.is-scrolled) .nav__actions .btn--primary:hover { background: var(--hero-btn-hover); }
/* 顶部导航内容撑满整行，不受内容容器宽度限制 */
.nav__inner {
  position: relative;
  display: flex; align-items: center; gap: var(--space-xl);
  width: 100%;
  height: 56px;
  padding: 0 var(--space-xl);
}

.brand { display: flex; align-items: center; gap: var(--space-sm); }
.brand__mark {
  display: block;
  width: 30px; height: 30px;
  flex: none;
  object-fit: contain;
}
/* 名字一行、说明一行，靠左对齐：上面重、下面轻 */
.brand__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.brand__cn {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand__en {
  font-size: 0.625rem;
  line-height: 1.2;
  color: var(--ink-3);
  letter-spacing: 0.14em;
  white-space: nowrap;
}

/* 链接按视口中线摆放，左右留白才对称 */
.nav__links {
  display: flex; align-items: center;
  gap: var(--space-2xs);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav__links a {
  position: relative;
  padding: var(--space-sm) var(--space-md) var(--space-md);
  font-size: var(--text-sm);
  color: var(--ink-2);
  transition: color var(--dur-micro) linear;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: var(--space-md); right: var(--space-md);
  bottom: var(--space-xs);
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-short) var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* 链接脱流居中后，按钮自己靠右 */
.nav__actions { margin-left: auto; }

/* 这一档居中会压到品牌，链接退回紧贴品牌排 */
@media (min-width: 861px) and (max-width: 960px) {
  .nav__links { position: static; transform: none; }
}

/* 鼠标点击后不留系统默认焦点框（Windows Chrome 会画成橙黄色） */
:focus:not(:focus-visible) { outline: none; }
a:focus:not(:focus-visible) { outline: none; }
button:focus:not(:focus-visible) { outline: none; }
html { -webkit-tap-highlight-color: transparent; }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: transparent; color: var(--ink);
  cursor: pointer;
}
.nav__toggle .ico { width: 18px; height: 18px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 290;
  display: flex; flex-direction: column; gap: var(--space-xs);
  padding: 96px var(--space-xl) var(--space-xl);
  background: var(--paper);
  transform: translateY(-8px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-short) var(--ease-out),
    transform var(--dur-short) var(--ease-out),
    visibility 0s linear var(--dur-short);
}
.mobile-menu.is-open {
  opacity: 1; visibility: visible; transform: none;
  transition-delay: 0s;
}
.mobile-menu a {
  padding: var(--space-md) 0;
  font-size: 1.25rem; font-weight: 600;
  border-bottom: 1px solid var(--rule-soft);
}
.mobile-menu .btn { margin-top: var(--space-lg); }
/* 桌面宽度下这块菜单没有任何入口，直接不渲染 */
@media (min-width: 861px) { .mobile-menu { display: none; } }

/* 菜单铺满整屏时，导航要跟着回到纸面：
   否则白底的菜单上方浮着一条反白的导航，白字白底，什么都看不见 */
body.is-locked .nav {
  background: var(--paper);
  border-bottom-color: transparent;
}
body.is-locked .nav .brand__cn { color: var(--ink); }
body.is-locked .nav .brand__en { color: var(--ink-3); }
body.is-locked .nav .nav__toggle { color: var(--ink); border-color: var(--rule); }
body.is-locked .nav .nav__actions .btn {
  background: transparent;
  border-color: var(--rule);
  color: var(--ink);
}
/* 菜单里已经有一颗大按钮，导航上这颗就别重复了，把 X 让到右边 */
body.is-locked .nav .nav__actions { display: none; }
body.is-locked .nav__toggle { margin-left: auto; }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  height: 48px; padding: 0 var(--space-lg);
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.9375rem; font-weight: 600;
  font-family: inherit;
  white-space: nowrap; cursor: pointer;
  transition: background var(--dur-short) var(--ease-out),
    color var(--dur-short) var(--ease-out),
    border-color var(--dur-short) var(--ease-out),
    transform var(--dur-micro) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 16px; height: 16px; }

.btn--primary { background: var(--ink); color: var(--surface); }
.btn--primary:hover { background: var(--ink-hover); }

.btn:disabled,
.btn[aria-disabled="true"] {
  background: var(--surface-2);
  color: var(--ink-2);
  border-color: var(--rule);
  cursor: not-allowed;
  transform: none;
}

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--sm { height: 38px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.btn--quiet { background: transparent; color: var(--ink); padding: 0; height: auto; }
.btn--quiet .ico { transition: transform var(--dur-short) var(--ease-out); }
.btn--quiet:hover .ico { transform: translateX(3px); }

/* ---------- 首屏 ---------- */

.hero {
  --mx: 520px;
  --my: 260px;
  position: relative;
  isolation: isolate;
  overflow: clip;
  /* 首屏占满一屏；svh 取最小视口，移动端地址栏伸缩时不抖动也不裁内容 */
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: var(--space-4xl) 0 calc(var(--space-3xl) + var(--space-lg));
  background:
    radial-gradient(ellipse 68% 58% at 70% 26%, var(--hero-glow), transparent 72%),
    linear-gradient(180deg, var(--hero-bg) 0%, var(--hero-bg-mid) 58%, var(--hero-bg-deep) 100%);
  --grid-line: var(--hero-grid);
  --scope-line: var(--hero-scope);
  --scope-halo: var(--hero-halo);
  --scope-knockout: var(--hero-knockout);
  color: var(--on-hero);
}

/* 首屏背景：代码雨 + 网格 + 扫描线 + 底层事件带 */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero__matrix {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.34;
  -webkit-mask-image: radial-gradient(ellipse 84% 96% at 64% 44%, var(--mask-solid) 16%, var(--hero-mask-edge) 92%);
  mask-image: radial-gradient(ellipse 84% 96% at 64% 44%, var(--mask-solid) 16%, var(--hero-mask-edge) 92%);
}

/* 左侧压暗，保证标题可读 */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg, var(--hero-shade) 0%, var(--hero-shade-soft) 30%, var(--hero-shade-faint) 58%, var(--hero-shade-mid) 100%);
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  animation: mesh-drift 26s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse 64% 58% at 38% 40%, var(--mask-solid) 12%, transparent 74%);
  mask-image: radial-gradient(ellipse 64% 58% at 38% 40%, var(--mask-solid) 12%, transparent 74%);
}
.hero__mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 340px at var(--mx) var(--my),
    var(--scope-halo),
    transparent 68%
  );
}

/* 瞄准镜：跟随光标，只在有精确指针的设备上出现 */
.hero__scope {
  position: absolute;
  left: 0; top: 0;
  width: 72px; height: 72px;
  z-index: 2;
  pointer-events: none;
  color: var(--scope-line);
  transform: translate3d(var(--mx), var(--my), 0) translate(-50%, -50%);
  transition: transform 90ms linear, opacity 180ms linear;
  filter: drop-shadow(0 0 1px var(--scope-knockout));
  /* 四段断口十字：中心留 12px 空档，不画圆环 */
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 30px 1px, 30px 1px, 1px 30px, 1px 30px;
  background-position: 0 50%, 100% 50%, 50% 0, 50% 100%;
}
.js .hero__scope { opacity: 0; }
.js .hero.is-aiming .hero__scope { opacity: 1; }
.hero__scope::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 3px; height: 3px;
  margin: -1.5px 0 0 -1.5px;
  border-radius: 50%;
  background: var(--hero-green);
}

@media (pointer: coarse) {
  .hero__scope { display: none; }
}

.hero__scan {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, var(--hero-green) 18%, var(--hero-scan-hi) 82%, transparent);
  animation: hero-scan 12s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes mesh-drift {
  to { background-position: 64px 64px; }
}

@keyframes hero-scan {
  0% { transform: translateY(6vh); opacity: 0; }
  10% { opacity: 0.26; }
  72% { opacity: 0.26; }
  100% { transform: translateY(74vh); opacity: 0; }
}

.hero__tape {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  height: 30px;
  overflow: hidden;
  border-top: 1px solid var(--hero-rule);
  font-size: var(--text-xs);
  color: var(--on-hero-3);
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--mask-solid) 6%, var(--mask-solid) 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, var(--mask-solid) 6%, var(--mask-solid) 94%, transparent);
}
.hero__tape-track {
  display: flex;
  flex: none;
  gap: var(--space-xl);
  padding-left: var(--space-xl);
  animation: hero-tape 46s linear infinite;
}
.hero__tape-track span::before {
  content: "";
  display: inline-block;
  width: 3px; height: 3px;
  margin-right: var(--space-sm);
  border-radius: 50%;
  background: var(--hero-green);
  vertical-align: 2px;
}
@keyframes hero-tape {
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__mesh, .hero__scan, .hero__tape-track { animation: none; }
  .hero__scan { display: none; }
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: var(--space-2xl);
  align-items: center;
}

.hero h1 {
  font-size: var(--text-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--on-hero);
}
.hero__lead {
  margin-top: var(--space-lg);
  max-width: 44ch;
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--on-hero-2);
}
.hero__lead b { color: var(--on-hero); }

/* 深底上的按钮：主按钮反白，次按钮描边 */
.hero .btn--primary { background: var(--on-hero); color: var(--hero-btn-ink); }
.hero .btn--primary:hover { background: var(--hero-btn-hover); }
.hero .btn--ghost { color: var(--on-hero); border-color: var(--hero-ghost-line); }
.hero .btn--ghost:hover { border-color: var(--on-hero); background: var(--hero-ghost-wash); }
.hero__actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}
.hero__alert {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--hero-rule);
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--on-hero-2);
  max-width: 32em;
}
.hero__alert span { color: var(--on-hero-3); }
.hero__alert b { color: var(--hero-green); font-weight: 700; font-variant-numeric: tabular-nums; }

.hero__note {
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--on-hero-3);
  max-width: 40ch;
}

/* ---------- 首屏面板：终端 HUD，深底玻璃，压住背后的字符雨 ---------- */

.panel {
  position: relative;
  margin: 0;
  border: 1px solid rgba(150, 255, 195, 0.18);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(7, 17, 20, 0.95) 0%, rgba(3, 8, 10, 0.97) 100%);
  color: var(--on-hero-2);
  overflow: hidden;
  font-variant-numeric: tabular-nums;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow:
    0 40px 90px -46px var(--hero-shadow),
    0 0 0 1px var(--hero-ring),
    0 0 46px -20px rgba(74, 222, 128, 0.32);
}
/* 面板顶边一线绿光 */
.panel::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.6), transparent);
  pointer-events: none;
}
.panel__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(150, 255, 195, 0.14);
}
.panel__head b { font-size: var(--text-sm); font-weight: 600; letter-spacing: 0; color: var(--on-hero); }
/* 标题前一颗呼吸的在线灯 */
.panel__head b::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: var(--space-xs);
  border-radius: 50%;
  background: var(--hero-green);
  box-shadow: 0 0 10px var(--hero-green);
  vertical-align: 1px;
  animation: panelPulse 2.6s ease-in-out infinite;
}
@keyframes panelPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
  .panel__head b::before { animation: none; }
}
.panel__stat {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  color: rgba(203, 224, 214, 0.55);
}
.panel__stat b { color: var(--hero-green); font-weight: 600; }

/* 表头与数据行是两个独立 grid，列宽必须给死值：
   auto 会各按自身内容计算（表头「终端」两字 vs「研发部-0731」六字），列就歪了 */
.panel__cols {
  display: grid;
  grid-template-columns: 58px 88px minmax(0, 1fr) 40px;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  border-bottom: 1px solid rgba(150, 255, 195, 0.1);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(150, 255, 195, 0.56);
}
.panel__cols span:last-child { text-align: right; }

.panel__list li {
  display: grid;
  grid-template-columns: 58px 88px minmax(0, 1fr) 40px;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  border-bottom: 1px solid rgba(150, 255, 195, 0.07);
  font-size: var(--text-xs);
  transition: background-color var(--dur-short) linear;
}
.panel__list li:last-child { border-bottom: 0; }
.panel__list li:hover { background: rgba(255, 255, 255, 0.028); }
.panel__list li.is-live { background: rgba(74, 222, 128, 0.08); }
.panel__time {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  color: rgba(150, 255, 195, 0.42);
}
.panel__who { font-weight: 500; color: var(--on-hero); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel__what { display: flex; align-items: center; gap: var(--space-xs); min-width: 0; color: rgba(226, 240, 233, 0.78); }
.panel__app { flex: none; display: block; width: 16px; height: 16px; }
.panel__what > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.panel__tag { justify-self: end; font-size: 11px; color: rgba(150, 255, 195, 0.6); white-space: nowrap; }
/* 风险用琥珀，终端里只有正常和告警两档 */
.panel__tag--risk { color: #ffb020; font-weight: 600; }

.panel__foot {
  padding: var(--space-xs) var(--space-md);
  border-top: 1px solid rgba(150, 255, 195, 0.12);
  background: rgba(255, 255, 255, 0.02);
  font-size: 11px;
  color: rgba(203, 224, 214, 0.42);
}

/* ---------- 章节 ---------- */

.section { padding: var(--space-3xl) 0; }
.section--paper { background: var(--paper-2); }
.section--ink { background: var(--ink-deep); color: var(--surface); }

.section h2 {
  font-size: var(--text-h2);
  letter-spacing: -0.03em;
  max-width: 18em;
}
.section__intro {
  margin-top: var(--space-md);
  max-width: 36em;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-2);
}

/* ---------- 六件事 ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--space-2xl);
  margin-top: var(--space-xl);
  border-top: 1px solid var(--rule);
}
.fact {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--rule);
}
.fact__no {
  padding-top: var(--space-2xs);
  font-size: var(--text-xs);
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.fact h3 { font-size: var(--text-h3); letter-spacing: -0.02em; }
.fact p { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--ink-2); max-width: 40ch; }

/* ---------- 四步 ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}
.step { border-top: 1px solid var(--rule); padding-top: var(--space-md); }
.step__no {
  display: block;
  font-size: var(--text-xs);
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-top: var(--space-sm); font-size: var(--text-h3); letter-spacing: -0.02em; }
.step p { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--ink-2); }

/* ---------- 架构 ---------- */

.arch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}
.arch__col { border-top: 1px solid var(--rule); padding-top: var(--space-md); }
.arch__col h3 { margin-top: var(--space-sm); font-size: var(--text-h3); letter-spacing: -0.02em; }
.arch__col p { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--ink-2); }

/* ---------- 数字 ---------- */

.nums {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-xl);
}
.num { border-top: 1px solid var(--rule); padding-top: var(--space-md); }
.num b {
  display: block;
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.num b em { font-size: 0.34em; letter-spacing: 0; color: var(--ink-3); margin-left: 0.25em; }
.num > span { display: block; margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--ink-2); max-width: 22em; }

.section--ink .num { border-top-color: var(--rule-on-ink); }
.section--ink .num b { color: var(--surface); }
.section--ink .num b em { color: var(--accent-2); }
.section--ink .num > span { color: var(--on-ink); }

/* ---------- 合规 ---------- */

/* 左栏标题与依据、右栏三条清单，两栏底部齐平 */
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.32fr);
  gap: var(--space-xl);
  align-items: stretch;
}
/* 左栏内容在整栏里垂直居中，和右侧三条的重心对齐，底下不留空洞 */
.trust-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 导语拆成两句后收紧行距，读起来是一句话的两半 */
#compliance .section__intro + .section__intro { margin-top: var(--space-2xs); }

/* 编号占左、标题压说明，读起来像清单不像文件 */
.trust { border-top: 1px solid var(--ink); }
.trust > li {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  grid-template-areas: "no title" "no desc";
  column-gap: var(--space-sm);
  row-gap: 2px;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--rule);
}
.trust__no {
  grid-area: no;
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.trust b { grid-area: title; font-size: 1.25rem; font-weight: 700; line-height: 1.4; color: var(--ink); }
.trust p { grid-area: desc; font-size: 1rem; line-height: 1.7; color: var(--ink-2); }

/* 依据跟在导语下面，不贴底，避免左栏中间留出空洞 */
.trust__law {
  margin-top: var(--space-lg);
  font-size: var(--text-xs);
  line-height: 1.7;
  color: var(--ink-3);
}
.nw { white-space: nowrap; }

/* ---------- 价格 ---------- */

/* 一张账：上下两条墨线收口，中间一条竖线，不做卡片不做底纹 */
.ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: var(--space-xl);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.ledger__col { padding: var(--space-xl) var(--space-2xl) var(--space-lg) 0; }
.ledger__col + .ledger__col {
  padding-left: var(--space-2xl);
  border-left: 1px solid var(--ink);
}

.ledger__label {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  color: var(--ink-3);
}
.ledger__figure {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}
.ledger__figure b {
  font-size: clamp(2.4rem, 4.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.ledger__figure em {
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--ink-3);
}
.ledger__note {
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--ink-2);
}
.ledger__note p { margin: 0; text-wrap: pretty; }

/* 结论落在底线之外，靠右收尾 */
.ledger__total {
  margin-top: var(--space-md);
  text-align: right;
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
/* 破折号和后面的话隔开半个字 */
.ledger__dash { margin-right: 0.45em; }

/* 价格下面紧接三步，底部不再叠加一整段留白 */
#pricing { padding-bottom: 0; }

/* ---------- 三步开始 ---------- */

.paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}
.path { border-top: 1px solid var(--rule); padding-top: var(--space-md); }
.path__no { font-size: var(--text-xs); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.path h3 { margin-top: var(--space-sm); font-size: var(--text-h3); letter-spacing: -0.02em; }
.path p { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--ink-2); }

/* ---------- 收尾 ---------- */

.end {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--ink-deep);
  color: var(--surface);
}
.end__lead { flex: 1 1 320px; min-width: 0; }
.end h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -0.025em;
  max-width: 20em;
}
.end p { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--on-ink); }
.end__actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-md); }

/* 微信二维码：白底黑码必须留足留白，四周不压深色 */
.end__qr {
  flex: none;
  margin: 0;
  display: flex; align-items: center; gap: var(--space-md);
}
/* 码贴卡片右边，说明文字在左，读起来不顶到边缘 */
.end__qr img { order: 2; display: block; width: 132px; height: 132px; border-radius: 6px; }
.end__qr figcaption { font-size: var(--text-xs); color: var(--on-ink); line-height: 1.6; }
.end__qr b { display: block; margin-bottom: var(--space-3xs); font-size: var(--text-sm); color: var(--surface); }
.end .btn--primary { background: var(--surface); color: var(--ink); }
.end .btn--primary:hover { background: var(--surface-2); }
.end .btn--ghost { color: var(--surface); border-color: var(--rule-on-ink); }
.end .btn--ghost:hover { border-color: var(--surface); }

/* ---------- 页脚 ---------- */

.footer {
  border-top: 1px solid var(--rule);
  padding: var(--space-2xl) 0 var(--space-lg);
}
.footer__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: var(--space-xl);
}
.footer__brand p { margin-top: var(--space-sm); font-size: var(--text-xs); color: var(--ink-3); }
.footer__links { display: flex; gap: var(--space-2xl); }
.footer__links div { display: flex; flex-direction: column; gap: var(--space-xs); font-size: var(--text-sm); }
.footer__links b { font-size: var(--text-xs); color: var(--ink-3); font-weight: 500; margin-bottom: var(--space-2xs); }
.footer__links a { color: var(--ink-2); transition: color var(--dur-micro) linear; }
.footer__links a:hover { color: var(--ink); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs);
  margin-top: var(--space-xl);
  font-size: var(--text-xs);
  color: var(--ink-3);
}

/* ---------- 渐入（modern-minimal：一次，且默认可见） ---------- */

.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .reveal.is-in { animation: rise var(--dur-long) var(--ease-out) both; }
  .reveal.d1.is-in { animation-delay: 40ms; }
  .reveal.d2.is-in { animation-delay: 80ms; }
  .reveal.d3.is-in { animation-delay: 120ms; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .hero { padding-top: 132px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .hero h1 { max-width: 16ch; }
  .panel { max-width: 560px; }
  .steps, .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arch { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .split__copy { position: static; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__actions { margin-left: auto; }
  /* 手机导航里这颗按钮降为次级：白方块太抢，主 CTA 留给正文 */
  .nav__inner { gap: var(--space-sm); }
  .nav__actions .btn {
    height: 34px;
    padding: 0 var(--space-sm);
    font-size: 0.8125rem;
    border-color: var(--rule);
    background: transparent;
    color: var(--ink);
  }
  .nav__actions .btn:hover { background: var(--surface-2); }
  /* 首屏深底上，描边跟着反白 */
  .nav:not(.is-scrolled) .nav__actions .btn {
    border-color: rgba(203, 224, 214, 0.3);
    background: transparent;
    color: var(--on-hero);
  }
  .nav:not(.is-scrolled) .nav__actions .btn:hover {
    border-color: rgba(203, 224, 214, 0.55);
    background: rgba(255, 255, 255, 0.06);
  }
  .section { padding: var(--space-2xl) 0; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .paths { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  /* 账目两栏上下排，竖线改成横线 */
  .ledger { grid-template-columns: minmax(0, 1fr); }
  .ledger__col { padding: var(--space-lg) 0; }
  .ledger__col + .ledger__col {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--ink);
  }
  /* 窄屏折成一列：标题、导语、清单、依据依次排，依据挪到最末 */
  .trust-grid { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .trust-head { display: contents; }
  .trust-grid h2 { order: 0; }
  .trust-grid .section__intro { order: 0; margin-top: var(--space-xs); }
  .trust-grid .trust { order: 1; margin-top: var(--space-lg); }
  .trust-grid .trust__law { order: 2; margin-top: var(--space-lg); padding-top: 0; }
  .trust > li { grid-template-columns: 2.5rem minmax(0, 1fr); padding: var(--space-md) 0; }
  .end { padding: var(--space-lg); }
}

@media (max-width: 620px) {
  :root { --space-xl: 28px; --space-2xl: 40px; --space-3xl: 64px; }
  .shell { padding: 0 var(--space-lg); }
  .nav__inner { padding: 0 var(--space-lg); }
  .hero { padding-top: 116px; }
  .nav .brand__en { display: none; }
  .nav__actions .btn { padding: 0 var(--space-sm); }
  .hero__tape { display: none; }
  .hero { padding-bottom: var(--space-3xl); }
  .panel__cols, .panel__list li { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.7fr) 34px; }
  .panel__cols span:first-child, .panel__list .panel__time { display: none; }
  /* 窄屏行为列允许折行，别把应用名截成半截 */
  .panel__list li { align-items: start; }
  .panel__what { align-items: flex-start; }
  .panel__what > span { white-space: normal; overflow: visible; text-overflow: clip; }
  .hero h1 br { display: none; }
  .hero__lead { font-size: 1rem; }
  .btn { height: 46px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .steps, .nums { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .footer__links { gap: var(--space-xl); }
  /* 收尾块：只留一颗实心按钮，次动作退成文字链；
     两条等宽的横条并排，看着像两块瓷砖 */
  .end { padding: var(--space-lg); }
  .end h3 { font-size: 1.375rem; }
  .end__actions { width: 100%; }
  .end__actions .btn { width: 100%; height: 44px; }
  .end .btn--ghost {
    width: auto;
    height: 44px;
    margin-top: var(--space-2xs);
    padding: 0;
    justify-content: flex-start;
    border-color: transparent;
    color: var(--on-hero-2);
    font-size: 0.875rem;
    font-weight: 500;
  }
  .end .btn--ghost::after {
    content: "→";
    margin-left: var(--space-xs);
    transition: transform var(--dur-short) var(--ease-out);
  }
  .end .btn--ghost:hover { color: var(--surface); }
  .end .btn--ghost:hover::after { transform: translateX(3px); }
  /* 码和说明单独成段，用一条暗线隔开 */
  .end__qr {
    width: 100%;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .end__qr img { order: -1; width: 92px; height: 92px; flex: none; }
  .end__qr figcaption { font-size: 12px; line-height: 1.55; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

