/* deskware site · v5r11 skeleton
   冷灰 zinc + 猫猫盒子米色；截图 1px 内描边：默认黑 10%，米色底黑 14%
   禁 Opus/K3/GLM/MiniMax；猫名只用 大橘/小黑/小白/小灰
*/
:root {
  --bg: #FAFAFA;
  --bg-card: #FFFFFF;
  --fg: #18181B;
  --fg-muted: #52525B;
  --fg-soft: #71717A;
  --border: #E4E4E7;
  --border-strong: #D4D4D8;
  --inverse: #18181B;
  --inverse-fg: #FAFAFA;
  --beige: #ECE2D6;
  --beige-surface: #F4EEE6;
  /* color/abb/wire。A27：米色区线框用这档，不用 #18181B */
  --abb-wire: rgba(24, 24, 27, 0.35);
  --beige-border: var(--abb-wire);
  --beige-strong: #4A4134;
  --shot-outline: rgba(0, 0, 0, 0.10);
  /* X25：米色底 ShotFrame，约 14% */
  --shot-outline-abb: rgba(0, 0, 0, 0.14);
  --focus: #4A4134;
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1248px;
  --pad: clamp(40px, 6.7vw, 96px);
  --content-pad: max(var(--pad), calc((100vw - var(--max)) / 2));
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --dur-fast: 150ms;
  --dur: 240ms;
  --dur-slow: 400ms;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a { transition: opacity var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
a:hover { opacity: 0.8; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; cursor: pointer; }

/* 版心：手机边距 16（内容 358@390），平板 40（688@768），桌面 max(clamp(40,6.7vw,96),(100vw−1248)/2)，内容最宽 1248 */
.wrap {
  width: 100%;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 768px) {
  .wrap { padding-inline: 40px; }
}
@media (min-width: 1024px) {
  .wrap { padding-inline: var(--content-pad); }
}

/* —— top bar —— */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 8px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand .sep { color: var(--fg-soft); font-weight: 400; }
.brand .sub { color: var(--fg-muted); font-weight: 400; font-size: 14px; }

/* —— 全站产品导航（WEB-91）：产品页顶栏 .topbar / .isp-top 共用；脚本在 site.js ——
   四项先全部直出，放不下才从后往前收进「产品」；<768 收进抽屉。
   首页 /main/ 用同一套脚本和结构，外观由 home.css 的首页皮肤负责，所以这里的外观规则不作用于 .page-home。 */
body.nav-open { overflow: hidden; }
body:not(.page-home) .topbar { gap: 24px; justify-content: flex-start; }
body:not(.page-home) .nav-products { flex: 1; min-width: 0; display: flex; align-items: center; gap: 2px; white-space: nowrap; }
body:not(.page-home) .nav-products > a,
body:not(.page-home) .nav-more-btn {
  display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px;
  border: 0; border-radius: 999px; background: transparent; color: var(--fg-muted);
  font: inherit; font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; cursor: pointer;
}
body:not(.page-home) .nav-products > a:hover,
body:not(.page-home) .nav-more-btn:hover { opacity: 1; color: var(--fg); background: rgba(24, 24, 27, 0.04); }
body:not(.page-home) .nav-products a[aria-current="page"] { color: var(--fg); font-weight: 600; }
body:not(.page-home) .nav-products > a:focus-visible,
body:not(.page-home) .nav-more-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.nav-more { position: relative; }
.nav-chevron { display: block; }
.nav-more.is-open .nav-chevron { transform: rotate(180deg); }
body:not(.page-home) .nav-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 168px; margin: 0; padding: 6px;
  list-style: none; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(24, 24, 27, 0.08);
}
body:not(.page-home) .nav-menu a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; color: var(--fg); }
body:not(.page-home) .nav-menu a:hover { opacity: 1; background: var(--bg); }
body:not(.page-home) .nav-end { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
body:not(.page-home) .nav-toggle {
  display: none; width: 40px; height: 40px; padding: 0; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--fg); cursor: pointer;
}
body:not(.page-home) .nav-toggle-bars {
  display: block; width: 16px; height: 10px;
  background: linear-gradient(currentColor, currentColor) 0 0 / 100% 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) 0 50% / 100% 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
}
body:not(.page-home) .nav-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
body:not(.page-home) .nav-drawer { display: flex; flex-direction: column; padding: 4px 0 8px; border-bottom: 1px solid var(--border); }
body:not(.page-home) .nav-drawer[hidden] { display: none; }
body:not(.page-home) .nav-drawer a { display: flex; align-items: center; min-height: 48px; font-size: 16px; font-weight: 500; color: var(--fg-muted); border-top: 1px solid var(--border); }
body:not(.page-home) .nav-drawer a[aria-current="page"] { color: var(--fg); font-weight: 600; }
@media (max-width: 767px) {
  body:not(.page-home) .nav-products { display: none; }
  body:not(.page-home) .nav-toggle { display: inline-flex; }
}
@media (min-width: 768px) { body:not(.page-home) .nav-drawer { display: none !important; } }

/* —— typography（WEB-107）——
   全站字阶：h1 48、h2 32、h3 20、正文 16、小字/图注 13。
   手机（<768）：h1 32、h2 24、h3 20。
   例外：首页 h1 仍为展示级 60（手机 34），见 home.css；
   规则书（目录/速查/正式规则）用 h1 32 / h2 24 / h3 18，见各页内样式；
   /isp/ 的暗红顶栏和暖灰底是产品识别色，字号和辅助色跟全站走。 */
.eyebrow {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.lead {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--fg-muted);
  max-width: 42em;
  margin: 0 0 24px;
}
h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  line-height: 1.25;
}
h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

/* —— buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--fg);
  color: var(--bg);
}
.btn-primary:hover { opacity: 1; background: #3F3F46; }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-ghost:hover { opacity: 1; border-color: var(--fg-soft); background: rgba(24, 24, 27, 0.04); }
button.btn {
  appearance: none;
  -webkit-appearance: none;
}
.btn[aria-disabled="true"],
.btn.is-disabled,
button.btn:disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
}

/* —— shot frame: 1px black 10% inner outline —— */
.shot {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #E4E4E7;
  isolation: isolate;
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--shot-outline);
  pointer-events: none;
  z-index: 2;
}
.beige .shot::after {
  box-shadow: inset 0 0 0 1px var(--shot-outline-abb);
}
.shot img, .shot video {
  width: 100%;
  height: auto;
  display: block;
}
/* 统一尺寸：桌面/平板 16:10，手机 4:3（交付说明：760×475 / 688×430 / 358×268）；源图 2x，cover 兜底 */
.shot-frame { aspect-ratio: 16 / 10; }
.shot-frame picture { display: block; width: 100%; height: 100%; }
.shot-frame img,
.shot-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
@media (max-width: 767px) {
  .shot-frame { aspect-ratio: 4 / 3; }
  .shot-frame.hero-video { aspect-ratio: 16 / 10; }
}
.hero-video video { object-position: center; }
/* 图库切换的叠层（交叉淡入） */
.shot-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 320ms var(--ease-out);
}
.shot-fade.is-shown { opacity: 1; }
.shot-placeholder {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--fg-soft);
  font-size: 14px;
  background:
    repeating-linear-gradient(
      -45deg,
      #F4F4F5,
      #F4F4F5 8px,
      #E4E4E7 8px,
      #E4E4E7 16px
    );
}
.shot-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--fg-muted);
}
.shot-caption [data-gallery-kicker] {
  color: var(--fg);
  font-weight: 600;
}
.shot-caption .shot-line {
  display: block;
  margin-top: 2px;
  font-weight: 400;
}

/* —— status chip —— */
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-muted);
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D97706;
}

/* —— index nav (desktop ≥1440) —— */
.index-nav {
  display: none;
}
@media (min-width: 1440px) {
  .index-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: fixed;
    top: 50%;
    right: max(24px, calc((100vw - var(--max)) / 2 - 108px));
    transform: translateY(-50%);
    z-index: 20;
    font-size: 12px;
    color: var(--fg-soft);
  }
  .index-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.55;
    transition: opacity var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
  }
  .index-nav a::before {
    content: "";
    width: 8px;
    height: 1px;
    background: currentColor;
    transition: width var(--dur) var(--ease-out);
  }
  .index-nav a.is-active::before { width: 20px; }
  .index-nav .s { display: none; white-space: nowrap; }
  .index-nav a:hover,
  .index-nav a:focus-visible,
  .index-nav a.is-active { opacity: 1; color: var(--fg); }
}
/* 1440–1679：右侧留白只有 72px，放不下全名。data-nav 切换（URL ?nav=a 预览 A）：
   B（默认，Zhao 2026-10-31 定）细条，只留短横线，悬停 / 键盘聚焦时整条展开显示全名；A 序号 + 两字短名，全名留给读屏 */
@media (min-width: 1440px) and (max-width: 1679px) {
  .index-nav .t {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap;
  }
  .index-nav[data-nav="a"] .s { display: inline; }
  .index-nav[data-nav="a"] a.is-active::before { width: 12px; }
  .index-nav[data-nav="b"] {
    right: 16px;
    padding: 10px 8px;
    border-radius: var(--radius-sm);
    transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
  }
  .index-nav[data-nav="b"] .n { display: none; }
  .index-nav[data-nav="b"] a { justify-content: flex-end; }
  .index-nav[data-nav="b"] a::before { order: 2; width: 14px; }
  .index-nav[data-nav="b"] a.is-active::before { width: 24px; }
  .index-nav[data-nav="b"]:hover,
  .index-nav[data-nav="b"]:focus-within {
    background: var(--bg-card);
    box-shadow: 0 0 0 1px var(--border), 0 8px 24px rgba(24, 24, 27, 0.08);
  }
  .index-nav[data-nav="b"]:hover .n,
  .index-nav[data-nav="b"]:focus-within .n { display: inline; }
  .index-nav[data-nav="b"]:hover .t,
  .index-nav[data-nav="b"]:focus-within .t {
    position: static; width: auto; height: auto; overflow: visible; clip: auto;
  }
}
@media (min-width: 1680px) {
  .index-nav .t { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
/* X22：1920 起全名单独一行、条宽 84。
   right 仍是 ≥1440 的 max(24px, (100vw−1248px)/2 − 108px)；
   1920 时 margin=336、right=228，左缘 = 1920−228−84 = 1608。
   1440–1679 的 right:16px 细条不进这个区间。 */
@media (min-width: 1920px) {
  .index-nav a {
    flex-wrap: wrap;
    align-content: flex-start;
    width: 84px;
    row-gap: 4px;
    line-height: 1.35;
  }
  .index-nav .t { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .index-nav[data-nav="b"] { transition: none; }
}

/* —— 语言切换 —— */
.lang-switch {
  font-size: 13px;
  color: var(--fg-muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.lang-switch:hover { color: var(--fg); border-color: var(--border-strong); }
.lang-switch:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* —— homepage product block —— */
.hero-home {
  padding: 48px 0 24px;
}
.hero-home h1 { max-width: 12em; }
.page-404 .hero-home {
  padding-top: clamp(64px, 12vh, 120px);
  padding-bottom: clamp(72px, 14vh, 140px);
}
.product {
  display: grid;
  gap: 28px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
@media (min-width: 960px) {
  .product {
    grid-template-columns: minmax(240px, 1fr) minmax(0, 760px);
    align-items: start;
    gap: 48px;
    padding: 64px 0;
  }
}
.product-tag {
  font-size: 13px;
  color: var(--fg-muted);
  margin: 0 0 8px;
}
.product-name {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.product-mark {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
}
.product-one {
  font-size: 15px;
  color: var(--fg-muted);
  margin: 0 0 20px;
}
.product-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin: 0;
}
.gallery { display: grid; gap: 12px; width: 100%; max-width: 760px; }
.gallery-main { width: 100%; }
.thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
@media (min-width: 960px) {
  /* 首页缩略图 112×70（16:10），与主图同比例 */
  .thumbs { grid-template-columns: repeat(5, 112px); }
}
.thumb {
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 6px;
  position: relative;
  opacity: 0.55;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.thumb:hover { opacity: 0.85; }
.thumb:active { transform: scale(0.96); }
.thumb.is-active { opacity: 1; }
.thumb .shot { border-radius: 6px; display: block; }
.thumb .shot::after { transition: box-shadow var(--dur) var(--ease-out); }
.thumb.is-active .shot::after { box-shadow: inset 0 0 0 2px var(--fg); }
.thumb:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* —— agentboxbox —— */
.page-abb .hero {
  display: grid;
  gap: 32px;
  padding: 40px 0 56px;
}
@media (min-width: 960px) {
  .page-abb .hero {
    grid-template-columns: minmax(280px, 1fr) minmax(0, 864px);
    align-items: center;
    gap: 56px;
  }
}
/* WEB-107：1440 左栏过窄会把「多模型协作调度工具」从「调 / 度」切断。
   宽屏改成约 5:7，左栏至少 450px，英文标题也一起松开。 */
@media (min-width: 1200px) {
  .page-abb .hero {
    grid-template-columns: minmax(450px, 5fr) minmax(0, 7fr);
    gap: 48px;
  }
}
.pain {
  padding: 56px 0;
}
.pain-grid {
  display: grid;
  gap: 12px;
}
@media (min-width: 768px) {
  .pain-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}
.pain-card .n {
  display: block;
  font-size: 12px;
  color: var(--fg-soft);
  font-weight: 500;
  margin-bottom: 8px;
}

.beige {
  background: var(--beige);
  padding: 64px 0;
}
.beige h2 { margin-bottom: 40px; }
.feat {
  display: grid;
  gap: 20px;
  padding: 36px 0;
}
@media (min-width: 960px) {
  .feat {
    grid-template-columns: minmax(0, 1fr) minmax(0, 760px);
    gap: 40px;
    align-items: center;
  }
  .feat.is-flip { grid-template-columns: minmax(0, 760px) minmax(0, 1fr); }
  .feat.is-flip .feat-copy { order: 2; }
  .feat.is-flip .feat-media { order: 1; }
}
.feat-kicker {
  font-size: 12px;
  color: var(--beige-strong);
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}
.feat-title {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  margin: 0 0 10px;
}
.feat-body {
  font-size: 15px;
  color: var(--fg-muted);
  margin: 0 0 12px;
}
.feat-detail {
  font-size: 13px;
  color: var(--fg-muted);
  margin: 0;
}
.quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--beige-border);
  border: 1px solid var(--beige-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 12px 0;
}
.quad > div {
  background: var(--beige-surface);
  padding: 14px 16px;
  font-size: 13px;
}
.quad strong { display: block; margin-bottom: 4px; font-size: 13px; color: var(--fg); }
.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 12px 0;
  font-size: 13px;
}
.flow span {
  background: var(--beige-surface);
  border: 1px solid var(--beige-border);
  border-radius: 999px;
  padding: 6px 12px;
}
.flow .arrow { border: 0; background: transparent; padding: 0; color: var(--beige-strong); }

/* —— ISP —— */
.page-isp .hero {
  padding: 48px 0 32px;
  max-width: 720px;
}
.page-isp .hero-shot {
  padding-bottom: 56px;
}
.caps {
  display: grid;
  gap: 12px;
  padding: 8px 0 56px;
}
@media (min-width: 768px) {
  .caps { grid-template-columns: 1fr 1fr; gap: 16px; }
}
.cap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.cap .n {
  font-size: 12px;
  color: var(--fg-soft);
  margin: 0 0 8px;
}
.cap h3 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 650;
}
.cap p {
  margin: 0;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
}
.dark-band {
  background: var(--inverse);
  color: var(--inverse-fg);
  padding: 48px 0;
}
.dark-band .eyebrow { color: #A1A1AA; }
.dark-band h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 650;
  margin: 0 0 10px;
}
.dark-band p {
  margin: 0;
  max-width: 52em;
  color: #D4D4D8;
  font-size: 14px;
  line-height: 1.65;
}

/* —— footer —— */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  font-size: 13px;
  color: var(--fg-muted);
}
.footer-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
  }
}
.footer-brand { font-weight: 600; color: var(--fg); margin-bottom: 10px; }
.footer-note { max-width: 36em; line-height: 1.55; margin: 0 0 8px; }
.footer-col .footer-heading {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-soft);
  letter-spacing: 0.04em;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 8px; }
/* WEB-26：手机页脚链接热区 ≥44×44（Figma 32:156）。桌面保持原行距。 */
@media (max-width: 767px) {
  .footer-col li { margin: 0; }
  .site-footer a {
    display: inline-flex;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
  }
}
.footer-legal {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  font-size: 12px;
  color: var(--fg-soft);
}
.footer-legal a { color: inherit; }
.footer-legal img {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: -2px;
  margin-right: 4px;
}
#icpInfo { display: none; }
#icpInfo.is-on { display: inline-flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }

/* —— utility —— */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* —— Hero 视频：Playing / Paused / Focus / Reduced —— */
.hero-video { background: #1C1C24; }
.video-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 24, 27, 0.62);
  color: #FAFAFA;
  opacity: 0.8;
  transition: opacity var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.video-toggle svg { fill: currentColor; }
.video-toggle .i-play { display: none; }
.hero-video[data-state="paused"] .video-toggle .i-play,
.hero-video[data-state="reduced"] .video-toggle .i-play { display: block; }
.hero-video[data-state="paused"] .video-toggle .i-pause,
.hero-video[data-state="reduced"] .video-toggle .i-pause { display: none; }
.hero-video:hover .video-toggle,
.hero-video[data-state="paused"] .video-toggle,
.hero-video[data-state="reduced"] .video-toggle { opacity: 1; }
.video-toggle:hover { background: rgba(24, 24, 27, 0.82); }
.video-toggle:active { transform: scale(0.94); }
.video-toggle:focus-visible {
  opacity: 1;
  outline: 2px solid #FAFAFA;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--focus);
}

/* —— 滚动进场：淡入上移 16px，400ms ease-out；只在 JS 可用时隐藏 —— */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* WEB-52：/sidemate 示意图。桌面点开按 2400px 看字；窄屏先铺满屏宽，再放大。 */
.sm-how {
  padding: 64px 0;
}
.sm-how h2 { margin-bottom: 40px; }
.sm-how figure > a[data-zoom] { display: block; }
.sm-how figure > a[data-zoom]:hover { opacity: 1; }
.sm-how-hint {
  margin-left: 0.75em;
  font-size: 12px;
  font-weight: 400;
  color: var(--fg-soft);
  white-space: nowrap;
}
.sm-how figcaption { text-wrap: pretty; }
.zoom-layer {
  position: fixed;
  inset: 0;
  width: calc(100vw - 48px);
  height: calc(100dvh - 48px);
  max-width: calc(100vw - 48px);
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(24, 24, 27, 0.18);
}
.zoom-layer::backdrop { background: rgba(24, 24, 27, 0.72); }
.zoom-layer .zoom-bar {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.zoom-close,
.zoom-step {
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
}
.zoom-close:focus-visible,
.zoom-step:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.zoom-step:disabled { opacity: 0.4; }
.zoom-stage {
  position: absolute;
  inset: 0;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: none;
}
.zoom-stage img {
  display: block;
  max-width: none;
  height: auto;
}
@media (max-width: 767px) {
  .zoom-layer {
    width: 100vw;
    height: 100dvh;
    max-width: 100vw;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

/* —— 减少动态效果：关掉位移与过渡，内容直接可见 —— */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .btn:active, .thumb:active, .video-toggle:active { transform: none; }
}

/* WEB-51：下载按钮下一行说明；隐私与使用声明正文 */
.hero-note {
  margin: 12px 0 0;
  max-width: 36em;
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-soft);
}
.statement {
  max-width: 40em;
  padding: 12px 0 72px;
}
.statement h1 { margin-bottom: 24px; }
.statement h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 28px 0 10px;
}
.statement p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.75;
}
.statement a { text-decoration: underline; text-underline-offset: 2px; }
