/* CVUAV 站群共用样式 · 品牌层（www.cvuav.com 与 tools.cvuav.com 共用）
 *
 * 发布时 sites/deploy.sh 把 sites/assets/ 整目录各拷一份到两个站的根, 两边都按 /assets/cvuav.css 引用——
 * 页头、页脚、按钮、卡片、表格在这里只有一份实现, 两个站不会各自走样。
 * 文档站 wiki.cvuav.com 是 VitePress 站点, 在 theme/style.css 里镜像同一套令牌值与页头页脚版式。
 *
 * 各站自己的页面样式另放一份, 排在本文件之后加载:
 *   官网   www/cvuav.css     (产品页版本对比卡、联系卡、指示灯圆点等)
 *   工具站 tools/tools.css   (工具导航、目录卡片、解析器面板等)
 *
 * 版式参照 micoair 的站点体系(2026-11-25 用户指定): 64px 页头、居中导航、右侧胶囊按钮、
 * 单行深色页脚、正文 16px/28px。配色用 CVUAV 自己的品牌色, 字体用系统字体栈(Inter 在前, 不加载外部字体)。
 *
 * 零外部依赖: 无字体 CDN, 无 @import, 无第三方脚本。
 * 页头页脚的标记段由 www_dev.py chrome 生成、check 校验各页逐字节一致——不要手改某一页的页头页脚。
 *
 * 结构: 令牌 → 基础 → 布局 → 页头 → 页脚 → 通用组件 → 页头大区块与锚点条 → 主站首页区块 → 响应式 → 打印
 * ========================================================================= */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 色彩: 品牌蓝系(取自 Logo 的 CV 渐变) */
  --brand: #0284c7;                  /* 品牌蓝: 色条、圆点、焦点环等装饰用法 */
  --brand-solid: #027ac7;            /* 品牌蓝·上面压白字的实底: 比 --brand 略深, 白字对比 4.55:1 */
  --brand-ink: #0369a1;              /* 品牌深蓝: 正文里的链接、当前项(对白底 5.9:1) */
  --brand-deep: #075985;             /* 更深一层: 悬停、表头文字 */
  --brand-soft: #e8f3fb;             /* 品牌浅底: 标签、当前项高亮 */
  --brand-ring: rgba(2, 132, 199, 0.28);

  --accent: #0d9488;                 /* 青: 「本地广播」路径、仅广播版 */
  --accent-soft: #e6f6f4;
  --warn: #966b1f;                   /* 琥珀: 已到期、注意(白底 4.9:1) */
  --warn-soft: #f7f0df;
  --no: #a33d43;                     /* 红: 表格中的「不提供」、错误(白底 6.6:1) */
  --no-soft: #f8e9ea;
  --ok: #2f7558;
  --ok-soft: #e8f2ed;

  /* 中性 */
  --bg: #ffffff;
  --bg-soft: #f4f6f8;                /* 浅底区块、胶囊按钮底 */
  --bg-sunk: #e9eef3;                /* 更深一档的浅底、交错卡片底 */
  --text: #172033;                   /* 正文: 深藏青 */
  --text-2: #5e6a77;                 /* 次要文字(白底 5.5:1) */
  --text-3: #6b7787;                 /* 辅助文字(白底 4.6:1; 浅底区块上 4.1:1, 只用于不成句的小字) */
  --border: #d7dee5;
  --border-strong: #b8c3ce;
  --tbl-head: #eaf1ff;               /* 表头浅蓝 */
  --tbl-stripe: #f8faff;             /* 表格斑马纹 */

  /* 深色区块(页脚、主视觉、深色按钮)用这组 */
  --dark: #172033;
  --on-dark: #ffffff;
  --on-dark-2: #c9d0da;
  --on-dark-3: #98a3b3;

  /* 字号与行高 */
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-aux: 13px;
  --lh: 1.75;

  /* 间距(4px 基准) */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px;  --sp-8: 64px; --sp-9: 96px;

  --radius: 10px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(23, 32, 51, 0.06), 0 1px 3px rgba(23, 32, 51, 0.08);
  --shadow-lift: 0 10px 28px rgba(23, 32, 51, 0.12);
  --shadow-media: 0 28px 72px rgba(23, 32, 51, 0.12);

  --container: 1120px;               /* 内页正文列 */
  --edge: clamp(20px, 4vw, 64px);    /* 页头页脚与通栏区块的左右留白 */
  --nav-h: 64px;

  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Consolas, "Liberation Mono", Menlo, monospace;
}

/* ---------- 2. 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: var(--radius-xs); }
::selection { background: var(--brand-soft); }
code, kbd { font-family: var(--mono); font-size: 0.92em; background: var(--bg-sunk); padding: 1px 6px; border-radius: 5px; }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--sp-6) 0; }
html.nav-open { overflow: hidden; }

/* ---------- 3. 布局 ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-5); }
.section { padding: var(--sp-9) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: var(--on-dark); }

.sec-head { max-width: 760px; margin-bottom: var(--sp-6); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(24px, 2.4vw, 32px); margin-top: var(--sp-3); }
.sec-head .lead { color: var(--text-2); margin-top: var(--sp-3); font-size: 17px; }
.section--dark .sec-head .lead { color: var(--on-dark-2); }

h3.sub { font-size: 20px; margin: var(--sp-6) 0 var(--sp-3); }
h4.sub { font-size: 17px; margin: var(--sp-5) 0 var(--sp-2); }

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: center; }
.stack > * + * { margin-top: var(--sp-4); }
.note { font-size: var(--fs-aux); color: var(--text-3); line-height: 1.65; }
.note--center { text-align: center; }

/* ---------- 4. 页头 ---------- */
/* 品牌块三站相同: Logo(32px) + 加粗站名。导航当前项带一条贴底横线。
   官网(nav--center, micoair 式): 导航按视口居中, 右侧「用户平台」描边胶囊按钮。
   工具站(nav--side, zutils 式): 导航靠右, 不放按钮。 */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
/* 页头内容收进 1440px 居中容器(micoair 的做法, 2026-11-25 实测它的 innerMaxWidth=1440px):
   宽视口下 Logo 不贴屏幕边——1440 视口时 Logo 距边 58px 与参考站一致, 更宽时随容器居中内收(1920 时 304px) */
.nav-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--nav-h); padding: 0 var(--edge); max-width: 1440px; margin: 0 auto; }
.brand { grid-column: 1; justify-self: start; display: inline-flex; align-items: center; gap: 10px; color: var(--text); flex: none; text-decoration: none; }
.brand:hover { color: var(--text); text-decoration: none; }
.brand img { width: 99px; height: 32px; flex: none; object-fit: contain; }
.brand .logo--white { display: none; }
.brand-name { font-size: 18px; font-weight: 700; line-height: 1.2; letter-spacing: 0.01em; color: var(--text); white-space: nowrap; }

.nav-links { grid-column: 2; display: flex; align-items: center; }
.nav-links a {
  position: relative; display: inline-flex; align-items: center; height: var(--nav-h); padding: 0 16px;
  color: var(--text); font-size: 15px; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap; text-decoration: none;
  transition: color .15s;
}
.nav-links a:hover { color: var(--brand-ink); }
.nav-links a[aria-current="page"] { color: var(--brand-ink); font-weight: 600; }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 2px; border-radius: 2px;
  background: var(--brand-solid);
}

.nav-end { grid-column: 3; justify-self: end; display: flex; align-items: center; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 16px;
  border: 1px solid var(--border-strong); border-radius: 999px; background: var(--bg);
  color: var(--text); font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: color .15s, border-color .15s, background .15s;
}
.nav-cta-ico { width: 15px; height: 15px; color: var(--text-3); transition: color .15s; }
.nav-cta:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); text-decoration: none; }
.nav-cta:hover .nav-cta-ico { color: var(--brand-ink); }

/* 工具站: 导航靠右 */
.nav.nav--side .nav-in { display: flex; justify-content: space-between; gap: var(--sp-5); padding: 0 var(--edge); }
.nav.nav--side .brand, .nav.nav--side .nav-links { grid-column: auto; }
.nav.nav--side .nav-links { margin-left: auto; }

/* 汉堡按钮: 仅窄屏显示(见响应式) */
.nav-toggle { display: none; }

/* 跳到主内容(键盘用户) */
.skip { position: absolute; left: -9999px; top: 0; background: var(--brand-solid); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 0 0 var(--radius-xs) 0; }
.skip:focus { left: 0; }

/* ---------- 5. 页脚 ---------- */
/* 官网: 深色单行页脚——左品牌块 / 中 导航 / 右 版权与备案号。备案号链接是备案要求, 各站都必须有。 */
.footer { background: var(--dark); color: var(--on-dark-2); }
.foot-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--sp-4); min-height: 96px; padding: var(--sp-4) var(--edge); max-width: 1440px; margin: 0 auto; }   /* 与页头同一居中容器 */
.foot-brand { grid-column: 1; justify-self: start; }
.foot-brand .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); }
.foot-brand .brand:hover { color: var(--on-dark); }
.foot-brand .brand img { width: 99px; height: 32px; }
.foot-brand .brand .logo--color { display: none; }        /* 深色页脚用反白版 */
.foot-brand .brand-name { color: var(--on-dark); }
.foot-links { grid-column: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.foot-links a { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: var(--radius-xs); color: var(--on-dark-2); font-size: 15px; white-space: nowrap; }
.foot-links a:hover { color: var(--on-dark); background: rgba(255, 255, 255, 0.08); text-decoration: none; }
.foot-legal { grid-column: 3; justify-self: end; display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); font-size: 14px; color: var(--on-dark-3); white-space: nowrap; }
.foot-legal a { color: var(--on-dark-3); }
.foot-legal a:hover { color: var(--on-dark); }
/* 工具站: 一行式浅色页脚, 只有版权与备案号(zutils 式——导航已经在页头) */
.footer--slim { background: transparent; color: var(--text-3); border-top: 1px solid var(--border); }
.foot-slim { display: flex; justify-content: center; padding: 20px var(--sp-4); }
.footer--slim .foot-legal { grid-column: auto; justify-content: center; justify-self: center; }
.footer--slim .foot-legal a { color: var(--text-3); }
.footer--slim .foot-legal a:hover { color: var(--text); }

/* ---------- 6. 通用组件 ---------- */

/* 小引标 */
.kicker { display: inline-block; font-size: var(--fs-aux); font-weight: 600; letter-spacing: 0.1em; color: var(--brand-ink); margin-bottom: var(--sp-2); }
.section--dark .kicker { color: #7dd3fc; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 22px; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--brand-solid); color: #fff; border-color: var(--brand-solid); }
.btn--primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--brand-ink); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); }
.btn--white { background: #fff; color: var(--brand-deep); border-color: #fff; }
.btn--white:hover { background: var(--bg-sunk); color: var(--brand-deep); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn--outline-white:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }
/* 深色胶囊按钮: 主站首页「开始使用」 */
.btn--dark { background: var(--dark); color: #fff; border-color: var(--dark); border-radius: 999px; min-height: 52px; padding: 0 28px; }
.btn--dark:hover { background: #243049; border-color: #243049; color: #fff; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: var(--fs-small); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* 标签: 版本归属(两版皆有 / 完整版)等 */
.tag { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; line-height: 1; }
.tag--both { background: var(--bg-sunk); color: var(--text-2); }
.tag--full { background: var(--brand-soft); color: var(--brand-deep); }
.tag--bcast { background: var(--accent-soft); color: #0f766e; }
.tag--warn { background: var(--warn-soft); color: var(--warn); }
.tag--ok { background: var(--ok-soft); color: var(--ok); }

/* 标准号徽标 */
.std-chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--radius-xs); border: 1px solid var(--border-strong); background: #fff; font-size: var(--fs-small); font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.std-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* 卡片 */
.card { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-5); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); color: inherit; }
a.card { color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s, border-color .15s; }
a.card:hover { box-shadow: var(--shadow-lift); border-color: var(--brand-ring); transform: translateY(-2px); text-decoration: none; color: inherit; }
.card h3 { font-size: 18px; }
.card p { color: var(--text-2); font-size: 15px; }
.card .ico { width: 36px; height: 36px; color: var(--brand); margin-bottom: var(--sp-1); }
.card .ico svg { width: 36px; height: 36px; }
.card ul.checks { margin-top: var(--sp-1); }
.card .go { margin-top: auto; padding-top: var(--sp-3); font-weight: 600; font-size: 15px; color: var(--brand-ink); }
a.card:hover .go { color: var(--brand-deep); }

/* 勾选列表 */
.checks { list-style: none; display: grid; gap: var(--sp-2); }
.checks li { position: relative; padding-left: 26px; color: var(--text-2); font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.52em; width: 16px; height: 16px; background-color: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 11.6 3 8.1l1.1-1.1 2.4 2.4 5.4-5.4L12 5.1z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 11.6 3 8.1l1.1-1.1 2.4 2.4 5.4-5.4L12 5.1z'/%3E%3C/svg%3E") center / contain no-repeat; }
.checks--plain li::before { display: none; }
.checks--plain li { padding-left: 0; }

/* 提示框: 左色条 + 浅底 + 圆角 */
.callout { padding: var(--sp-4) var(--sp-5); border-radius: var(--radius); border: 1px solid var(--border); border-left: 4px solid var(--border-strong); background: var(--bg-soft); font-size: 15px; color: var(--text-2); }
.callout strong { color: var(--text); }
.callout--warn { background: var(--warn-soft); border-color: #ecdfbb; border-left-color: var(--warn); }
.callout--info { background: var(--brand-soft); border-color: #cfe6f6; border-left-color: var(--brand); }
.callout p + p { margin-top: var(--sp-2); }

/* 表格: 外层可横滑; 浅蓝表头 + 斑马纹 + 圆角外框 */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl caption { caption-side: top; text-align: left; padding: var(--sp-4) var(--sp-5) 0; font-weight: 600; color: var(--text-2); font-size: var(--fs-aux); }
.tbl th, .tbl td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.tbl thead th { background: var(--tbl-head); color: var(--brand-deep); font-weight: 600; font-size: var(--fs-aux); white-space: nowrap; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:nth-child(2n) { background: var(--tbl-stripe); }
.tbl tbody tr:hover { background: var(--brand-soft); }
.tbl td:first-child { color: var(--text); font-weight: 500; }
.tbl .dim { color: var(--text-3); }
.tbl .yes { color: var(--ok); font-weight: 600; }
.tbl .no { color: var(--no); }
.tbl .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl--compare th:first-child, .tbl--compare td:first-child { position: sticky; left: 0; background: #fff; z-index: 1; min-width: 150px; }
.tbl--compare thead th:first-child { background: var(--tbl-head); z-index: 2; }
.tbl--compare tbody tr:nth-child(2n) td:first-child { background: #fff; }
.tbl--compare tbody tr:hover td:first-child { background: var(--bg-soft); }

/* 时间线 */
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--sp-5); position: relative; padding-top: var(--sp-2); }
.tl-item { position: relative; padding-top: 22px; }
.tl-item::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--border-strong); }
.tl-item::after { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brand); box-sizing: content-box; }
.tl-item--warn::after { background: var(--warn); box-shadow: 0 0 0 2px var(--warn); }
.tl-item .date { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 17px; display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.tl-item p { color: var(--text-2); font-size: 15px; margin-top: var(--sp-1); }

/* 步骤条(实名登记四步等) */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--sp-5); counter-reset: step; }
.step { position: relative; padding: var(--sp-4) var(--sp-4) var(--sp-4) 58px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: var(--sp-4); top: var(--sp-4); width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step h4 { font-size: 16px; }
.step p { color: var(--text-2); font-size: 15px; margin-top: var(--sp-1); }

/* 数据指标 */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--sp-4); }
.metric { padding: var(--sp-4) var(--sp-5); border-left: 3px solid var(--brand); background: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.metric b { display: block; font-size: clamp(24px, 3vw, 32px); font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: var(--brand-deep); }
.metric span { color: var(--text-2); font-size: var(--fs-small); }

/* 示意图容器 */
.figure { margin: 0; }
.figure img { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.figure figcaption { font-size: var(--fs-aux); color: var(--text-3); margin-top: var(--sp-2); }
.figure--scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.figure--scroll img { min-width: 640px; }

/* CTA 带 */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-5); padding: var(--sp-6) var(--sp-7); border-radius: var(--radius-lg); background: var(--brand-solid); color: #fff; }
.cta-band h3 { font-size: clamp(20px, 2.5vw, 26px); }
.cta-band p { color: rgba(255, 255, 255, 0.92); margin-top: var(--sp-1); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); padding: var(--sp-3) 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; padding-right: 28px; position: relative; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--brand); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-2); padding: var(--sp-2) 0 var(--sp-3); font-size: 15px; }

/* ---------- 7. 页头大区块 ---------- */
.page-hero { padding: var(--sp-9) 0 var(--sp-8); }
.page-hero h1 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.02em; }
.page-hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); margin-top: var(--sp-4); max-width: 38em; }
.page-hero .btn-row { margin-top: var(--sp-5); }
.page-hero .std-row { margin-top: var(--sp-5); }

[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

/* ---------- 8. 主站首页区块(banner 参照 cuav.net: 全宽实景照片 + 居中标题在上 + 产品图中下 + 底部圆点) ---------- */
/* 轮播主视觉: 底图 = banner-bg.jpg(科技硬件场景) + 压暗渐变保证白字可读; 图片缺失时只剩渐变, 仍可用 */
.hero { position: relative; height: clamp(380px, 34vw, 650px); overflow: hidden; color: var(--on-dark);
  background:
    linear-gradient(180deg, rgba(13, 20, 32, 0.32) 0%, rgba(13, 20, 32, 0.08) 46%, rgba(13, 20, 32, 0.48) 100%),
    url("img/banner-bg.jpg") center / cover no-repeat,
    radial-gradient(120% 90% at 50% 0%, #2b3850 0%, #1d2738 55%, #161d2a 100%);
}
.hero-slide { display: none; height: 100%; padding: calc(var(--nav-h) + clamp(16px, 2.6vw, 44px)) var(--edge) 0; text-align: center;
  grid-template-rows: auto auto auto minmax(0, 1fr); justify-items: center; }
.hero-slide:first-child { display: grid; }                 /* 无 JS: 只显示第一张 */
.js .hero-slide { display: none; }
.js .hero-slide.is-active { display: grid; }                /* 有 JS: 由脚本切 is-active */
.hero-kicker { font-size: clamp(12px, 1vw, 14px); letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.72); }
.hero-title { margin-top: 10px; font-size: clamp(26px, 2.1vw, 40px); font-weight: 700; line-height: 1.2; letter-spacing: 0.02em; color: var(--on-dark); text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45); }
.hero-tag { margin-top: 12px; font-size: clamp(13px, 1vw, 16px); letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.85); }
.hero-media { align-self: end; display: flex; align-items: flex-end; justify-content: center; width: min(430px, 44vw); padding-top: var(--sp-3); }
.hero-media img { max-width: 100%; max-height: calc(var(--hero-h) * 0.52); width: auto; height: auto; object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.5)); }
/* 切换控件只在有 JS 且多于一张时由脚本加上 .has-slides 才显示 */
.hero-arrow, .hero-dots { display: none; }
.js .hero.has-slides .hero-arrow { display: block; position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, 0.75); font-size: 40px; line-height: 1; cursor: pointer; }
.js .hero.has-slides .hero-arrow:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.js .hero.has-slides .hero-arrow--prev { left: var(--sp-5); }
.js .hero.has-slides .hero-arrow--next { right: var(--sp-5); }
/* 底部居中圆点(cuav 式): 按钮本体 24px 触控目标, 圆点由 ::before 画 */
.js .hero.has-slides .hero-dots { display: flex; gap: 4px; position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); }
.hero-dots button { width: 24px; height: 24px; border: 0; padding: 0; background: transparent; cursor: pointer; position: relative; }
.hero-dots button::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); transition: background .15s; }
.hero-dots button:hover::before { background: rgba(255, 255, 255, 0.75); }
.hero-dots button[aria-current="true"]::before { background: #fff; }

/* 产品卡片: 两列通栏大卡, 标题在上、产品图贴底 */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px; }
.show-card { display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; background: var(--bg-soft); color: inherit; }
.show-card--alt { background: var(--bg-sunk); }
.show-card--photo { background: #fff; border: 1px solid var(--border); }
.show-card:hover { text-decoration: none; color: inherit; }
.show-head { padding: 88px 40px 0; max-width: 600px; }
.show-card h2 { font-size: clamp(28px, 2.6vw, 36px); font-weight: 700; }
.show-card p { margin-top: 14px; font-size: 18px; color: var(--text-2); }
.show-card .go { margin-top: 18px; font-size: 16px; font-weight: 500; color: var(--brand-ink); }
.show-card:hover .go { text-decoration: underline; text-underline-offset: 4px; }
.show-media { width: 100%; margin-top: var(--sp-5); display: flex; align-items: flex-end; justify-content: center; }
.show-media--photo { padding: 0 13% 5%; }
.show-media--photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: contain; }
.show-media--art { padding: 0 var(--sp-6) var(--sp-6); min-height: 380px; }
.show-media--art img { width: 100%; max-height: 440px; object-fit: contain; }

/* 层级: 产品卡(跨两列, 两个版本嵌在产品之下)在上, 服务/平台卡在下, 各带层级小引标 */
.show-card--wide { grid-column: 1 / -1; }
.show-kicker { display: block; margin-bottom: 12px; font-size: var(--fs-aux); font-weight: 600; letter-spacing: 0.14em; color: var(--brand-ink); }
.show-versions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 1080px; padding: var(--sp-6) 40px 48px; }
.show-ver { display: flex; flex-direction: column; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); color: inherit; text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.show-ver:hover { border-color: var(--brand-ring); box-shadow: var(--shadow-lift); text-decoration: none; color: inherit; }
.show-ver img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.show-ver-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px 4px; text-align: left; }
.show-ver-body b { font-size: 18px; }
.show-ver-body span { font-size: 14px; color: var(--text-2); }
.show-ver-go { padding: 10px 20px 18px; text-align: left; font-size: 14px; font-weight: 600; color: var(--brand-ink); }

/* 通栏两栏区: 左文字 / 右图 */
.band--even .band-in { grid-template-columns: 1fr 1fr; }
.band { padding: 112px var(--edge); }
.band--soft { background: var(--bg-soft); }
.band-in { max-width: 1312px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-8); align-items: center; }
.band-title { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -0.02em; line-height: 1.15; }
.band-sub { margin-top: var(--sp-2); font-size: clamp(20px, 2vw, 26px); font-weight: 700; }
.band .body { margin-top: var(--sp-4); font-size: 17px; color: var(--text-2); }
.band .btn-row { margin-top: var(--sp-6); }
.band-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-media); background: #fff; }
.band--plain .band-media img { box-shadow: none; background: transparent; }

/* ---------- 响应式 · 共用部分 ---------- *//* ---------- 响应式 · 共用部分 ---------- */
@media (max-width: 1100px) {
  .band-in { gap: var(--sp-6); }
}
@media (max-width: 960px) {
  :root { --nav-h: 56px; }
  .section { padding: var(--sp-8) 0; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: var(--sp-5); }
  .page-hero { padding: var(--sp-8) 0 var(--sp-7); }
  .foot-in { grid-template-columns: 1fr; justify-items: center; gap: var(--sp-3); padding: var(--sp-5) var(--sp-4); text-align: center; }
  .foot-brand, .foot-links, .foot-legal { grid-column: 1; justify-self: center; }
  .foot-brand .brand { justify-content: center; }
  /* 手机导航: 有 JS 时折叠为抽屉; 无 JS 时回退为换行显示。
     cvuav.js 的 <head> 内联一行给 <html> 加 js 类; 只有带 js 类时抽屉样式才生效。 */
  .nav-in, .nav.nav--side .nav-in { grid-template-columns: minmax(0, 1fr) auto; padding: 0 var(--sp-4); }
  .brand { grid-column: 1; gap: 8px; }
  .brand img { width: 80px; height: 26px; }
  .brand-name { font-size: 16px; }
  .nav-links { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; justify-content: center; }
  .nav-end { grid-column: 2; grid-row: 1; }
  .nav.nav--side .nav-links { margin-left: 0; }
  .nav-toggle { display: none; }
  .js .nav-in { display: flex; flex-wrap: nowrap; height: var(--nav-h); padding: 0 var(--sp-4); }
  .js .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--text); cursor: pointer; border-radius: var(--radius-xs); }
  .js .nav-toggle svg { width: 24px; height: 24px; }
  .js .nav-links {
    display: none; position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0; padding: var(--sp-3) var(--sp-4) var(--sp-5);
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lift);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .js .nav-links.is-open { display: flex; }
  .js .nav-links a { height: 48px; padding: 0 var(--sp-3); color: var(--text); font-size: 16px; }
  .js .nav-links a[aria-current="page"] { color: var(--brand-ink); background: var(--brand-soft); }
  .js .nav-links a[aria-current="page"]::after { display: none; }      /* 抽屉里不要贴底横线 */
  .js .nav-cta { height: 34px; }
  .js .nav-in .nav-end { order: 2; }               /* 手机: 「用户平台」按钮在前, 菜单按钮贴最右 */
  .js .nav-in .nav-toggle { order: 3; }
  /* 首页 banner: 窄屏加高以容纳内容; 产品图限高, 不压住标题与副标语 */
  .hero { height: clamp(340px, 62vw, 460px); }
  .hero-slide { padding-top: calc(var(--nav-h) + 20px); }
  .hero-title { font-size: 24px; }
  .hero-tag { font-size: 13px; margin-top: 8px; }
  .hero-media { width: min(250px, 56vw); padding-top: var(--sp-2); }
  .hero-media img { max-height: 170px; }
  .showcase { grid-template-columns: 1fr; padding: var(--sp-3); }
  .show-versions { grid-template-columns: 1fr; padding: var(--sp-4) var(--sp-4) var(--sp-5); }
  .show-head { padding-top: var(--sp-8); }
  .band { padding: var(--sp-8) var(--sp-4); }
  .band-in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --fs-body: 15px; }
  .container { padding: 0 var(--sp-4); }
  .section { padding: var(--sp-7) 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .foot-legal { gap: var(--sp-3); white-space: normal; justify-content: center; }
  .page-hero { padding: var(--sp-7) 0 var(--sp-6); }
  .cta-band { padding: var(--sp-5); }
  .cta-band .btn { width: 100%; }
  .card { padding: var(--sp-4); }
  .metric b { font-size: 24px; }
  .js .hero.has-slides .hero-arrow { display: none; }
}

@media print {
  .nav, .cta-band, .nav-toggle, .hero-arrow, .hero-dots { display: none !important; }
  body { color: #000; }
  a { color: #000; }
}
