/* ==========================================================================
   赢筹智能软件下载站样式表
   设计变量、Logo、页脚等沿用官网（赢筹官网 src/assets/css/style.css）：
   品牌色取自公司 LOGO，蓝 #267FFF、橙 #FF7F00；深色由 LOGO 蓝加深得到；装饰沿用官网的图纸网格和轨道线。
   页面结构：首屏切换两款软件（左动态演示、右下载），下面安装步骤、系统要求、更新日志、常见问题，
   html[data-product] 记录当前选中的软件，下面几块跟着切换。
   动效只改 transform / opacity；系统设置“减少动态效果”时全部静止。
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --blue: #267FFF;
  --blue-600: #1570F2;
  --blue-300: #7FB2FF;
  --blue-50: #EFF5FF;
  --orange: #FF7F00;
  --orange-600: #EC7100;
  --orange-300: #FFB066;
  --orange-100: #FFE4C9;
  --orange-50: #FFF5EB;
  --green: #1E9E5A;
  --green-light: #3DDC84;

  --navy-950: #040C1C;
  --navy-900: #071631;
  --navy-850: #0A1D3E;
  --navy-800: #0E2750;

  --ink: #0B1426;
  --ink-2: #3F4B5F;
  --ink-3: #697488;
  --ink-4: #9AA3B2;
  --line: #E1E6ED;
  --line-2: #ECEFF4;
  --paper: #FFFFFF;
  --mist: #F4F6F9;

  --on-dark-2: rgba(255, 255, 255, .74);
  --on-dark-3: rgba(255, 255, 255, .52);
  --line-dark: rgba(255, 255, 255, .1);

  /* 中文用系统字体；标题的英文和数字优先 Segoe UI Variable Display；数字另用 DIN 系（Windows 自带 Bahnschrift） */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Segoe UI Variable Display", "SF Pro Display", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  --font-num: "DIN Alternate", "Bahnschrift", "DIN Pro", "D-DIN", "Barlow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 120px);
  --header-h: 76px;
  --r: 16px;
  --r-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(11, 20, 38, .05), 0 4px 14px -6px rgba(11, 20, 38, .1);
  --shadow: 0 1px 2px rgba(11, 20, 38, .04), 0 18px 40px -18px rgba(11, 20, 38, .2);
  --shadow-lg: 0 2px 6px rgba(11, 20, 38, .05), 0 40px 80px -32px rgba(11, 20, 38, .34);

  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.5, 0, .15, 1.18);

  /* 当前软件的主色：体系文件蓝、检验助手橙 */
  --accent: var(--blue);
  --accent-soft: rgba(38, 127, 255, .08);
  --accent-glow: rgba(38, 127, 255, .5);

  --spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.7 5.6 1.8 7.8 3.6 9.5 1.8 1.8 4.2 2.5 8.4 2.5-4.2 0-6.6.7-8.4 2.5C13.8 16.2 12.7 18.4 12 24c-.7-5.6-1.8-7.8-3.6-9.5C6.6 12.7 4.2 12 0 12c4.2 0 6.6-.7 8.4-2.5C10.2 7.8 11.3 5.6 12 0z'/%3E%3C/svg%3E");
}
html[data-product="inspect"] {
  --accent: var(--orange);
  --accent-soft: rgba(255, 127, 0, .08);
  --accent-glow: rgba(255, 127, 0, .42);
}
@media (max-width: 640px) { :root { --header-h: 64px; } }

@property --beam { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* ---------- 2. 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent; /* 手机浏览器点击时的高亮框，改用下面各处的按压反馈 */
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--navy-950);
}
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.8 var(--font-sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
h1, h2, h3, h4, p, figure, dl, dd, ul, ol { margin: 0; }
h1, h2, h3, p, li, dd, figcaption, summary { text-wrap: pretty; }
ul[role="list"], ol { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a, button, summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }
[hidden] { display: none !important; }
.num { font-family: var(--font-num); letter-spacing: .02em; }

.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 18px; height: 18px; }
.i--xs { width: 14px; height: 14px; stroke-width: 2; }
.i--lg { width: 28px; height: 28px; stroke-width: 1.5; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }
.section--mist { background: var(--mist); }

/* ---------- 3. 文字 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1.2 var(--font-sans); letter-spacing: .16em; color: var(--orange);
}
.eyebrow::before {
  content: ""; width: 11px; height: 11px; flex: none; background: currentColor;
  -webkit-mask: var(--spark) center / contain no-repeat; mask: var(--spark) center / contain no-repeat;
}
.h-2 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 42px); line-height: 1.22; font-weight: 600; letter-spacing: -.01em; }

.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.sec-head .eyebrow + .h-2 { margin-top: 16px; }

/* 下面几块跟随首屏选中的软件：显示当前软件名，可直接切换 */
.for-chip {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
  padding: 6px 6px 6px 16px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line-2);
  font-size: 14px; color: var(--ink-3);
}
.section--mist .for-chip { background: #fff; }
.for-chip b { color: var(--ink); font-weight: 600; }
.for-chip b::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); vertical-align: 1px; transition: background-color .4s;
}
.for-chip__switch {
  height: 32px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: border-color .25s, color .25s, background-color .25s, transform .25s var(--ease);
}
.for-chip__switch:active { transform: scale(.96); background: var(--line-2); }
.section--mist .for-chip__switch { background: var(--mist); }
@media (hover: hover) { .for-chip__switch:hover { border-color: var(--ink-3); color: var(--ink); } }

/* 按当前软件显示 */
html.js[data-product="docgen"] [data-for="inspect"],
html.js[data-product="inspect"] [data-for="docgen"] { display: none !important; }

/* ---------- 4. 按钮 ---------- */
.btn {
  --h: 52px;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .25s, border-color .25s, color .25s, box-shadow .3s, transform .3s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { --h: 42px; padding: 0 20px; font-size: 14.5px; }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 16.5px; }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 14px 30px -12px rgba(255, 127, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
@media (hover: hover) { .btn--primary:hover { background: var(--orange-600); box-shadow: 0 20px 36px -12px rgba(255, 127, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .25); } }
/* 主按钮划过一道光 */
.btn--primary::after {
  content: ""; position: absolute; inset: 0 auto 0 -60%; z-index: -1; width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
@media (hover: hover) { .btn--primary:hover::after { left: 120%; } }
.btn--glass { color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (hover: hover) { .btn--glass:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .45); } }
.btn--dl .i { transition: transform .35s var(--ease); }
@media (hover: hover) { .btn--dl:hover .i { animation: dl-bounce .9s var(--ease) infinite; } }
@keyframes dl-bounce { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(3px); } }
.btn--dl small {
  margin-left: 2px; padding: 2px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; background: rgba(255, 255, 255, .22);
}
.link-btn { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:active, .home-link:active, .nav__link:active, .footer__col a:active, .help-card__tel:active { opacity: .65; }

/* ---------- 5. 页头 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h); color: var(--ink);
  transition: background-color .4s var(--ease), color .4s, box-shadow .4s;
}
.site-header::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--line);
  opacity: 0; transition: opacity .35s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
}
.site-header.is-scrolled::after { opacity: 1; }
/* 压在深色区块上时 */
.site-header.is-on-dark { color: #fff; }
.site-header.is-on-dark.is-scrolled { background: rgba(4, 12, 28, .62); }
.site-header.is-on-dark::after { background: rgba(255, 255, 255, .08); }
.has-wx-tip .site-header { top: var(--wx-h, 0px); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; color: inherit; }
.brand__mark { width: 48px; height: auto; aspect-ratio: 221.6 / 143.4; }
.brand__text { display: flex; flex-direction: column; gap: 6px; }
.brand__word { width: 88px; height: auto; aspect-ratio: 185.5 / 45.9; }
.brand__sub { font-size: 10.5px; line-height: 1; letter-spacing: .42em; opacity: .62; white-space: nowrap; }
.brand--light { color: #fff; }

/* 导航：当前位置下面垫一块滑动的底（site.js 跟随滚动位置） */
.nav { position: relative; display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__link {
  position: relative; z-index: 1; display: inline-flex; align-items: center;
  height: 40px; padding: 0 15px; border-radius: 999px;
  font-size: 15px; font-weight: 500; opacity: .8; transition: opacity .25s;
}
.nav__link.is-active { opacity: 1; }
@media (hover: hover) { .nav__link:hover { opacity: 1; } }
.nav__pill {
  position: absolute; left: 0; top: 50%; height: 40px; margin-top: -20px; border-radius: 999px;
  width: var(--pw, 0px); transform: translateX(var(--px, 0px));
  background: rgba(11, 20, 38, .06); opacity: 0;
  transition: transform .5s var(--ease-out), width .5s var(--ease-out), opacity .3s;
}
.nav__pill.is-on { opacity: 1; }
.is-on-dark .nav__pill { background: rgba(255, 255, 255, .12); }

.site-header__actions { display: flex; align-items: center; gap: 12px; margin-left: 8px; }
.home-link {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 15px; border-radius: 999px;
  border: 1px solid rgba(11, 20, 38, .14); font-size: 14.5px; font-weight: 500;
  transition: border-color .25s, background-color .25s;
}
@media (hover: hover) { .home-link:hover { border-color: rgba(11, 20, 38, .4); background: rgba(255, 255, 255, .6); } }
.is-on-dark .home-link { border-color: rgba(255, 255, 255, .22); }
@media (hover: hover) { .is-on-dark .home-link:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); } }
.header-cta .num { font: 600 15.5px/1 var(--font-num); letter-spacing: .04em; }

@media (max-width: 1080px) { .nav__link { padding: 0 11px; } }
@media (max-width: 980px) {
  .nav { display: none; }
  .site-header__actions { margin-left: auto; }
}
@media (max-width: 640px) {
  .header-cta { display: none; }
  .brand__mark { width: 42px; }
  .brand__word { width: 78px; }
  .home-link { height: 38px; padding: 0 13px; font-size: 14px; }
}

/* 微信里打开时顶部的提示条 */
.wx-tip { position: fixed; inset: 0 0 auto; z-index: 70; background: var(--orange); color: #fff; font-size: 14px; line-height: 1.6; }
.wx-tip__inner { display: flex; align-items: center; gap: 10px; padding-block: 10px; }
.has-wx-tip main { padding-top: var(--wx-h, 0px); }

/* ---------- 6. 装饰（同官网） ---------- */
.bp-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(14, 39, 80, .065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 39, 80, .065) 1px, transparent 1px);
  background-size: 64px 64px;
}
.bp-grid--dark {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
}
.orbit__line { fill: none; stroke: rgba(127, 178, 255, .2); stroke-width: 1; }
.orbit__line--dash { stroke-dasharray: 2 7; stroke: rgba(127, 178, 255, .28); }
.orbit__star { fill: var(--orange); filter: drop-shadow(0 0 6px rgba(255, 127, 0, .9)); }

/* ---------- 7. 首屏：切换两款软件 ---------- */
.stage {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-950); color: #fff;
  padding: calc(var(--header-h) + clamp(18px, 2.6vw, 36px)) 0 clamp(56px, 7vw, 96px);
}
.stage__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stage__bg .bp-grid {
  -webkit-mask-image: radial-gradient(1200px 760px at 50% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(1200px 760px at 50% 35%, #000 20%, transparent 75%);
}
/* 品牌色光晕：随选中的软件此消彼长，并缓慢漂动 */
.stage__glow { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; transition: opacity 1.2s var(--ease); }
.stage__glow--blue { width: 820px; height: 600px; left: 2%; top: 10%; background: radial-gradient(closest-side, rgba(38, 127, 255, .7), transparent); opacity: .75; animation: drift-a 22s ease-in-out infinite alternate; }
.stage__glow--orange { width: 760px; height: 560px; left: 0; top: 18%; background: radial-gradient(closest-side, rgba(255, 127, 0, .55), transparent); opacity: 0; animation: drift-b 26s ease-in-out infinite alternate; }
html[data-product="inspect"] .stage__glow--blue { opacity: .3; }
html[data-product="inspect"] .stage__glow--orange { opacity: .8; }
@keyframes drift-a { to { transform: translate3d(90px, 50px, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(120px, -40px, 0) scale(1.1); } }
.stage__orbit { position: absolute; right: -22%; top: -12%; width: min(1240px, 96vw); height: auto; overflow: visible; opacity: .85; }

.stage__head { display: grid; justify-items: center; text-align: center; }
.stage__title { font-family: var(--font-display); font-size: clamp(30px, 3.2vw, 46px); line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
.stage__sub { margin-top: 8px; font-size: clamp(15px, 1.15vw, 17px); color: var(--on-dark-2); }

/* 软件切换：白色滑块跟着选中项滑动（位置由 site.js 设置 --tx / --tw） */
.tabs {
  position: relative; display: inline-flex; gap: 4px; margin-top: 24px; padding: 5px;
  border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.tab {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 24px 0 9px; border-radius: 999px;
  font-size: 16px; font-weight: 600; color: var(--on-dark-2); white-space: nowrap;
  transition: color .35s, background-color .35s, transform .25s var(--ease);
}
@media (hover: hover) { .tab:hover { color: #fff; } }
.tab:active { transform: scale(.97); }
html[data-product="docgen"] .tab[data-tab="docgen"],
html[data-product="inspect"] .tab[data-tab="inspect"] { color: var(--ink); }
/* 滑块就位前，选中项自己带白底 */
.tabs:not(.is-ready) .tab { transition: none; }
html[data-product="docgen"] .tabs:not(.is-ready) .tab[data-tab="docgen"],
html[data-product="inspect"] .tabs:not(.is-ready) .tab[data-tab="inspect"] { background: #fff; }
.tabs__thumb {
  position: absolute; left: 0; top: 5px; bottom: 5px; width: var(--tw, 0px); border-radius: 999px;
  background: #fff; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .6);
  transform: translateX(var(--tx, 0px)); opacity: 0;
  transition: transform .6s var(--spring), width .6s var(--spring);
}
.tabs.is-ready .tabs__thumb { opacity: 1; }
.app-icon {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 22px -10px var(--glow, rgba(0, 0, 0, .5));
}
.app-icon--blue { background: linear-gradient(145deg, #5BA0FF, #1570F2 70%); --glow: rgba(21, 112, 242, .9); }
.app-icon--orange { background: linear-gradient(145deg, #FFA545, #EC7100 70%); --glow: rgba(236, 113, 0, .9); }
.app-icon--sm { width: 34px; height: 34px; border-radius: 10px; }
.app-icon--xl { width: 76px; height: 76px; border-radius: 22px; }
.app-icon--xl .i { width: 36px; height: 36px; }

/* 面板：两款软件叠在同一格里，切换时一个淡出、一个滑入 */
.panels { display: grid; margin-top: clamp(28px, 3.4vw, 44px); }
.panel {
  grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
html.js[data-product="docgen"] .panel[data-panel="inspect"],
html.js[data-product="inspect"] .panel[data-panel="docgen"] { display: none; }
html.js .panel.is-leaving { display: grid !important; pointer-events: none; animation: panel-out .32s var(--ease) forwards; }
@keyframes panel-out { to { opacity: 0; transform: translateX(calc(var(--dx, 40px) * -.6)); } }
.panel.is-entering .panel__visual { animation: visual-in .9s var(--ease-out) both; }
.panel.is-entering .panel__info > * { animation: info-in .8s var(--ease-out) both; }
.panel.is-entering .panel__info > :nth-child(1) { animation-delay: .08s; }
.panel.is-entering .panel__info > :nth-child(2) { animation-delay: .14s; }
.panel.is-entering .panel__info > :nth-child(3) { animation-delay: .2s; }
.panel.is-entering .panel__info > :nth-child(4) { animation-delay: .26s; }
.panel.is-entering .panel__info > :nth-child(5) { animation-delay: .32s; }
.panel.is-entering .panel__info > :nth-child(n + 6) { animation-delay: .38s; }
@keyframes visual-in { from { opacity: 0; transform: translateX(var(--dx, 40px)) scale(.97); } }
@keyframes info-in { from { opacity: 0; transform: translateX(calc(var(--dx, 40px) * .6)); } }
/* 首次进入页面：画面由下方升起 */
.panel.is-first .panel__visual { animation: visual-rise 1.3s var(--ease-out) .25s both; }
.panel.is-first .panel__info > * { animation-name: rise; animation-duration: 1s; }
@keyframes visual-rise { from { opacity: 0; transform: translateY(50px) scale(.96); } }

/* 入场：标题、说明、切换依次升起 */
.js .in { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease-out) forwards; }
.in--1 { animation-delay: .05s !important; }
.in--2 { animation-delay: .14s !important; }
.in--3 { animation-delay: .24s !important; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* 软件窗口：带玻璃边框和当前软件颜色的光，鼠标移动时轻微转动（--rx / --ry 由 site.js 设置） */
.panel__visual { min-width: 0; perspective: 1800px; }
.window {
  --rx: 0deg; --ry: 0deg;
  position: relative; padding: 0 10px 10px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .95), 0 0 140px -40px var(--accent-glow);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .9s var(--ease-out), box-shadow 1s var(--ease);
}
.window__bar { display: flex; align-items: center; justify-content: flex-end; height: 48px; padding: 0 4px; }
.window__switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.window__switch button {
  height: 28px; padding: 0 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--on-dark-3);
  transition: background-color .3s, color .3s, transform .25s var(--ease);
}
.window__switch button:active { transform: scale(.94); }
@media (hover: hover) { .window__switch button[aria-pressed="false"]:hover { color: #fff; } }
.window__switch [aria-pressed="true"] { background: #fff; color: var(--ink); }
.window__body { position: relative; overflow: hidden; border-radius: 16px; }
/* 软件界面：几张实际截图轮播（site.js 第一次打开时才加载图片） */
.gallery { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s; touch-action: pan-y; }
.window.is-shot .gallery { opacity: 1; visibility: visible; transition-delay: 0s; }
.window.is-shot .demo-svg { opacity: 0; }
.gallery__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top;
  opacity: 0; transform: scale(1.025); transition: opacity .6s var(--ease), transform 1s var(--ease-out);
}
.gallery__img.is-on { opacity: 1; transform: none; }
.gallery__bar {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 16px; border-radius: 999px; color: #fff;
  background: rgba(7, 22, 49, .8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -12px rgba(4, 12, 28, .6);
}
.gallery__cap { margin-right: auto; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gallery__dots { display: flex; align-items: center; gap: 2px; }
.gallery__dots button { display: grid; place-items: center; width: 18px; height: 28px; }
.gallery__dots button::before { content: ""; width: 6px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .4); transition: width .4s var(--ease), background-color .3s; }
.gallery__dots button[aria-current="true"]::before { width: 16px; background: #fff; }
.gallery__arrow { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .1); transition: background-color .25s, transform .25s var(--ease); }
.gallery__arrow:active { transform: scale(.9); }
@media (hover: hover) { .gallery__arrow:hover { background: rgba(255, 255, 255, .22); } }
@media (max-width: 560px) {
  .gallery__bar { left: 8px; right: 8px; bottom: 8px; padding-left: 12px; }
  .gallery__arrow { display: none; }
}
.window__body .demo-svg { transition: opacity .5s var(--ease); }

/* 演示下方的四个阶段：当前阶段亮起，进度条走满（site.js 设置） */
.demo__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; padding: 0 6px; transition: opacity .4s; }
.window.is-shot + .demo__steps { opacity: .35; }
.demo__steps li {
  position: relative; display: grid; gap: 3px; padding-top: 14px;
  font-size: 13.5px; font-weight: 500; color: var(--on-dark-3); transition: color .4s;
}
.demo__steps li .num { font-size: 12px; letter-spacing: .1em; color: rgba(255, 255, 255, .32); transition: color .4s; }
.demo__steps li::before, .demo__steps li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; }
.demo__steps li::before { background: rgba(255, 255, 255, .12); }
.demo__steps li::after { background: linear-gradient(90deg, var(--accent), #FFC27A); transform-origin: left; transform: scaleX(0); transition: transform .5s var(--ease); }
.demo__steps li.is-done { color: var(--on-dark-2); }
.demo__steps li.is-done::after { transform: none; background: rgba(255, 255, 255, .42); }
.demo__steps li.is-on { color: #fff; }
.demo__steps li.is-on .num { color: var(--orange-300); }
.demo__steps li.is-on::after { transform: none; transition-duration: var(--phase-ms, 1.6s); transition-timing-function: linear; }

/* 右侧下载区 */
.panel__info { min-width: 0; }
.panel__id { display: flex; align-items: center; gap: 20px; }
.panel__name { font-family: var(--font-display); font-size: clamp(30px, 2.9vw, 42px); line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
.panel__ver { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 15px; color: var(--on-dark-3); }
.panel__ver .num { color: #fff; font-weight: 600; font-size: 16px; }
.panel__new {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--green-light); background: rgba(61, 220, 132, .12);
}
.panel__tagline { margin-top: 24px; font-size: 17px; line-height: 1.85; color: var(--on-dark-2); }
.panel__points { display: grid; gap: 8px; margin-top: 18px; font-size: 14.5px; line-height: 1.7; color: var(--on-dark-2); }
.panel__points li { display: flex; gap: 10px; }
.panel__points .i { margin-top: 5px; color: var(--green-light); }
.panel__actions { display: grid; gap: 12px; margin-top: 30px; }
.panel__meta {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
}
.panel__meta dt { font-size: 12.5px; color: var(--on-dark-3); }
.panel__meta dd { margin-top: 2px; font-size: 14.5px; font-weight: 500; color: #fff; }
.panel__pc { margin-top: 20px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 127, 0, .14); color: #FFD2A6; font-size: 13.5px; line-height: 1.7; }
.panel__pc .link-btn { margin-left: 4px; color: #fff; }

@media (max-width: 1080px) {
  .panel { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}
/* 笔记本这类矮屏幕：首屏收紧，下载按钮不出屏 */
@media (min-width: 901px) and (max-height: 820px) {
  .stage__sub { display: none; }
  .tabs { margin-top: 18px; }
  .tab { height: 46px; }
  .app-icon--xl { width: 64px; height: 64px; border-radius: 18px; }
  .panel__tagline { margin-top: 16px; font-size: 16px; }
  .panel__points { margin-top: 12px; gap: 4px; }
  .panel__actions { margin-top: 22px; gap: 10px; }
  .btn--lg { --h: 54px; }
  .panel__meta { margin-top: 18px; padding-top: 16px; }
  .window__bar { height: 42px; }
  .demo__steps { margin-top: 16px; }
}
@media (max-width: 900px) {
  .panel { grid-template-columns: 1fr; }
  .panel__info { order: -1; }
  .panel__visual { max-width: 720px; }
}
@media (max-width: 560px) {
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; justify-content: center; height: 48px; padding: 0 10px 0 6px; gap: 8px; font-size: 14.5px; }
  .app-icon--sm { width: 28px; height: 28px; border-radius: 8px; }
  .app-icon--sm .i { width: 15px; height: 15px; }
  .app-icon--xl { width: 60px; height: 60px; border-radius: 17px; }
  .app-icon--xl .i { width: 30px; height: 30px; }
  .panel__id { gap: 16px; }
  .panel__tagline { font-size: 16px; }
  .window { padding: 0 6px 6px; border-radius: 18px; }
  .window__body { border-radius: 12px; }
  .demo__steps { gap: 8px; }
  .demo__steps li { font-size: 12px; }
}

/* ---------- 8. 演示画面（SVG，site.js 按步骤加 .on 播放） ---------- */
.demo-svg { position: relative; width: 100%; height: auto; }
.demo-svg text { font-family: var(--font-sans); font-size: 12.5px; fill: var(--ink); }
.demo-svg .t-num { font-family: var(--font-num); }
.demo-svg .t-strong { font-size: 13.5px; font-weight: 600; }
.demo-svg .t-title { font-size: 17px; font-weight: 700; }
.demo-svg .t-sm, .demo-svg .t-sm text { font-size: 12.5px; }
.demo-svg .t-xs, .demo-svg .t-xs text { font-size: 11px; }
.demo-svg .t-mute, .demo-svg .t-mute text { fill: var(--ink-3); }
.demo-svg .t-blue { fill: var(--blue-600); }
.demo-svg .t-bold { font-weight: 700; }
.demo-svg .t-cap { letter-spacing: .1em; }
.demo-svg .t-big { font-size: 26px; font-weight: 600; }
.demo-svg .t-avatar { font-size: 11px; font-weight: 700; fill: #fff; text-anchor: middle; }
.d-card { fill: #fff; stroke: #E6EBF2; }
.d-input { fill: #fff; stroke: #DCE3EE; }
.d-badge { fill: #EAF2FF; }
.d-nav-on { fill: #fff; stroke: #E6EBF2; filter: drop-shadow(0 2px 4px rgba(11, 20, 38, .06)); }
.d-track { fill: #E8EDF4; }
.d-line { stroke: #ECEFF4; }
.d-file-ic { fill: #EEEBFF; }
@keyframes pop { 40% { transform: scale(1.18); } }
@keyframes press { 50% { transform: scale(.86); } }

/* 体系文件演示 */
.dg-spark { color: var(--blue); }
.dg-typed { fill: var(--ink); }
.dg-caret { fill: var(--blue); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.dg-send circle { fill: #D5DDE8; transition: fill .3s; }
.dg-send__arrow { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dg-send.on circle { fill: var(--blue); }
.dg-send { transform-box: fill-box; transform-origin: center; }
.dg-send.is-press { animation: press .35s var(--ease); }
.dg-tick { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 14; stroke-dashoffset: 14; transition: stroke-dashoffset .4s var(--ease); }
.dg-side.on .dg-tick { stroke-dashoffset: 0; }
.dg-st { font-size: 12px; transition: opacity .35s; }
.dg-st--todo { fill: #D9730D; }
.dg-st--done { fill: var(--green); opacity: 0; font-weight: 600; }
.dg-row.on .dg-st--todo { opacity: 0; }
.dg-row.on .dg-st--done { opacity: 1; }
.dg-row rect { transform-box: fill-box; transform-origin: center; }
.dg-row.on rect { animation: pop .45s var(--ease); }
.dg-bar { transform-box: fill-box; transform-origin: left; transform: scaleX(0); }
.demo.is-gen .dg-bar { transform: scaleX(1); transition: transform 2s var(--ease-io); }
.dg-file { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.dg-file.on { opacity: 1; transform: none; }
.dg-file-ok { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 检验助手演示 */
.in-sheet { fill: #EEF2F8; }
.in-paper { fill: #fff; filter: drop-shadow(0 3px 8px rgba(11, 20, 38, .12)); }
.dw { fill: none; stroke: #2B3445; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.dw--main { stroke-width: 1.6; }
.dw--thin { stroke-width: .8; stroke: #556072; }
.dw--dim { stroke-width: .8; stroke: #3F4B5F; }
.dw--hidden { stroke-width: .9; stroke-dasharray: 4 3; stroke: #556072; }
.dw--center { stroke-width: .7; stroke-dasharray: 10 3 2 3; stroke: #8A94A6; }
.dw--note { stroke: #C9D0DB; stroke-width: 3; }
.demo-svg .dw-t { font-family: var(--font-num); font-size: 9.5px; fill: #2B3445; }
.demo-svg .dw-t--s { font-size: 8px; }
.demo-svg .dw-t--b { font-family: var(--font-sans); font-size: 11px; font-weight: 700; }
.in-draw { opacity: 0; transform: scale(.985); transform-box: fill-box; transform-origin: center; transition: opacity .8s var(--ease), transform 1s var(--ease-out); }
.demo.is-draw .in-draw { opacity: 1; transform: none; }
.in-export rect { fill: var(--blue-600); }
.in-export text { fill: #fff; font-size: 12.5px; font-weight: 600; }
.in-export__ic { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.in-export { transform-box: fill-box; transform-origin: center; }
.in-export.is-press { animation: press .4s var(--ease); }
.in-export.is-press rect { filter: drop-shadow(0 0 10px rgba(38, 127, 255, .7)); }
.in-bar { transform-box: fill-box; transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .35s var(--ease); }
.in-scan { opacity: 0; }
.demo.is-scan .in-scan { opacity: 1; animation: scan 1.7s var(--ease-io) forwards; }
@keyframes scan { from { transform: translateX(0); } to { transform: translateX(400px); } }
.in-scanchip rect { fill: rgba(7, 22, 49, .86); }
.demo-svg .in-scanchip text { fill: #fff; }
.in-scanchip__dot { fill: var(--green-light); animation: blink .8s ease-in-out infinite alternate; }
@keyframes blink { to { opacity: .3; } }
.in-scanchip { opacity: 0; transition: opacity .3s; }
.demo.is-scan .in-scanchip { opacity: 1; }
.in-b polygon { fill: var(--blue-600); stroke: #fff; stroke-width: 1.5; }
.demo-svg .in-b text { fill: #fff; font: 700 10px var(--font-num); text-anchor: middle; }
.in-b > * { opacity: 0; transform: scale(.2); transform-box: fill-box; transform-origin: center; transition: opacity .3s, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.in-b.on > * { opacity: 1; transform: none; }
.in-b.ok polygon { fill: var(--green); }
.in-row { opacity: 0; transition: opacity .4s var(--ease); }
.in-row.on { opacity: 1; }
.hex-fill { fill: var(--blue-600); transition: fill .3s; }
.in-row.ok .hex-fill { fill: var(--green); }
.demo-svg .hex-num { fill: #fff; font: 700 10.5px var(--font-num); text-anchor: middle; }
.in-box { fill: #fff; stroke: #C9D0DB; stroke-width: 1.2; transition: fill .25s, stroke .25s; }
.in-row.ok .in-box { fill: var(--green); stroke: var(--green); }
.in-tick { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 14; stroke-dashoffset: 14; transition: stroke-dashoffset .3s var(--ease) .05s; }
.in-row.ok .in-tick { stroke-dashoffset: 0; }
.in-toast { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.in-toast.on { opacity: 1; transform: none; }
.in-toast rect { fill: var(--navy-900); filter: drop-shadow(0 8px 16px rgba(4, 12, 28, .35)); }
.demo-svg .in-toast text { fill: #fff; }
.in-toast__ok { fill: #2FBF71; }
.in-toast__tick { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 演示整体淡出再重播 */
.demo.is-reset .demo-svg { opacity: 0; transition-duration: .45s; }

/* ---------- 9. 安装步骤 ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
/* 四步之间连一条线，进入视口时从左到右画出 */
.steps::before {
  content: ""; position: absolute; left: 60px; right: 60px; top: 55px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--accent) 45%, var(--line));
  transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease-io) .2s;
}
.steps.is-in::before, html:not(.js) .steps::before { transform: none; }
.step {
  position: relative; padding: 28px 26px 30px; border-radius: var(--r-lg);
  background: var(--mist); border: 1px solid var(--line-2);
  transition: border-color .35s, transform .5s var(--ease), box-shadow .5s var(--ease), background-color .35s;
}
@media (hover: hover) { .step:hover { background: #fff; border-color: var(--line); transform: translateY(-3px); box-shadow: var(--shadow); } }
.step__dot {
  position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); color: var(--accent); box-shadow: var(--shadow-sm);
  transition: color .4s;
}
.step:first-child .step__dot { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 12px 28px -10px rgba(255, 127, 0, .7); }
.step__no { position: absolute; right: 22px; top: 18px; font-size: 46px; font-weight: 600; line-height: 1; color: rgba(11, 20, 38, .05); }
.step h3 { margin-top: 24px; font-size: 19px; font-weight: 600; line-height: 1.4; }
.step p { margin-top: 10px; font-size: 14.5px; line-height: 1.85; color: var(--ink-3); }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 10. 系统要求 ---------- */
.req .h-2 { margin-top: 16px; }
.spec { margin-top: clamp(28px, 3.6vw, 44px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec__row { display: grid; grid-template-columns: 116px minmax(0, 1fr) minmax(0, 1fr); }
.spec__row + .spec__row { border-top: 1px solid var(--line-2); }
.spec__row > * { min-width: 0; padding: 15px 20px; font-size: 14.5px; line-height: 1.7; overflow-wrap: anywhere; transition: background-color .4s, color .4s; }
.spec__row > [role="rowheader"] { color: var(--ink-3); font-size: 13.5px; }
.spec__row--head > * { font-weight: 600; font-size: 15px; padding-block: 16px; }
/* 当前选中的软件那一列高亮 */
html[data-product="docgen"] .spec [data-col="docgen"],
html[data-product="inspect"] .spec [data-col="inspect"] { background: var(--accent-soft); }
html[data-product="docgen"] .spec__row--head [data-col="docgen"],
html[data-product="inspect"] .spec__row--head [data-col="inspect"] { color: var(--accent); }

@media (max-width: 640px) {
  .spec__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .spec__row > [role="rowheader"] { grid-column: 1 / -1; padding-bottom: 0; }
  .spec__row--head > :first-child { display: none; }
  .spec__row > * { padding: 12px 14px; font-size: 13.5px; }
}

/* ---------- 11. 更新日志 ---------- */
.changelog { position: relative; max-width: 900px; padding-left: 28px; }
.changelog::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: linear-gradient(var(--accent), var(--line) 30%); }
.cl { position: relative; padding: 0 0 30px 18px; }
.cl::before {
  content: ""; position: absolute; left: -28px; top: 7px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line); box-sizing: border-box;
}
.cl--latest::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.cl__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cl__ver { font-size: 20px; font-weight: 600; line-height: 1.2; }
.cl__tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--green); background: #E6F6EE; }
.cl__date { font-size: 14px; color: var(--ink-4); }
.cl p { margin-top: 8px; font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.changelog__empty { color: var(--ink-3); font-size: 15px; }
.changelog__empty a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 12. 常见问题 ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__aside .h-2 { margin-top: 16px; }
.help-card {
  position: relative; isolation: isolate;
  display: grid; gap: 10px; margin-top: 32px; padding: 24px;
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.help-card h3 { font-size: 17px; font-weight: 600; }
.help-card p { font-size: 14px; color: var(--ink-3); line-height: 1.75; }
.help-card__tel { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; color: var(--orange); }
.help-card__tel .num { font-size: 26px; font-weight: 600; line-height: 1.2; }
.help-card .qr { margin-top: 8px; justify-items: start; }
.qr { display: grid; gap: 8px; justify-items: center; }
.qr img { width: 112px; height: 112px; padding: 4px; border-radius: 12px; background: #fff; border: 1px solid var(--line); object-fit: contain; }
.qr figcaption { font-size: 12.5px; color: var(--ink-3); }
/* 电脑上鼠标移到二维码上平滑放大，方便手机扫码（同官网） */
@media (hover: hover) and (pointer: fine) {
  .qr img { position: relative; transform-origin: 0 100%; transition: transform .3s var(--ease), box-shadow .3s; }
  .qr img:hover { z-index: 3; transform: scale(1.6); box-shadow: 0 18px 44px -14px rgba(11, 20, 38, .45); }
}

.faq__list { display: grid; gap: 10px; }
.qa { border-radius: 18px; background: #fff; border: 1px solid var(--line-2); transition: border-color .3s, box-shadow .35s; }
.qa[open] { border-color: var(--line); box-shadow: var(--shadow-sm); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; list-style: none; cursor: pointer; font-size: 16px; font-weight: 600; line-height: 1.55;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:active .qa__mark { scale: .88; }
.qa__mark { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mist); transition: background-color .3s, transform .45s var(--ease), scale .2s var(--ease); }
.qa__mark::before, .qa__mark::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; margin: -.9px 0 0 -5.5px;
  border-radius: 2px; background: var(--ink-2); transition: transform .4s var(--ease), background-color .3s;
}
.qa__mark::after { transform: rotate(90deg); }
.qa[open] .qa__mark { background: var(--orange); transform: rotate(180deg); }
.qa[open] .qa__mark::before, .qa[open] .qa__mark::after { background: #fff; }
.qa[open] .qa__mark::after { transform: rotate(0deg); }
@media (hover: hover) { .qa summary:hover .qa__mark { background: var(--orange-100); } }
@media (hover: hover) { .qa[open] summary:hover .qa__mark { background: var(--orange-600); } }
.qa__body { padding: 0 22px 22px; }
.qa__body p { font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
/* 展开收起平滑过渡（新版 Chrome / Edge；其他浏览器直接展开） */
@supports (interpolate-size: allow-keywords) {
  .faq__list { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}
@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; }
  .faq__aside { position: static; }
  .help-card { grid-template-columns: 1fr auto; column-gap: 20px; }
  .help-card > :not(.qr) { grid-column: 1; }
  .help-card .qr { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; align-self: center; }
}
@media (max-width: 480px) {
  .help-card { grid-template-columns: 1fr; }
  .help-card .qr { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .qa summary { padding: 16px 18px; font-size: 15.5px; }
  .qa__body { padding: 0 18px 18px; }
}

/* 鼠标所在处亮一片（--mx / --my 由 site.js 设置） */
[data-spot]::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(38, 127, 255, .08), transparent 65%);
  opacity: 0; transition: opacity .4s;
}
@media (hover: hover) { [data-spot]:hover::after { opacity: 1; } }

/* ---------- 13. 页脚（同官网） ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-950); color: var(--on-dark-2); font-size: 14.5px; padding-top: clamp(64px, 8vw, 104px); }
.site-footer__orbit { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.site-footer__orbit svg { width: 100%; height: 100%; }
.site-footer__orbit ellipse { fill: none; stroke: rgba(127, 178, 255, .07); stroke-width: 1; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.4fr); gap: clamp(32px, 4vw, 56px); padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer__slogan { margin-top: 24px; max-width: 24em; line-height: 1.9; }
.footer__title { margin-bottom: 18px; font-size: 14px; font-weight: 600; letter-spacing: .08em; color: #fff; }
.footer__col ul { padding: 0; list-style: none; }
.footer__col a { display: inline-block; padding: 5px 0; transition: color .2s; }
@media (hover: hover) { .footer__col a:hover { color: #fff; } }
.footer__contact li { display: flex; gap: 12px; padding: 6px 0; }
.footer__contact .i { margin-top: 5px; color: var(--orange-300); }
.footer__contact span { display: grid; font-size: 12.5px; color: var(--on-dark-3); line-height: 1.6; }
.footer__contact span a, .footer__contact em { padding: 0; font-style: normal; font-size: 15px; color: #fff; }
.footer__contact span a.num { font-size: 16px; letter-spacing: .03em; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px calc(32px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--on-dark-3); }
@media (hover: hover) { .footer__bottom a:hover { color: #fff; } }
@media (max-width: 1080px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand, .footer__contact { grid-column: 1 / -1; }
}

/* ---------- 14. 滚动入场 ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 15. 提示、404 ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom)); z-index: 80;
  display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px);
  padding: 12px 20px; border-radius: 999px; background: var(--navy-900); color: #fff; font-size: 14px;
  box-shadow: 0 20px 50px -16px rgba(4, 12, 28, .6), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: translate(-50%, 0); animation: toast-in .5s var(--ease-out);
}
.toast .i { color: var(--green-light); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 16px); } }

.notfound { position: relative; isolation: isolate; overflow: hidden; display: grid; place-content: center; justify-items: center; gap: 18px; min-height: 100vh; padding: 80px var(--gutter); text-align: center; background: var(--navy-950); color: #fff; }
.notfound .bp-grid { z-index: -1; -webkit-mask-image: radial-gradient(600px 400px at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(600px 400px at 50% 50%, #000, transparent 75%); }
.notfound__code { font: 600 clamp(72px, 12vw, 140px)/1 var(--font-num); letter-spacing: .02em; }
.notfound p { color: var(--on-dark-2); }

/* ---------- 16. 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .in, .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
