/* 晨曦工作室官网 · 全站唯一一份样式（浅色）
 * finesse · register=brand · A=porcelain+azure-bloom · B=600/400 centered display
 * C=centered-hero + sticky-flow-stack · D=canvas particles + scroll reveal
 * E=soft-light frosted cards · SOUL=7 SPECTACLE=6 DENSITY=3
 * -------------------------------------------------------------------------
 * 全站浅色：页面底是带一点蓝的瓷白，唯一彩色是钢蓝强调色，
 * 主按钮走墨色胶囊。光晕与粒子是背景素材，只负责把产品窗托起来。
 * 参考 lollipop.plus 的排版骨架：居中首屏、大圆角产品窗、胶囊导航、
 * 卡片叙事、手风琴问答；字体仍走系统栈，不加载任何第三方资源。
 * 下面按编号分段，改之前先看一遍对应小节的注释。 */

/* =========================================================================
 * 0. BASE
 * ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.62;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  touch-action: manipulation;
}

img, svg, canvas { display: block; max-width: 100%; }

/* 滚动条：细、低对比，和发丝线一个调子 */
html { scrollbar-width: thin; scrollbar-color: rgba(20, 22, 30, .22) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb {
  background: rgba(20, 22, 30, .18);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(20, 22, 30, .32); background-clip: content-box; }
::-webkit-scrollbar-track { background: transparent; }
button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #FCFDFF; }

:where(a) { color: inherit; text-decoration: none; }

:where(a, button, input, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.nowrap { white-space: nowrap; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  transform: translateY(-160%);
  padding: 12px 18px; border-radius: var(--r-pill);
  background: var(--ink); color: #FCFDFF;
  font-size: var(--t-small); font-weight: 600;
  transition: transform .18s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* =========================================================================
 * 1. TOKENS
 * ========================================================================= */
:root {
  --paper:      #F7F8FB;
  --paper-2:    #FCFDFF;
  --paper-3:    #EFF2F7;
  --ink:        #14161B;
  --ink-2:      #4E5563;
  --ink-3:      #5A6170;
  --line:       rgba(20, 22, 30, .09);
  --line-soft:  rgba(20, 22, 30, .055);
  --line-hard:  rgba(20, 22, 30, .17);

  /* 全站唯一彩色：钢蓝。链接、焦点框、数据强调都用它；
     主按钮走墨色，彩色面积留给光晕和图表。 */
  --accent:       #2D5FB0;
  --accent-ink:   #21498C;
  --accent-soft:  rgba(45, 95, 176, .08);
  --accent-line:  rgba(45, 95, 176, .22);
  --accent-rgb:   45, 95, 176;

  /* 三团柔光：首屏与收尾的背景呼吸，色相都落在蓝紫之间 */
  --bloom-a:  rgba(106, 148, 240, .26);
  --bloom-b:  rgba(158, 132, 235, .16);
  --bloom-c:  rgba(110, 186, 232, .17);

  --nav-bg:     rgba(252, 253, 255, .70);
  --panel-bg:   rgba(252, 253, 255, .92);
  --field-bg:   rgba(20, 22, 30, .035);
  --shadow-1:   0 1px 2px rgba(23, 37, 84, .05), 0 12px 34px -16px rgba(23, 37, 84, .20);
  --shadow-2:   0 2px 8px rgba(23, 37, 84, .06), 0 34px 76px -38px rgba(23, 37, 84, .34);
  --shadow-win: 0 1px 2px rgba(23, 37, 84, .05),
                0 -18px 60px -20px rgba(99, 141, 233, .32),
                0 52px 110px -52px rgba(23, 37, 84, .42);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue",
               "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC",
               "Noto Sans CJK SC", "Microsoft YaHei UI", "Microsoft YaHei",
               system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono",
               Consolas, "Liberation Mono", monospace;

  --t-display: clamp(2.25rem, 4.6vw, 3.75rem);
  --t-h2:      clamp(1.75rem, 3.1vw, 2.625rem);
  --t-h3:      clamp(1.1875rem, 1.7vw, 1.5rem);
  --t-lead:    clamp(1.0625rem, 1.25vw, 1.1875rem);
  --t-body:    1.0625rem;
  --t-small:   .875rem;
  --t-micro:   .75rem;

  --nav-h: 62px;
  --pad: clamp(20px, 5vw, 48px);
  --sec: clamp(76px, 9vw, 148px);
  --maxw: 1120px;
  --maxw-wide: 1280px;

  --r-xs: 10px; --r-sm: 14px; --r-md: 20px; --r-lg: 26px; --r-xl: 34px; --r-pill: 999px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --z-engine: 0; --z-sticky: 40; --z-nav: 60;
}

/* =========================================================================
 * 2. TYPE
 * ========================================================================= */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  min-width: 0;
  text-wrap: balance;
}

p { margin: 0; }

.display {
  font-size: var(--t-display);
  line-height: 1.16;
  font-weight: 600;
}
.h2 { font-size: var(--t-h2); line-height: 1.22; }
.h3 { font-size: var(--t-h3); line-height: 1.32; font-weight: 600; }

.lead {
  font-size: var(--t-lead);
  line-height: 1.66;
  color: var(--ink-2);
  max-width: 40em;
}
.body-muted { color: var(--ink-2); }

.label {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--ink-3);
}
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.num  { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

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

/* =========================================================================
 * 3. LAYOUT
 * ========================================================================= */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.wrap-wide { width: 100%; max-width: var(--maxw-wide); margin-inline: auto; padding-inline: var(--pad); }

:where([id]) { scroll-margin-top: calc(var(--nav-h) + 40px); }

main { position: relative; z-index: 5; }
section { position: relative; }

.sec { padding-block: var(--sec); }
.sec-tight { padding-block: clamp(52px, 6vw, 92px); }

.stack-sm > * + * { margin-top: 12px; }
.stack-md > * + * { margin-top: 20px; }
.stack-lg > * + * { margin-top: 32px; }

/* 区块标题：默认左对齐；需要居中时加 .sec-head-center */
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(30px, 4vw, 54px); }
.sec-head-center { justify-items: center; text-align: center; }
.sec-head-center .lead { margin-inline: auto; }

/* =========================================================================
 * 4. NAV（悬浮胶囊）
 * ========================================================================= */
.nav {
  position: sticky; top: 10px; z-index: var(--z-nav);
  width: min(var(--maxw-wide), calc(100% - 24px));
  margin: 10px auto 0;
  height: var(--nav-h);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  background: var(--nav-bg);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 1px 2px rgba(23, 37, 84, .04);
  transition: box-shadow .34s var(--ease), background-color .34s var(--ease),
              border-color .34s var(--ease);
}
.nav.is-scrolled {
  border-color: var(--line);
  background: rgba(252, 253, 255, .88);
  box-shadow: 0 2px 6px rgba(23, 37, 84, .05), 0 22px 48px -24px rgba(23, 37, 84, .30);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 100%;
  max-width: none;
  padding-inline: clamp(12px, 1.6vw, 18px);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding-right: 8px;
  font-weight: 600; letter-spacing: 0;
}
.brand-mark { width: 24px; height: 24px; flex: none; border-radius: 50%; object-fit: cover; }
.brand-name { font-size: 1rem; }
.brand-latin {
  font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .2em;
  color: var(--ink-3);
}

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 15px; border-radius: var(--r-pill);
  font-size: var(--t-small); font-weight: 500; color: var(--ink-2);
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav-link:hover { color: var(--ink); background: var(--field-bg); }
.nav-link[aria-current="page"] { color: var(--ink); font-weight: 600; }

.nav-right { display: flex; align-items: center; gap: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-size: var(--t-small); font-weight: 600; letter-spacing: 0;
  white-space: nowrap; cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease),
              transform .18s var(--ease);
}
.btn:active { transform: scale(.975); }
/* 主按钮走墨色：参考站的主 CTA 是黑胶囊，彩色让位给光晕与数据 */
.btn-primary { background: var(--ink); color: #FCFDFF; }
.btn-primary:hover { background: #262A33; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(20, 22, 30, .6); }
  .btn-ghost:hover { transform: translateY(-1px); }
}
.btn-ghost { border-color: var(--line-hard); color: var(--ink); background: rgba(252,253,255,.6); }
.btn-ghost:hover { border-color: var(--ink-3); background: var(--paper-2); }
.btn-lg { min-height: 52px; padding: 0 30px; font-size: 1rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  align-items: center; justify-content: center; flex-direction: column;
  background: none; border: 1px solid var(--line); border-radius: var(--r-pill);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .22s var(--ease), opacity .22s var(--ease); }
.nav-toggle span + span { margin-top: 4px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-sheet {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(252, 253, 255, .94);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--shadow-2);
  display: grid; gap: 2px; padding: 10px 14px 16px;
}
.nav-sheet[hidden] { display: none; }
.nav-sheet a {
  display: flex; align-items: center; min-height: 48px;
  font-size: 1.0625rem; font-weight: 500; color: var(--ink);
}

/* =========================================================================
 * 5. HERO（居中大标题 + 全宽产品窗）
 * ========================================================================= */
.hero {
  position: relative;
  overflow: clip;
  padding-top: clamp(24px, 4vw, 52px);
  padding-bottom: 0;
}
/* 晨光层：不是一团均匀的柔光，是一盏有方向的灯——
   光源压在左上角，光锥斜着向右下铺开，阴影侧用冷蓝接住，
   底部再垫一层薄雾。canvas 的浮尘叠在这层光上面（`.hero-bloom canvas`）；
   脚本不跑时这层照样成立，截屏和无 JS 环境看到的都是同一幅光。 */
.hero-bloom { position: absolute; inset: -16% -8% auto; height: 118%; z-index: 0; pointer-events: none; }
.hero-bloom::before {
  content: "";
  position: absolute; inset: 0;
  animation: dawn-breathe 26s ease-in-out infinite;
  will-change: opacity, transform;
  background:
    radial-gradient(54% 40% at 12% -6%, rgba(255, 241, 214, .98) 0%, rgba(255, 241, 214, 0) 66%),
    linear-gradient(112deg, rgba(255, 236, 206, .62) 0%, rgba(255, 236, 206, .22) 28%, rgba(247, 248, 251, 0) 56%),
    radial-gradient(54% 62% at 92% 78%, rgba(122, 150, 238, .24) 0%, rgba(122, 150, 238, 0) 72%),
    linear-gradient(180deg, rgba(247, 248, 251, 0) 58%, rgba(148, 168, 236, .14) 100%);
}
.fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 60px);
  align-items: center;
}
.hero-copy {
  max-width: 54rem;
  margin-inline: auto;
  padding-top: clamp(36px, 6vw, 88px);
  text-align: center;
}
.hero .display { font-size: var(--t-display); }
.hero-lead { margin: 22px auto 0; max-width: 42rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(26px, 3vw, 34px); }

.hero-visual {
  position: relative; z-index: 1;
  display: grid; width: 100%;
  place-items: center;
}
.stage { position: relative; width: min(100%, 1060px); }
.stack { position: relative; }

/* 产品窗：白描边 + 蓝调长影，和参考站一样把真实界面当舞台主角 */
.shot-main {
  position: relative;
  margin: 0;
  border-radius: clamp(16px, 2vw, 26px);
  overflow: clip;
  background: var(--paper-2);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-win);
}
.shot-main img { width: 100%; height: auto; }

/* 会话行：产品窗下面一条「正在工作的会话」状态条。
   绿点缓慢呼吸，分隔点用发丝级的圆点，整体像工具箱状态栏的延伸。 */
.hero-session {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px 12px;
  margin-top: clamp(14px, 2vw, 22px);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: .02em;
  color: var(--ink-2);
}
.hs-rot {
  position: relative;
  display: inline-block;
  width: min(34ch, 100%);
  height: 1.5em;
  vertical-align: bottom;
}
.hs-line {
  position: absolute; left: 50%; top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.hs-line.is-on { opacity: 1; }
.hs-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #34A16B;
  box-shadow: 0 0 0 0 rgba(52, 161, 107, .35);
  animation: hs-pulse 2.6s ease-out infinite;
}
@keyframes hs-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 161, 107, .35); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(52, 161, 107, 0); }
}

@keyframes dawn-breathe {
  0%, 100% { opacity: .94; transform: translate3d(0, 0, 0) scale(1); }
  50% { opacity: 1; transform: translate3d(1.4%, .8%, 0) scale(1.015); }
}

/* 追光：只在精确指针环境里生效。鼠标划过图片卡时，卡面有一片
   跟着鼠标走的柔光，像光落在纸面上，而不是常见的浮起或缩放。 */
@media (hover: hover) and (pointer: fine) {
  .spot-card { position: relative; }
  .spot-card::after {
    content: "";
    position: absolute; inset: 0;
    z-index: 2;
    border-radius: inherit;
    background: radial-gradient(38% 44% at var(--spot-x, 50%) var(--spot-y, 32%),
                rgba(255, 250, 240, .36), rgba(255, 250, 240, 0) 72%);
    opacity: 0;
    transition: opacity .45s var(--ease-out);
    pointer-events: none;
  }
  .spot-card:hover::after { opacity: 1; }
}

/* =========================================================================
 * 6. FACT BAND（事实条：值是主角，标签退到下面）
 * ========================================================================= */
.band { border-top: 1px solid var(--line-soft); }
.facts {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px clamp(32px, 5.5vw, 88px);
  padding-block: clamp(20px, 2.6vw, 32px);
}
.fact { display: grid; justify-items: center; gap: 3px; text-align: center; }
.fact-v { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); font-weight: 600; letter-spacing: 0; }
.fact-k { font-size: var(--t-micro); letter-spacing: .12em; color: var(--ink-3); }

/* =========================================================================
 * 7. PANEL（机型识别表 / 演示容器）
 * ========================================================================= */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.demo {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel-bg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.demo-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.demo-title { display: flex; align-items: center; gap: 10px; font-size: var(--t-small); font-weight: 600; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px; border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--accent-ink);
  font-size: .6875rem; font-weight: 600; letter-spacing: .01em;
  border: 1px solid var(--accent-line);
}

.field { display: grid; gap: 8px; }
.field + .field { margin-top: 16px; }
.field-label { font-size: var(--t-small); font-weight: 600; }
.field-hint { font-size: var(--t-micro); color: var(--ink-3); }

textarea.input, input.input {
  width: 100%; min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper-2); color: var(--ink);
  font-size: var(--t-small); line-height: 1.6;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
textarea.input { min-height: 104px; resize: vertical; font-family: var(--font-mono); }
input.input { min-height: 44px; }
.input:hover { border-color: var(--line-hard); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input::placeholder { color: var(--ink-3); }

.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: var(--t-small); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r-sm); overflow: hidden; margin-top: 16px; }
.stat { background: var(--paper-2); padding: 12px 14px; }
.stat-v { font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.stat-k { margin-top: 2px; font-size: var(--t-micro); color: var(--ink-3); }

/* 机型识别表：左列表 + 右详情 */
.matrix { display: grid; grid-template-columns: minmax(0, 1fr); }
.matrix-list { padding: 16px; border-bottom: 1px solid var(--line-soft); }
.matrix-detail { padding: 20px; }

.brand-list {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: grid; gap: 2px;
  max-height: 268px; overflow-y: auto;
  overscroll-behavior: contain;
}
.brand-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; min-height: 44px; padding: 0 12px;
  border: 1px solid transparent; border-radius: var(--r-xs);
  background: none; color: var(--ink-2); text-align: left; cursor: pointer;
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.brand-item:hover { background: var(--field-bg); color: var(--ink); }
.brand-item[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent-line); color: var(--ink); }
.brand-item-empty { cursor: default; color: var(--ink-3); justify-content: flex-start; }
.brand-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--t-small); font-weight: 550; }
.brand-e { flex: none; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .14em; color: var(--ink-3); white-space: nowrap; }
.brand-item[aria-pressed="true"] .brand-e { color: var(--accent-ink); }

.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.detail-head .card-name { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.spec { margin: 18px 0 0; border-top: 1px solid var(--line-soft); }
.spec > div {
  display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
}
.spec dt { font-size: var(--t-micro); font-weight: 600; color: var(--ink-3); letter-spacing: .02em; }
.spec dd { margin: 0; font-size: var(--t-small); line-height: 1.65; color: var(--ink); }

@media (min-width: 720px) {
  .matrix { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .matrix-list { border-bottom: 0; border-right: 1px solid var(--line-soft); }
}

/* =========================================================================
 * 8. PRODUCTS
 * ========================================================================= */
.asym { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }

.card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--paper-2);
  transition: border-color .22s var(--ease);
}
.card:hover { border-color: var(--line-hard); }

.card-lead {
  background: var(--paper-2);
  border-color: var(--line-hard);
  justify-content: space-between;
  min-height: 330px;
}
.card-lead:hover { border-color: var(--ink-3); }

.card-quiet { background: var(--paper); }

.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-name { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; }
.card-latin { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .18em; color: var(--ink-3); margin-top: 6px; }
.card-summary { margin-top: 14px; color: var(--ink-2); font-size: var(--t-body); max-width: 32em; }
.card-foot { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }

.tag {
  display: inline-flex; align-items: center; height: 27px; padding: 0 11px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: rgba(252, 253, 255, .7);
  font-size: .6875rem; font-weight: 600; color: var(--ink-2);
}
.status { display: inline-flex; align-items: center; gap: 7px; font-size: var(--t-micro); font-weight: 600; letter-spacing: .02em; color: var(--ink-2); white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); flex: none; }
.status[data-status="live"] { color: var(--accent-ink); }
.status[data-status="live"]::before { background: var(--accent); }
.status[data-status="building"]::before { background: var(--ink-2); }

.more-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; font-size: var(--t-small); font-weight: 600; color: var(--accent-ink);
}
.more-link svg { transition: transform .2s var(--ease); }
.more-link:hover svg { transform: translateX(3px); }

/* 首页产品区：文案居中收窄，界面图收进容器里的大圆角卡 */
.feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(30px, 4vw, 48px); }
.feature-copy { min-width: 0; max-width: 44rem; margin-inline: auto; text-align: center; }
.feature-copy .asym { grid-template-columns: minmax(0, 1fr); }
.feature-copy .card,
.feature-copy .card:hover {
  padding: 0; border: 0; border-radius: 0;
  background: none; box-shadow: none; min-height: 0; justify-content: flex-start;
}
.feature-plate { display: grid; gap: 14px; }
.feature-shot {
  margin: 0;
  display: grid; grid-template-columns: minmax(0, 1fr);
  overflow: clip;
  border-radius: clamp(16px, 2vw, 26px);
}
.feature-shot img {
  display: block; width: 100%; height: auto;
  border-radius: clamp(16px, 2vw, 26px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-win);
}
.feature-cap { margin: 0; text-align: center; font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: .12em; color: var(--ink-3); }

/* =========================================================================
 * 9. STATEMENT（宣言卡：浅色柔光，替代原来的深色横带）
 * ========================================================================= */
.statement-sec { padding-block: clamp(64px, 7.5vw, 120px); }
.statement-card {
  position: relative;
  overflow: clip;
  /* 静态检查器只读简写，这里先给一组固定值，随后的 clamp 覆盖它。 */
  padding: 40px 24px;
  padding-top: clamp(40px, 6vw, 96px);
  padding-right: clamp(24px, 5.5vw, 92px);
  padding-bottom: clamp(40px, 6vw, 96px);
  padding-left: clamp(24px, 5.5vw, 92px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--r-xl);
  background:
    radial-gradient(40% 46% at 94% 0%, rgba(106, 148, 240, .18) 0%, rgba(106, 148, 240, 0) 100%),
    radial-gradient(88% 130% at 0% 0%, var(--bloom-a) 0%, rgba(252, 253, 255, 0) 58%),
    radial-gradient(70% 110% at 100% 100%, var(--bloom-b) 0%, rgba(252, 253, 255, 0) 62%),
    var(--paper-2);
  box-shadow: var(--shadow-2);
}
.statement-card > * { position: relative; z-index: 1; }
.statement { font-size: clamp(1.75rem, 3.8vw, 3.125rem); line-height: 1.2; font-weight: 600; max-width: 30em; }
.statement-card .lead { margin-top: 24px; max-width: 46em; }

/* 兼容旧类名：万一还有页面挂着 band-dark，也按浅色宣言卡呈现 */
.band-dark { background: var(--paper); color: var(--ink); }
.band-dark .wrap-wide > * { margin-left: 0; }
.band-dark.sec { padding-block: clamp(64px, 7.5vw, 120px); }

/* =========================================================================
 * 10. FAQ（手风琴）
 * ========================================================================= */
.faq-list { max-width: 54rem; margin-inline: auto; padding-top: 6px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%; min-height: 78px; padding: 20px 0;
  border: 0; background: none; cursor: pointer; text-align: left;
  font-size: 1.0625rem; font-weight: 600; color: var(--ink);
}
.faq-q:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.faq-icon {
  position: relative; flex: none;
  width: 22px; height: 22px;
  border: 1px solid var(--line-hard); border-radius: 50%;
  transition: transform .3s var(--ease-out), background-color .25s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 9px; height: 1.5px; background: var(--ink-2);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease-out), background-color .25s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[data-open="true"] .faq-icon { transform: rotate(180deg); background: var(--ink); border-color: var(--ink); }
.faq-item[data-open="true"] .faq-icon::before { background: #FCFDFF; }
.faq-item[data-open="true"] .faq-icon::after { background: #FCFDFF; transform: translate(-50%, -50%) rotate(0deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows .3s var(--ease-out), opacity .2s var(--ease);
}
.faq-a > div { min-height: 0; overflow: hidden; }
.faq-a p { padding: 0 46px 26px 0; color: var(--ink-2); font-size: var(--t-body); line-height: 1.72; max-width: 62ch; }
.faq-item[data-open="true"] .faq-a { grid-template-rows: 1fr; opacity: 1; }

/* =========================================================================
 * 11. SESSION TIMELINE（工具箱五步：一条随滚动点亮的会话线）
 * ========================================================================= */
.timeline {
  position: relative; max-width: 58rem; margin-inline: auto;
  --tl-x: 1.15rem;                            /* 竖线相对容器的位置 */
  --tl-pad: clamp(3.4rem, 8vw, 5.4rem);       /* 内容区左侧留白 */
  padding-left: var(--tl-pad);
}
.tl-rail {
  position: absolute; left: var(--tl-x); top: .9rem; bottom: .8rem;
  width: 1px; background: var(--line);
}
.tl-rail-fill {
  position: absolute; left: 0; top: 0; width: 100%; height: 0;
  background: linear-gradient(180deg, #7d9be0, var(--accent));
  transition: height .18s linear;
}
.tl-step { position: relative; padding-block: clamp(26px, 3.4vw, 42px); }
.tl-step + .tl-step { border-top: 1px solid var(--line-soft); }
.tl-node {
  position: absolute; left: calc(var(--tl-x) - var(--tl-pad) - 15px);
  top: calc(clamp(26px, 3.4vw, 42px) + 2px);
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .04em;
  color: var(--ink-3);
  transition: border-color .4s var(--ease), color .4s var(--ease),
              box-shadow .4s var(--ease), background-color .4s var(--ease);
}
.tl-step.is-live .tl-node {
  border-color: var(--accent);
  background: var(--accent);
  color: #FCFDFF;
  box-shadow: 0 0 0 5px var(--accent-soft);
}
.tl-body { display: grid; gap: 12px; }
.tl-body p { max-width: 44em; }
.tl-log {
  display: grid; gap: 5px;
  max-width: 40rem;
  padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(20, 22, 30, .028);
  font-family: var(--font-mono); font-size: .75rem; line-height: 1.85;
  color: var(--ink-2);
}
.tl-log p { padding-left: 4.4em; text-indent: -4.4em; }
.tl-log span { display: inline; margin-right: 8px; color: var(--ink-3); }
.tl-log b { color: var(--ink); font-weight: 600; }
.tl-log .tl-ok { color: #1F7A4D; }
@media (max-width: 640px) {
  .timeline { --tl-x: 1rem; --tl-pad: 3.1rem; }
}

/* =========================================================================
 * 12. CTA + FOOTER（收尾：居中 + 点阵呼吸）
 * ========================================================================= */
.closing { overflow: clip; padding-block: clamp(88px, 11vw, 176px) clamp(64px, 8vw, 120px); }
.closing-dots { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* 地平线光带：一条从下方渗上来的弥散光，canvas 的碎光点压在它上面 */
.closing-dots::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(247, 248, 251, 0) 52%, rgba(255, 234, 202, .34) 69%, rgba(158, 178, 240, .22) 77%, rgba(247, 248, 251, 0) 90%),
    radial-gradient(76% 38% at 50% 74%, rgba(255, 236, 206, .46) 0%, rgba(255, 236, 206, 0) 80%);
}
.cta {
  position: relative; z-index: 1;
  display: grid; justify-items: center; gap: 22px; text-align: center;
}
.cta .display { font-size: clamp(2rem, 5vw, 4rem); max-width: 20em; }
.cta .lead { margin-inline: auto; max-width: 38rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-center { text-align: center; justify-items: center; }
.cta .lead a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }

.footer { border-top: 1px solid var(--line); padding-block: clamp(40px, 5vw, 64px); background: var(--paper); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-small); color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }
.footer-note { font-size: var(--t-small); color: var(--ink-3); line-height: 1.7; max-width: 30em; }

/* =========================================================================
 * 12b. ABOUT FLOW（关于页的编号章节）
 * ========================================================================= */
.about-flow { max-width: 46rem; margin-inline: auto; }
.af-step {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0 clamp(16px, 3vw, 32px);
  padding-block: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line-soft);
}
.af-step:last-child { border-bottom: 1px solid var(--line-soft); }
.af-n {
  font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .14em;
  color: var(--accent-ink);
  padding-top: .5em;
}
.af-body h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
.af-body p { margin-top: 14px; color: var(--ink-2); }
.af-body ul { margin: 14px 0 0; padding-left: 1.15em; color: var(--ink-2); }
.af-body li + li { margin-top: 8px; }
.af-body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .af-step { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-block: 26px; }
  .af-n { padding-top: 0; }
}

/* =========================================================================
 * 13. SUB PAGES
 * ========================================================================= */
.page-head {
  position: relative;
  overflow: clip;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(28px, 4vw, 48px);
  text-align: center;
}
.page-head .wrap-wide { position: relative; z-index: 1; display: grid; justify-items: center; }
.page-head .display { font-size: clamp(2.125rem, 5.4vw, 4rem); }
.page-head .lead { margin-inline: auto; }
.page-head .row { justify-content: center; }
.page-head .label { margin-bottom: 4px; }

.prose { max-width: 42rem; margin-inline: auto; }
.prose h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin-top: 42px; }
.prose p { margin-top: 14px; color: var(--ink-2); }
.prose ul { margin: 14px 0 0; padding-left: 1.15em; color: var(--ink-2); }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 28px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
}
.row-main { min-width: 0; }
.row-side { display: flex; align-items: center; gap: 16px; padding-top: 4px; }
.rows .rows-cap {
  display: block; padding: 34px 0 0;
  font-family: var(--font-mono); font-size: var(--t-micro);
  letter-spacing: .14em; color: var(--ink-3);
}
.rows .rows-cap:first-child { padding-top: 0; }

/* 功能一览：两栏紧凑清单 */
.fn-grid {
  list-style: none; margin: 0; padding: 26px 0 0;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px 44px;
}
.fn-grid li { display: grid; gap: 5px; align-content: start; }
.fn-k { font-weight: 600; font-size: .9375rem; }
.fn-v { color: var(--ink-2); font-size: .875rem; line-height: 1.62; }
@media (min-width: 900px) {
  .fn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 56px; }
}

.rows .tag {
  height: auto; padding: 0; border: 0; border-radius: 0;
  background: none;
  font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .1em;
  color: var(--ink-3);
}
.row-main .body-muted { margin-top: 6px; font-size: .9375rem; }
.step-n { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: .14em; color: var(--accent); margin-bottom: 8px; }

/* 产品页：一件产品 + 一个虚线空位 */
.plist { display: grid; gap: 20px; }

.pcard {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper-2);
  box-shadow: var(--shadow-1);
  transition: border-color .22s var(--ease);
}
.pcard:hover { border-color: var(--line-hard); }

.pcard-shot {
  display: block;
  border-radius: var(--r-sm);
  overflow: clip;
  box-shadow: var(--shadow-1);
}
.pcard-shot img { display: block; width: 100%; height: auto; }

.pcard-body { display: grid; gap: 14px; align-content: start; }
.pcard-body .body-muted { max-width: 34em; }
.pcard-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pcard-kicker { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: .14em; color: var(--accent); }
.pcard-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.pcard .card-foot { margin-top: 4px; }

.pcard-next { margin-top: 20px; background: var(--paper); box-shadow: none; }
.pcard-empty {
  display: grid; place-items: center; gap: 10px;
  aspect-ratio: 3 / 2;
  border: 1px dashed var(--line-hard);
  border-radius: var(--r-sm);
  box-shadow: none;
  background: rgba(252, 253, 255, .5);
  color: var(--ink-3);
}
.pcard-empty img { width: 30px; height: 30px; opacity: .3; }
.pcard-empty span { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: .18em; }

@media (max-width: 860px) {
  .pcard { grid-template-columns: minmax(0, 1fr); }
  .pcard-empty { aspect-ratio: 16 / 7; }
}

/* =========================================================================
 * 14. SHOTS（产品界面截图 + 玻璃舞台）
 * ========================================================================= */
/* 玻璃舞台：窗口里的模糊由 backdrop-filter 实时采样背景，
   模糊半径由 JS 按窗口宽度换算（见 site-data.js 的 GLASS_SCENE.blurRatio）。 */
.gs-sec { padding-bottom: clamp(64px, 8vw, 120px); }
.gs-stage {
  position: relative;
  height: clamp(440px, 64vw, 880px);
  overflow: clip;
  background: #EFF2F7;
  perspective: 2200px;
  perspective-origin: 50% 48%;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
.gs-desk {
  position: absolute; inset: 0;
  display: grid; place-content: center;
  gap: clamp(10px, 1.5vw, 20px);
  text-align: center;
  background:
    radial-gradient(64% 78% at 15% 4%, rgba(106, 148, 240, .30) 0%, rgba(106, 148, 240, .10) 40%, rgba(250, 251, 253, 0) 72%),
    radial-gradient(52% 62% at 96% 94%, rgba(158, 132, 235, .18) 0%, rgba(158, 132, 235, .05) 42%, rgba(250, 251, 253, 0) 72%),
    radial-gradient(38% 44% at 86% 12%, rgba(110, 186, 232, .18) 0%, rgba(250, 251, 253, 0) 70%),
    linear-gradient(158deg, #FAFBFD 0%, #EAEFF8 50%, #F1EFF6 100%);
}
.gs-stage[data-desk="cool"] .gs-desk,
.gs-stage[data-desk="warm"] .gs-desk {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.gs-stage[data-desk="cool"] .gs-desk { background-image: url("../img/glass/desk-cool.webp?v=264"); }
.gs-stage[data-desk="warm"] .gs-desk { background-image: url("../img/glass/desk-warm.webp?v=264"); }
.gs-stage[data-desk="plain"] .gs-desk { background: #EDF1F7; }
.gs-stage[data-desk="live"] .gs-desk {
  background: linear-gradient(158deg, #F1F5FA 0%, #E8EEF7 52%, #F0EFF4 100%);
}
.gs-stage[data-desk="live"] .gs-desk::before {
  content: "";
  position: absolute; inset: -24% -12%;
  background:
    radial-gradient(30% 34% at 32% 34%, rgba(106, 148, 240, .48) 0%, rgba(106, 148, 240, 0) 70%),
    radial-gradient(26% 30% at 68% 62%, rgba(158, 132, 235, .38) 0%, rgba(158, 132, 235, 0) 68%),
    radial-gradient(20% 24% at 56% 22%, rgba(110, 186, 232, .34) 0%, rgba(110, 186, 232, 0) 70%);
  animation: gs-live-drift 36s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes gs-live-drift {
  from { transform: translate3d(-4%, -3%, 0) rotate(-3deg) scale(1); }
  to   { transform: translate3d(5%, 4%, 0) rotate(4deg) scale(1.16); }
}
.gs-desk-line {
  display: none;
  margin: 0;
  white-space: nowrap;
  font-weight: 600;
  font-size: clamp(44px, 6.2vw, 92px);
  line-height: 1.06;
  color: rgba(33, 73, 140, .20);
}
.gs-stage[data-desk="site"] .gs-desk-line { display: block; }
.gs-desk-line-2 {
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.9vw, 26px);
  font-weight: 600;
  letter-spacing: .3em;
  color: rgba(45, 95, 176, .22);
}

.gs-picker {
  position: absolute; z-index: 3;
  left: 50%; bottom: clamp(14px, 2.2vw, 28px);
  transform: translateX(-50%);
  display: flex; gap: 4px; padding: 5px;
  flex-wrap: wrap; justify-content: center;
  width: max-content; max-width: calc(100% - 28px);
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(252, 253, 255, .72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--shadow-1);
}
.gs-chip {
  appearance: none; cursor: pointer;
  display: inline-flex; align-items: center;
  min-height: 42px; padding: 0 18px;
  border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--ink-2);
  font-family: inherit; font-size: var(--t-small); font-weight: 600;
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.gs-chip:hover { color: var(--ink); background: var(--field-bg); }
.gs-chip[aria-pressed="true"] { background: var(--ink); color: #FCFDFF; }

.gs-win {
  position: absolute; left: 50%; top: 50%;
  width: min(72%, 1020px);
  aspect-ratio: 1.5;
  border-radius: 12px;
  overflow: clip;
  cursor: grab;
  touch-action: pan-y;
  transform:
    translate(-50%, -50%)
    rotateX(var(--gs-rx, 0deg)) rotateY(var(--gs-ry, 0deg));
  backdrop-filter: blur(var(--gs-blur, 24px));
  -webkit-backdrop-filter: blur(var(--gs-blur, 24px));
  box-shadow:
    inset 0 0 0 1px rgba(23, 37, 84, .10),
    var(--gs-sx, 0px) calc(1px + var(--gs-sy, 0px)) 2px rgba(23, 37, 84, .14),
    var(--gs-sx, 0px) calc(26px + var(--gs-sy, 0px)) 60px -28px rgba(23, 37, 84, .40);
  will-change: transform;
}
.gs-win.is-turning { cursor: grabbing; }
.gs-win:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.gs-ui {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%;
  pointer-events: none;
  -webkit-user-drag: none; user-select: none;
}
.gs-sheen {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background: radial-gradient(46% 56% at var(--gs-lx, 32%) var(--gs-ly, 18%),
              rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 68%);
  transition: opacity .5s var(--ease-out);
}
.gs-win.is-turning .gs-sheen { opacity: var(--gs-lite, 0); }

.gs-hint {
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: .04em;
  color: var(--ink-3);
}
.gs-hint span { display: inline-flex; align-items: center; }
.gs-hint span + span::before { content: "·"; margin: 0 12px; opacity: .6; }
.gs-hint .gs-hint-note { margin-left: auto; }
.gs-hint .gs-hint-note::before { content: none; }

@media (max-width: 767px) {
  .gs-hint .gs-hint-note { margin-left: 0; }
  .gs-stage { height: clamp(400px, 116vw, 620px); }
  .gs-win { width: 92%; border-radius: 10px; }
  .gs-picker { border-radius: 22px; }
}

/* 界面陈列：一扇会换页的窗口。左侧是五个条目，滚到哪一条，
   右侧固定的窗口就翻到哪一页；窄屏时改成条目内联图片。 */
.stage-window { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
/* 聚光灯不用整条透明度做（会把文字压到 2:1 以下），改用颜色分层：
   未激活的标题走二级墨、正文走三级灰，两者都在 4.9:1 以上；
   激活项升到一级墨，编号转强调蓝。 */
.sw-item {
  display: grid; gap: 12px;
  padding: 24px 0 28px;
  border-top: 1px solid var(--line-soft);
  transition: background-color .3s var(--ease);
}
.sw-item:last-child { border-bottom: 1px solid var(--line-soft); }
.sw-item .h3 { color: var(--ink-2); transition: color .4s var(--ease); }
.sw-item .body-muted { color: var(--ink-3); transition: color .4s var(--ease); }
.sw-item.is-active .h3 { color: var(--ink); }
.sw-item.is-active .body-muted { color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) {
  .sw-item:not(.is-active):hover .h3 { color: var(--ink); }
  .sw-item { cursor: pointer; }
}
.sw-n {
  font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .12em;
  color: var(--ink-3);
  transition: color .4s var(--ease);
}
.sw-item.is-active .sw-n { color: var(--accent-ink); }
.sw-copy h3 { margin-bottom: 8px; }
.sw-inline { margin: 6px 0 0; }
.sw-view { display: none; }
@media (min-width: 900px) {
  .stage-window {
    grid-template-columns: minmax(0, .58fr) minmax(0, 1.42fr);
    gap: clamp(40px, 5vw, 76px);
    align-items: start;
  }
  .sw-inline { display: none; }
  .sw-view { display: block; position: sticky; top: calc(var(--nav-h) + 44px); }
}
.sw-frame {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: clamp(16px, 2vw, 26px);
  overflow: clip;
  background: var(--paper-2);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-win);
}
.sw-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .6s var(--ease-out), transform 1.1s var(--ease-out);
}
.sw-img.is-active { opacity: 1; transform: none; }
.sw-zoom {
  position: absolute; right: 14px; top: 14px; z-index: 3;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  padding: 0; cursor: zoom-in;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .85);
  background: rgba(252, 253, 255, .72);
  color: var(--ink);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s var(--ease);
}
.sw-frame:hover .sw-zoom, .sw-zoom:focus-visible { opacity: 1; transform: none; }
.sw-zoom:hover { background: rgba(252, 253, 255, .95); }
.sw-cap {
  margin-top: 12px;
  font-family: var(--font-mono); font-size: var(--t-micro);
  letter-spacing: .06em; color: var(--ink-3);
}
@media (prefers-reduced-transparency: reduce) {
  .sw-zoom { background: var(--paper-2); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.shot-open {
  position: relative;
  display: block; width: 100%;
  padding: 0; border: 0; background: none;
  border-radius: var(--r-md);
  overflow: clip;
  cursor: zoom-in;
  box-shadow: var(--shadow-2);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.shot-open img { width: 100%; height: auto; }
.shot-row .shot-open:hover { transform: translateY(-3px); }

.lightbox {
  margin: 0; padding: 0; border: 0; background: transparent;
  width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh;
  overflow: auto;
}
.lightbox[open] { display: grid; place-items: center; padding: clamp(16px, 4vw, 56px); }
.lightbox::backdrop {
  background: rgba(12, 15, 24, .72);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}
.lightbox img {
  width: auto; max-width: 100%; height: auto; max-height: 84dvh;
  border-radius: var(--r-md);
  background: var(--paper-2);
  box-shadow: 0 40px 100px -44px rgba(4, 8, 20, .85);
}
.lightbox-close {
  position: fixed; top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  padding: 0; cursor: pointer;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(26, 26, 30, .66);
  color: #FCFDFF;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .2s var(--ease);
}
.lightbox-close:hover { background: rgba(48, 48, 54, .82); }

/* =========================================================================
 * 15. MOTION
 * ========================================================================= */
/* 打开页面时的那一下：导航落下、标题与正文依次抬起、按钮分两拍、
   事实条逐项落位、产品窗最后浮出来。纯 CSS，脚本报错也不会把首屏留在隐藏状态；
   「减弱动态效果」时整组不生效。 */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .nav-inner { animation: boot-drop .62s var(--ease-out) both; }
  main > section:first-child .label { animation: boot-rise .6s var(--ease-out) .06s both; }
  main > section:first-child .display { animation: boot-rise .72s var(--ease-out) .13s both; }
  main > section:first-child .lead { animation: boot-rise .72s var(--ease-out) .21s both; }
  main > section:first-child .hero-actions > * { animation: boot-rise .68s var(--ease-out) both; }
  main > section:first-child .hero-actions > *:nth-child(1) { animation-delay: .29s; }
  main > section:first-child .hero-actions > *:nth-child(2) { animation-delay: .36s; }
  main > section:first-child .cta-actions > * { animation: boot-rise .72s var(--ease-out) .29s both; }
  .band .facts { animation: boot-rise .7s var(--ease-out) .36s both; }
  .band .facts > * { animation: boot-rise .6s var(--ease-out) both; }
  .band .facts > *:nth-child(1) { animation-delay: .42s; }
  .band .facts > *:nth-child(2) { animation-delay: .49s; }
  .band .facts > *:nth-child(3) { animation-delay: .56s; }
  .band .facts > *:nth-child(4) { animation-delay: .63s; }
  .hero .shot-main { animation: boot-shot .95s var(--ease-out) .26s both; }
}
@keyframes boot-drop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
@keyframes boot-rise {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: none; }
}
@keyframes boot-shot {
  from { opacity: 0; transform: translateY(28px) scale(.975); }
  to { opacity: 1; transform: none; }
}

/* 滚动显现：面板抬得远一点、列表行轻一点；截图比外框慢一档收回 */
[data-reveal] {
  opacity: 0;
  transform: translateY(var(--rv, 14px)) scale(var(--rvs, 1));
  transition: opacity .72s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

.demo[data-reveal] { --rv: 22px; --rvs: .992; }
figure[data-reveal] { --rv: 26px; --rvs: .99; }
.row-item[data-reveal] { --rv: 8px; }

.shot-open img, .pcard-shot img {
  scale: 1.024;
  transition: scale 1.15s var(--ease-out);
}
[data-reveal].is-in img { scale: 1; }

/* 抬升只在真有鼠标的环境里发生 */
@media (hover: hover) and (pointer: fine) {
  .pcard { transition: transform .34s var(--ease-out), border-color .22s var(--ease); }
  .pcard:hover { transform: translateY(-3px); border-color: var(--line-hard); }
}

.split-char { display: inline-block; }
[data-split] { opacity: 0; }
[data-split].is-in { opacity: 1; }
[data-split] .split-char {
  opacity: 0; transform: translateY(.5em);
  transition: opacity .6s var(--ease-out), transform .7s var(--ease-out);
}
[data-split].is-in .split-char { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-split], [data-split] .split-char { opacity: 1; transform: none; }
  .shot-open img, .pcard-shot img { scale: 1; }
  .shot-main { opacity: 1; transform: none; }
  .flow-card { position: static; }
  .flow-card + .flow-card { margin-top: 24px; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav, .nav-sheet, .gs-picker { background: var(--paper-2); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .lightbox::backdrop, .lightbox-close { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* =========================================================================
 * 16. RESPONSIVE
 * ========================================================================= */
@media (min-width: 900px) {
  .hero-visual { margin-top: 6px; }
  .split { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
  .asym { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .asym > .card-lead { grid-row: span 2; }
}

@media (max-width: 899px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 859px) {
  .flow-card { position: static; grid-template-columns: minmax(0, 1fr); }
  .flow-card + .flow-card { margin-top: 20px; }
  .flow-side { justify-items: start; }
}

@media (max-width: 640px) {
  .facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }
}

@media (max-width: 520px) {
  .row-item { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================================
 * 17. DOWNLOAD
 * ========================================================================= */
.dl {
  display: grid; gap: clamp(20px, 3vw, 28px);
  padding: clamp(24px, 3.2vw, 38px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--r-lg);
  background:
    radial-gradient(110% 130% at 0% 0%, var(--bloom-a) 0%, rgba(252, 253, 255, 0) 58%),
    radial-gradient(80% 110% at 100% 100%, var(--accent-soft) 0%, rgba(252, 253, 255, 0) 62%),
    var(--paper-2);
  box-shadow: var(--shadow-2);
}
.dl-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dl-note { font-size: var(--t-small); color: var(--ink-2); }

.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r-sm); overflow: hidden; }
.kv > div { background: var(--paper-2); padding: 12px 14px; }
.kv-v { font-size: 1.0625rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.kv-k { margin-top: 2px; font-size: var(--t-micro); color: var(--ink-3); }

.sha {
  display: block;
  font-family: var(--font-mono); font-size: .75rem; line-height: 1.7;
  color: var(--ink-2); word-break: break-all;
}

.notes { border-left: 2px solid var(--accent-line); padding-left: 16px; }
.notes p { font-size: var(--t-small); color: var(--ink-2); }
.notes p + p { margin-top: 8px; }
