/* ══════════════════════════════════════════════════════════════════════════
   deskcrush 官网 — 样式表
   ─────────────────────────────────────────────────────────────────────────
   配色沿用产品的 R1 规则（见 src/styles/tokens.css）：全套中性色钉死在
   色相 240 / 饱和度 ≤ 8%，唯一警示色是朱红 --alert，且只许作**线、点、字**，
   不许作面。硬规则：一屏（这里放宽成一节）最多一处朱红。
   深色站点里「一屏一黑」翻过来是**一节一白**：整节只允许一块实心白面，
   留给该节唯一的主操作。
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  /* 墨色阶：深色下数字越大越亮（与应用的 .dark 同构） */
  --ink-900: 0 0% 98%;
  --ink-800: 240 5% 92%;
  --ink-700: 240 4% 80%;
  --ink-600: 240 3% 66%;
  --ink-500: 240 3% 52%;
  --ink-400: 240 3% 41%;
  --ink-300: 240 3% 33%;
  --ink-200: 240 4% 25%;

  --line:    240 5% 16%;
  --line-2:  240 5% 12%;

  /* 纸面阶：深色下越靠后越「浮起」＝越亮 */
  --void:    240 6% 3.4%;
  --surface: 240 5% 6.0%;
  --tile:    240 5% 9.0%;
  --raised:  240 5% 12.5%;

  --alert:   12 100% 61%;

  --f-ui: 'Bahnschrift', 'DIN Alternate', 'Inter', 'Helvetica Neue',
          'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --f-cn: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
  --f-mono: 'Cascadia Mono', 'Cascadia Code', 'SF Mono', Consolas, ui-monospace, monospace;

  --t-fast: 120ms;
  --t-base: 220ms;
  --t-slow: 420ms;
  --e: cubic-bezier(.2, 0, 0, 1);
  --e-step: steps(4, end);

  --gut: 40px;
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background: hsl(var(--void));
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: hsl(var(--void));
  color: hsl(var(--ink-900));
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

p, li, dd, .cn { font-family: var(--f-cn); }
::selection { background: hsl(var(--ink-900)); color: hsl(var(--void)); }

a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid hsl(var(--ink-900)); outline-offset: 3px; }

/* ── 版心 ──────────────────────────────────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); width: 100%; }
@media (max-width: 900px) { :root { --gut: 22px; } }

/* ── 4px 点阵：产品的签名图元，站点里当分隔、进度、装饰 ─────────────────── */
.dots { display: flex; gap: 4px; align-items: center; }
.dots i { width: 4px; height: 4px; background: hsl(var(--ink-300)); flex: none; }
.dots i.on { background: hsl(var(--ink-800)); }
.dots.lg i { width: 6px; height: 6px; gap: 6px; }

.rule { height: 1px; background: hsl(var(--line)); border: 0; }

/* 节标签：mono 小字 + 一条延伸到底的细线 */
.sec-tag {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: hsl(var(--ink-400));
  margin-bottom: 18px;
}
.sec-tag::before { content: ''; width: 4px; height: 4px; background: hsl(var(--ink-600)); flex: none; }
.sec-tag::after { content: ''; flex: 1; height: 1px; background: hsl(var(--line)); }

/* ── 排版 ──────────────────────────────────────────────────────────────── */
/* 中文标题不需要拉到拉丁标题那个尺寸：同样的字号，中文的视觉重量大得多，
   88px 的八个汉字会撑破 640px 的文案栏并折成三行。 */
.h1 {
  font-size: clamp(40px, 5.9vw, 88px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 600;
  font-variation-settings: 'wght' 640;
  font-family: var(--f-ui);
}
.h1 .cn { font-family: var(--f-cn); font-weight: 600; letter-spacing: -.015em; }

.h2 {
  font-size: clamp(26px, 3.0vw, 40px);
  line-height: 1.12;
  letter-spacing: -.028em;
  font-weight: 600;
  font-family: var(--f-cn);
}
.h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; font-family: var(--f-cn); }

.lede { color: hsl(var(--ink-600)); font-size: 16.5px; line-height: 1.78; max-width: 62ch; }
.lede b, .lede strong { color: hsl(var(--ink-900)); font-weight: 600; }
.small { font-size: 13.5px; color: hsl(var(--ink-500)); line-height: 1.7; }
.mono { font-family: var(--f-mono); }
.kbd {
  font-family: var(--f-mono); font-size: 11.5px; color: hsl(var(--ink-500));
  letter-spacing: .04em; border: 1px solid hsl(var(--line)); padding: 2px 6px;
}

/* 强调色的全部合法用法：文字、1px 描边、4px 方点、2px 左标记。
   硬规则是「一区最多一处」，所以整站只保留一处：页脚那组待填项的左标记。
   朱红是警示色，「待填」正是它该出现的语义；拿它当装饰点会把这个信号贬值。 */
.alert-t { color: hsl(var(--alert)); }
.alert-dot { width: 4px; height: 4px; background: hsl(var(--ink-500)); flex: none; display: inline-block; }
.alert-mark { box-shadow: inset 2px 0 0 hsl(var(--alert)); }

/* 上线前必须替换掉的占位。低调但认得出来，不抢内容。 */
[data-todo] {
  color: hsl(var(--ink-400));
  border-bottom: 1px dashed hsl(var(--ink-300));
  padding-bottom: 1px;
}

/* ── 字标 ──────────────────────────────────────────────────────────────── */
.lockup { display: inline-flex; align-items: center; gap: .58em; line-height: 1; }
.lockup .mark { width: 1.02em; height: 1.02em; color: hsl(var(--ink-900)); flex: none; }
.lockup .wm {
  font-weight: 600; letter-spacing: -.018em; font-variation-settings: 'wght' 620;
  font-size: 1em;
}
.lockup .wm .sl { color: hsl(var(--ink-400)); font-weight: 400; }

/* ── 顶栏 ──────────────────────────────────────────────────────────────── */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  height: 62px;
  transition: background var(--t-base) var(--e), border-color var(--t-base) var(--e), height var(--t-base) var(--e);
  border-bottom: 1px solid transparent;
}
.topbar.stuck {
  background: hsl(var(--void) / .78);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  border-bottom-color: hsl(var(--line-2));
  height: 54px;
}
.topbar .wrap { display: flex; align-items: center; gap: 26px; height: 100%; }
.topbar .lockup { font-size: 17px; }
.topbar nav { display: flex; gap: 24px; margin-left: auto; }
.topbar nav a {
  font-size: 13.5px; color: hsl(var(--ink-500)); font-family: var(--f-cn);
  transition: color var(--t-fast) var(--e); position: relative; padding: 4px 0;
}
.topbar nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: hsl(var(--ink-800)); transition: right var(--t-base) var(--e);
}
.topbar nav a:hover { color: hsl(var(--ink-900)); }
.topbar nav a:hover::after { right: 0; }
@media (max-width: 860px) { .topbar nav { display: none; } }

/* ── 按钮 ───────────────────────────────────────────────────────────────
   实心白＝这一节唯一的主操作；其余一律描边或纯文字。 */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 22px;
  font-size: 14.5px; font-family: var(--f-cn); font-weight: 500;
  border: 1px solid hsl(var(--line));
  color: hsl(var(--ink-800));
  transition: background var(--t-fast) var(--e), border-color var(--t-fast) var(--e),
              color var(--t-fast) var(--e), transform var(--t-fast) var(--e);
  white-space: nowrap;
}
.btn:hover { background: hsl(var(--tile)); border-color: hsl(var(--ink-300)); color: hsl(var(--ink-900)); }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 16px; height: 16px; flex: none; }

.btn.solid {
  background: hsl(var(--ink-900)); color: hsl(var(--void));
  border-color: hsl(var(--ink-900)); font-weight: 600;
}
.btn.solid:hover { background: #fff; border-color: #fff; color: hsl(var(--void)); }
.btn.sm { height: 38px; padding: 0 15px; font-size: 13px; }

.btn.ghost { border-color: transparent; color: hsl(var(--ink-500)); padding: 0 6px; }
.btn.ghost:hover { background: none; color: hsl(var(--ink-900)); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; background: hsl(var(--void)); }
.hero-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* WebGL 不可用 / 上下文丢失 / 太慢时露出的静态层。它一直在 canvas 底下，
   所以着色器起来之前也不会闪一下白/黑。 */
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(58% 52% at 72% 50%, hsl(240 5% 13% / .95) 0%, transparent 62%),
    radial-gradient(22% 20% at 72% 50%, hsl(0 0% 0% / 1) 0%, transparent 70%),
    hsl(var(--void));
}
.hero-bg[data-bh="live"]::before { opacity: 0; transition: opacity 900ms var(--e); }

/* 文案侧的遮罩：让左边的字始终有对比度，同时不遮住右边的黑洞。
   吸积盘上色之后左侧会渗进暖光，所以这一层比黑白版更实一点。 */
.hero-scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(100deg, hsl(var(--void) / .95) 0%, hsl(var(--void) / .88) 30%,
                    hsl(var(--void) / .40) 54%, transparent 72%),
    /* 顶栏那条：导航压在被引力拉长的亮弧上会读不清 */
    linear-gradient(to bottom, hsl(var(--void) / .72) 0%, transparent 110px),
    linear-gradient(to top, hsl(var(--void)) 0%, hsl(var(--void) / .5) 10%, transparent 28%);
}
@media (max-width: 1180px) {
  /* 窄屏改成径向：只压文案坐的那一块，不拿一整层黑把黑洞盖掉。
     盖掉的结果是画面上只剩一团看不出是什么的灰雾。 */
  .hero-scrim {
    background:
      radial-gradient(98% 54% at 50% 50%, hsl(var(--void) / .88) 0%, hsl(var(--void) / .58) 64%, transparent 92%),
      linear-gradient(to bottom, hsl(var(--void) / .70) 0%, transparent 120px),
      linear-gradient(to top, hsl(var(--void)) 0%, hsl(var(--void) / .5) 12%, transparent 30%);
  }
}

.hero .wrap { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 72px; }
.hero-copy { max-width: 700px; }
@media (max-width: 1180px) { .hero-copy { max-width: 100%; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: hsl(var(--ink-500));
  margin-bottom: 26px;
}

.hero h1 { margin-bottom: 14px; text-shadow: 0 2px 30px hsl(var(--void) / .8); }
/* 「&」降一档，和字标里那道斜杠同一个处理：它是连接符，不是词。 */
.h1 .amp { color: hsl(var(--ink-400)); font-weight: 400; }

/* 中文副题：不跟英文标题抢重量，靠字距把它拉开成一条「题注」。 */
.h1-cn {
  font-family: var(--f-cn); font-weight: 500;
  font-size: clamp(17px, 1.5vw, 22px);
  letter-spacing: .42em; text-indent: .42em;
  color: hsl(var(--ink-500));
  margin-bottom: 26px;
}

/* 正文里的字标：仍然全小写，斜杠降一档 —— 它是路径分隔符，不是字形。 */
.wm-inline { font-family: var(--f-ui); font-variation-settings: 'wght' 620; letter-spacing: -.01em; color: hsl(var(--ink-900)); }
.wm-inline .sl { color: hsl(var(--ink-400)); font-weight: 400; }

/* text-wrap:balance 让两行长度接近，而不是把最后一个字挤成孤行。
   不支持的浏览器会忽略它，退回普通换行 —— 纯增益，不需要兜底。 */
.hero .sub { margin: 0 0 32px; max-width: 46ch; font-size: 16.5px; text-wrap: balance; }
.h1, .h2 { text-wrap: balance; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
  font-family: var(--f-mono); font-size: 11.5px; color: hsl(var(--ink-400));
  letter-spacing: .04em;
}
.hero-meta i.sep { width: 4px; height: 4px; background: hsl(var(--ink-300)); flex: none; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px; z-index: 1;
}
.scroll-cue .col { display: flex; flex-direction: column; gap: 4px; }
.scroll-cue .col i { width: 4px; height: 4px; background: hsl(var(--ink-300)); }
.scroll-cue .col i { animation: cue 1.6s steps(1, end) infinite; }
.scroll-cue .col i:nth-child(2) { animation-delay: .2s; }
.scroll-cue .col i:nth-child(3) { animation-delay: .4s; }
@keyframes cue { 0%, 40% { background: hsl(var(--ink-700)); } 41%, 100% { background: hsl(var(--ink-300)); } }
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* 首屏右下角的一组控件：动效开关 + 画质档位读数 */
.hero-ctl {
  position: absolute; right: var(--gut); bottom: 26px; z-index: 2;
  display: flex; align-items: center; gap: 8px;
}
.motion-ctl, .tier-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em;
  color: hsl(var(--ink-400));
  border: 1px solid hsl(var(--line-2)); padding: 5px 9px;
  background: hsl(var(--void) / .5);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.motion-ctl { transition: color var(--t-fast) var(--e), border-color var(--t-fast) var(--e); }
.motion-ctl:hover { color: hsl(var(--ink-900)); border-color: hsl(var(--ink-300)); }
/* 开＝实心方点，关＝空心。零色相下状态靠形状分，不靠颜色分。 */
.motion-ctl i { width: 4px; height: 4px; flex: none; box-shadow: inset 0 0 0 1px hsl(var(--ink-400)); }
.motion-ctl.on i { background: hsl(var(--ink-800)); box-shadow: none; }

.tier-badge { opacity: 0; transition: opacity var(--t-slow) var(--e); pointer-events: none; }
.tier-badge.show { opacity: 1; }
.tier-badge i { width: 4px; height: 4px; background: hsl(var(--ink-600)); flex: none; }
@media (max-width: 900px) { .tier-badge { display: none; } .hero-ctl { bottom: 18px; } }

/* ── 通用节 ────────────────────────────────────────────────────────────── */
section { position: relative; }
.sec { padding: clamp(76px, 9vw, 132px) 0; }
.sec.tight { padding: clamp(56px, 6vw, 88px) 0; }
.sec-head { max-width: 68ch; margin-bottom: clamp(38px, 4.6vw, 62px); }
.sec-head .h2 { margin-bottom: 16px; }

/* ── 大字陈述带 ────────────────────────────────────────────────────────── */
.statement {
  border-top: 1px solid hsl(var(--line-2));
  border-bottom: 1px solid hsl(var(--line-2));
  background:
    radial-gradient(120% 100% at 50% 0%, hsl(240 5% 8% / .8) 0%, transparent 70%);
}
.statement .big {
  font-family: var(--f-cn); font-weight: 600;
  font-size: clamp(24px, 3.6vw, 46px); line-height: 1.28; letter-spacing: -.028em;
  max-width: 21ch;
}
.statement .big em { font-style: normal; color: hsl(var(--ink-400)); }
.statement-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: end; }
@media (max-width: 900px) { .statement-grid { grid-template-columns: 1fr; align-items: start; } }

/* ── 三支柱 ────────────────────────────────────────────────────────────── */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: hsl(var(--line-2)); border: 1px solid hsl(var(--line-2));
  position: relative; isolation: isolate;
}
/* 「引力井」：鼠标位置只写进两个 CSS 变量，由这层渐变消费。
   不改任何几何属性，所以全程在合成器上，鼠标扫过不会引起一次回流。 */
.pillars::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(220px 220px at var(--mx, -400px) var(--my, -400px),
              hsl(240 8% 60% / .085) 0%, transparent 70%);
  transition: opacity var(--t-slow) var(--e);
}
@media (max-width: 940px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: hsl(var(--void));
  padding: clamp(26px, 3vw, 40px);
  position: relative;
  transition: background var(--t-base) var(--e);
}
.pillar::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: hsl(var(--ink-800)); transform: scaleY(0); transform-origin: top;
  transition: transform var(--t-base) var(--e);
}
.pillar:hover { background: hsl(var(--surface)); }
.pillar:hover::after { transform: scaleY(1); }
.pillar .ix { font-family: var(--f-mono); font-size: 11px; color: hsl(var(--ink-400)); letter-spacing: .16em; margin-bottom: 20px; display: block; }
.pillar .glyph { width: 34px; height: 34px; color: hsl(var(--ink-800)); margin-bottom: 20px; }
.pillar h3 { margin-bottom: 10px; }
.pillar p { color: hsl(var(--ink-500)); font-size: 14.5px; line-height: 1.72; }
.pillar ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 7px; }
.pillar li { font-size: 13px; color: hsl(var(--ink-500)); display: flex; gap: 9px; align-items: baseline; font-family: var(--f-cn); }
.pillar li::before { content: ''; width: 4px; height: 4px; background: hsl(var(--ink-300)); flex: none; transform: translateY(-2px); }

/* ── 产品界面展示 ───────────────────────────────────────────────────────── */
.shots { position: relative; }
.shot-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.shot-tab {
  height: 34px; padding: 0 14px; font-size: 13px; font-family: var(--f-cn);
  color: hsl(var(--ink-500)); border: 1px solid hsl(var(--line));
  transition: all var(--t-fast) var(--e);
}
.shot-tab:hover { color: hsl(var(--ink-900)); border-color: hsl(var(--ink-300)); }
.shot-tab.on { background: hsl(var(--ink-900)); color: hsl(var(--void)); border-color: hsl(var(--ink-900)); font-weight: 600; }

.shot-frame {
  position: relative; border: 1px solid hsl(var(--line));
  background: hsl(var(--surface));
  overflow: hidden;
}
/* 相框高度跟着当前这张图自己的画幅走（JS 写 aspect-ratio），所以不裁切，
   也就不需要用底部渐隐去盖住硬切的边。 */
.shot-stack { position: relative; aspect-ratio: 1360 / 856; }
.shot-stack img {
  position: absolute; inset: 0; width: 100%; height: auto;
  opacity: 0; transition: opacity var(--t-slow) var(--e);
  object-fit: cover; object-position: top center; height: 100%;
}
.shot-stack img.on { opacity: 1; }
.shot-cap { margin-top: 16px; color: hsl(var(--ink-500)); font-size: 13.5px; min-height: 3em; max-width: 76ch; }
.shot-cap b { color: hsl(var(--ink-800)); font-weight: 600; }

.shot-hint { display: none; }
/* 窄屏上把整张界面等比缩进 390px 宽等于什么都看不清。
   改成相框内横向滚动、图片保持可读宽度，并明说可以左右滑。 */
@media (max-width: 820px) {
  .shot-frame { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
  .shot-stack { width: 880px; }
  .shot-hint {
    display: flex; align-items: center; gap: 8px; margin-top: 10px;
    font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em;
    text-transform: uppercase; color: hsl(var(--ink-400));
  }
  .shot-hint::before { content: ''; width: 4px; height: 4px; background: hsl(var(--ink-300)); flex: none; }
  .chain-body { height: 380px; }
}

/* ── 章节链演示 ────────────────────────────────────────────────────────── */
.chain-demo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 1000px) { .chain-demo { grid-template-columns: 1fr; } }

.chain {
  border: 1px solid hsl(var(--line)); background: hsl(var(--surface));
  padding: 22px 24px 20px;
  font-size: 13.5px;
  position: relative;
}
/* 定高 + 内部滚动，和产品里的会话流一样。不定高的话，每追加一段整页都要跳一次。 */
.chain-body { height: 470px; overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; position: relative; }
.chain-body::-webkit-scrollbar { width: 0; height: 0; }
.chain::after {
  content: ''; position: absolute; left: 1px; right: 1px; bottom: 1px; height: 46px;
  background: linear-gradient(to top, hsl(var(--surface)) 0%, transparent 100%);
  pointer-events: none;
}
.chain .chain-hd {
  display: flex; align-items: center; gap: 10px; padding-bottom: 14px;
  border-bottom: 1px solid hsl(var(--line-2)); margin-bottom: 18px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: hsl(var(--ink-400));
}
.chain .chain-hd .live { margin-left: auto; display: flex; gap: 4px; }
.chain .chain-hd .live i { width: 4px; height: 4px; background: hsl(var(--ink-300)); }

.cnode { display: flex; gap: 14px; margin-bottom: 14px; opacity: 0; transform: translateY(6px); }
.cnode.in { opacity: 1; transform: none; transition: opacity 300ms var(--e), transform 300ms var(--e); }
.cnode .bullet { width: 8px; flex: none; padding-top: 6px; }
.cnode .bullet i { display: block; width: 8px; height: 8px; background: hsl(var(--ink-300)); }
.cnode.say .bullet i { background: hsl(var(--ink-700)); }
.cnode.act .bullet i { background: none; box-shadow: inset 0 0 0 1px hsl(var(--ink-400)); }
.cnode .body { flex: 1; min-width: 0; }
.cnode.say p { color: hsl(var(--ink-700)); line-height: 1.75; font-size: 13.8px; }

.act-box { border: 1px solid hsl(var(--line)); background: hsl(var(--tile)); }
.act-hd {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  font-size: 13px; font-family: var(--f-cn);
}
.act-hd .ic { width: 14px; height: 14px; color: hsl(var(--ink-500)); flex: none; }
.act-hd .nm { font-weight: 600; color: hsl(var(--ink-800)); }
.act-hd .ct { color: hsl(var(--ink-500)); font-size: 12px; }
.act-hd .tm { margin-left: auto; font-family: var(--f-mono); font-size: 11px; color: hsl(var(--ink-400)); }
.act-bd { border-top: 1px solid hsl(var(--line-2)); padding: 8px 12px; display: flex; flex-direction: column; gap: 5px; }
.act-bd .row { display: flex; gap: 9px; align-items: center; font-family: var(--f-mono); font-size: 11.5px; color: hsl(var(--ink-500)); }
.act-bd .row i { width: 4px; height: 4px; background: hsl(var(--ink-300)); flex: none; }
.act-bd .row .n { margin-left: auto; color: hsl(var(--ink-400)); }

.deliver { border: 1px solid hsl(var(--line)); background: hsl(var(--tile)); padding: 14px 14px 12px; }
.deliver .dh { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: hsl(var(--ink-400)); margin-bottom: 11px; }
.deliver .drow { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid hsl(var(--line-2)); font-size: 12.5px; }
.deliver .drow:first-of-type { border-top: 0; }
.deliver .drow .fn { font-family: var(--f-mono); color: hsl(var(--ink-800)); }
.deliver .drow .pt { color: hsl(var(--ink-400)); font-size: 11.5px; font-family: var(--f-mono); }
.deliver .drow .tag { margin-left: auto; font-size: 11px; border: 1px solid hsl(var(--line)); padding: 1px 6px; color: hsl(var(--ink-500)); font-family: var(--f-cn); }

.chain-notes { display: flex; flex-direction: column; gap: 26px; }
/* 作用域必须钉在 .chain-notes 上：账户与条款页把 .note 用作「小字说明」，
   裸 .note 会把那条左标记与 18px 内边距带过去 —— 一个类名两种部件，
   而且症状是每条说明前面凭空多一道竖线。 */
.chain-notes .note { padding-left: 18px; box-shadow: inset 2px 0 0 hsl(var(--line)); transition: box-shadow var(--t-base) var(--e); }
.chain-notes .note.on { box-shadow: inset 2px 0 0 hsl(var(--ink-800)); }
.chain-notes .note h3 { margin-bottom: 8px; }
.chain-notes .note p { color: hsl(var(--ink-500)); font-size: 14.5px; line-height: 1.75; }

/* ── 能力网格 ──────────────────────────────────────────────────────────── */
/* 列数写死不用 auto-fill：这一格是 12 项，4/3/2/1 都能整除，
   auto-fill 会在某些宽度上算出 5 列，剩下两格空着 —— 空格子在「格线即背景」
   的排法里不是留白，是一块比周围亮的灰面。 */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: hsl(var(--line-2)); border: 1px solid hsl(var(--line-2)); }
@media (max-width: 1080px) { .caps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .caps { grid-template-columns: 1fr; } }
.cap { background: hsl(var(--void)); padding: 22px; transition: background var(--t-base) var(--e); }
.cap:hover { background: hsl(var(--surface)); }
.cap .ic { width: 20px; height: 20px; color: hsl(var(--ink-600)); margin-bottom: 14px; }
.cap h3 { font-size: 14.5px; margin-bottom: 6px; }
.cap p { font-size: 12.8px; color: hsl(var(--ink-500)); line-height: 1.65; }

/* ── 规格表 ────────────────────────────────────────────────────────────── */
.spec { border-top: 1px solid hsl(var(--line-2)); }
.spec-row {
  display: grid; grid-template-columns: 210px 1fr; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid hsl(var(--line-2));
  align-items: start;
}
@media (max-width: 780px) { .spec-row { grid-template-columns: 1fr; gap: 8px; } }
.spec-row dt { font-family: var(--f-cn); font-weight: 600; font-size: 14.5px; display: flex; align-items: center; gap: 10px; }
.spec-row dt::before { content: ''; width: 4px; height: 4px; background: hsl(var(--ink-400)); flex: none; }
.spec-row dd { color: hsl(var(--ink-500)); font-size: 14px; line-height: 1.75; max-width: 74ch; }
.spec-row dd code { font-family: var(--f-mono); font-size: 12.5px; color: hsl(var(--ink-700)); background: hsl(var(--tile)); padding: 1px 6px; }

/* ── 关键词跑马灯 ──────────────────────────────────────────────────────── */
.marquee { overflow: hidden; border-top: 1px solid hsl(var(--line-2)); border-bottom: 1px solid hsl(var(--line-2)); padding: 18px 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: slide 44s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: hsl(var(--ink-400)); display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.marquee-track span::after { content: ''; width: 4px; height: 4px; background: hsl(var(--ink-300)); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── 场景卡 ────────────────────────────────────────────────────────────── */
.scenes { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 14px; }
.scene {
  border: 1px solid hsl(var(--line)); padding: 20px; background: hsl(var(--void));
  transition: border-color var(--t-base) var(--e), background var(--t-base) var(--e), transform var(--t-base) var(--e);
}
.scene:hover { border-color: hsl(var(--ink-300)); background: hsl(var(--surface)); transform: translateY(-2px); }
.scene .ic { width: 18px; height: 18px; color: hsl(var(--ink-600)); margin-bottom: 16px; }
.scene h3 { font-size: 14.5px; margin-bottom: 6px; }
.scene p { font-size: 12.8px; color: hsl(var(--ink-500)); }

/* ── 下载区 ────────────────────────────────────────────────────────────── */
.download { border-top: 1px solid hsl(var(--line-2)); position: relative; overflow: hidden; }
.download::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(52% 76% at 50% 108%, hsl(240 6% 15% / .85) 0%, transparent 68%);
}
.download .wrap { position: relative; z-index: 1; }
.dl-box { text-align: center; max-width: 680px; margin: 0 auto; }
.dl-box .h2 { margin-bottom: 16px; }
.dl-box .lede { margin: 0 auto 32px; }
.dl-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.dl-plat { display: flex; gap: 10px 20px; justify-content: center; flex-wrap: wrap; font-family: var(--f-mono); font-size: 11.5px; color: hsl(var(--ink-400)); }
.dl-plat span { display: flex; align-items: center; gap: 8px; }
.dl-plat span::before { content: ''; width: 4px; height: 4px; background: hsl(var(--ink-300)); }

/* ── 页脚 ──────────────────────────────────────────────────────────────── */
footer { border-top: 1px solid hsl(var(--line-2)); padding: 52px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 34px; margin-bottom: 44px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid .lockup { font-size: 18px; margin-bottom: 14px; }
.foot-col h4 { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: hsl(var(--ink-400)); margin-bottom: 14px; font-weight: 400; }
.foot-col a, .foot-col span { display: block; font-size: 13.5px; color: hsl(var(--ink-500)); padding: 5px 0; font-family: var(--f-cn); transition: color var(--t-fast) var(--e); }
.foot-col a:hover { color: hsl(var(--ink-900)); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; padding-top: 24px; border-top: 1px solid hsl(var(--line-2)); font-size: 12px; color: hsl(var(--ink-400)); font-family: var(--f-mono); }
/* 整站唯一一处朱红：上线前必须补齐的备案与主体信息 */
.foot-todo { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; padding-left: 12px; box-shadow: inset 2px 0 0 hsl(var(--alert)); }

/* ── 滚动入场：只动 opacity/transform，全程走合成器 ───────────────────────
   【为什么要 .js 这个前缀】把元素默认设成 opacity:0、等 JS 加 .in 才显示，
   等于把「页面能不能看」押在脚本一定跑得起来上。禁用 JS、脚本 404、
   或者 site.js 在前面某一行抛了异常 —— 任何一条命中，用户看到的都是一张空白页。
   所以隐藏这件事只在 html.js 存在时才成立（内联脚本加的），
   另有 .reveal-failsafe 兜住「脚本跑了但半路死了」那一档。 */
.js [data-reveal] { opacity: 0; transform: translateY(14px); }
.js.reveal-failsafe [data-reveal] { opacity: 1; transform: none; }
[data-reveal].in { opacity: 1; transform: none; transition: opacity 640ms var(--e), transform 640ms var(--e); }
[data-reveal][data-d="1"].in { transition-delay: 70ms; }
[data-reveal][data-d="2"].in { transition-delay: 140ms; }
[data-reveal][data-d="3"].in { transition-delay: 210ms; }
[data-reveal][data-d="4"].in { transition-delay: 280ms; }
[data-reveal][data-d="5"].in { transition-delay: 350ms; }

/* 标题逐词入场 */
.wsplit { display: inline-block; overflow: hidden; vertical-align: top; }
.js .wsplit > span { display: inline-block; transform: translateY(105%); transition: transform 760ms var(--e); }
.js.reveal-failsafe .wsplit > span { transform: none; }
.in .wsplit > span, .wsplit.in > span { transform: none; }

/*  【prefers-reduced-motion 在这里为什么不是总闸】
    Windows 关掉「设置 → 辅助功能 → 视觉效果 → 动画效果」会让整台机器上报 reduce，
    而很多人关它只是不想看窗口最小化的动画。照单全收 ⇒ 这一类机器上所有动效一次全灭，
    用户还没有任何地方能打开它。所以判据分两层：
      · 系统标志 ⇒ 只在**用户没有明确表过态**（没有 .motion-on）时才生效；
      · .motion-off ⇒ 用户自己按的开关，无条件生效。
    两条都只去掉「位移」，保留透明度过渡 —— 引起前庭不适的是位移，不是淡入。 */
@media (prefers-reduced-motion: reduce) {
  :root:not(.motion-on) [data-reveal] { transform: none; }
  :root:not(.motion-on) [data-reveal].in { transition: opacity 300ms linear; }
  :root:not(.motion-on) .wsplit > span { transform: none; }
  :root:not(.motion-on) .marquee-track { animation: none; }
  :root:not(.motion-on) .scroll-cue .col i { animation: none; }
  :root:not(.motion-on) .scene:hover { transform: none; }
}
.motion-off [data-reveal] { transform: none; }
.motion-off [data-reveal].in { transition: opacity 300ms linear; }
.motion-off .wsplit > span { transform: none; }
.motion-off .marquee-track { animation: none; }
.motion-off .scroll-cue .col i { animation: none; }
.motion-off .scene:hover { transform: none; }
.motion-off .pillars::before { display: none; }
