/* ===== 01-tokens.css ===== */
:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-2: #f3f4f7;
  --surface-3: #eceff5;
  --border: #e4e7ec;
  --border-strong: #d3d8e0;
  --text: #101828;
  --text-2: #4b5563;
  --text-3: #6b7280;
  --accent: #2f6bff;
  --accent-hover: #2459e6;
  --accent-soft: #edf3ff;
  --accent-on: #ffffff;
  --accent-fill: #2f6bff;
  --accent-fill-hover: #2459e6;
  --accent-fill-text: #ffffff;
  --header-bg: rgba(255, 255, 255, .95);
  --grid: rgba(47, 107, 255, .05);
  --hero-radial: rgba(47, 107, 255, .10);
  --hero-bg: #fbfcff;
  --panel-bg: #ffffff;
  --panel-alt: #f8fafc;
  --panel-border: #e3e8f0;
  --panel-text: #101828;
  --panel-text-2: #5c6775;
  --panel-line: #eaeef4;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
  --shadow-lg: 0 30px 80px rgba(20, 39, 78, .14);
  --code-bg: #f3f5f9;
  --status: #10b981;
  --headline-accent: #2f6bff;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0e17;
  --bg-alt: #0c111c;
  --surface: #121826;
  --surface-2: #161d2b;
  --surface-3: #1c2434;
  --border: #222c3d;
  --border-strong: #303c50;
  --text: #f2f5fa;
  --text-2: #a6b0c3;
  --text-3: #7b8698;
  --accent: #9bb7ff;
  --accent-hover: #b1c6ff;
  --accent-soft: rgba(114, 150, 255, .12);
  --accent-on: #0a0e17;
  --accent-fill: #5b82ff;
  --accent-fill-hover: #7498ff;
  --accent-fill-text: #ffffff;
  --header-bg: rgba(10, 14, 23, .93);
  --grid: rgba(255, 255, 255, .04);
  --hero-radial: rgba(80, 120, 255, .14);
  --hero-bg: #0a0f1d;
  --panel-bg: #121826;
  --panel-alt: #0f1420;
  --panel-border: #263044;
  --panel-text: #edf2fa;
  --panel-text-2: #98a4b8;
  --panel-line: #253044;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .5);
  --code-bg: #0d1424;
  --status: #34d399;
  --headline-accent: #9db6ff;
}
/* 局部反色区块：让 color 随所在主题重新求值 */
[data-theme] { color: var(--text); }

/* ===== 02-base.css ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Public Sans", "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .25s ease, color .25s ease;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, svg { display: block; }
::selection { color: #fff; background: #2f6bff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.container { width: min(calc(100% - 64px), 1240px); margin-inline: auto; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon.github-mark { fill: currentColor; stroke: none; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; top: -64px; left: 20px; z-index: 100; padding: 10px 16px; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.view[hidden] { display: none !important; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-family: "Inter", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.section-head { max-width: 760px; }
.section-head h2 { margin: 20px 0 18px; font-size: clamp(30px, 3.6vw, 43px); line-height: 1.3; letter-spacing: -.035em; font-weight: 600; }
.section-head p { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.85; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px; font-size: 13.5px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 15px; height: 15px; }
.btn-primary { color: var(--accent-fill-text); background: var(--accent-fill); border-color: var(--accent-fill); box-shadow: 0 8px 22px rgba(47, 107, 255, .18); }
[data-theme="dark"] .btn-primary { box-shadow: 0 8px 22px rgba(91, 130, 255, .22); }
.btn-primary:hover { background: var(--accent-fill-hover); border-color: var(--accent-fill-hover); }
.btn-outline { color: var(--text); background: transparent; border-color: var(--border-strong); }
.btn-outline:hover { background: var(--surface-2); border-color: var(--text-3); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: 13.5px; font-weight: 600; }
.text-link .icon { width: 15px; height: 15px; transition: transform .2s ease; }
.text-link:hover .icon { transform: translateX(3px); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== 03-header.css ===== */
.site-header { position: sticky; top: 0; z-index: 60; height: 68px; background: var(--header-bg); border-bottom: 1px solid color-mix(in srgb, var(--border) 72%, transparent); }
.nav { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 32px; height: 32px; }
.brand-type { display: flex; flex-direction: column; gap: 2px; }
.brand-en { font-family: "Public Sans", "Inter", sans-serif; font-size: 17px; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--text); }
.brand-cn { font-size: 9.5px; line-height: 1; letter-spacing: .18em; color: var(--text-3); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a { padding: 8px 14px; color: var(--text-2); border-radius: 999px; font-size: 14px; transition: color .18s ease, background-color .18s ease; }
.nav-links > a:hover { color: var(--text); background: var(--surface-2); }
.nav-links > a.is-active { color: var(--accent); }

/* 平台公告条 */
.notice-strip { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); border-bottom: 1px solid color-mix(in srgb, var(--accent) 14%, var(--border)); }
.notice-inner { display: flex; align-items: center; gap: 10px; height: 44px; }
.notice-icon { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: 0 0 auto; color: var(--accent); background: var(--surface); border-radius: 50%; box-shadow: var(--shadow-sm); }
.notice-icon .icon { width: 13px; height: 13px; }
.notice-label { flex: 0 0 auto; color: var(--text); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.notice-text { flex: 1; min-width: 0; overflow: hidden; color: var(--text-2); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; transition: color .18s ease; }
.notice-text:hover { color: var(--accent); }
.notice-more { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; color: var(--accent); font-size: 11px; font-weight: 500; white-space: nowrap; }
.notice-more .icon { width: 12px; height: 12px; }
.notice-close { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: 0 0 auto; padding: 0; color: var(--text-3); background: transparent; border: 0; border-radius: 50%; cursor: pointer; transition: color .18s ease, background-color .18s ease; }
.notice-close:hover { color: var(--text); background: var(--surface); }
.notice-close .icon { width: 13px; height: 13px; }

/* 产品下拉 */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-product-trigger { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; color: var(--text-2); background: transparent; border: 0; border-radius: 999px; font-size: 14px; cursor: pointer; transition: color .18s ease, background-color .18s ease; }
.nav-product-trigger:hover, .nav-product-trigger[aria-expanded="true"] { color: var(--text); background: var(--surface-2); }
.nav-product-trigger.is-active { color: var(--accent); }
.nav-new { padding: 1px 6px; color: #fff; background: #ff5c62; border-radius: 999px; font-family: "Inter", sans-serif; font-size: 9px; font-weight: 600; line-height: 1.4; letter-spacing: .01em; }
.nav-chevron { width: 14px; height: 14px; color: var(--text-3); transition: transform .2s ease; }
.nav-product-trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: calc(100% + 18px); left: 0; z-index: 80; width: 372px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 20px 55px rgba(20, 39, 78, .16); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: transform .18s ease, visibility .18s; }
[data-theme="dark"] .nav-dropdown-menu { box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.nav-dropdown.is-open .nav-dropdown-menu, .nav-dropdown-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu-head { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px 7px; color: var(--text-3); font-family: "Inter", sans-serif; font-size: 9px; letter-spacing: .12em; }
.nav-menu-head span:last-child { color: var(--text-3); letter-spacing: .06em; }
.nav-menu-item { display: flex; align-items: center; gap: 12px; padding: 10px 11px; border-radius: 12px; transition: background-color .18s ease; }
.nav-menu-item:hover { background: var(--surface-2); }
.nav-menu-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: 0 0 auto; color: var(--accent); background: var(--accent-soft); border-radius: 10px; }
.nav-menu-icon .icon { width: 17px; height: 17px; }
.nav-menu-item div { min-width: 0; flex: 1; }
.nav-menu-item b { display: block; color: var(--text); font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.nav-menu-item small { display: block; margin-top: 2px; color: var(--text-3); font-size: 10.5px; line-height: 1.45; }
.nav-menu-arrow { width: 14px; height: 14px; flex: 0 0 auto; color: var(--text-3); opacity: 0; transform: translateX(-3px); transition: opacity .18s ease, transform .18s ease; }
.nav-menu-item:hover .nav-menu-arrow { opacity: 1; transform: none; }
.nav-menu-foot { display: flex; align-items: center; justify-content: space-between; margin: 6px 4px 0; padding: 10px 12px 8px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 10.5px; }
.nav-menu-foot a { color: var(--accent); font-weight: 500; }

.nav-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-button { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0; color: var(--text-2); background: transparent; border: 0; border-radius: 999px; cursor: pointer; transition: color .18s ease, background-color .18s ease; }
.icon-button:hover { color: var(--text); background: var(--surface-2); }
.icon-button .icon { width: 17px; height: 17px; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
.nav-cta { height: 40px; margin-left: 6px; padding: 0 20px; border-radius: 999px; font-size: 13.5px; box-shadow: 0 6px 18px rgba(47, 107, 255, .22); }
[data-theme="dark"] .nav-cta { box-shadow: 0 6px 18px rgba(91, 130, 255, .22); }
.menu-button { display: none; }
.mobile-panel { display: none; }

/* ===== 08-countbot.css ===== */
.flagship { padding: 104px 0 100px; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.flag-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; margin-bottom: 44px; }
.flag-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); border-radius: 5px; font-family: "Inter", sans-serif; font-size: 10px; font-weight: 500; letter-spacing: .1em; }
.flag-badge .icon { width: 13px; height: 13px; color: var(--accent); }
.flag-head h2 { margin: 22px 0 8px; font-size: clamp(38px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -.045em; font-weight: 600; }
.flag-sub { display: block; color: var(--text-3); font-size: 12.5px; letter-spacing: .04em; }
.flag-desc { max-width: 780px; margin: 20px 0 0; color: var(--text-2); font-size: 15px; line-height: 1.9; }
.flag-aside { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; padding-bottom: 4px; }
.flag-actions { display: flex; align-items: center; gap: 10px; }
.flag-stats { display: flex; gap: 18px; color: var(--text-3); font-family: "Inter", sans-serif; font-size: 11px; }
.flag-stats span { display: inline-flex; align-items: center; gap: 5px; }
.flag-stats .icon { width: 13px; height: 13px; }
.flag-body { display: grid; grid-template-columns: 1fr .9fr; align-items: start; gap: 56px; }
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.cap { display: flex; align-items: flex-start; gap: 11px; padding: 20px 18px; background: var(--surface); }
.cap .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--accent); }
.cap b { display: block; margin-bottom: 4px; color: var(--text); font-size: 12.5px; font-weight: 600; }
.cap small { display: block; color: var(--text-3); font-size: 11px; line-height: 1.65; }

.agent-card { width: 100%; max-width: 480px; min-width: 0; margin-left: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-md); overflow: hidden; }
.agent-bar { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 16px; border-bottom: 1px solid var(--border); }
.agent-id { display: flex; align-items: center; gap: 9px; }
.agent-avatar { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: var(--text); background: var(--surface-3); border: 1px solid var(--border); border-radius: 7px; }
.agent-avatar .icon { width: 14px; height: 14px; }
.agent-name { display: block; font-size: 11.5px; font-weight: 600; line-height: 1.2; }
.agent-role { display: flex; align-items: center; gap: 4px; margin-top: 2px; color: var(--text-3); font-size: 8.5px; }
.agent-role i { width: 4px; height: 4px; border-radius: 50%; background: var(--status); }
.agent-meta { color: var(--text-3); font-family: "Inter", sans-serif; font-size: 8px; letter-spacing: .1em; }
.agent-body { display: grid; gap: 13px; padding: 16px; }
.field-label { display: block; margin-bottom: 6px; color: var(--text-3); font-family: "Inter", sans-serif; font-size: 8px; letter-spacing: .12em; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 7px; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 5px; height: 28px; border-radius: 5px; color: var(--text-3); font-size: 9.5px; }
.seg span.on { color: var(--text); background: var(--surface); box-shadow: var(--shadow-sm); }
.seg span .icon { width: 12px; height: 12px; }
.user-list { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 7px; overflow: hidden; }
.user-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; background: var(--surface); }
.user-row b { display: block; color: var(--text); font-size: 10px; font-weight: 600; }
.user-row small { display: block; margin-top: 1px; color: var(--text-3); font-size: 8.5px; }
.user-tag { flex: 0 0 auto; padding: 2px 6px; color: var(--text-3); border: 1px solid var(--border); border-radius: 4px; font-family: "Inter", sans-serif; font-size: 8px; letter-spacing: .06em; }
.user-tag.admin { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: var(--accent-soft); }
.mode-note { display: flex; justify-content: space-between; margin-top: 7px; color: var(--text-3); font-size: 8.5px; }
.mode-note b { color: var(--status); font-weight: 500; }
.agent-channels { padding: 12px 16px 14px; border-top: 1px solid var(--border); }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chips span { padding: 3px 7px; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; font-size: 9px; }

.flag-left { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.mu-card { padding: 20px 20px 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.mu-label { display: block; color: var(--text-3); font-family: "Inter", sans-serif; font-size: 9px; letter-spacing: .14em; }
.mu-figure { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 12px 0 2px; color: var(--text); }
.mu-figure b { font-family: "Inter", sans-serif; font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.mu-figure span { color: var(--text-2); font-size: 11px; }
.mu-figure i { font-style: normal; color: var(--text-3); font-size: 12px; }
.mu-list { margin: 12px 0 0; padding: 0; list-style: none; }
.mu-list li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--border); }
.mu-role { flex: 0 0 44px; padding-top: 1px; color: var(--accent); font-size: 10.5px; font-weight: 600; }
.mu-list b { display: block; color: var(--text); font-size: 11.5px; font-weight: 600; }
.mu-list small { display: block; margin-top: 2px; color: var(--text-3); font-size: 10.5px; line-height: 1.6; }
.mode-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.mode-strip h3 { margin: 9px 0 5px; color: var(--text); font-size: 12.5px; font-weight: 600; }
.mode-strip p { margin: 0; max-width: 300px; color: var(--text-3); font-size: 10.5px; line-height: 1.65; }
.mode-num { flex: 0 0 auto; padding-left: 18px; border-left: 1px solid var(--border); color: var(--text); font-family: "Inter", sans-serif; font-size: 38px; font-weight: 600; line-height: 1; letter-spacing: -.04em; text-align: right; }
.mode-num small { font-size: 15px; }
.mode-num span { display: block; margin-top: 5px; color: var(--text-3); font-size: 8px; font-weight: 500; letter-spacing: .1em; }
.flag-tags { margin: 0; color: var(--text-3); font-size: 11px; line-height: 1.9; letter-spacing: .01em; }

/* ===== 10-footer.css ===== */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); }
.footer-main { display: grid; grid-template-columns: 1.5fr .62fr .62fr; gap: 56px; padding: 58px 0 46px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-about { max-width: 330px; margin: 0; color: var(--text-3); font-size: 12px; line-height: 1.85; }
.footer-place { display: flex; font-style: normal; align-items: center; gap: 6px; margin-top: 16px; color: var(--text-3); font-size: 11px; }
.footer-place .icon { width: 13px; height: 13px; }
.footer-col h3 { margin: 4px 0 16px; color: var(--text-2); font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-links a { color: var(--text-3); font-size: 11.5px; transition: color .18s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 62px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 10.5px; letter-spacing: .02em; }
.footer-bottom-links { display: flex; gap: 18px; font-family: "Inter", sans-serif; letter-spacing: .08em; }

/* ===== 11-product.css ===== */
.product-view { background: var(--bg); padding-bottom: 8px; }
.p-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 0 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 11.5px; }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .icon { width: 12px; height: 12px; color: var(--border-strong); }
.p-code { color: var(--text-3); font-family: "Inter", sans-serif; font-size: 10px; letter-spacing: .14em; }
.p-hero { display: grid; grid-template-columns: 1fr .88fr; align-items: center; gap: 64px; padding: 52px 0 60px; border-bottom: 1px solid var(--border); }
.p-hero h1 { margin: 20px 0 22px; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.18; letter-spacing: -.05em; font-weight: 600; }
.p-hero h1 em { font-style: normal; color: var(--headline-accent); }
.p-lead { max-width: 560px; margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.9; text-wrap: pretty; }
.p-lead .nowrap { white-space: nowrap; }
.nowrap { white-space: nowrap; }
.p-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.p-panel { display: flex; flex-direction: column; align-items: flex-end; min-width: 0; }
.p-panel .agent-card { max-width: 520px; min-width: 0; }
.p-note { margin-top: 12px; color: var(--text-3); font-family: "Inter", sans-serif; font-size: 9px; letter-spacing: .1em; }
.p-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.p-tags span { padding: 5px 11px; color: var(--text-2); background: var(--surface-2); border: 1px solid transparent; border-radius: 999px; font-size: 10.5px; }

.panel { width: 100%; max-width: 520px; background: var(--panel-bg); border: 1px solid var(--panel-border); border-radius: 12px; box-shadow: var(--shadow-md); overflow: hidden; }
.panel-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 42px; padding: 0 14px; background: var(--panel-alt); border-bottom: 1px solid var(--panel-line); }
.panel-bar span { color: var(--text-3); font-family: "Inter", sans-serif; font-size: 8.5px; letter-spacing: .1em; }
.panel-dots { display: flex; gap: 4px; }
.panel-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--border-strong); }
.panel-body { padding: 16px; }
.panel-title { display: flex; align-items: center; gap: 7px; color: var(--panel-text); font-size: 11.5px; font-weight: 600; }
.panel-title .icon { width: 14px; height: 14px; color: var(--accent); }
.panel-rows { display: grid; gap: 1px; margin-top: 12px; background: var(--panel-line); border: 1px solid var(--panel-line); border-radius: 6px; overflow: hidden; }
.panel-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; padding: 9px 11px; background: var(--panel-bg); }
.panel-row span:first-child { color: var(--panel-text-2); font-size: 10px; }
.panel-row b { color: var(--accent); font-family: "Inter", sans-serif; font-size: 8.5px; font-weight: 500; letter-spacing: .04em; }
.panel-row code { color: var(--text-3); font-family: "SFMono-Regular", Menlo, monospace; font-size: 8.5px; }
.panel-foot { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--panel-line); }
.panel-foot span { color: var(--text-3); font-family: "Inter", sans-serif; font-size: 8px; letter-spacing: .1em; }

.p-block { padding: 56px 0; border-bottom: 1px solid var(--border); }
.p-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.p-block-head h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.p-block-head span { color: var(--text-3); font-family: "Inter", sans-serif; font-size: 9px; letter-spacing: .12em; }
.p-info { display: grid; grid-template-columns: 1fr .85fr; gap: 64px; padding: 56px 0; border-bottom: 1px solid var(--border); }
.p-info h2 { margin: 0 0 18px; font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.p-list { margin: 0; padding: 0; border-top: 1px solid var(--border-strong); }
.p-list.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; }
.p-list.cols-2 li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.p-list li { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--border); list-style: none; }
.p-list .num { color: var(--text-3); font-family: "Inter", sans-serif; font-size: 9.5px; padding-top: 3px; }
.p-list b { display: block; font-size: 12.5px; font-weight: 600; }
.p-list small { display: block; margin-top: 2px; color: var(--text-3); font-size: 11.5px; line-height: 1.6; }
.p-meta { margin: 0; border-top: 1px solid var(--border-strong); }
.p-meta-row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.p-meta-row dt { margin: 0; color: var(--text-3); font-size: 11.5px; }
.p-meta-row dd { margin: 0; color: var(--text); font-size: 12.5px; line-height: 1.6; }
.p-next { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 30px 0 66px; }
.p-next a { display: flex; flex-direction: column; gap: 5px; }
.p-next small { color: var(--text-3); font-family: "Inter", sans-serif; font-size: 9px; letter-spacing: .12em; }
.p-next b { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.p-next b .icon { width: 16px; height: 16px; color: var(--text-3); }
.p-next a:hover b { color: var(--accent); }

.policy-band { display: grid; grid-template-columns: 230px 1fr; align-items: start; gap: 40px; margin-top: 32px; padding: 26px 28px; background: color-mix(in srgb, var(--accent) 4%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border)); border-radius: 14px; }
.p-summary { max-width: 860px; margin: 0 0 26px; color: var(--text-2); font-size: 14px; line-height: 1.95; }
.policy-note { padding: 22px 0; border-top: 1px solid var(--border); color: var(--text-3); font-size: 12px; line-height: 1.9; }
.policy-note a { margin-left: 8px; color: var(--accent); }
.path-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.path { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; background: var(--surface); }
.path .path-tag { color: var(--text-3); font-family: "Inter", sans-serif; font-size: 10.5px; letter-spacing: .1em; }
.path b { color: var(--text); font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.path small { color: var(--text-3); font-size: 12.5px; line-height: 1.75; }
.path a { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--accent); font-size: 12.5px; font-weight: 600; }
.path a .icon { width: 13px; height: 13px; }
.policy-copy .mu-label { display: block; }
.policy-copy b { display: block; margin-top: 7px; color: var(--text); font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.policy-src { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; color: var(--accent); font-size: 11px; }
.policy-src .icon { width: 12px; height: 12px; }
.policy-src:hover { text-decoration: underline; }
.policy-band p { margin: 0; color: var(--text-2); font-size: 13px; line-height: 1.95; }
.policy-body p + p { margin-top: 9px; }
.p-repo { padding: 36px 0 0; }
.repo-entry { display: grid; grid-template-columns: 1fr auto 42px; align-items: center; gap: 36px; padding: 22px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.repo-entry:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: var(--shadow-md); }
.repo-copy b { display: block; margin-top: 6px; color: var(--text); font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.repo-copy small { display: block; margin-top: 3px; color: var(--text-3); font-size: 11.5px; }
.repo-stats { display: flex; gap: 34px; }
.repo-stats div { text-align: left; }
.repo-stats b { display: block; color: var(--text); font-family: "Public Sans", "Inter", sans-serif; font-size: 23px; font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.repo-stats span { display: block; margin-top: 5px; color: var(--text-3); font-family: "Public Sans", "Inter", sans-serif; font-size: 9px; font-weight: 500; letter-spacing: .12em; }
.repo-go { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: var(--text-3); border: 1px solid var(--border); border-radius: 50%; transition: color .2s ease, border-color .2s ease; }
.repo-go .icon { width: 16px; height: 16px; }
.repo-entry:hover .repo-go { color: var(--accent); border-color: var(--accent); }

.contact-hero { display: grid; grid-template-columns: 1fr .82fr; align-items: start; gap: 64px; padding: 40px 0 60px; border-bottom: 1px solid var(--border); }
.contact-hero h1 { margin: 18px 0 20px; font-size: clamp(34px, 4vw, 50px); line-height: 1.24; letter-spacing: -.045em; font-weight: 600; }
.contact-info { width: 100%; max-width: 480px; justify-self: end; padding: 24px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-md); }
.contact-info-label { display: block; margin-bottom: 6px; color: var(--text-3); font-family: "Inter", sans-serif; font-size: 9px; letter-spacing: .14em; }
.c-row { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.c-row:last-child { border-bottom: 0; }
.c-row dt { margin: 0; color: var(--text-3); font-size: 11.5px; }
.c-row dd { margin: 0; color: var(--text); font-size: 12.5px; line-height: 1.6; }
.c-row a { color: var(--accent); }
.c-row a:hover { text-decoration: underline; }
.topics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.topic { padding: 22px 20px; background: var(--surface); }
.topic .icon { width: 16px; height: 16px; margin-bottom: 10px; color: var(--accent); }
.topic b { display: block; color: var(--text); font-size: 12.5px; font-weight: 600; }
.topic small { display: block; margin-top: 4px; color: var(--text-3); font-size: 11px; line-height: 1.65; }

/* ===== 12-responsive.css ===== */
@media (max-width: 1199px) {
  .brand-en { font-size: 16px; letter-spacing: -.03em; }
  .hero-inner { grid-template-columns: 1fr; align-items: start; gap: 48px; padding: 64px 0 56px; }
  .hero h1 { font-size: clamp(42px, 5.8vw, 58px); }
  .hero-copy { max-width: 760px; }
  .hero-visual { justify-self: start; max-width: 600px; }
}
@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .nav-links { gap: 0; }
  .nav-links > a { padding: 8px 11px; font-size: 13.5px; }
  .p-hero { gap: 44px; }
  .flag-body { gap: 40px; }
  .index-row { grid-template-columns: 48px 1fr auto 34px; gap: 18px; }
  .index-desc { max-width: 500px; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-button { display: inline-flex; }
  .nav { gap: 12px; }
  .nav-tools { margin-left: auto; }
  .mobile-panel { position: fixed; top: 68px; left: 0; right: 0; z-index: 55; display: grid; max-height: 0; overflow: hidden; visibility: hidden; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); transition: max-height .28s ease, visibility .28s; }
  .mobile-panel.is-open { max-height: 560px; visibility: visible; }
  .mobile-panel-inner { display: grid; padding: 10px 24px 22px; }
  .mobile-panel a { display: flex; align-items: center; justify-content: space-between; min-height: 50px; color: var(--text-2); border-bottom: 1px solid var(--border); font-size: 14px; }
  .mobile-panel-label { display: flex; align-items: center; gap: 8px; padding: 10px 0 4px; color: var(--text-3); font-family: "Inter", sans-serif; font-size: 10px; letter-spacing: .12em; }
  .mobile-panel-label .nav-new { font-family: "Inter", sans-serif; }
  .mobile-panel a:last-child { border-bottom: 0; }
  .mobile-panel .icon { width: 15px; height: 15px; color: var(--text-3); }
  .hero-inner { grid-template-columns: 1fr; align-items: start; gap: 36px; padding: 50px 0 44px; }
  .hero h1 { font-size: clamp(36px, 6.6vw, 50px); }
  .hero-lead { font-size: 15.5px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { justify-self: start; max-width: 560px; }
  .hero-models { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 0 24px; }
  .model-list { justify-content: flex-start; }
  .product-index { padding: 72px 0; }
  .index-head { display: block; }
  .index-head .head-note { display: none; }
  .index-head .section-head { margin-bottom: 30px; }
  .index-row { grid-template-columns: 44px 1fr 32px; gap: 16px; padding: 22px 0; }
  .index-tags { display: none; }
  .index-row:hover { padding-left: 0; padding-right: 0; background: transparent; }
  .architecture { padding: 72px 0; }
  .arch-head { display: block; }
  .arch-head .head-note { display: none; }
  .arch-head .section-head { margin-bottom: 34px; }
  .arch-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
  .arch-step { padding: 0 24px; }
  .arch-step:nth-child(odd) { padding-left: 0; border-left: 0; }
  .arch-step:last-child { padding-right: 24px; }
  .flagship { padding: 76px 0; }
  .flag-head { grid-template-columns: 1fr; align-items: start; gap: 24px; margin-bottom: 32px; }
  .flag-aside { align-items: flex-start; }
  .flag-body { grid-template-columns: 1fr; gap: 32px; }
  .agent-card { margin-left: 0; max-width: 100%; }
  .mu-figure b { font-size: 34px; }
  .mode-strip { align-items: flex-start; flex-direction: column; gap: 12px; }
  .mode-strip p { max-width: none; }
  .mode-num { width: 100%; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--border); text-align: left; }
  .mode-num span { display: block; margin: 5px 0 0; }
  .contact-hero { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 48px; }
  .contact-info { max-width: 100%; justify-self: stretch; }
  .policy-band { grid-template-columns: 1fr; gap: 14px; }
  .repo-entry { gap: 24px; }
  .repo-stats { gap: 24px; }
  .footer-main { grid-template-columns: 1.4fr .7fr .7fr; gap: 32px; }
  .p-hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 40px 0 48px; }
  .p-panel { align-items: flex-start; }
  .p-info { grid-template-columns: 1fr; gap: 40px; }
  .p-top { padding-top: 22px; }
  .p-code { display: none; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .notice-inner { height: 42px; gap: 8px; }
  .notice-label, .notice-more { display: none; }
  .notice-text { font-size: 11px; }
  .notice-icon { width: 22px; height: 22px; }
  .site-header { height: 62px; }
  .mobile-panel { top: 62px; }
  .mobile-panel { top: 62px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-en { font-size: 13px; }
  .brand-cn { font-size: 9px; }
  .nav-cta { display: none; }
  .hero-inner { padding: 40px 0 36px; gap: 34px; }
  .hero h1 { font-size: 36px; line-height: 1.18; }
  .hero-lead { font-size: 14px; line-height: 1.9; }
  .hero-announce { font-size: 11px; }
  .announce-tag { font-size: 11px; padding: 3px 9px; }
  .hero-eyebrow { margin-top: 22px; font-size: 10.5px; letter-spacing: .1em; }
  .hero-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-points { gap: 8px 14px; font-size: 11.5px; margin-top: 24px; }
  .hero-models p { font-size: 11px; }
  .model-list { gap: 8px 16px; font-size: 12px; }
  .console-float { display: none; }
  .console-row small { font-size: 9.5px; }
  .console-code { font-size: 9px; }
  .index-title b { font-size: 19px; }
  .index-title em { font-size: 8.5px; }
  .index-desc { font-size: 12.5px; }
  .index-arrow { display: none; }
  .index-row { grid-template-columns: 30px 1fr; gap: 12px; }
  .section-head h2 { font-size: 28px; }
  .section-head p { font-size: 14px; }
  .arch-grid { grid-template-columns: 1fr; gap: 28px; }
  .arch-step, .arch-step:last-child { padding: 0 0 0 18px; border-left: 1px solid var(--border); }
  .arch-step:first-child { padding-left: 18px; border-left: 1px solid var(--border); }
  .arch-en { margin-top: 10px; }
  .flag-head h2 { font-size: 38px; }
  .flag-desc { font-size: 14px; }
  .flag-actions { flex-wrap: wrap; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap { padding: 17px 15px; }
  .topics-grid { grid-template-columns: 1fr; }
  .path-grid { grid-template-columns: 1fr; }
  .p-list.cols-2 { grid-template-columns: 1fr; }
  .topic { padding: 18px 16px; }
  .policy-band { padding: 20px 18px; }
  .policy-band p { font-size: 12.5px; }
  .p-repo { padding-top: 28px; }
  .repo-entry { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .repo-stats { gap: 26px; }
  .repo-go { display: none; }
  .c-row { grid-template-columns: 80px 1fr; gap: 12px; }
  .contact-hero .p-actions, .contact-hero .p-actions .btn { width: 100%; }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; padding: 44px 0 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; justify-content: center; padding: 18px 0; }
  .footer-bottom-links { display: none; }
  .p-hero h1 { font-size: 30px; }
  .p-hero h1 br { display: block; }
  .p-block { padding: 40px 0; }
  .p-info { padding: 40px 0; }
  .p-meta-row { grid-template-columns: 82px 1fr; gap: 12px; }
  .p-next { flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px 0 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== 13-faq.css ===== */
/* ============================================================
   FAQ / GEO 问答模块
   ============================================================ */
.faq-section { padding: 96px 0; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.faq-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.faq-head .section-head { margin-bottom: 0; }
.faq-head .head-note { margin-bottom: 8px; color: var(--text-3); font-family: "Inter", sans-serif; font-size: 11px; letter-spacing: .12em; white-space: nowrap; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.faq-card { position: relative; min-width: 0; padding: 24px 24px 24px 58px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.faq-card:hover { border-color: var(--border-strong); }
.faq-num { position: absolute; left: 20px; top: 26px; color: var(--accent); font-family: "Inter", sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .08em; }
.faq-card h3 { margin: 0; color: var(--text); font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.55; }
.faq-card p { margin: 8px 0 0; color: var(--text-2); font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.faq-card a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.faq-card a:hover { color: var(--accent-hover); }
.faq-block { padding-top: 56px; padding-bottom: 56px; }
.faq-block .faq-grid { margin-top: 0; }

@media (max-width: 760px) {
  .faq-section { padding: 72px 0; }
  .faq-head { display: block; margin-bottom: 26px; }
  .faq-head .head-note { display: inline-block; margin-top: 14px; }
  .faq-grid { grid-template-columns: 1fr; gap: 10px; }
  .faq-card { padding: 20px 20px 20px 50px; border-radius: 12px; }
  .faq-num { top: 22px; left: 18px; }
  .faq-card h3 { font-size: 15px; }
  .faq-card p { font-size: 12.5px; }
  .faq-block { padding-top: 42px; padding-bottom: 42px; }
}

/* ===== 14-error.css ===== */
/* ============================================================
   404 页面
   ============================================================ */
.error-view { min-height: calc(100vh - 68px - 62px); padding: 120px 0 140px; background: radial-gradient(760px 480px at 80% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 65%), var(--bg); }
.error-inner { max-width: 640px; }
.error-view h1 { margin: 20px 0 0; font-size: clamp(40px, 6vw, 68px); line-height: 1.1; letter-spacing: -.055em; }
.error-view p { max-width: 520px; margin: 22px 0 0; color: var(--text-2); font-size: 15px; line-height: 1.85; }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.error-actions .btn { height: 48px; padding: 0 22px; border-radius: 12px; }

@media (max-width: 640px) {
  .error-view { padding: 76px 0 96px; }
  .error-actions { display: grid; grid-template-columns: 1fr; }
  .error-actions .btn { width: 100%; }
}
