/* 丛光智慧实验室 · 门户样式 v4
   按参照站实测规格构建：Geist 字体、深色营销页（默认）+ 浅色主题切换、
   浮动胶囊导航、渐变横幅 hero、双栏更新日志。
   字体 Geist / Geist Mono 采用 SIL OFL 1.1 开源协议，随站点分发。 */

/* ---------- 字体 ---------- */
@font-face {
  font-family: "Geist";
  src: url("fonts/geist-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/geist-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/geist-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- 主题令牌 ---------- */
:root[data-theme="dark"] {
  --bg: #000000;
  --card: #141414;
  --card-2: #0f0f0f;
  --line: #262626;
  --line-2: #1f1f1f;
  --t1: #ffffff;
  --t2: #a1a1a1;
  --t3: #777777;
  --pill: rgba(255, 255, 255, .06);
  --header-bg: rgba(12, 15, 22, .6);
  --header-line: rgba(255, 255, 255, .09);
  --ok-bg: rgba(55, 157, 74, .16);   --ok-tx: #4ade80;
  --wait-bg: rgba(255, 255, 255, .06); --wait-tx: #a1a1a1;
  --tag-bg: rgba(255, 255, 255, .06); --tag-tx: #d4d4d4;
  --btn-primary-bg: #ffffff; --btn-primary-fg: #0a0a0a;
  --btn-outline-border: rgba(255, 255, 255, .28); --btn-outline-fg: #ffffff;
  --hero-cta-outline-border: rgba(255, 255, 255, .32);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #ffffff;
  --card: #ffffff;
  --card-2: #f8f8f8;
  --line: #e3e3e3;
  --line-2: #eeeeee;
  --t1: #080808;
  --t2: #666666;
  --t3: #999999;
  --pill: #f4f4f5;
  --header-bg: rgba(255, 255, 255, .6);
  --header-line: rgba(0, 0, 0, .08);
  --ok-bg: #f4fdeb;   --ok-tx: #379d4a;
  --wait-bg: #f5f5f5; --wait-tx: #666666;
  --tag-bg: #f0f5ff;  --tag-tx: #0072f5;
  --btn-primary-bg: #222222; --btn-primary-fg: #ffffff;
  --btn-outline-border: #d4d4d8; --btn-outline-fg: #080808;
  --hero-cta-outline-border: rgba(255, 255, 255, .32);
  color-scheme: light;
}

:root {
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, "Cascadia Code", Consolas, monospace;
  --grad-brand: linear-gradient(135deg, #6366f1 0%, #a855f7 55%, #ec4899 100%);
  --grad-hero: linear-gradient(108deg, #05040f 0%, #1710b8 34%, #4318e0 55%, #8f1fdf 76%, #dd1fd6 100%);
  --header-h: 64px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --shadow-md: 0 8px 28px -10px rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 28px); }

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--t2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .25s, color .25s;
}

/* 浅色主题：整页柔和渐变洗底 + 噪点，组件悬浮其上 */
:root[data-theme="light"] body {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E"),
    radial-gradient(1150px 720px at 8% -6%, rgba(167, 139, 250, .17), transparent 62%),
    radial-gradient(1200px 780px at 97% 4%, rgba(244, 114, 182, .15), transparent 62%),
    radial-gradient(1000px 620px at 50% 118%, rgba(129, 140, 248, .08), transparent 70%),
    #ffffff;
  background-attachment: fixed;
}

::selection { background: rgba(99, 102, 241, .4); color: #fff; }
:root[data-theme="light"] ::selection { background: #d6e4ff; color: #080808; }

.mono { font-family: var(--mono); }
.hidden { display: none !important; }
a { color: inherit; }
img, svg { display: block; }
button { font-family: inherit; color: inherit; }

:focus-visible { outline: 2px solid #6366f1; outline-offset: 2px; border-radius: 4px; }

.skip {
  position: fixed; top: -48px; left: 16px; z-index: 100;
  background: #6366f1; color: #fff;
  padding: 8px 16px; border-radius: 8px; text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 12px; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 920px; }

/* ---------- 通用 ---------- */

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 400; line-height: 1;
  padding: 5px 12px; border-radius: 3px;
}
.pill-ok { background: var(--ok-bg); color: var(--ok-tx); }
.pill-wait { background: var(--wait-bg); color: var(--wait-tx); }
.pill-tag { background: var(--pill); color: var(--t3); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s, opacity .2s;
}
.btn:active { transform: scale(.98); }
.btn-sm { padding: 8px 18px; font-size: 13.5px; }
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); box-shadow: 0 1px 2px rgba(0,0,0,.18); }
.btn-primary:hover { opacity: .88; box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--btn-outline-fg); border: 1px solid var(--btn-outline-border); }
.btn-outline:hover { border-color: var(--t3); }

/* 产品图标（渐变圆角块 + 白色线性图形） */
.p-icon {
  --g1: #6366f1; --g2: #a855f7;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex: none;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--g1), var(--g2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 14px -5px color-mix(in srgb, var(--g1) 60%, transparent);
  color: #fff;
}
.p-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.p-icon.lg { width: 52px; height: 52px; border-radius: 14px; }
.p-icon.lg svg { width: 26px; height: 26px; }

/* ---------- 浮动胶囊头部 ---------- */

.site-header {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}
.header-pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 18px;
  height: 56px; padding: 0 8px 0 16px;
  background: var(--header-bg);
  backdrop-filter: blur(28px) saturate(1.8); -webkit-backdrop-filter: blur(28px) saturate(1.8);
  border: 1px solid var(--header-line);
  border-radius: 999px;
  box-shadow: 0 8px 32px -12px rgba(0, 0, 0, .5);
  max-width: 100%;
}

.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: var(--grad-brand); box-shadow: 0 3px 10px -2px rgba(139, 92, 246, .55); overflow: hidden; }
.brand-mark img { width: 100%; height: 100%; display: block; }
.brand-mark svg { width: 18px; height: 18px; }
.brand-mark.sm { width: 24px; height: 24px; border-radius: 7px; }
.brand-name { font-size: 14.5px; font-weight: 700; color: var(--t1); letter-spacing: .01em; white-space: nowrap; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a {
  font-size: 14px; text-decoration: none; color: var(--t2);
  padding: 7px 12px; border-radius: 999px; transition: color .2s, background .2s;
}
.site-nav > a:hover { color: var(--t1); background: var(--pill); }
.site-nav > a.active { color: var(--t1); background: var(--pill); }

/* ---------- 导航下拉 ---------- */
.nav-drop { position: relative; }
.nav-drop > a {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14px; text-decoration: none; color: var(--muted);
  padding: 7px 12px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav-drop > a:hover { color: var(--t1); background: var(--pill); }
.nav-drop > a.active { color: var(--t1); background: var(--pill); }
.nav-drop .chev { width: 10px; height: 10px; opacity: .55; transition: transform .2s; }
.nav-drop:hover .chev { transform: rotate(180deg); }
.nav-drop::after { content: ""; position: absolute; left: -16px; right: -16px; top: 100%; height: 14px; }
.drop-panel {
  position: absolute; top: calc(100% + 12px); left: 50%;
  display: none;
  transform: translate(-50%, 8px);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(32px) saturate(1.7); -webkit-backdrop-filter: blur(32px) saturate(1.7);
  border: 1px solid var(--header-line);
  border-radius: 16px;
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .22);
  padding: 8px;
  z-index: 60;
  animation: dropIn .18s ease both;
}
:root[data-theme="dark"] .drop-panel {
  background: rgba(17, 20, 28, .95);
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .6);
}
@keyframes dropIn { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
.nav-drop:hover .drop-panel { display: grid; }
.drop-resources, .drop-docs { display: none; grid-template-columns: 1fr; }
.nav-drop:hover .drop-resources,
.nav-drop:hover .drop-docs { display: grid; }
.nav-drop:hover .drop-panel {
  opacity: 1; pointer-events: auto; transform: translate(-50%, 0);
}
.drop-products { width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.drop-docs { width: 330px; }
.drop-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; transition: background .15s; }
.drop-item:hover { background: var(--pill); }
.drop-item .p-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: none; color: var(--g1, #6366f1);
}
.drop-item .p-icon svg { width: 18px; height: 18px; }
.drop-item strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--t1); line-height: 1.35; }
.drop-item em { display: block; font-style: normal; font-size: 12px; color: var(--t3); line-height: 1.4; }
.drop-all { grid-column: 1 / -1; display: block; margin-top: 6px; padding: 10px; border-top: 1px solid var(--line-2); text-align: center; font-size: 13px; color: var(--t2); text-decoration: none; }
.drop-all:hover { color: var(--t1); }

.drop-resources { width: 320px; }
.mega-bar a:hover { text-decoration: none; color: #8b5cf6; }

/* 产品 mega 面板：多栏分组 + 底栏 */
.drop-mega {
  width: min(880px, 94vw);
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 2px 30px;
  padding: 18px 24px 10px;
}
.mega-head { font-size: 12px; font-weight: 600; color: var(--t3); margin: 8px 0 10px; letter-spacing: .02em; }
.mega-bar {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line-2);
  margin-top: 14px; padding: 12px 2px 2px;
  font-size: 13px;
}
.mega-new { color: var(--t2); display: inline-flex; align-items: center; gap: 8px; }
.mega-new i { font-style: normal; font-size: 11px; line-height: 1; color: #4f46e5; background: #eef2ff; border-radius: 4px; padding: 3px 6px; }
:root[data-theme="dark"] .mega-new i { color: #a5b4fc; background: rgba(99, 102, 241, .16); }
.mega-bar a { color: var(--t1); text-decoration: none; font-weight: 500; }
.mega-bar a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1240px) {
  .drop-mega { left: auto; right: -60px; transform: translate(0, 8px); animation: none; }
  .nav-drop:hover .drop-mega { transform: translate(0, 0); }
}

.header-actions { display: flex; align-items: center; gap: 8px; }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: transparent; border: none; cursor: pointer;
  color: var(--t2); transition: background .2s, color .2s;
}
.theme-toggle:hover { background: var(--pill); color: var(--t1); }
.theme-toggle .ico-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: block; }
.theme-toggle svg { width: 17px; height: 17px; }

.menu-toggle {
  display: none; width: 36px; height: 36px;
  background: transparent; border: none; border-radius: 50%;
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { display: block; width: 16px; height: 1.6px; background: var(--t1); border-radius: 2px; transition: transform .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.3px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 92px) 16px 0; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(620px 340px at 16% -4%, rgba(167, 139, 250, .20), transparent 70%),
    radial-gradient(660px 360px at 86% -2%, rgba(244, 114, 182, .16), transparent 70%),
    radial-gradient(720px 400px at 50% 114%, rgba(129, 140, 248, .10), transparent 72%);
}
:root[data-theme="dark"] .hero-bg::after {
  background:
    radial-gradient(520px 300px at 20% 0%, rgba(99, 102, 241, .08), transparent 70%),
    radial-gradient(560px 320px at 82% 6%, rgba(236, 72, 153, .07), transparent 70%),
    radial-gradient(640px 380px at 50% 108%, rgba(168, 85, 247, .06), transparent 72%);
}
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-banner {
  position: relative;
  max-width: 1320px; margin: 0 auto;
  border-radius: var(--r-xl);
  background: var(--grad-hero);
  overflow: hidden;
  text-align: center;
  padding: clamp(72px, 10vw, 120px) 24px calc(clamp(72px, 10vw, 120px) + 84px);
}
.hero-noise {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: .5;
}
.hero-title {
  position: relative;
  font-size: clamp(44px, 6.8vw, 84px);
  font-weight: 700; font-style: italic;
  letter-spacing: -0.03em; line-height: 1.08;
  color: var(--t1); max-width: 15em;
  margin: 0 auto;
  text-wrap: balance;
}
.hero-sub {
  position: relative;
  margin: 34px auto 0; max-width: 640px;
  font-size: 18px; line-height: 1.65;
  color: var(--muted);
}
.hero-cta {
  position: relative;
  margin-top: 42px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
}
.about-banner .hero-title { color: #fff; }
.about-banner .hero-sub { color: rgba(255, 255, 255, .88); }

/* 产品总览：紧随 hero 的大卡片 */
.media-follow { position: relative; z-index: 2; margin-top: 14px; }
.media-follow .shot-frame {
  max-width: 1064px; margin: 0 auto;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 32px 80px -24px rgba(0, 0, 0, .22);
}
:root[data-theme="dark"] .media-follow .shot-frame {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 40px 100px -24px rgba(0, 0, 0, .62);
}

/* ---------- 区块 ---------- */

.sec { padding: 92px 0; }
.sec-tight { padding-top: 56px; }

/* ---------- 内页页头 ---------- */

.page-head { padding: 150px 0 16px; text-align: center; }
.page-head h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.15;
  color: var(--t1);
}
.page-sub { margin: 16px auto 0; max-width: 560px; font-size: 16px; line-height: 1.7; color: var(--t2); }

.more-wrap { text-align: center; margin-top: 40px; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.info-card h3 { font-size: 15.5px; font-weight: 700; color: var(--t1); margin-bottom: 8px; }
.info-card p { font-size: 13.5px; color: var(--t2); }
.info-card a { color: var(--t1); }

.about-contact { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }

/* ---------- 文档布局 ---------- */

.docs-layout {
  display: grid; grid-template-columns: 230px minmax(0, 1fr) 250px;
  gap: 56px; align-items: start;
  max-width: 1520px; margin: 0 auto; padding: 0 32px;
}
.docs-side {
  position: sticky; top: 150px;
  max-height: calc(100vh - 170px); overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  padding: 4px 6px 8px 2px;
}
.docs-side::-webkit-scrollbar { width: 4px; }
.docs-side::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.docs-group-head { font-size: 12.5px; font-weight: 700; color: var(--t1); margin-bottom: 8px; }

/* 侧栏搜索框 */
.docs-search { position: relative; margin: 4px 0 14px; }
.docs-search > svg {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; color: var(--t3); pointer-events: none;
}
.docs-search input {
  width: 100%; padding: 9px 34px 9px 33px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 13px; color: var(--t1);
  transition: border-color .2s;
}
.docs-search input::placeholder { color: var(--t3); }
.docs-search input:focus { outline: none; border-color: var(--t3); }
.docs-search input::-webkit-search-cancel-button { display: none; }
.docs-search kbd {
  position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 11px; line-height: 1;
  color: var(--t3); background: var(--pill); border-radius: 4px; padding: 3px 6px;
  pointer-events: none;
}
.docs-search:focus-within kbd { display: none; }

/* 侧栏分组：图标行 + 折叠树 */
.docs-cat { margin-bottom: 2px; }
.docs-cat-row { display: flex; align-items: center; gap: 2px; padding: 4px 2px; border-radius: 10px; }
.docs-cat-row:hover { background: var(--pill); }
.cat-link { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-decoration: none; padding: 3px 0 3px 5px; }
a.cat-link:hover { text-decoration: none; }
.cat-ico {
  width: 26px; height: 26px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 7px;
  color: var(--t2);
}
.cat-ico svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.docs-cat.current .cat-ico { background: var(--grad-brand); border-color: transparent; color: #fff; box-shadow: 0 3px 10px -3px rgba(139, 92, 246, .5); }
.cat-name { font-size: 13.5px; font-weight: 600; color: var(--t1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-count { flex: none; font-size: 11px; line-height: 1; color: var(--tag-tx); background: var(--tag-bg); border-radius: 4px; padding: 3px 6px; }
.cat-toggle {
  flex: none; width: 24px; height: 24px; margin-right: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; border-radius: 6px; cursor: pointer; color: var(--t3);
}
.cat-toggle:hover { color: var(--t1); background: var(--pill); }
.cat-toggle svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.docs-cat.open .cat-toggle svg { transform: rotate(180deg); }

.docs-cat-items { display: none; padding: 4px 0 6px; }
.docs-cat.open .docs-cat-items { display: block; }
.docs-cat-items a {
  display: block; margin-left: 17px; padding: 6px 10px 6px 13px;
  border-left: 1px solid var(--line-2);
  font-size: 13px; color: var(--t2); text-decoration: none;
  border-radius: 0 8px 8px 0;
  transition: background .15s, color .15s;
}
.docs-cat-items a:hover { color: var(--t1); background: var(--pill); }
.docs-cat-items a.active { color: var(--t1); background: var(--pill); font-weight: 500; border-left-color: #8b5cf6; }
.docs-empty { display: none; font-size: 12.5px; color: var(--t3); padding: 10px 4px; }
.docs-empty.show { display: block; }

.doc-article { max-width: 800px; }
.doc-article h1 { font-size: clamp(30px, 3.6vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; color: var(--t1); }
.doc-meta { margin: 12px 0 34px; font-size: 13px; color: var(--t3); }
.doc-article h2 { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; color: var(--t1); margin: 42px 0 14px; }
.doc-article h3 { font-size: 17px; font-weight: 700; color: var(--t1); margin: 28px 0 10px; }
.doc-article p { margin-bottom: 14px; font-size: 14.5px; line-height: 1.85; }
.doc-article ul, .doc-article ol { margin-bottom: 14px; padding-left: 22px; font-size: 14.5px; line-height: 1.85; }
.doc-article li { margin-bottom: 6px; }
.doc-article a { color: var(--t1); text-decoration: underline; text-underline-offset: 3px; }
.doc-article strong { color: var(--t1); font-weight: 600; }
.doc-article code { font-family: var(--mono); font-size: 12.5px; background: var(--pill); border-radius: 5px; padding: 2px 6px; color: var(--t1); }
.doc-article pre { background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; overflow-x: auto; margin-bottom: 18px; }
.doc-article pre code { background: none; padding: 0; font-size: 12.5px; line-height: 1.7; color: var(--t2); }
.doc-article table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 13.5px; }
.doc-article th, .doc-article td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.doc-article th { background: var(--pill); font-weight: 600; color: var(--t1); }
.doc-note { border-left: 3px solid #a855f7; background: var(--pill); border-radius: 0 10px 10px 0; padding: 12px 16px; font-size: 13.5px; line-height: 1.8; margin-bottom: 18px; }
.doc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 56px; }
.doc-pager a { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 20px; text-decoration: none; transition: border-color .2s; }
.doc-pager a:hover { border-color: var(--t3); }
.doc-pager .dir { display: block; font-size: 12px; color: var(--t3); margin-bottom: 4px; }
.doc-pager .tt { font-size: 14.5px; font-weight: 600; color: var(--t1); }
.doc-pager .next { text-align: right; }

.docs-cards-head { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--t1); margin: 44px 0 18px; }
.docs-cards-head:first-child { margin-top: 0; }
.doc-card { text-decoration: none; }
.doc-card h3 { color: var(--t1); }

/* 文档页顶部：为固定胶囊导航留出空间 */
.docs-page { padding: 150px 0 40px; }
.docs-back { display: inline-block; font-size: 12.5px; color: var(--t3); text-decoration: none; margin-bottom: 20px; }
.docs-back:hover { color: var(--t1); }
.docs-group-head a { color: var(--t1); text-decoration: none; }
.docs-group-head a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 产品文档列表 */
.doc-list { display: flex; flex-direction: column; gap: 14px; max-width: 780px; margin: 0 auto; }
.doc-list-item {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  text-decoration: none;
  transition: transform .2s, border-color .2s;
}
.doc-list-item:hover { transform: translateY(-2px); border-color: var(--t3); }
.doc-list-item h3 { font-size: 16px; font-weight: 700; color: var(--t1); }
.doc-list-item p { margin-top: 5px; font-size: 13.5px; color: var(--t2); }
.doc-list-item .pill { flex: none; }

.sec-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.sec-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.15;
  color: var(--t1);
}
.sec-sub { margin-top: 16px; font-size: 16px; line-height: 1.7; color: var(--t2); }

/* ---------- 产品实拍 ---------- */

.shot-frame {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card-2);
  box-shadow: 0 32px 80px -24px rgba(0, 0, 0, .55);
}
:root[data-theme="light"] .shot-frame { box-shadow: 0 24px 64px -20px rgba(0, 0, 0, .16); }
.shot-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.shot-dot { width: 10px; height: 10px; border-radius: 50%; }
.shot-dot.r { background: #ff5f57; } .shot-dot.y { background: #febc2e; } .shot-dot.g { background: #28c840; }
.shot-bar code {
  margin-left: 12px; padding: 4px 14px;
  background: var(--pill); border-radius: 6px;
  font-size: 12px; color: var(--t3);
}
.shot-frame img { width: 100%; height: auto; }

/* 3D 交互展示嵌入 */
.viewer-frame {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card-2);
  box-shadow: 0 32px 80px -24px rgba(0, 0, 0, .55);
}
:root[data-theme="light"] .viewer-frame { box-shadow: 0 24px 64px -20px rgba(0, 0, 0, .16); }
.viewer-embed {
  display: block; width: 100%; height: clamp(480px, 72vh, 820px);
  border: 0; background: #f1f4f8;
}
:root[data-theme="dark"] .viewer-embed { background: #1c2b3c; }

.shot-caption { margin-top: 20px; text-align: center; font-size: 13.5px; color: var(--t3); }
.shot-chips { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: 13px; color: var(--t2);
}
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--grad-brand); }

/* ---------- 产品矩阵 ---------- */

.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.p-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 24px 20px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.p-card:hover { transform: translateY(-3px); border-color: var(--t3); }
.p-card h3 { margin-top: 16px; font-size: 16.5px; font-weight: 700; color: var(--t1); }
.p-card > p { margin-top: 7px; font-size: 13.5px; color: var(--t2); line-height: 1.7; min-height: 3.4em; }
.p-foot { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.p-more { font-size: 13px; text-decoration: none; color: var(--t1); font-weight: 500; }
.p-more:hover { color: var(--brand, #6d28d9); }

/* ---------- 下载中心 ---------- */

.sec-tint { background: transparent; border-top: 1px solid transparent; border-bottom: 1px solid transparent; }
:root[data-theme="dark"] .sec-tint { background: rgba(255, 255, 255, .02); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.dl-shelf { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: start; }

.dl-product {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 24px 6px;
  transition: transform .25s, border-color .25s;
}
.dl-product:hover { transform: translateY(-3px); border-color: var(--t3); }

.dl-product-head {
  display: flex; gap: 14px; align-items: center;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.dl-product-head h2 { font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; color: var(--t1); }
.dl-product-head > div > p { margin-top: 3px; font-size: 12.5px; color: var(--t3); }
.dl-product-head .p-more { margin-left: auto; white-space: nowrap; font-size: 12.5px; }

.dl-card { padding: 15px 0 14px; border-bottom: 1px solid var(--line); }
.dl-card:last-child { border-bottom: none; }
.dl-card.dl-waiting { opacity: .62; }

.dl-row { display: flex; gap: 10px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.dl-info h3 { font-size: 14.5px; font-weight: 700; color: var(--t1); display: flex; align-items: center; gap: 8px; }
.dl-plat { font-size: 11px; font-weight: 500; color: var(--t3); background: var(--pill); border-radius: 4px; padding: 2.5px 7px; }
.dl-desc { margin-top: 4px; font-size: 12.5px; color: var(--t3); }
.dl-act { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.dl-notes { margin-top: 10px; list-style: none; }
.dl-notes li {
  position: relative; padding-left: 16px;
  font-size: 13px; color: var(--t2);
}
.dl-notes li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 6px; height: 1.5px; border-radius: 2px; background: var(--t3);
}

.dl-version { font-size: 12px; color: var(--t3); background: var(--pill); border-radius: 3px; padding: 6px 12px; }

.sha summary {
  cursor: pointer; font-size: 12.5px; color: var(--t3);
  list-style: none; user-select: none; padding: 7px 0;
}
.sha summary::-webkit-details-marker { display: none; }
.sha summary:hover { color: var(--t1); }
.sha code {
  display: block; margin-top: 8px; padding: 10px 14px;
  background: var(--pill); border-radius: 8px;
  font-size: 11.5px; color: var(--t3); word-break: break-all; max-width: 420px;
}

.dl-footnote { margin-top: 20px; text-align: center; font-size: 13px; color: var(--t3); }

/* ---------- 更新日志：过滤芯片 ---------- */

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 10px; }
.chip-filter {
  font-family: inherit; cursor: pointer;
  padding: 7px 16px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  font-size: 13px; line-height: 1.5; color: var(--t2);
  transition: background .15s, color .15s, border-color .15s;
}
.chip-filter:hover { color: var(--t1); border-color: var(--t3); }
.chip-filter.active {
  background: var(--btn-primary-bg); color: var(--btn-primary-fg);
  border-color: transparent;
}

/* ---------- 更新日志：双栏行 ---------- */

.timeline { list-style: none; max-width: 820px; margin: 0 auto; }
.tl-row {
  display: grid; grid-template-columns: 170px 1fr; gap: 24px 48px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}
.tl-row:last-child { border-bottom: none; }
.tl-date { font-size: 14px; color: var(--t3); padding-top: 6px; }
.tl-meta { margin-bottom: 10px; }
.tl-main h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700; letter-spacing: -0.02em;
  color: var(--t1); line-height: 1.35;
}
.tl-main > p:not(.tl-meta) { margin-top: 10px; font-size: 15px; color: var(--t2); max-width: 560px; }

/* ---------- 关于：渐变横幅 ---------- */

.about-banner {
  position: relative;
  max-width: 920px; margin: 0 auto;
  border-radius: var(--r-xl);
  background: var(--grad-hero);
  overflow: hidden;
  text-align: center;
  padding: clamp(56px, 7vw, 88px) 24px;
}
.about-banner h2 {
  position: relative;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700; font-style: italic; letter-spacing: -0.03em;
  color: #fff;
}
.about-line {
  position: relative;
  margin: 18px auto 0; max-width: 520px;
  font-size: 15px; line-height: 1.75; color: rgba(255, 255, 255, .85);
}
.about-banner .btn { position: relative; margin-top: 30px; }
.about-hint { position: relative; margin-top: 12px; font-size: 12.5px; color: rgba(255, 255, 255, .6); }

/* ---------- 预约演示 ---------- */

.demo-banner {
  position: relative;
  max-width: 920px; margin: 0 auto;
  border-radius: var(--r-xl);
  background: var(--grad-hero);
  overflow: hidden;
  text-align: center;
  padding: clamp(44px, 5vw, 64px) 24px;
}
.demo-banner h2 {
  position: relative;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700; font-style: italic; letter-spacing: -0.03em;
  color: #fff;
}
.demo-banner > p {
  position: relative;
  margin: 14px auto 0; max-width: 580px;
  font-size: 14.5px; line-height: 1.75; color: rgba(255, 255, 255, .85);
}
.demo-banner .btn { position: relative; margin-top: 26px; }
.demo-hint { position: relative; margin-top: 12px; font-size: 12.5px; color: rgba(255, 255, 255, .6); }

.demo-modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 20px; }
.demo-modal.open { display: flex; }
.demo-modal-backdrop { position: absolute; inset: 0; background: rgba(8, 8, 12, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.demo-modal-card {
  position: relative; width: 100%; max-width: 440px; max-height: 90vh; overflow-y: auto;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 28px; box-shadow: 0 32px 80px -24px rgba(0, 0, 0, .45);
}
.demo-modal-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--t1); }
.demo-modal-card > p { margin-top: 6px; font-size: 13px; color: var(--t3); line-height: 1.7; }
.demo-field { margin-top: 14px; }
.demo-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--t1); margin-bottom: 6px; }
.demo-field input, .demo-field textarea {
  width: 100%; padding: 10px 12px;
  background: var(--pill); border: 1px solid var(--line-2); border-radius: 10px;
  font-family: inherit; font-size: 14px; color: var(--t1); resize: vertical;
}
.demo-field input:focus, .demo-field textarea:focus { outline: none; border-color: var(--t3); }
.demo-actions { display: flex; gap: 10px; margin-top: 22px; }
.demo-actions .btn { flex: 1; }

/* ---------- 产品规格表 ---------- */

.spec-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.spec-table th, .spec-table td {
  padding: 11px 16px; border-bottom: 1px solid var(--line-2);
  font-size: 13.5px; line-height: 1.65; text-align: left; vertical-align: top;
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th { width: 170px; font-weight: 500; color: var(--t3); background: var(--card-2); }
.spec-table td { color: var(--t1); }

/* ---------- 资质证书 ---------- */

.cert-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 920px; margin: 0 auto;
}
.cert-grid img {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; box-shadow: 0 12px 32px -16px rgba(0, 0, 0, .18);
}

/* ---------- 页脚 ---------- */

.site-footer { border-top: 1px solid var(--line); margin-top: 24px; }
:root[data-theme="light"] .site-footer { background: transparent; }
.footer-grid {
  padding: 52px 24px 36px;
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 700; color: var(--t1); }
.footer-blurb { margin-top: 14px; font-size: 13px; color: var(--t3); max-width: 240px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-head { font-size: 13px; font-weight: 700; color: var(--t1); margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: var(--t2); text-decoration: none; }
.footer-col a:hover { color: var(--t1); }
.footer-bar {
  padding: 18px 24px 26px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--t3);
}
.footer-bar .mono { font-size: 11.5px; letter-spacing: .06em; }

/* ---------- 入场动画 ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}


/* ---------- LobeHub 式板块组件 ---------- */
.feature-tag {
  display: inline-flex; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500; margin-bottom: 22px;
  background: rgba(139, 92, 246, .12); color: #7c3aed;
}
:root[data-theme="dark"] .feature-tag { background: rgba(139, 92, 246, .16); color: #c4b5fd; }
.feature-tag.amber { background: rgba(245, 158, 11, .14); color: #b45309; }
:root[data-theme="dark"] .feature-tag.amber { background: rgba(245, 158, 11, .16); color: #fcd34d; }
.feature-tag.blue { background: rgba(59, 130, 246, .12); color: #2563eb; }
:root[data-theme="dark"] .feature-tag.blue { background: rgba(59, 130, 246, .16); color: #93c5fd; }
.feature-tag.green { background: rgba(16, 185, 129, .12); color: #047857; }
:root[data-theme="dark"] .feature-tag.green { background: rgba(16, 185, 129, .16); color: #6ee7b7; }
.feature-title {
  font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.2; color: var(--t1); margin: 0 0 36px; max-width: 18em;
}
.feature-card {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden;
}
.feature-left { padding: 44px 40px; }
.feature-kicker { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.feature-left h3, .wide-card > h3 {
  font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--t1); line-height: 1.35;
}
.feature-left h3 { margin-bottom: 34px; }
.wide-card > h3 { margin: 12px 0 36px; }
.feature-steps { list-style: none; }
.feature-steps li {
  font-size: 15.5px; font-weight: 600; color: var(--t1);
  padding: 13px 0; border-top: 1px solid var(--line-2);
  display: flex; flex-direction: column; gap: 3px;
}
.feature-steps li span { font-size: 13.5px; font-weight: 400; color: var(--t3); }
.feature-right { position: relative; padding: 28px; display: flex; align-items: center; justify-content: center; }
.fr-violet { background: linear-gradient(160deg, #a78bfa, #7c3aed); }
.flow-demo {
  background: #fff; border-radius: 14px; padding: 18px; width: 100%; max-width: 380px;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .3);
  display: flex; flex-direction: column; gap: 10px;
}
.flow-step {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 13px; border: 1px solid #e4e4e7; border-radius: 10px; background: #fafafa;
}
.flow-step i { width: 8px; height: 8px; border-radius: 50%; background: #d4d4d8; flex: none; }
.flow-step b { font-size: 13px; color: #18181b; }
.flow-step span { margin-left: auto; font-size: 11.5px; color: #71717a; text-align: right; }
.flow-step.active { border-color: #8b5cf6; background: #f5f3ff; }
.flow-step.active i { background: #8b5cf6; box-shadow: 0 0 0 3px rgba(139, 92, 246, .18); }

.half-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.half-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 34px 38px; }
.half-card h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--t1); line-height: 1.3; margin-top: 10px; }

.section-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.section-row h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; letter-spacing: -0.03em; color: var(--t1); }
.section-btn {
  display: inline-flex; padding: 11px 22px; border-radius: 12px;
  background: var(--pill); border: 1px solid var(--line-2);
  font-size: 14px; color: var(--t1); text-decoration: none; transition: background .2s;
}
.section-btn:hover { background: var(--line-2); }

.wide-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 44px 48px; }
.mini-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.mini-col h4 { font-size: 15.5px; font-weight: 600; color: var(--t1); margin-bottom: 8px; }
.mini-col p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

.quad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quad-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 30px 34px; }
.quad-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--t1); margin-top: 10px; }

.faq-grid { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: 60px; align-items: start; }
.faq-grid > h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; letter-spacing: -0.03em; color: var(--t1); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 4px; font-size: 15.5px; font-weight: 500; color: var(--t1);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { font-style: normal; color: var(--t3); transition: transform .2s; }
.faq-list details[open] summary i { transform: rotate(90deg); }
.faq-list details p { padding: 0 4px 22px; font-size: 14px; color: var(--muted); line-height: 1.8; }
.faq-list a { color: var(--t1); }

@media (max-width: 860px) {
  .feature-card { grid-template-columns: 1fr; }
  .feature-left { padding: 30px 26px; }
  .feature-right { padding: 22px; }
  .half-grid { grid-template-columns: 1fr; }
  .half-card { padding: 28px 26px; }
  .mini-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .quad-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .wide-card { padding: 30px 26px; }
}

/* ---------- 原有板块尾段保持 ---------- */


/* ---------- 文档右侧栏 ---------- */
.doc-toc { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 26px; font-size: 13px; }
.toc-nav { display: flex; flex-direction: column; }
.toc-nav a {
  display: block; padding: 5px 0 5px 12px;
  color: var(--t3); text-decoration: none;
  border-left: 1px solid var(--line-2);
  transition: color .15s, border-color .15s;
}
.toc-nav a:hover, .toc-nav a.on { color: var(--t1); border-left-color: currentColor; }
.agent-hint { font-size: 12px; color: var(--t3); margin-bottom: 10px; line-height: 1.6; }
.agent-copy {
  display: flex; align-items: center; gap: 8px; width: 100%;
  text-align: left; font-size: 12px; color: var(--t2);
  background: var(--pill); border: 1px solid var(--line-2); border-radius: 8px;
  padding: 9px 11px; cursor: pointer; transition: color .15s, border-color .15s;
}
.agent-copy:hover { color: var(--t1); border-color: var(--line); }
.agent-copy svg { width: 14px; height: 14px; flex: none; }
.agent-copy .agent-url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--brand, #0072f5); }
.toc-link { display: flex; align-items: center; gap: 7px; padding: 5px 0; color: var(--t2); text-decoration: none; font-size: 13px; }
.toc-link:hover { color: var(--t1); }
.doc-loading { color: var(--t3); font-size: 14px; }

@media (max-width: 1240px) {
  .docs-layout { grid-template-columns: 210px minmax(0, 1fr); }
  .doc-toc { display: none; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 960px) {
  .p-grid { grid-template-columns: 1fr 1fr; }
  .dl-shelf { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .site-nav {
    position: fixed; top: 84px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--header-bg);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--header-line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    padding: 10px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .25s;
  }
  .site-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav > a { font-size: 15px; padding: 12px 14px; border-radius: 10px; }
  .nav-drop .chev, .drop-panel { display: none; }
  .site-nav .nav-drop { display: contents; }
  .menu-toggle { display: flex; }
  .brand-name { display: none; }
}

@media (max-width: 720px) {
  .sec { padding: 64px 0; }
  .sec-tight { padding-top: 32px; }
  .page-head { padding: 120px 0 8px; }
  .hero { padding: 78px 12px 0; }
  .hero-banner { border-radius: 20px; }
  .app-strip { display: none; }
  .p-grid { grid-template-columns: 1fr; }
  .p-card > p { min-height: 0; }
  .info-grid { grid-template-columns: 1fr; }
  .docs-layout { grid-template-columns: 1fr; gap: 32px; }
  .docs-side { position: static; max-height: none; overflow: visible; }
  .doc-pager { grid-template-columns: 1fr; }
  .doc-pager .next { text-align: left; }
  .docs-page { padding: 120px 0 24px; }
  .doc-list-item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dl-row { flex-direction: column; align-items: flex-start; }
  .dl-product-head { flex-wrap: wrap; }
  .tl-row { grid-template-columns: 1fr; gap: 8px; padding: 30px 0; }
  .shot-bar code { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 40px 24px 28px; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 6px; }
}
