/* 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; }

/* —— typography —— */
.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;
}

/* —— 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-one {
  font-size: 15px;
  color: var(--fg-muted);
  margin: 0 0 20px;
}
.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;
  }
}
.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 h4 {
  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; }

/* —— 减少动态效果：关掉位移与过渡，内容直接可见 —— */
@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; }
}
