/* Nidoport 官网样式（T19）。仅用系统字体栈，无外部资源，无脚本，无内联样式。 */
:root {
  --bg: #fbfbfd;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --band-dark: #1d1d1f;
  --band-dark-card: #2c2c2e;
  --band-dark-line: rgba(255, 255, 255, .14);
  --band-dark-text: #f5f5f7;
  --band-dark-muted: #a1a1a6;
  --text: #1d1d1f;
  --text-2: #515154;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .08);
  --line-strong: #d2d2d7;
  --primary: #0066cc;
  --primary-hover: #0055b3;
  --primary-soft: rgba(0, 102, 204, .09);
  --glass: rgba(251, 251, 253, .82);
  --radius: 18px;
  --radius-lg: 24px;
  --wrap: 1080px;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", "Noto Sans SC", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-family: var(--font-sans);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #111113;
    --card: #1c1c1e;
    --band-dark: #111113;
    --band-dark-card: #1c1c1e;
    --band-dark-line: rgba(255, 255, 255, .12);
    --band-dark-text: #f5f5f7;
    --band-dark-muted: #a1a1a6;
    --text: #f5f5f7;
    --text-2: #c7c7cc;
    --muted: #86868b;
    --line: rgba(255, 255, 255, .12);
    --line-strong: #3a3a3c;
    --primary: #2997ff;
    --primary-hover: #40a5ff;
    --primary-soft: rgba(41, 151, 255, .15);
    --glass: rgba(18, 18, 20, .82);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.62; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--card); color: var(--text); border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 14px; z-index: 50; }

/* ---- 吸顶导航与二级下拉菜单 ---- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 24px; height: 24px; border-radius: 6px; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 14px; }
.nav-link, .nav-trigger { display: inline-flex; align-items: center; gap: 4px; color: var(--text-2); padding: 7px 11px; border-radius: 999px; transition: color .2s var(--ease), background .2s var(--ease); }
.nav-link:hover, .nav-trigger:hover, .nav-group:hover .nav-trigger, .nav-group:focus-within .nav-trigger { color: var(--text); background: var(--primary-soft); text-decoration: none; }
.nav-trigger::after { content: "▾"; font-size: 10px; color: var(--muted); }
.nav-group { position: relative; }
.nav-drop {
  display: none;
  position: absolute; left: 0; top: 100%; min-width: 240px; padding: 8px;
  background: var(--card); border: 1px solid var(--line-strong); border-radius: 16px;
  box-shadow: 0 20px 44px -16px rgba(0, 0, 0, .20);
  z-index: 40;
}
.nav-group:hover .nav-drop, .nav-group:focus-within .nav-drop { display: block; }
.nav-drop a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: 14px; line-height: 1.35; }
.nav-drop a small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 2px; }
.nav-drop a:hover, .nav-drop a:focus { background: var(--bg-alt); color: var(--primary); text-decoration: none; }
.nav .lang { color: var(--text-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 12px; margin-left: 4px; font-size: 13px; }
.nav .lang:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

/* ---- 按钮 ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #ffffff; }
.btn-primary:hover { background: var(--primary-hover); color: #ffffff; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: var(--card); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.nav .btn { padding: 6px 15px; font-size: 13px; margin-left: 4px; }

/* ---- 首屏与门户产品示意图 ---- */
.hero { padding: 88px 0 64px; text-align: center; background: var(--bg); }
.eyebrow { display: inline-block; margin: 0 0 18px; padding: 5px 14px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.hero h1 { font-family: var(--font-display); font-size: clamp(36px, 5.4vw, 60px); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; margin: 0 auto 20px; max-width: 820px; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--muted); max-width: 680px; margin: 0 auto 32px; }
.hero .cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 780px; margin: 44px auto 0; padding: 24px 0 0; list-style: none; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.hero .facts strong { display: block; color: var(--text); font-size: 16px; margin-bottom: 2px; }

.stage-wrap { max-width: var(--wrap); margin: 52px auto 0; padding: 0 20px; }
.stage-frame {
  text-align: left; background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px -28px rgba(0, 0, 0, .18); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.mock-dots { display: inline-flex; gap: 6px; }
.mock-dots i { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.mock-title { font-size: 13px; font-weight: 600; color: var(--text-2); }
.mock-pill { font-size: 11px; font-weight: 600; color: var(--primary); background: var(--primary-soft); padding: 3px 10px; border-radius: 999px; white-space: nowrap; flex-shrink: 0; }
.mock-body { padding: 22px 24px 26px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.mock-kpi { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.mock-kpi small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.mock-kpi b { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.mock-rows { display: grid; gap: 10px; }
.mock-row { display: grid; grid-template-columns: 1.2fr 1.2fr auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.mock-line strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 2px; }
.mock-ip small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.mock-act { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--primary); color: #ffffff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.mock-act-alt { background: var(--primary-soft); color: var(--primary); }

/* ---- 能力标签跑马灯（静态默认居中换行，无重复） ---- */
.marquee-band { padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.marquee { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.marquee-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.marquee-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.marquee-group[aria-hidden="true"] { display: none; }
.tag { display: inline-flex; align-items: center; padding: 7px 15px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--text-2); font-size: 13px; font-weight: 500; white-space: nowrap; }

/* ---- 交替区块 ---- */
section { padding: 96px 0; background: var(--bg); }
section[id] { scroll-margin-top: 66px; }
section.alt { background: var(--bg-alt); }
section.band-dark { background: var(--band-dark); color: var(--band-dark-text); }
.kicker { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--primary); }
section h2 { font-family: var(--font-display); font-size: clamp(28px, 3.8vw, 44px); font-weight: 700; line-height: 1.14; letter-spacing: -.025em; margin: 0 0 12px; }
section .sub { color: var(--muted); font-size: 18px; line-height: 1.55; margin: 0 0 42px; max-width: 700px; }
section.band-dark .sub, section.band-dark .price p { color: var(--band-dark-muted); }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 2px 12px rgba(0, 0, 0, .03); }
section.band-dark .card { background: var(--band-dark-card); border-color: var(--band-dark-line); box-shadow: none; }
.card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.015em; margin: 0 0 10px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.62; }
section.band-dark .card p { color: var(--band-dark-muted); }
.card .ico { display: inline-flex; min-width: 38px; height: 32px; padding: 0 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.card .card-tag { font-size: 12px; font-weight: 600; color: var(--primary); margin: 0 0 8px; }

/* ---- 接入四步 ---- */
.steps { counter-reset: step; list-style: none; margin: 36px 0 0; padding: 0; }
.steps li { position: relative; padding: 0 0 22px 48px; color: var(--muted); font-size: 16px; }
.steps li::before {
  counter-increment: step; content: counter(step); position: absolute; left: 0; top: 1px; width: 30px; height: 30px;
  border-radius: 50%; background: var(--primary); color: #ffffff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps li strong { color: var(--text); }
code { font-family: var(--font-mono); font-size: .9em; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--text); }
.note { margin: 20px 0 0; padding: 16px 20px; border-left: 3px solid var(--primary); background: var(--primary-soft); border-radius: 0 14px 14px 0; font-size: 14px; color: var(--text); }

.price { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.price p { margin: 0; max-width: 640px; font-size: 17px; }

/* ---- 常见问题 ---- */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--muted); flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; color: var(--primary); }
.faq details p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }

/* ---- 联系 ---- */
.contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.contact li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.contact a, .contact strong { font-size: 18px; font-weight: 600; word-break: break-all; }

/* ---- 条款页 ---- */
.doc { padding: 64px 0 88px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 38px); letter-spacing: -.02em; margin: 0 0 8px; }
.doc .meta { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.doc h2 { font-family: var(--font-display); font-size: 21px; margin: 36px 0 12px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 8px; }

/* ---- 页脚 ---- */
.foot { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 13px; background: var(--bg); }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }

/* ---- 手机 ---- */
@media (max-width: 860px) {
  .grid, .grid.two, .contact, .mock-stats, .hero .facts { grid-template-columns: 1fr; }
  .mock-row { grid-template-columns: 1fr; gap: 8px; }
  .hero { padding: 56px 0 44px; text-align: left; }
  .hero .cta { justify-content: flex-start; }
  .hero .facts { text-align: left; gap: 14px; margin-top: 32px; }
  .stage-wrap { margin-top: 36px; }
  section { padding: 64px 0; }
  section[id] { scroll-margin-top: 112px; }
  section .sub { font-size: 16px; margin-bottom: 28px; }
  .top .wrap { padding-top: 8px; padding-bottom: 8px; gap: 8px; }
  .nav { gap: 4px; font-size: 13px; }
  .nav-link, .nav-trigger { padding: 5px 8px; }
  .nav-group { position: static; }
  .nav-drop { left: 16px; right: 16px; min-width: 0; top: calc(100% + 2px); }
  .nav .lang { padding: 4px 10px; margin-left: 0; }
  .nav .btn { padding: 5px 12px; font-size: 13px; margin-left: 0; }
}

/* ==== 动效（T19）====
   纯 CSS，无脚本，不改 CSP。全部动画均包在 @media screen + prefers-reduced-motion: no-preference + @supports 内；
   默认样式与打印下页面完全静态、内容始终可见。 */

/* 5 横向滑动：适用场景卡片在桌面与手机屏幕均支持横向滑动与吸附，打印时照常竖排 */
@media screen {
  #usecases .wrap { position: relative; }
  #usecases .grid.two {
    display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0 20px; scroll-behavior: smooth;
    margin: 0 -20px; padding: 4px 20px 16px;
    scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
  }
  #usecases .grid.two::-webkit-scrollbar { height: 7px; }
  #usecases .grid.two::-webkit-scrollbar-track { background: transparent; }
  #usecases .grid.two::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
  #usecases .grid.two::-webkit-scrollbar-thumb:hover { background: var(--primary); }
  #usecases .grid.two .card { flex: 0 0 380px; scroll-snap-align: start; }

  @supports selector(::scroll-button(left)) {
    #usecases .grid.two {
      scrollbar-width: none;
      scroll-marker-group: after;
    }
    #usecases .grid.two::-webkit-scrollbar { display: none; }
    #usecases .grid.two::scroll-button(*) {
      position: absolute; bottom: 18px; z-index: 2;
      width: 40px; height: 40px; border-radius: 50%;
      border: 1px solid var(--line-strong); background: var(--card); color: var(--text);
      font-size: 20px; line-height: 1; cursor: pointer;
      display: inline-grid; place-items: center;
      box-shadow: var(--shadow);
      transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
    }
    #usecases .grid.two::scroll-button(left) { content: "‹" / "上一项"; right: 70px; }
    #usecases .grid.two::scroll-button(right) { content: "›" / "下一项"; right: 20px; }
    :lang(en) #usecases .grid.two::scroll-button(left) { content: "‹" / "Previous"; }
    :lang(en) #usecases .grid.two::scroll-button(right) { content: "›" / "Next"; }
    #usecases .grid.two::scroll-button(*):hover:not(:disabled) {
      border-color: var(--primary); color: var(--primary); background: var(--primary-soft);
    }
    #usecases .grid.two::scroll-button(*):focus-visible {
      outline: 2px solid var(--primary); outline-offset: 2px;
    }
    #usecases .grid.two::scroll-button(*):disabled {
      color: var(--line-strong); border-color: var(--line); background: var(--bg-alt);
      cursor: not-allowed; box-shadow: none;
    }
    #usecases .grid.two::scroll-marker-group {
      display: flex; align-items: center; gap: 8px;
      min-height: 40px; margin-top: 12px; padding-right: 112px;
    }
    #usecases .grid.two .card::scroll-marker {
      content: ""; width: 8px; height: 8px; border-radius: 999px;
      background: var(--line-strong); border: 0; padding: 0; cursor: pointer;
      transition: width .2s var(--ease), background .2s var(--ease);
    }
    #usecases .grid.two .card::scroll-marker:hover { background: var(--muted); }
    #usecases .grid.two .card::scroll-marker:target-current { width: 28px; background: var(--primary); }
  }
}
@media screen and (max-width: 860px) {
  #usecases .grid.two .card { flex: 0 0 84%; }
}

@media (prefers-reduced-motion: reduce) {
  html, #usecases .grid.two { scroll-behavior: auto; }
}

@media screen and (prefers-reduced-motion: no-preference) {
  @supports (transform: translate3d(0, 0, 0)) {
    /* 1 开场动画：品牌字标与首屏主文案轻柔淡入上移（≤ 0.6s，不遮挡、不延迟首屏） */
    .brand { animation: m-intro 480ms var(--ease) both; }
    .hero .eyebrow { animation: m-intro 420ms var(--ease) both; }
    .hero h1 { animation: m-intro 540ms var(--ease) both; }
    .hero .lead, .hero .cta { animation: m-intro 600ms var(--ease) both; }
    @keyframes m-intro {
      from { opacity: 0; transform: translate3d(0, 14px, 0); }
    }

    /* 6 能力标签跑马灯：无缝循环，悬停或键盘聚焦暂停 */
    .marquee { overflow: hidden; max-width: none; padding: 0; }
    .marquee-track { flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; animation: m-marquee 34s linear infinite; }
    .marquee-group { flex-wrap: nowrap; padding-right: 10px; }
    .marquee-group[aria-hidden="true"] { display: flex; }
    .marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
    @keyframes m-marquee {
      to { transform: translate3d(-50%, 0, 0); }
    }

    /* 8 悬停 / 聚焦下拉菜单轻柔展开 */
    .nav-group:hover .nav-drop, .nav-group:focus-within .nav-drop { animation: m-drop 220ms var(--ease) both; }
    @keyframes m-drop {
      from { opacity: 0; transform: translate3d(0, -6px, 0); }
    }
  }

  @supports (animation-timeline: view()) {
    /* 2 吸顶栏：滚动 0 → 100px 增强毛玻璃阴影与层次 */
    .top { animation: m-top linear both; animation-timeline: scroll(root block); animation-range: 0 100px; }
    @keyframes m-top {
      to { box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .35); }
    }

    /* 3 首屏视差：装饰光斑、大标题与门户示意图以不同速度轻柔位移 */
    .hero { position: relative; overflow: hidden; isolation: isolate; }
    .hero::before {
      content: ""; position: absolute; z-index: -1; width: 680px; height: 680px; left: 50%; top: -260px; margin-left: -340px;
      border-radius: 50%; pointer-events: none;
      background: radial-gradient(closest-side, color-mix(in srgb, var(--primary) 16%, transparent), transparent);
      animation: m-drift linear both; animation-timeline: scroll(root block); animation-range: 0 100vh;
    }
    @keyframes m-drift { to { transform: translate3d(0, 140px, 0); } }
    .hero .wrap { animation: m-hero linear both; animation-timeline: scroll(root block); animation-range: 0 70vh; }
    @keyframes m-hero { to { opacity: .35; transform: translate3d(0, 44px, 0); } }
    .stage-wrap { animation: m-stage linear both; animation-timeline: scroll(root block); animation-range: 0 85vh; }
    @keyframes m-stage { to { transform: translate3d(0, 18px, 0); } }

    /* 7 遮罩展开：产品示意图随滚动从圆角小框 clip-path 展开到全宽 */
    .stage-frame { animation: m-mask linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    @keyframes m-mask {
      from { clip-path: inset(0 7% 0 7% round 32px); }
      to { clip-path: inset(0 0% 0 0% round 24px); }
    }

    /* 4 滚动渐显：标题、说明、卡片、问答、联系方式进入视口时自下而上淡入 */
    section .kicker, section h2, section .sub, .card, .faq details, .contact li, .price .btn {
      animation: m-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 78%;
    }
    @keyframes m-reveal { from { opacity: 0; transform: translate3d(0, 24px, 0); } }
    @media (min-width: 861px) {
      .grid .card:nth-child(3n+2), .grid.two .card:nth-child(2n) { animation-range: entry 10% entry 88%; }
      .grid .card:nth-child(3n) { animation-range: entry 20% entry 98%; }
    }

    /* 5 横滑进度条：跟随适用场景卡片的横向滚动 */
    @supports (timeline-scope: --m-cases) {
      #usecases .wrap { timeline-scope: --m-cases; }
      #usecases .grid.two { scroll-timeline: --m-cases x; }
      #usecases .wrap::after {
        content: ""; display: block; height: 3px; margin-top: 14px; border-radius: 3px;
        background: linear-gradient(var(--primary), var(--primary)) 0 0 / 26% 100% no-repeat var(--line-strong);
        animation: m-bar linear both; animation-timeline: --m-cases;
      }
      @keyframes m-bar { to { background-size: 100% 100%; } }
    }

    /* 9 滚动叙事：接入四步随滚动依次点亮，步骤间连线逐段填满 */
    .steps { view-timeline: --m-steps block; }
    .steps li { animation: m-step-text linear both; animation-timeline: --m-steps; }
    @keyframes m-step-text { from { opacity: .35; } }
    .steps li::before { animation: m-step-dot linear both; animation-timeline: --m-steps; }
    @keyframes m-step-dot { from { background: var(--line-strong); color: var(--muted); transform: scale(.84); } }
    .steps li:not(:last-child)::after {
      content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; border-radius: 2px;
      background: linear-gradient(var(--primary), var(--primary)) 0 0 / 100% 0% no-repeat var(--line-strong);
      animation: m-step-line linear both; animation-timeline: --m-steps;
    }
    @keyframes m-step-line { to { background-size: 100% 100%; } }
    .steps li:nth-child(1), .steps li:nth-child(1)::before { animation-range: cover 18% cover 24%; }
    .steps li:nth-child(1)::after { animation-range: cover 24% cover 29%; }
    .steps li:nth-child(2), .steps li:nth-child(2)::before { animation-range: cover 29% cover 35%; }
    .steps li:nth-child(2)::after { animation-range: cover 35% cover 40%; }
    .steps li:nth-child(3), .steps li:nth-child(3)::before { animation-range: cover 40% cover 46%; }
    .steps li:nth-child(3)::after { animation-range: cover 46% cover 51%; }
    .steps li:nth-child(4), .steps li:nth-child(4)::before { animation-range: cover 51% cover 57%; }
  }
}
