/* ==========================================================================
   云梦 MERIDIAN · 官网样式
   设计语言：深空蓝底 + 品牌蓝 #5681F5 / 青色 #22D3EE，细发丝线、玻璃面板、
   等宽字体承载数据标签。全部手写，无 UI 框架依赖。
   ========================================================================== */

/* ---------- 字体（自托管，无第三方请求） ---------- */
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/jbmono-var.woff2') format('woff2-variations');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- 设计令牌 ---------- */
:root {
  --bg: #05070d;
  --bg-2: #070b14;
  --bg-3: #0a1020;
  --panel: rgba(255, 255, 255, .028);
  --panel-2: rgba(255, 255, 255, .05);
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .12);
  --fg: #e9eefa;
  --dim: #94a3ba;
  --faint: #5f6d86;
  --accent: #5681f5;
  --accent-2: #22d3ee;
  --accent-3: #a78bfa;
  --up: #f6465d;
  --down: #0ecb81;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', 'Source Han Sans SC', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 16px;
  --r-lg: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code, .mono { font-family: var(--mono); font-size: .92em; }
::selection { background: rgba(86, 129, 245, .34); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* <use> 克隆出的节点在影子树里，只继承 use 自身的属性，所以样式必须挂在 use 上 */
use { fill: none; stroke: currentColor; stroke-width: 1.6; }
.ico { flex: none; }
.up { color: var(--up); }
.down { color: var(--down); }

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 10000;
  padding: 10px 16px; border-radius: 10px;
  background: var(--accent); color: #fff; font-size: 14px;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

.wrap { width: min(1200px, 92vw); margin-inline: auto; }

/* ---------- 通用文字 ---------- */
.grad {
  background: linear-gradient(96deg, #fff 6%, #b9cdff 34%, #6d95ff 62%, #22d3ee 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-2 {
  background: linear-gradient(96deg, #b9cdff, #6d95ff 55%, #22d3ee);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 18px;
}
.eyebrow span { color: var(--accent); }
.eyebrow::after {
  content: ''; flex: 1; height: 1px; max-width: 60px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}

/* ---------- 按钮 ---------- */
.btn {
  --bh: 50px;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; height: var(--bh); padding: 0 26px; border-radius: 12px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
    background .35s var(--ease), border-color .35s var(--ease), color .3s;
  overflow: hidden;
}
.btn--sm { --bh: 40px; padding: 0 16px; font-size: 13.5px; border-radius: 10px; }
.btn--lg { --bh: 56px; padding: 0 32px; font-size: 16px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #5f8bff, #3f6ae8 55%, #2f5ad6);
  box-shadow: 0 12px 34px -12px rgba(86, 129, 245, .85), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn--primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .38) 48%, transparent 62%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -14px rgba(86, 129, 245, 1); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary .ico { transition: transform .4s var(--ease); }
.btn--primary:hover .ico { transform: translateX(4px); }
.btn--ghost {
  color: var(--fg); border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .025); backdrop-filter: blur(8px);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: rgba(86, 129, 245, .6); background: rgba(86, 129, 245, .1); }
.btn:active { transform: translateY(0) scale(.99); }

.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .035);
  font-size: 12.5px; color: var(--dim); letter-spacing: .01em;
}
.chip__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--down);
  box-shadow: 0 0 0 0 rgba(14, 203, 129, .6); animation: ping 2.4s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(14, 203, 129, .55); }
  70% { box-shadow: 0 0 0 7px rgba(14, 203, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 203, 129, 0); }
}

/* ---------- 光标光晕 / 滚动进度 ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 520px; height: 520px; z-index: 1;
  margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(86, 129, 245, .14), rgba(34, 211, 238, .05) 45%, transparent 68%);
  opacity: 0; transition: opacity .6s ease; will-change: transform;
}
body.has-glow .cursor-glow { opacity: 1; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 900;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(86, 129, 245, .8);
}

/* ---------- 加载动画 ---------- */
.boot {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: radial-gradient(120% 100% at 50% 0%, #0a1124 0%, #05070d 60%);
  transition: opacity .7s var(--ease), visibility .7s;
  animation: bootFail .5s ease 7s forwards;
}
.boot.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes bootFail { to { opacity: 0; visibility: hidden; } }
.boot__inner { width: min(320px, 74vw); text-align: center; }
.boot__mark { display: flex; justify-content: center; margin-bottom: 14px; animation: bootSpin 3s linear infinite; }
@keyframes bootSpin { to { filter: hue-rotate(360deg); } }
.boot__name {
  font-family: var(--mono); font-size: 12px; letter-spacing: .5em;
  color: var(--dim); margin-bottom: 22px; padding-left: .5em;
}
.boot__bar { height: 2px; background: rgba(255, 255, 255, .09); border-radius: 2px; overflow: hidden; }
.boot__bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px rgba(86, 129, 245, .9);
  transition: width .35s var(--ease);
}
.boot__tip { margin-top: 14px; font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: .06em; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 800;
  transition: background .45s ease, border-color .45s ease, backdrop-filter .45s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(5, 7, 13, .72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav.is-stuck .nav__in { height: 64px; }
.nav__in { transition: height .4s var(--ease); }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { color: var(--accent); display: grid; place-items: center; filter: drop-shadow(0 0 10px rgba(86, 129, 245, .5)); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__txt b { font-size: 17px; letter-spacing: .06em; font-weight: 700; }
.brand__txt i {
  font-style: normal; font-family: var(--mono); font-size: 9px;
  letter-spacing: .26em; color: var(--faint); margin-top: 3px;
}

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links > a {
  position: relative; padding: 9px 13px; font-size: 14px; color: var(--dim);
  transition: color .3s;
}
.nav__links > a::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease);
}
.nav__links > a:hover, .nav__links > a.is-active { color: var(--fg); }
.nav__links > a:hover::after, .nav__links > a.is-active::after { transform: scaleX(1); }
.nav__cta {
  margin-left: 12px; padding: 9px 16px !important; border-radius: 10px;
  border: 1px solid rgba(86, 129, 245, .45); color: #cddaff !important;
  background: rgba(86, 129, 245, .12);
  display: inline-flex; align-items: center; gap: 7px; font-weight: 600;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: rgba(86, 129, 245, .26); border-color: var(--accent); transform: translateY(-1px); }

.nav__burger { display: none; padding: 8px; border-radius: 10px; border: 1px solid var(--line); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 128px 0 84px; overflow: hidden; isolation: isolate;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .75; }
.hero__grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(120, 150, 220, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 150, 220, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 80% at 50% 30%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 30%, #000 10%, transparent 72%);
}
.hero__orb { position: absolute; border-radius: 50%; filter: blur(90px); z-index: 0; pointer-events: none; }
.hero__orb--a { width: 560px; height: 560px; top: -160px; right: -60px; background: rgba(86, 129, 245, .22); }
.hero__orb--b { width: 460px; height: 460px; bottom: -220px; left: -120px; background: rgba(34, 211, 238, .12); }

.hero__in {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; align-items: center;
}
.hero__h1 {
  font-size: clamp(38px, 5.4vw, 70px);
  font-weight: 800; line-height: 1.05; letter-spacing: -.035em;
  margin: 22px 0 22px;
}
.hero__sub { font-size: 16.5px; color: var(--dim); max-width: 30em; line-height: 1.78; }
.hero__sub b { color: var(--fg); font-weight: 600; letter-spacing: .04em; }
.hero__act { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: 30px;
  margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line);
  justify-content: start;
}
.hero__stats dt { font-size: 12px; color: var(--faint); letter-spacing: .04em; margin-bottom: 4px; }
.hero__stats dd {
  font-family: var(--mono); font-size: 25px; font-weight: 600; color: var(--fg);
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}

/* 首屏右侧：终端窗口 */
.hero__stage { position: relative; }
.stage__glow {
  position: absolute; inset: -12% -8% -14% -6%; z-index: 0;
  background: radial-gradient(60% 60% at 60% 40%, rgba(86, 129, 245, .28), transparent 70%);
  filter: blur(30px);
}
.device {
  position: relative; z-index: 2; margin: 0; border-radius: 15px; overflow: hidden;
  border: 1px solid rgba(140, 170, 255, .22);
  background: #070c16;
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(86, 129, 245, .12),
    inset 0 1px 0 rgba(255, 255, 255, .07);
  transform: perspective(1600px) rotateX(calc(2.5deg + var(--rx, 0deg))) rotateY(calc(-5deg + var(--ry, 0deg)));
  transition: transform .5s var(--ease);
  will-change: transform;
}
.device__bar {
  display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px;
  background: linear-gradient(180deg, #0d1526, #0a111e);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.device__dots { display: inline-flex; gap: 6px; }
.device__dots i { width: 9px; height: 9px; border-radius: 50%; background: #2b3852; }
.device__dots i:first-child { background: #4a3b46; }
.device__dots i:nth-child(2) { background: #4a4738; }
.device__dots i:nth-child(3) { background: #35493f; }
.device__url {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 22px; border-radius: 6px; background: rgba(255, 255, 255, .045);
  font-family: var(--mono); font-size: 10.5px; color: #7d8da8; letter-spacing: .02em;
}
.device__live {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; color: var(--down);
}
.device__live i { width: 5px; height: 5px; border-radius: 50%; background: var(--down); animation: ping 2s infinite; }
.device__screen { position: relative; background: #05080f; }
.device__screen img { width: 100%; height: auto; }
.device__scan {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
.device__scan::after {
  content: ''; position: absolute; left: 0; right: 0; height: 90px;
  background: linear-gradient(180deg, transparent, rgba(86, 129, 245, .13), transparent);
  animation: scan 7s linear infinite;
}
@keyframes scan { 0% { top: -90px; } 100% { top: 100%; } }

.hud { position: absolute; width: 26px; height: 26px; border: 1px solid rgba(86, 129, 245, .8); z-index: 3; }
.hud--tl { top: 44px; left: 8px; border-right: 0; border-bottom: 0; }
.hud--br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

.float-card {
  position: absolute; z-index: 4; padding: 13px 15px; min-width: 168px;
  border-radius: 13px; border: 1px solid rgba(140, 170, 255, .2);
  background: rgba(9, 14, 26, .84); backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9);
  font-size: 11.5px;
}
.float-card--ai { top: -56px; right: -26px; animation: floatY 7s ease-in-out infinite; }
.float-card--q { bottom: -52px; left: -34px; animation: floatY 8.5s ease-in-out .8s infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
.fc__head {
  display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--faint);
  letter-spacing: .08em; margin-bottom: 9px; text-transform: uppercase;
  font-family: var(--mono);
}
.fc__head svg { color: var(--accent); }
.fc__row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; color: var(--dim); margin-top: 3px; }
.fc__row b { font-family: var(--mono); font-size: 13px; color: var(--fg); }
.fc__meter { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .09); margin-top: 9px; overflow: hidden; }
.fc__meter i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 3px; }
.fc__q {
  font-family: var(--mono); font-size: 10.5px; color: #9fb4d8;
  padding: 5px 7px; border-radius: 6px; background: rgba(86, 129, 245, .1);
  border: 1px solid rgba(86, 129, 245, .2); margin-bottom: 8px;
}

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .3em; color: var(--faint);
}
.scroll-hint i {
  width: 1px; height: 42px; background: linear-gradient(180deg, var(--line-2), transparent);
  position: relative; overflow: hidden;
}
.scroll-hint i::after {
  content: ''; position: absolute; top: 0; left: 0; width: 1px; height: 14px;
  background: var(--accent-2); animation: hintRun 2.4s var(--ease) infinite;
}
@keyframes hintRun { 0% { transform: translateY(-16px); } 60%, 100% { transform: translateY(44px); } }

/* ---------- 行情跑马灯 ---------- */
.ticker {
  position: relative; overflow: hidden; z-index: 3;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(86, 129, 245, .05), rgba(34, 211, 238, .04));
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tk {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 26px;
  font-family: var(--mono); font-size: 12px; white-space: nowrap;
  border-right: 1px solid var(--line);
}
.tk b { font-weight: 500; color: var(--dim); letter-spacing: .04em; }
.tk span { color: var(--fg); font-variant-numeric: tabular-nums; }
.tk em { font-style: normal; font-variant-numeric: tabular-nums; }

/* ---------- 区块骨架 ---------- */
.sec { position: relative; padding: clamp(76px, 9vw, 132px) 0; }
.sec--alt { background: linear-gradient(180deg, transparent, rgba(86, 129, 245, .035) 40%, transparent); }
.sec--alt::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 50% at 50% 0%, rgba(86, 129, 245, .07), transparent 70%);
}
.sec__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 62px); }
.sec__head--split {
  max-width: none; display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: end;
}
.sec__title { font-size: clamp(27px, 3.6vw, 44px); letter-spacing: -.03em; }
.sec__sub { margin-top: 16px; color: var(--dim); font-size: 15.5px; line-height: 1.8; }
.sec__head--split .sec__sub { margin-top: 0; }

/* ---------- 能力卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: 26px 24px 22px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--panel); overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s, background .45s, box-shadow .45s;
  transform-style: preserve-3d;
}
.card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(86, 129, 245, .16), transparent 62%);
  transition: opacity .45s;
}
.card::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--r); pointer-events: none;
  padding: 1px; opacity: 0;
  background: linear-gradient(135deg, rgba(86, 129, 245, .85), rgba(34, 211, 238, .5) 50%, transparent 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .45s;
}
.card:hover { border-color: transparent; background: rgba(255, 255, 255, .045); box-shadow: 0 26px 60px -34px rgba(0, 0, 0, .95); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.card__ico {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  color: #a9c0ff; border: 1px solid rgba(86, 129, 245, .28);
  background: linear-gradient(150deg, rgba(86, 129, 245, .2), rgba(34, 211, 238, .06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: transform .45s var(--ease), color .3s;
}
.card:hover .card__ico { transform: translateY(-2px) scale(1.04); color: #fff; }
.card__idx { font-family: var(--mono); font-size: 11px; color: #33415c; letter-spacing: .1em; }
.card h3 { font-size: 17.5px; margin-bottom: 10px; letter-spacing: -.01em; }
.card p { font-size: 13.8px; color: var(--dim); line-height: 1.75; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.card__meta li {
  font-family: var(--mono); font-size: 10.5px; color: #8fa4c8;
  padding: 3px 8px; border-radius: 5px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}

/* ---------- 终端实况 ---------- */
.showcase { border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(255, 255, 255, .018); overflow: hidden; }
.tabs { display: flex; gap: 4px; padding: 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 9px; font-size: 13.5px; color: var(--dim);
  transition: color .3s, background .3s, box-shadow .3s;
}
.tab svg { opacity: .8; }
.tab:hover { color: var(--fg); background: rgba(255, 255, 255, .04); }
.tab.is-active {
  color: #fff; background: rgba(86, 129, 245, .18);
  box-shadow: inset 0 0 0 1px rgba(86, 129, 245, .42), 0 6px 20px -12px rgba(86, 129, 245, .9);
}
.panels { position: relative; }
.panel { display: grid; grid-template-columns: 1.55fr .85fr; gap: 0; }
.panel[hidden] { display: none; }
.panel.is-active { animation: panelIn .55s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel__shot { padding: 18px; background: rgba(0, 0, 0, .28); border-right: 1px solid var(--line); }
.panel__shot img {
  width: 100%; height: auto; border-radius: 9px;
  border: 1px solid rgba(140, 170, 255, .16); box-shadow: 0 24px 50px -26px rgba(0, 0, 0, .9);
}
.panel__side { padding: 34px 30px; display: flex; flex-direction: column; justify-content: center; }
.panel__side h3 { font-size: 20px; margin-bottom: 12px; }
.panel__side > p { font-size: 14px; color: var(--dim); line-height: 1.8; margin-bottom: 20px; }
.dots { display: grid; gap: 11px; }
.dots li {
  position: relative; padding-left: 18px; font-size: 13px; color: #a7b6cd; line-height: 1.7;
}
.dots li::before {
  content: ''; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px;
  border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 8px rgba(34, 211, 238, .8);
}

/* ---------- 交互演示 ---------- */
.demo {
  display: grid; grid-template-columns: .82fr 1.18fr; gap: 44px; align-items: center;
  margin-top: clamp(40px, 5vw, 64px);
}
.demo__copy h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 14px; }
.demo__copy > p { color: var(--dim); font-size: 14.5px; line-height: 1.85; margin-bottom: 24px; }
.demo__copy .eyebrow { margin-bottom: 14px; }

.console {
  border-radius: 14px; border: 1px solid var(--line-2); overflow: hidden;
  background: linear-gradient(180deg, #080d18, #05080f);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.console__bar {
  display: flex; align-items: center; gap: 12px; padding: 0 14px; height: 38px;
  background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--line);
}
.console__title { font-family: var(--mono); font-size: 10.5px; color: var(--faint); letter-spacing: .04em; }
.console__badge {
  margin-left: auto; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em;
  color: var(--down); padding: 2px 7px; border-radius: 4px;
  border: 1px solid rgba(14, 203, 129, .3); background: rgba(14, 203, 129, .1);
}
.console__body { padding: 18px 18px 16px; }
.console__line {
  display: flex; align-items: center; gap: 9px; min-height: 26px;
  font-family: var(--mono); font-size: 13px; color: #cfe0ff;
}
.console__line .pr { color: var(--accent-2); }
.caret {
  display: inline-block; width: 7px; height: 15px; background: var(--accent-2);
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.console__chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 0; min-height: 26px; }
.cchip {
  font-family: var(--mono); font-size: 10.5px; color: #b9cdff;
  padding: 4px 9px; border-radius: 6px;
  border: 1px solid rgba(86, 129, 245, .34); background: rgba(86, 129, 245, .12);
  opacity: 0; transform: translateY(6px) scale(.94);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.cchip.in { opacity: 1; transform: none; }
.cchip b { color: #fff; font-weight: 600; }
.console__result { margin-top: 16px; border-top: 1px dashed rgba(255, 255, 255, .1); padding-top: 12px; opacity: 0; transition: opacity .5s ease; }
.console__result.in { opacity: 1; }
.cr__head, .cr__row {
  display: grid; grid-template-columns: 1fr 70px 74px; gap: 8px; align-items: center;
  font-family: var(--mono); font-size: 11.5px; padding: 6px 0;
}
.cr__head { color: var(--faint); font-size: 10px; letter-spacing: .08em; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.cr__row { color: var(--dim); border-bottom: 1px solid rgba(255, 255, 255, .04); }
.cr__row b { color: #9fb4d8; font-weight: 500; margin-right: 6px; }
.cr__row span:nth-child(2) { color: #dbe6f8; font-variant-numeric: tabular-nums; }
.cr__row span:nth-child(3) { text-align: right; }
/* 未就绪的行显示骨架条，避免结果区出现大片空白 */
.cr__row:not(.in) span {
  color: transparent; border-radius: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .11), rgba(255, 255, 255, .04)) 0 0 / 220% 100%;
  animation: shimmer 1.6s linear infinite;
}
.cr__row:not(.in) b, .cr__row:not(.in) .up, .cr__row:not(.in) .down { color: transparent; }
.cr__row span, .cr__row b { transition: color .4s ease; }
@keyframes shimmer { to { background-position: -220% 0; } }
.cr__foot { font-family: var(--mono); font-size: 10px; color: var(--faint); padding-top: 10px; transition: opacity .4s ease; }

/* ---------- 架构 ---------- */
.arch { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
.arch__diagram {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: radial-gradient(80% 70% at 50% 0%, rgba(86, 129, 245, .07), transparent 70%), rgba(255, 255, 255, .012);
  padding: 10px; overflow: hidden;
}
.arch__diagram svg { width: 100%; height: auto; }
.arch__side { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* 小屏：SVG 缩到 350px 宽后文字不可读，改用纵向节点列表 */
.arch__mobile { display: none; position: relative; padding-left: 26px; }
.arch__mobile::before {
  content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(86, 129, 245, .5) 12%, rgba(34, 211, 238, .45) 88%, transparent);
}
.am {
  position: relative; padding: 14px 16px; margin-bottom: 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
}
.am::before {
  content: ''; position: absolute; left: -24px; top: 22px; width: 9px; height: 9px;
  border-radius: 50%; background: #0a1020; border: 1px solid var(--accent);
  box-shadow: 0 0 10px rgba(86, 129, 245, .8);
}
.am--opt { border-style: dashed; }
.am--opt::before { border-color: var(--accent-3); box-shadow: 0 0 10px rgba(167, 139, 250, .7); }
.am span { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: var(--faint); margin-bottom: 5px; }
.am b { display: block; font-size: 14.5px; color: #e6eeff; margin-bottom: 4px; }
.am p { font-size: 12.5px; color: var(--dim); line-height: 1.65; }
.node rect:first-of-type {
  fill: rgba(12, 19, 33, .9); stroke: rgba(120, 155, 230, .28); stroke-width: 1;
}
.node--main rect:first-of-type { stroke: rgba(86, 129, 245, .6); fill: rgba(86, 129, 245, .07); }
.node--opt rect:first-of-type { fill: rgba(255, 255, 255, .02); stroke: rgba(167, 139, 250, .34); }
.node:hover rect:first-of-type { stroke: rgba(34, 211, 238, .8); }
.nt { font-family: var(--sans); }
.nt--k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; fill: #5f7093; }
.nt--h { font-size: 17px; font-weight: 600; fill: #e6eeff; }
.nt--p { font-size: 12.5px; fill: #8ea0bd; }
.nt--pill { font-family: var(--mono); font-size: 9px; fill: #a8bce0; }
.nt--pill-o { font-family: var(--mono); font-size: 9.5px; fill: #9c8fd0; }
.pill { fill: rgba(86, 129, 245, .12); stroke: rgba(86, 129, 245, .3); }
.flow { stroke: rgba(86, 129, 245, .5); stroke-width: 1.4; fill: none; }
.flow--dash { stroke-dasharray: 4 5; stroke: rgba(167, 139, 250, .5); }
.pulse { fill: #6ee7ff; filter: url(#soft); }
.pulse--2 { fill: #b8a6ff; }

.side-block { margin-bottom: 0; }
.side-block h4 {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: var(--faint);
  text-transform: uppercase; margin-bottom: 14px; font-weight: 500;
}
.stack { display: grid; gap: 1px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); }
.stack li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 10px 14px; background: #080c16; font-size: 12.5px;
  transition: background .3s;
}
.stack li:hover { background: rgba(86, 129, 245, .1); }
.stack li b { color: #d6e2f7; font-weight: 600; font-size: 13px; }
.stack li span { font-family: var(--mono); font-size: 10px; color: var(--faint); text-align: right; }
.notes { display: grid; gap: 12px; }
.notes li { display: flex; gap: 9px; font-size: 12.8px; color: var(--dim); line-height: 1.7; }
.notes svg { color: var(--accent-2); flex: none; margin-top: .3em; }

/* ---------- 性能 ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 44px; }
.kpi {
  padding: 22px 20px; border-radius: var(--r); border: 1px solid var(--line);
  background: var(--panel); transition: border-color .4s, transform .4s var(--ease);
}
.kpi:hover { border-color: rgba(86, 129, 245, .4); transform: translateY(-3px); }
.kpi__num {
  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--mono); font-size: 34px; font-weight: 600; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(160deg, #fff, #8fb0ff 70%, #4d76e8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kpi__num i { font-style: normal; font-size: 13px; color: var(--faint); -webkit-text-fill-color: var(--faint); }
.kpi p { margin-top: 8px; font-size: 12.5px; color: var(--dim); }

.bars { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px 24px; background: var(--panel); }
.bars__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 13px; color: var(--dim); padding-bottom: 18px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.bars__legend { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; color: var(--faint); }
.bars__legend i { display: inline-block; width: 14px; height: 4px; border-radius: 2px; margin-left: 10px; }
.lg-before { background: #33415c; }
.lg-after { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

.bar-row { display: grid; grid-template-columns: 82px 1fr; gap: 8px 18px; padding: 12px 0; align-items: center; }
.bar-row__label { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: .04em; grid-row: span 2; }
.bar-row__track { height: 22px; border-radius: 5px; background: rgba(255, 255, 255, .03); overflow: hidden; }
.bar {
  position: relative; display: block; height: 100%; width: 0; border-radius: 5px;
  transition: width 1.1s var(--ease);
  transition-delay: var(--bd, 0ms);
}
.bar--before { background: linear-gradient(90deg, #1b2438, #2b3852); }
.bar--after { background: linear-gradient(90deg, #3f6ae8, #5681f5 60%, #22d3ee); box-shadow: 0 0 18px -4px rgba(86, 129, 245, .8); }
.bar b {
  position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 10px; font-weight: 500; color: #dbe6f8; white-space: nowrap;
}
.bar--before b { color: #9aabc5; }
.is-armed .bar { width: var(--w); }

.perf-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.perf-note { padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, .018); }
.perf-note h4 { font-size: 14px; margin-bottom: 8px; color: #dbe6f8; }
.perf-note p { font-size: 12.8px; color: var(--dim); line-height: 1.75; }
.perf-note code { color: #a9c0ff; background: rgba(86, 129, 245, .12); padding: 1px 5px; border-radius: 4px; font-size: 11.5px; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.tbl { width: 100%; border-collapse: collapse; min-width: 720px; }
.tbl th {
  text-align: left; font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  color: var(--faint); font-weight: 500; text-transform: uppercase;
  padding: 14px 20px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.tbl td { padding: 16px 20px; font-size: 13.2px; color: var(--dim); border-bottom: 1px solid rgba(255, 255, 255, .045); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .3s; }
.tbl tbody tr:hover { background: rgba(86, 129, 245, .07); }
.tbl td b { color: var(--fg); font-weight: 600; font-size: 13.6px; }
.tbl .mono { color: #b9cdff; font-size: 12px; }
.pill-tag {
  display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: .06em;
  padding: 3px 8px; border-radius: 5px; color: #9fe8d3;
  border: 1px solid rgba(14, 203, 129, .28); background: rgba(14, 203, 129, .1);
}
.tbl__note { margin-top: 14px; font-size: 12.4px; color: var(--faint); }

/* ---------- 快速开始 ---------- */
.start { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.start__cta { display: flex; align-items: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.start__hint {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--faint);
}
.start__feat { display: grid; gap: 10px; margin-top: 30px; }
.start__feat li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--dim); }
.start__feat svg { color: var(--down); }

.code {
  border-radius: 14px; border: 1px solid var(--line-2); overflow: hidden;
  background: linear-gradient(180deg, #080d18, #05080f); box-shadow: var(--shadow);
}
.code__bar {
  display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px;
  background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--line);
}
.code__name { font-family: var(--mono); font-size: 10.5px; color: var(--faint); letter-spacing: .1em; }
.code__copy {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 7px; border: 1px solid var(--line);
  font-size: 11.5px; color: var(--dim); transition: color .3s, border-color .3s, background .3s;
}
.code__copy:hover { color: #fff; border-color: rgba(86, 129, 245, .5); background: rgba(86, 129, 245, .12); }
.code__copy.is-ok { color: var(--down); border-color: rgba(14, 203, 129, .45); }
.code__pre {
  margin: 0; padding: 20px; overflow-x: auto;
  font-family: var(--mono); font-size: 12.8px; line-height: 2; color: #cfe0ff;
}
.code__pre .c { color: #4e5f7d; }
.code__pre .p { color: var(--accent-2); user-select: none; }
.code__foot {
  padding: 12px 18px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--faint);
}
.code__foot span { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- 结尾 CTA ---------- */
.final { padding: clamp(70px, 9vw, 120px) 0 clamp(60px, 7vw, 100px); }
.final__in {
  position: relative; text-align: center; padding: clamp(48px, 7vw, 86px) 24px;
  border-radius: 26px; border: 1px solid var(--line-2); overflow: hidden;
  background: radial-gradient(90% 120% at 50% 0%, rgba(86, 129, 245, .16), transparent 62%), #070b14;
}
.final__glow {
  position: absolute; left: 50%; top: -40%; width: 620px; height: 420px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(86, 129, 245, .38), transparent 65%); filter: blur(50px);
  pointer-events: none;
}
.final__in .eyebrow { justify-content: center; }
.final__in .eyebrow::after { display: none; }
.final h2 { font-size: clamp(30px, 4.4vw, 54px); letter-spacing: -.035em; line-height: 1.12; }
.final__sub { margin: 18px auto 0; max-width: 30em; color: var(--dim); font-size: 15px; }
.final__act { display: flex; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.foot { border-top: 1px solid var(--line); padding-top: 48px; background: #04060b; }
.foot__in { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 40px; flex-wrap: wrap; }
.foot__brand p { margin-top: 12px; font-size: 12.5px; color: var(--faint); }
.foot__links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot__links a { font-size: 13.5px; color: var(--dim); transition: color .3s; }
.foot__links a:hover { color: var(--fg); }
.foot__bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 18px 0 26px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--faint);
}
.foot__meta { font-size: 10px; letter-spacing: .12em; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 700;
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px;
  border: 1px solid var(--line-2); background: rgba(8, 12, 22, .8); backdrop-filter: blur(10px);
  color: var(--dim); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .4s, transform .4s var(--ease), visibility .4s, color .3s, border-color .3s;
}
.to-top svg { transform: rotate(-90deg); }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #fff; border-color: rgba(86, 129, 245, .6); }

/* ---------- 滚动揭示 ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr; gap: 60px; }
  .hero { min-height: auto; padding-top: 120px; }
  .hero__stage { max-width: 720px; }
  .device { transform: perspective(1600px) rotateX(0) rotateY(0); }
  .float-card--ai { top: -18px; right: 4px; }
  .float-card--q { bottom: -24px; left: 4px; }
  .scroll-hint { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .panel { grid-template-columns: 1fr; }
  .panel__shot { border-right: 0; border-bottom: 1px solid var(--line); }
  .demo { grid-template-columns: 1fr; gap: 30px; }
  .start { grid-template-columns: 1fr; gap: 36px; }
  .sec__head--split { grid-template-columns: 1fr; gap: 18px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .perf-notes { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .float-card { display: none; }
  .arch__diagram { display: none; }
  .arch__mobile { display: block; }
  .nav__burger { display: grid; place-items: center; }
  .nav__links {
    position: fixed; inset: 0 0 auto; top: 0; padding: 92px 24px 40px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(5, 7, 13, .985); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-102%); transition: transform .5s var(--ease);
    min-height: 100svh; max-height: 100svh; overflow-y: auto;
  }
  .nav__links.is-open { transform: none; }
  .nav__links > a { padding: 14px 6px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav__links > a::after { display: none; }
  .nav__cta { margin: 16px 0 0; justify-content: center; padding: 13px 16px !important; }
  .nav.is-open { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
  .nav.is-open .brand { position: relative; z-index: 2; }
  .nav.is-open .nav__burger { position: relative; z-index: 2; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
  .hero__stats dd { font-size: 21px; }
  .cards { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi__num { font-size: 28px; }
  .bar-row { grid-template-columns: 64px 1fr; gap: 6px 12px; }
  .bars { padding: 18px 16px; }
  .panel__side { padding: 24px 20px; }
  .tabs { padding: 8px; }
  .tab { padding: 8px 11px; font-size: 12.5px; }
  .float-card { font-size: 10.5px; min-width: 140px; padding: 10px 12px; }
  .foot__in { flex-direction: column; gap: 24px; }
  .foot__links { gap: 18px; }
  .arch__diagram { padding: 2px; }
  .arch__side { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__act .btn, .final__act .btn { width: 100%; }
  .hero__stats { gap: 18px; }
  .cr__head, .cr__row { grid-template-columns: 1fr 56px 66px; font-size: 10.5px; }
  .console__body { padding: 14px; }
  .console__line { font-size: 12px; }
}

/* 表格在窄屏改为卡片，避免横向滚动 */
@media (max-width: 660px) {
  .table-wrap { border: 0; background: none; overflow: visible; }
  .tbl { min-width: 0; display: block; }
  .tbl thead { display: none; }
  .tbl tbody { display: grid; gap: 12px; }
  .tbl tr {
    display: block; padding: 14px 16px; border-radius: 12px;
    border: 1px solid var(--line); background: var(--panel);
  }
  .tbl td {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    padding: 5px 0; border: 0; text-align: right;
  }
  .tbl td::before {
    content: attr(data-label); flex: none; text-align: left;
    font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--faint);
  }
  .tbl td:first-child { padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
  .tbl td:first-child::before { display: none; }
  .tbl td b { font-size: 15px; }
}

/* ---------- 无障碍：减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .bar { width: var(--w); }
}
