/* finesse · register=brand · A=mono-paper+indigo-ink · B=700/400 · C=split-bands-then-rail · Z=cta-plate(left-copy/right-card)
 * D=Canvas2D-dot-field · E=dot-matrix-plate · M=line-mask+spotlight+lift · N=capsule-nav(1200→1020)+slide-pill · T=semantic-token+dark/light
 * SOUL=8 SPECTACLE=5 DENSITY=5 */

/* ---- 语义层：浅色一套、深色一套，页面只认语义名 ---- */
:root {
  color-scheme: light;

  --bg: #fafaf9;            --bg-rgb: 250, 250, 249;
  --bg-sunk: #f1f1ee;
  --bg-panel: #fdfdfc;      --panel-rgb: 253, 253, 252;
  --bg-inverse: #141413;    --inverse-rgb: 20, 20, 19;
  --fg-on-inverse: #f0f0ec; --inverse-fg-rgb: 240, 240, 236;

  --fg: #1f1f1e;
  --fg-2: #3a3a37;
  --fg-3: #6c6c67;
  --fg-4: #7a7a74;

  --accent: #4764a0;        --accent-rgb: 71, 100, 160;
  --accent-text: #33507f;
  --accent-strong: #2b4470;
  --tint: #eef2fa;
  --tint-line: #dde5f3;
  --cta-bg: #eef2fa;
  --cta-line: #dde5f3;
  --cta-dots: .34;
  --cta-card: rgba(253, 253, 252, .84);
  --cta-card-line: #dde5f3;
  --amber: #a9631f;
  --amber-soft: #e0b072;

  --line: rgba(31, 31, 30, .10);
  --line-2: rgba(31, 31, 30, .17);
  --line-on-ink: rgba(246, 246, 242, .14);

  --btn-bg: #1f1f1e;
  --btn-bg-hover: #33507f;
  --btn-fg: #f6f6f2;        --btn-fg-hover: #f6f6f2;
  --btn-on-accent: #f6f6f2;
  --sweep-rgb: 246, 246, 242;

  --shadow-rgb: 24, 24, 22;
  --dot-rgb: 31, 31, 30;
  --grain: .038;
  --sh-2: 0 1px 2px rgba(var(--shadow-rgb), .05), 0 6px 16px rgba(var(--shadow-rgb), .07);
  --sh-3: 0 2px 4px rgba(var(--shadow-rgb), .05), 0 20px 44px -10px rgba(var(--shadow-rgb), .14),
          0 56px 104px -32px rgba(var(--shadow-rgb), .22);

  --nav-glass: rgba(var(--bg-rgb), .74);
  --nav-line: rgba(var(--shadow-rgb), .08);
  --sh-nav: 0 12px 32px -18px rgba(var(--shadow-rgb), .3), inset 0 .5px 0 rgba(var(--inverse-fg-rgb), .9);
  --pill-bg: rgba(var(--panel-rgb), .9);
  --pill-line: rgba(var(--shadow-rgb), .07);
  --sh-pill: 0 2px 10px -4px rgba(var(--shadow-rgb), .18);

  --r-2: 7px;
  --r-3: 12px;
  --r-4: 18px;
  --nav-h: 64px;
  --nav-w: 1200px;
  --nav-w-float: 1020px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 深色：同一组语义名换一套值，纸面换成墨面，强调色提亮一档 */
html[data-theme="dark"] {
  color-scheme: dark;

  --bg: #16171b;            --bg-rgb: 22, 23, 27;
  --bg-sunk: #1b1d22;
  --bg-panel: #21242a;      --panel-rgb: 33, 36, 42;
  --bg-inverse: #101115;    --inverse-rgb: 16, 17, 21;

  --fg: #ecece6;
  --fg-2: #c7c6bf;
  --fg-3: #97968f;
  --fg-4: #8b8a83;

  --accent: #7090cd;        --accent-rgb: 112, 144, 205;
  --accent-text: #a9c1e8;
  --accent-strong: #c8d7f2;
  --tint: #1c2231;
  --tint-line: #2b3550;
  --cta-bg: #1e222b;
  --cta-line: rgba(236, 236, 230, .12);
  --cta-dots: .2;
  --cta-card: rgba(236, 236, 230, .045);
  --cta-card-line: rgba(236, 236, 230, .13);
  --amber: #d0934a;
  --amber-soft: #e6bd85;

  --line: rgba(236, 236, 230, .12);
  --line-2: rgba(236, 236, 230, .20);
  --line-on-ink: rgba(240, 240, 236, .12);

  --btn-bg: #ecece6;
  --btn-bg-hover: #d3d3cc;
  --btn-fg: #17181c;        --btn-fg-hover: #17181c;
  --btn-on-accent: #f4f7fc;
  --sweep-rgb: 23, 24, 28;

  --shadow-rgb: 0, 0, 0;
  --dot-rgb: 236, 236, 230;
  --grain: .03;
  --sh-2: 0 1px 2px rgba(var(--shadow-rgb), .28), 0 6px 16px rgba(var(--shadow-rgb), .32);
  --sh-3: 0 2px 4px rgba(var(--shadow-rgb), .28), 0 20px 44px -10px rgba(var(--shadow-rgb), .5),
          0 56px 104px -32px rgba(var(--shadow-rgb), .6);

  --nav-glass: rgba(var(--panel-rgb), .68);
  --nav-line: rgba(var(--inverse-fg-rgb), .11);
  --sh-nav: 0 16px 40px -20px rgba(var(--shadow-rgb), .7), inset 0 .5px 0 rgba(var(--inverse-fg-rgb), .1);
  --pill-bg: rgba(var(--inverse-fg-rgb), .08);
  --pill-line: rgba(var(--inverse-fg-rgb), .1);
  --sh-pill: 0 2px 12px -4px rgba(var(--shadow-rgb), .55);
}

/* 深色里命令块沉下去，补发丝边 */
html[data-theme="dark"] .code { border: 1px solid var(--line); }

/* ---- 基座 ---- */
* { box-sizing: border-box; }
/* M1：clip 不产生滚动容器，sticky 的导航条不会被它杀掉 */
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  overflow-x: clip;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Noto Sans SC", "Segoe UI", Roboto, sans-serif;
  font-size: 16.5px;
  line-height: 1.75;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
}
/* 颗粒层：压掉平面的「矢量味」，纸面上只做一层极淡的粗 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.024em; line-height: 1.16; }
h1 {
  font-size: clamp(38px, 5.6vw, 78px);
  line-height: 1.1;
  letter-spacing: -.034em;
  overflow-wrap: anywhere; /* M4 */
  min-width: 0;
}
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.22; overflow-wrap: anywhere; min-width: 0; }
h3 { font-size: 19px; letter-spacing: -.018em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
code, pre { font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace; font-size: .88em; }
code { background: var(--tint); color: var(--accent-strong); padding: .1em .34em; border-radius: 5px; }
::selection { background: var(--tint-line); color: var(--accent-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 60;
  background: var(--bg-panel); border: 1px solid var(--line-2); border-radius: var(--r-2); padding: 8px 14px;
  transition: top 140ms var(--ease);
}
.skip:focus { top: 12px; }

/* ---- 导航：贴顶时只是一条透明的带子，滚起来收成一块浮着的磨砂胶囊 ---- */
.nav { position: sticky; top: 0; z-index: 30; height: var(--nav-h); }
.navInner {
  height: 100%; display: flex; align-items: center; gap: 28px;
  width: min(var(--nav-w), calc(100% - 48px));
  border: 1px solid transparent; border-radius: var(--r-3);
  transition: height 460ms var(--ease), width 460ms var(--ease), transform 460ms var(--ease), padding 460ms var(--ease),
              background-color 460ms var(--ease), border-color 460ms var(--ease), box-shadow 460ms var(--ease);
}
/* 用 transform 下沉而不是 margin：margin 会和这条 sticky 容器上边缘合并，胶囊就贴死在顶上 */
/* 收成胶囊时同时变窄：和正文同宽会让胶囊边线跟下面的内容对齐，看着像一条通栏横杠 */
.nav.scrolled .navInner {
  height: calc(100% - 14px); width: min(var(--nav-w-float), calc(100% - 48px));
  transform: translateY(7px); padding: 0 8px 0 16px;
  background: var(--nav-glass); border-color: var(--nav-line); box-shadow: var(--sh-nav);
  backdrop-filter: saturate(150%) blur(20px);
  -webkit-backdrop-filter: saturate(150%) blur(20px);
}
.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brandMark { display: block; border-radius: 7px; }
.brandName { font-size: 16.5px; font-weight: 680; letter-spacing: -.02em; }
.navLinks { position: relative; display: flex; gap: 2px; margin-left: 10px; flex: 1; }
/* 高亮块：跟着指针在锚点之间滑，离开后回到当前那一屏 */
.navPill {
  position: absolute; left: 0; top: 50%; z-index: 0; pointer-events: none; opacity: 0;
  width: var(--w, 0px); height: var(--h, 0px); transform: translate(var(--x, 0px), -50%);
  border-radius: 9px; background: var(--pill-bg);
  box-shadow: inset 0 0 0 1px var(--pill-line), var(--sh-pill);
  transition: transform 300ms var(--ease), width 300ms var(--ease), height 300ms var(--ease), opacity 180ms var(--ease);
}
.navLinks a {
  position: relative; z-index: 1; padding: 7px 12px; border-radius: 9px;
  font-size: 14.5px; color: var(--fg-3); font-weight: 500; transition: color 160ms var(--ease);
}
.navLinks a:hover { color: var(--fg); }
.navLinks a.on { color: var(--fg); }
.navCta { display: flex; align-items: center; gap: 10px; flex: none; }
.iconLink {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 9px;
  color: var(--fg-3); border: 1px solid transparent; padding: 0; background: transparent;
  transition: color 140ms var(--ease), background-color 140ms var(--ease), transform 140ms var(--ease);
}
.iconLink:hover { color: var(--fg); background: var(--bg-sunk); transform: translateY(-1px); }
.iconLink:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button.iconLink { font: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; }
/* 主题切换：浅色给月亮，深色给太阳 */
.themeBtn .iSun { display: none; }
html[data-theme="dark"] .themeBtn .iSun { display: block; }
html[data-theme="dark"] .themeBtn .iMoon { display: none; }
/* 只在按下切换的那 320ms 里做颜色过渡，平时不背这条 transition */
html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color 280ms var(--ease), border-color 280ms var(--ease),
              color 280ms var(--ease), fill 280ms var(--ease), box-shadow 280ms var(--ease) !important;
}

/* ---- 按钮：M3 标签在任意宽度都不换行 ---- */
.solid, .ghost {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 15px; border-radius: 9px;
  font-size: 14.5px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 140ms var(--ease), background-color 140ms var(--ease),
              border-color 140ms var(--ease), box-shadow 140ms var(--ease);
}
.solid { background: var(--btn-bg); color: var(--btn-fg); overflow: clip; }
.solid::after {
  content: ""; position: absolute; top: -20%; left: -45%; width: 32%; height: 140%;
  background: linear-gradient(100deg, rgba(var(--sweep-rgb),0), rgba(var(--sweep-rgb),.32), rgba(var(--sweep-rgb),0));
  transform: skewX(-14deg);
}
.solid:hover { background: var(--btn-bg-hover); color: var(--btn-fg-hover); transform: translateY(-1px); box-shadow: var(--sh-2); }
.solid:hover::after { animation: sweep 640ms var(--ease); }
@keyframes sweep { to { left: 128%; } }
.ghost { border-color: var(--line-2); color: var(--fg-2); background: transparent; }
.ghost:hover { border-color: var(--fg-3); color: var(--fg); }
.ghost .gh { color: var(--fg-3); transition: color 140ms var(--ease); }
.ghost:hover .gh { color: var(--fg); }
.big { height: 50px; padding: 0 26px; font-size: 16px; border-radius: 12px; }

/* ---- 首屏 ---- */
.hero { position: relative; padding: clamp(52px, 7vw, 92px) 0 clamp(52px, 6vw, 84px); isolation: isolate; }
.heroField { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.heroScrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(90% 62% at 18% 26%, rgba(var(--bg-rgb), .94) 0%, rgba(var(--bg-rgb), .55) 42%, rgba(var(--bg-rgb), 0) 72%);
}
.heroInner { position: relative; z-index: 2; display: grid; gap: clamp(40px, 5vw, 74px); }
.genre {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .02em; color: var(--accent-text);
  margin-bottom: 22px;
}
.genre::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.lede { margin-top: 24px; max-width: 62ch; font-size: clamp(16.5px, 1.35vw, 19px); color: var(--fg-2); line-height: 1.8; }
/* 核心价值那一句：比介绍低一档，跟着介绍一起入场 */
.hero .ledeNote { margin-top: 14px; font-size: clamp(15px, 1.15vw, 17px); color: var(--fg-3); }
.heroActions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
/* 标题逐行遮罩上推：每行装在一只 overflow: clip 的盒子里，行内内容从下方升起 */
.ln { display: block; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
.ln > i {
  display: block; font-style: normal;
  transform: translateY(112%); transition: transform 880ms var(--ease);
  transition-delay: calc(var(--i, 0) * 130ms);
}
.hero.lit .ln > i { transform: none; }
.genre, .lede, .proof, .heroActions { opacity: 0; transform: translateY(10px); transition: opacity 620ms var(--ease), transform 620ms var(--ease); }
.hero.lit .genre { opacity: 1; transform: none; }
.hero.lit .lede { opacity: 1; transform: none; transition-delay: 320ms; }
.hero.lit .proof { opacity: 1; transform: none; transition-delay: 400ms; }
.hero.lit .heroActions { opacity: 1; transform: none; transition-delay: 460ms; }
.heroFigure { opacity: 0; transform: translateY(26px); transition: opacity 760ms var(--ease), transform 760ms var(--ease); transition-delay: 260ms; }
.hero.lit .heroFigure { opacity: 1; transform: none; }
/* 首屏截图跟着滚动轻微下沉，给静态图一点纵深 */
.parallax { transform: translateY(var(--py, 0px)); will-change: transform; }

.shotFrame {
  border: 1px solid var(--line-2);
  border-radius: var(--r-3);
  background: var(--bg-panel);
  overflow: clip;
  box-shadow: var(--sh-3);
}
.shotFrame img { display: block; width: 100%; height: auto; transition: transform 640ms var(--ease); }
.shot:hover .shotFrame img { transform: scale(1.018); }
figure figcaption {
  margin-top: 12px; font-size: 13.5px; color: var(--fg-3); line-height: 1.6;
  display: flex; gap: 10px; align-items: baseline;
}
.plate {
  flex: none; font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--accent-text);
  background: var(--tint); border-radius: 4px; padding: 3px 7px;
}
figure { margin: 0; }

/* ---- 模块标签：一小段横线 + 这节在讲什么 ---- */
.tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--accent-text); margin-bottom: 18px;
}
.tag::before { content: ""; width: 16px; height: 2px; background: var(--accent); }

/* ---- 模块里的小点：一句粗体 + 两三句说完，不打官腔 ---- */
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.points li { position: relative; padding-left: 18px; }
.points li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 2px; background: var(--accent);
}
.points b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.012em; color: var(--fg); margin-bottom: 7px; }
.points p { margin: 0; color: var(--fg-2); font-size: 15.5px; line-height: 1.78; }

/* ---- 常见问题 ---- */
.faqList { margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; }
.faqList dt { font-size: 16.5px; font-weight: 600; letter-spacing: -.012em; margin-bottom: 8px; }
.faqList dd { margin: 0; color: var(--fg-2); font-size: 15.5px; line-height: 1.78; }

/* ---- 卡片组：一个词 + 一句话定义。像功能页那样，不写故事 ---- */
.cards { list-style: none; margin: 42px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cards li {
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--r-3);
  padding: 26px 24px 28px;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}
.cards li:hover { border-color: var(--line-2); transform: translateY(-2px); }
.cards b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.014em; margin-bottom: 10px; }
.cards p { margin: 0; color: var(--fg-2); font-size: 14.5px; line-height: 1.72; }
.cards .num { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--accent-text); margin-bottom: 12px; }
@media (max-width: 1040px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* ---- 通用段 ---- */
.band { padding: clamp(72px, 9vw, 124px) 0; }
.bandHead { max-width: 62ch; }
.bandHead .sub { margin-top: 18px; font-size: 17px; color: var(--fg-2); line-height: 1.8; }
.bandHead.center { margin: 0 auto; text-align: center; }

/* ---- 产品形态：左（标题+结构图）右（三条） ---- */
.formGrid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(36px, 5vw, 76px); align-items: start; }
.formLeft { display: grid; gap: clamp(34px, 4vw, 52px); }
.formList { list-style: none; margin: 0; padding: 0; display: grid; }
.formList li { padding: 24px 0; border-top: 1px solid var(--line); }
.formList li:first-child { padding-top: 0; }
.formList li:last-child { border-bottom: 1px solid var(--line); }
.formList h3 { margin-bottom: 8px; }
.formList p { color: var(--fg-2); font-size: 15.5px; line-height: 1.78; }

.inst {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
  border: 1px solid var(--line-2); border-radius: var(--r-4);
  background: var(--bg-panel); padding: 16px; box-shadow: var(--sh-2);
}
.instUnit {
  border: 1px solid var(--line); border-radius: var(--r-3);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-sunk) 100%);
  padding: 14px 14px 12px;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), transform 220ms var(--ease);
}
.instUnit:hover { border-color: var(--tint-line); box-shadow: 0 6px 18px -10px rgba(var(--shadow-rgb), .3); transform: translateY(-2px); }
.instTag {
  display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
  color: var(--accent-text); background: var(--tint);
  border: 1px solid var(--tint-line); border-radius: 99px; padding: 3px 10px; margin-bottom: 12px;
}
.instRows { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 7px; }
.instRows li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.instRows b { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; font-weight: 500; color: var(--fg-2); }
.instRows span { font-size: 12px; color: var(--fg-4); white-space: nowrap; }
.instRows li.own { border-top: 1px dashed var(--line-2); padding-top: 8px; margin-top: 3px; }
.instFoot { margin: 0; font-size: 12px; color: var(--fg-3); border-top: 1px solid var(--line); padding-top: 9px; }
.instFoot code { font-size: 11px; }

/* ---- 交付闭环：一条轨道 + 四步 + 回环 ---- */
.loop { background: var(--bg-sunk); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.loopFlow { margin-top: clamp(44px, 5vw, 68px); }
.loopRail { position: relative; height: 2px; background: var(--line-2); margin: 0 12px 0 0; }
.loopRail i {
  position: absolute; inset: 0; background: var(--accent);
  transform-origin: left center; transform: scaleX(var(--p, 0));
  transition: background-color 300ms var(--ease);
}
.loopRail i.hot { background: var(--amber); }
.loopRail::after {
  content: ""; position: absolute; right: 4px; top: -4px;
  border-left: 8px solid var(--accent);
  border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.loopSteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.loopSteps li { position: relative; padding: 22px 2px 0 0; }
.loopSteps li::before {
  content: ""; position: absolute; left: 0; top: -6px;
  width: 11px; height: 11px; border-radius: 99px;
  background: var(--accent); box-shadow: 0 0 0 4px var(--bg-sunk), 0 0 0 5px var(--line-2);
}
.loopSteps b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 7px; }
.loopSteps p { font-size: 14.5px; line-height: 1.72; color: var(--fg-2); }
.loopBack {
  position: relative; height: 52px; margin: 26px 12px 0 0;
  border: 2px solid var(--line-2); border-top: 0; border-radius: 0 0 18px 18px;
}
.loopBack::before {
  content: ""; position: absolute; left: -6px; top: -9px;
  border-bottom: 8px solid var(--accent);
  border-left: 5px solid transparent; border-right: 5px solid transparent;
}
.loopBack span {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--bg-sunk); padding: 0 14px;
  font-size: 13.5px; color: var(--fg-3); white-space: nowrap;
}
.gateRow { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(24px, 3vw, 54px); margin-top: clamp(44px, 5vw, 72px); align-items: start; }
.gate h4 { font-size: 17px; font-weight: 700; }
.gate p { margin-top: 6px; font-size: 14.5px; color: var(--fg-3); }
.gateList { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gateList li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.72; color: var(--fg-2); }
.gateList li::before {
  content: ""; position: absolute; left: 2px; top: .72em;
  width: 8px; height: 8px; border: 2px solid var(--amber); border-radius: 2px;
}

/* ---- 三层结构：一张细线表，AI 那列贯穿三行 ---- */
.layerTable { margin-top: clamp(34px, 4vw, 54px); border-top: 1px solid var(--line-2); }
.layerHead, .layerRow { display: grid; grid-template-columns: 168px minmax(0, 1.25fr) minmax(0, 1fr) 210px; gap: 26px; align-items: baseline; }
.layerHead { padding: 12px 0; }
.layerHead span { font-size: 12px; font-weight: 600; letter-spacing: .03em; color: var(--fg-4); }
.layerRow { padding: 24px 0; border-top: 1px solid var(--line); }
.layerRow .cell p { font-size: 15.5px; line-height: 1.75; color: var(--fg-2); }
.layerRow .cell:nth-child(3) p { color: var(--fg); }
.layerRow .k { display: none; font-size: 11.5px; font-weight: 600; letter-spacing: .03em; color: var(--fg-4); margin-bottom: 4px; }
.layerRow .path {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px;
  color: var(--accent-text); overflow-wrap: anywhere;
}

/* ---- 界面图集：两张等大 ---- */
.shotGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: clamp(34px, 4vw, 54px); }

/* ---- 上手 ---- */
.startSteps { list-style: none; counter-reset: s; margin: clamp(34px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.startSteps li { counter-increment: s; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.startSteps li::before {
  content: counter(s);
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; font-weight: 600;
  width: 26px; height: 26px; border-radius: 99px; display: grid; place-items: center;
  background: var(--tint); color: var(--accent-strong); border: 1px solid var(--tint-line);
}
.startSteps span { font-size: 15.5px; color: var(--fg-2); line-height: 1.75; padding-top: 2px; }
.code {
  margin: clamp(30px, 3.5vw, 44px) 0 0; padding: 24px 26px; overflow-x: auto;
  background: var(--bg-inverse); color: var(--fg-on-inverse);
  border-radius: var(--r-3); box-shadow: var(--sh-2);
  font-size: 13px; line-height: 1.95; letter-spacing: 0;
  overscroll-behavior-x: contain;
}
.codeHold { position: relative; }
.codeHold::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 38px;
  border-radius: 0 var(--r-3) var(--r-3) 0;
  background: linear-gradient(90deg, rgba(var(--inverse-rgb), 0), var(--bg-inverse));
  pointer-events: none; opacity: 0; transition: opacity 220ms var(--ease);
}
.codeHold.notEnd::after { opacity: 1; }
.code code { background: none; color: inherit; padding: 0; font-size: inherit; white-space: pre; }
.code span { color: rgba(var(--inverse-fg-rgb), .46); }

/* ---- 收尾 CTA：抬起来的台面，标题在左、入口在右；右侧一片渐隐点阵 ---- */
.cta {
  position: relative; isolation: isolate;
  background: var(--cta-bg); border-top: 1px solid var(--cta-line);
  padding: clamp(66px, 7.6vw, 100px) 0;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(var(--accent-rgb), .6) 1px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(52% 118% at 84% 44%, #000, transparent 74%);
  mask-image: radial-gradient(52% 118% at 84% 44%, #000, transparent 74%);
  opacity: var(--cta-dots);
}
.cta::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; z-index: -1; pointer-events: none;
  background: radial-gradient(58% 100% at 50% 124%, rgba(var(--accent-rgb), .15), transparent 70%);
}
.ctaGrid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 4vw, 64px); align-items: center; }
.ctaKicker {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .02em; color: var(--accent-text);
}
.ctaKicker::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.ctaTitle { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.14; letter-spacing: -.032em; color: var(--fg); }
.ctaTitle .ch { display: inline-block; opacity: 0; transform: translateY(.24em); }
.ctaTitle.lit .ch { animation: float-in 620ms var(--ease) both; }
@keyframes float-in { to { opacity: 1; transform: none; } }
.ctaSub { margin-top: 16px; max-width: 40ch; font-size: 16px; line-height: 1.8; color: var(--fg-2); }
.ctaActions {
  display: grid; gap: 13px; min-width: 272px; padding: 20px;
  border: 1px solid var(--cta-card-line); border-radius: var(--r-4);
  background: var(--cta-card); box-shadow: var(--sh-2);
}
.ctaActions .solid { width: 100%; }
.ctaSource { justify-self: center; }
.ctaSource {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 550; color: var(--fg-3); transition: color 140ms var(--ease);
}
.ctaSource:hover { color: var(--fg); }

/* ---- 页脚 ---- */
.foot { background: var(--bg-sunk); border-top: 1px solid var(--line); padding: 54px 0 44px; }
.footGrid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.footBrand p { margin-top: 12px; font-size: 14px; color: var(--fg-3); line-height: 1.8; }
.footCol h4 { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--fg-4); margin-bottom: 12px; }
.footCol a, .footCol p { display: block; font-size: 14.5px; color: var(--fg-2); line-height: 1.9; }
.footCol a:hover { color: var(--accent-text); }

/* ---- 入场：滚动到时按 --i 依次上浮 ---- */
[data-reveal] {
  opacity: 0; transform: translateY(14px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ---- 光标追光：指针在哪，哪一块亮一点 ---- */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; pointer-events: none;
  background: radial-gradient(260px 170px at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), .13), rgba(var(--accent-rgb), 0) 68%);
  opacity: 0; transition: opacity 300ms var(--ease);
}
.spot:hover::before { opacity: 1; }
/* 卡片本身比纸深一档，追光压到刚好能看见，主要靠描边和抬起 */
.instUnit.spot::before { background: radial-gradient(220px 150px at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), .08), rgba(var(--accent-rgb), 0) 70%); }
.layerRow h3 { transition: color 220ms var(--ease); }
.layerRow:hover h3 { color: var(--accent-strong); }

/* ---- 收窄 ---- */
@media (max-width: 1040px) {
  .formGrid, .gateRow, .shotGrid { grid-template-columns: minmax(0, 1fr); }
  .layerHead { display: none; }
  .layerRow { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .layerRow .k { display: block; }
  .ctaGrid { grid-template-columns: minmax(0, 1fr); }
  .footGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .loopRail, .loopBack { display: none; }
  .loopSteps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .loopSteps li { padding: 18px 0 18px 24px; border-bottom: 1px solid var(--line-2); }
  .loopSteps li::before { left: 0; top: 26px; }
  .startSteps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .heroCopy h1 { font-size: min(36px, 8.6vw); }
  .navLinks { display: none; }
  .navInner { gap: 12px; }
  .navCta { margin-left: auto; }
  .navCta .ghost { display: none; }
  .lede br { display: none; }
  .inst { grid-template-columns: minmax(0, 1fr); }
  .footGrid { grid-template-columns: minmax(0, 1fr); }
  .heroActions .big { flex: 1; }
  .loopBack span { white-space: normal; }
  .code { padding: 20px 18px; font-size: 12px; }
}

/* ---- 关掉动效：定格在构图最好的一帧，内容全部可见 ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .ln > i { transform: none; }
  .genre, .lede, .heroActions, .heroFigure { opacity: 1; transform: none; }
  .parallax { transform: none; }
  .instUnit:hover, .shot:hover .shotFrame img { transform: none; }
  .solid::after { display: none; }
  html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition-duration: .01ms !important; }
  .ctaTitle .ch { opacity: 1; transform: none; }
  .loopRail i { transform: scaleX(1); }
}
