* { box-sizing: border-box; }

html {
  scrollbar-gutter: stable;
}

:root {
  /* 顶栏/页脚专用深蓝，勿改用于内容区主色 */
  --header-bg: #0B1F3A;
  --footer-bg: #0B1F3A;

  /* 内容区配色：更干净的冷灰底 + 亮蓝强调 */
  --brand: #1F4E9B;
  --brand-dark: #163A78;
  --brand-soft: #F0F5FC;
  --accent: #2F6FED;
  --accent-soft: #E8F0FE;
  --line: #E2E8F0;
  --line-soft: #EEF2F7;
  --text: #1A2332;
  --muted: #64748B;
  --bg: #F7F9FC;
  --white: #fff;
  --sky: #3B6DB5;
  --sky-deep: #1F4E9B;
  --panel: #FFFFFF;
  --panel-soft: #F3F6FB;
  --max: 1100px;
  --header-h: 48px;
}

body {
  margin: 0;
  font: 14px/1.6 "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--brand-dark); }

/* ---------- Header（颜色保持深蓝不变） ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.logo:hover { color: #fff; }

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

/* 移动端侧栏导航（由 header.js 注入） */
.nav-drawer-backdrop {
  display: none;
}

.nav-drawer {
  display: none;
}

.logo-text {
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #fff;
}

.logo-sub {
  display: block;
  font-size: 9px;
  color: rgba(255,255,255,.55);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: stretch;
  gap: 2px;
  height: 100%;
}

.main-nav > a,
.main-nav .nav-mega-link {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  border: 0;
  outline: none;
  box-shadow: none;
  border-radius: 3px;
  background: transparent;
  text-decoration: none;
}

.main-nav > a:hover,
.main-nav > a.active,
.main-nav > a:focus,
.main-nav > a:focus-visible,
.main-nav .nav-mega-link:hover,
.main-nav .nav-mega-link.active,
.main-nav .nav-mega-link:focus,
.main-nav .nav-mega-link:focus-visible,
.nav-mega.is-open .nav-mega-link {
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 0;
  outline: none;
  box-shadow: none;
}

.nav-mega {
  position: static;
  display: flex;
  align-items: stretch;
  height: 100%;
}

.nav-mega .nav-mega-link {
  height: 100%;
  box-sizing: border-box;
}

/* 产品中心下拉列表 */
.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 200;
  background: #f7f8fa;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.12);
}

.mega-menu[hidden] { display: none; }

.mega-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 28px;
}

.mega-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.mega-tab {
  height: 34px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  position: relative;
}

.mega-tab.is-active {
  color: var(--accent);
  font-weight: 600;
}

.mega-tab.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background: var(--accent);
}

.mega-all {
  margin-left: auto;
  font-size: 13px;
  color: var(--accent);
  padding: 0 4px;
}

.mega-all:hover { color: var(--brand-dark); }

.mega-panel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 24px 32px;
}

.mega-col-title {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.mega-col-title:hover { color: var(--brand-dark); }

.mega-col-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-col-links a {
  font-size: 13px;
  color: #4a5568;
  padding: 0;
  border-radius: 0;
  background: none;
}

.mega-col-links a:hover {
  color: var(--accent);
  background: none;
}

.mega-empty {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
  padding: 12px 0;
}

.mega-muted {
  font-size: 12px;
  color: #94a3b8;
}

.btn {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  background: none;
}

.btn-outline {
  border-color: rgba(255,255,255,.45);
  color: #fff;
  background: transparent;
}
.btn-outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,.1);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  flex-shrink: 0;
}

.hdr-lang,
.hdr-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.85);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.hdr-lang:hover,
.hdr-search-btn:hover,
.hdr-lang[aria-expanded="true"],
.hdr-search-btn[aria-expanded="true"] {
  color: #fff;
  background: rgba(255,255,255,.1);
}

.hdr-search { position: relative; }

.hdr-search-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  display: flex;
  gap: 6px;
  width: min(320px, calc(100vw - 32px));
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.18);
}

.hdr-search-panel[hidden] { display: none; }

.hdr-search-panel input {
  flex: 1;
  min-width: 0;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  font: inherit;
  font-size: 13px;
  outline: none;
}

.hdr-search-panel input:focus { border-color: var(--brand); }

.hdr-search-go {
  height: 34px;
  padding: 0 12px;
  border: 0;
  background: var(--header-bg);
  color: #fff;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.hdr-search-go:hover { background: #163456; }

/* ---------- Banner ---------- */
.banner-full {
  position: relative;
  width: 100%;
  height: clamp(200px, 28vw, 360px);
  overflow: hidden;
  background: linear-gradient(120deg, #1A3A6B 0%, #2B5FA8 55%, #5B8FD4 100%);
}

.banner-full.banner-home {
  height: clamp(340px, 52vw, 640px);
}

.banner-full img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Home carousel ---------- */
.hero-carousel .hero-track {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tabs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 44px;
  background: transparent;
}

.hero-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.72);
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s;
  text-shadow: 0 1px 3px rgba(0,0,0,.45);
}

.hero-tab:hover {
  color: #fff;
}

.hero-tab.is-active {
  color: #fff;
}

.hero-tab-num {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.hero-tab-label {
  white-space: nowrap;
}

.hero-tab::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 3px;
  background: transparent;
  transition: background 0.2s;
}

.hero-tab.is-active::after {
  background: var(--accent);
}

.banner-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 clamp(24px, 8vw, 120px);
  padding-left: clamp(72px, 18vw, 280px);
  color: #fff;
  background: linear-gradient(90deg, rgba(22, 58, 120, 0.42) 0%, rgba(47, 111, 237, 0.14) 55%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-carousel .banner-caption {
  padding-bottom: 56px;
}

.banner-caption h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.25;
}

.banner-caption .banner-tag {
  margin: 0 0 8px;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #A8C8FF;
}

.banner-caption p {
  margin: 0;
  max-width: 520px;
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.75;
  color: rgba(255,255,255,.84);
}

.banner-caption p + p { margin-top: 2px; }
.banner-caption strong { color: #fff; font-weight: 600; }

/* Tastek-like split rows: text left, image right */
.page-home .site-footer { margin-top: 0; }
.page-services .site-footer { margin-top: 0; }

.split-stack {
  width: 100%;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 0 24px;
}

.split-row {
  display: grid;
  grid-template-columns: 2fr 3fr;
  min-height: clamp(260px, 32vw, 380px);
  background: var(--panel);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(22, 58, 120, 0.04);
}

/* 偶数行右文左图时，仍保持文字侧较窄 */
.split-row:nth-child(even) {
  grid-template-columns: 3fr 2fr;
}

/* 偶数行：右文左图 */
.split-row:nth-child(even) .split-text { order: 2; }
.split-row:nth-child(even) .split-media { order: 1; }

a.split-row:hover { color: inherit; }

.split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  padding: clamp(28px, 4vw, 56px) clamp(24px, 5vw, 72px);
  background: var(--panel);
}

.split-text h2 {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
}

.split-text p {
  margin: 0;
  max-width: 460px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.split-text strong {
  color: var(--brand-dark);
  font-weight: 600;
}

.split-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 18px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 13px;
  background: transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

a.split-row:hover .split-btn,
.split-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.split-media {
  position: relative;
  background: linear-gradient(145deg, #1F4E9B 0%, #2B5FA8 100%);
  min-height: 220px;
  overflow: hidden;
}

.split-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

a.split-row:hover .split-media img {
  transform: scale(1.03);
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.stats-band {
  background: linear-gradient(135deg, #1F4E9B 0%, #2F6FED 100%);
  color: #fff;
  padding: 64px 24px;
}

.stats-intro h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
}

.stats-intro p {
  margin: 0 0 36px;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255,255,255,.72);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,.18);
}

.stat-num {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 14px 0 6px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.65);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  padding: 16px 0;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 8px; color: #ccc; }

/* ---------- Download library ---------- */
.page-download {
  background: var(--bg);
}

.page-download .dl-wrap,
.page-products .pc-wrap {
  background: transparent;
}

/* 取消文件列表白底卡片，与页面灰底连成一片 */
.page-download .dl-panel {
  background: transparent;
  border: 0;
  padding: 8px 0 20px;
  width: 100%;
}

.page-download .site-footer {
  margin-top: 0;
}

.dl-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 64px;
}

.dl-wrap-top {
  padding-bottom: 0;
}

/* 通栏天蓝浅底：铺满视口；选项靠左、宽度收窄 */
.dl-filter-fullbleed {
  width: 100%;
  background: var(--accent-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dl-filter-bar {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.dl-filter-bar label {
  flex: 0 0 auto;
  border-right: 1px solid var(--line);
}

.dl-filter-bar label:last-child { border-right: 0; }

.dl-filter-bar select {
  width: 140px;
  height: 34px;
  padding: 0 28px 0 14px;
  border: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237a8b97' stroke-width='1.4' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  font: inherit;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  outline: none;
}

.dl-search-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 16px 0 8px;
}

.dl-search-input {
  position: relative;
  width: 240px;
}

.dl-search-input svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.dl-search-input input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--line);
  font: inherit;
  font-size: 13px;
  outline: none;
  background: #fff;
}

.dl-search-input input:focus { border-color: var(--brand); }

.dl-summary {
  font-size: 13px;
  color: var(--muted);
  min-width: 7em;
  white-space: nowrap;
}

.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
  border-top: 1px solid var(--line-soft);
  margin-top: 8px;
  min-height: 320px;
  align-content: start;
}

.skel {
  background: linear-gradient(90deg, #eef1f5 25%, #f7f8fa 37%, #eef1f5 63%);
  background-size: 400% 100%;
  animation: skel-shine 1.2s ease infinite;
  border-radius: 2px;
}

@keyframes skel-shine {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

.dl-skel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.dl-skel-card .skel-line {
  height: 14px;
  margin-bottom: 10px;
}

.dl-skel-card .skel-line.w80 { width: 80%; }
.dl-skel-card .skel-line.w55 { width: 55%; }
.dl-skel-card .skel-btn {
  width: 72px;
  height: 30px;
  flex-shrink: 0;
}

.dl-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.dl-card-body { min-width: 0; flex: 1; }

.dl-card-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  word-break: break-all;
}

.dl-card-meta {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.dl-card-meta .sep {
  margin: 0 5px;
  color: var(--line);
}

.dl-btn {
  flex-shrink: 0;
  padding: 6px 12px;
  border: 1px solid var(--brand);
  color: var(--brand-dark);
  font-size: 13px;
  background: #fff;
  white-space: nowrap;
}

.dl-btn:hover {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.dl-empty {
  grid-column: 1 / -1;
  padding: 56px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.dl-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  min-height: 36px;
}

.pager-btn {
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
}

.pager-btn:hover:not(:disabled):not(.active) {
  border-color: var(--brand);
  color: var(--brand);
}

.pager-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.pager-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.pager-ellipsis {
  color: #aaa;
  font-size: 13px;
  padding: 0 2px;
}

/* ---------- Services directory ---------- */
.page-services {
  background: var(--bg);
}

.svc-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px 64px;
}

.svc-wrap .breadcrumb {
  padding: 4px 0 20px;
}

.svc-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.svc-group-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: none;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.svc-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 16px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.svc-item:hover {
  border-color: #c5d4ef;
  background: #fbfdff;
  color: inherit;
}

.svc-item:hover .svc-go {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.svc-item-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.svc-item-body {
  min-width: 0;
}

.svc-item-body h3 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  word-break: break-all;
}

.svc-host {
  margin: 0 0 4px;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.3;
}

.svc-desc {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.svc-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  background: #fff;
  flex-shrink: 0;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

/* ---------- Docs center ---------- */
.page-docs {
  background: var(--bg);
}

.page-docs .site-footer {
  margin-top: 0;
}

#docs-hub[hidden] {
  display: none !important;
}

.docs-hub {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px 64px;
}

.docs-hub-inner .breadcrumb {
  padding: 4px 0 16px;
}

.docs-hub-title {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 650;
  color: #0b1f3a;
}

.docs-hub-group + .docs-hub-group {
  margin-top: 28px;
}

.docs-hub-cat {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.docs-hub-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.docs-hub-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.docs-hub-card:hover {
  border-color: #c5d4ef;
  background: #fbfdff;
  color: inherit;
}

.docs-hub-card-media {
  width: 72px;
  height: 72px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.docs-hub-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.docs-hub-card-body h3 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 650;
  color: var(--text);
}

.docs-hub-model {
  margin: 0 0 6px;
  font-size: 12px;
  color: #94a3b8;
}

.docs-hub-desc {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.docs-hub-go {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.docs-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: calc(100vh - var(--header-h) - 52px);
  max-width: 1440px;
  margin: 0 auto;
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
}

.docs-shell[hidden] {
  display: none !important;
}

.docs-side {
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow: hidden;
}

.docs-side-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 14px 12px;
  border-bottom: 1px solid var(--line-soft);
  flex-shrink: 0;
}

.docs-product-head {
  min-width: 0;
  flex: 1;
}

.docs-product-meta {
  min-width: 0;
}

.docs-product-cat {
  margin: 0 0 4px;
  font-size: 11px;
  color: #94a3b8;
}

.docs-product-meta strong {
  display: block;
  font-size: 15px;
  font-weight: 650;
  color: #0b1f3a;
  line-height: 1.35;
}

.docs-product-meta span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.docs-back {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
}

.docs-back:hover {
  color: var(--brand-dark);
}

.docs-side-close {
  display: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.docs-tree {
  flex: 1;
  overflow-y: auto;
  padding: 12px 10px 24px;
  -webkit-overflow-scrolling: touch;
}

.docs-sec + .docs-sec {
  margin-top: 14px;
}

.docs-sec-title {
  padding: 4px 10px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

.docs-sec-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.docs-link {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: #334155;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}

.docs-link:hover {
  background: var(--panel-soft);
  color: var(--brand);
}

.docs-link.is-active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.docs-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.docs-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px 0;
}

.docs-nav-toggle {
  display: none;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.docs-crumb {
  padding: 0;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-article {
  flex: 1;
  padding: 20px 28px 40px;
  max-width: 860px;
}

.docs-article h1 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 650;
  color: #0b1f3a;
  line-height: 1.3;
}

.docs-article h2 {
  margin: 28px 0 12px;
  font-size: 18px;
  font-weight: 650;
  color: var(--text);
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}

.docs-article h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.docs-article p,
.docs-article li {
  font-size: 15px;
  line-height: 1.75;
  color: #334155;
}

.docs-article p { margin: 0 0 12px; }
.docs-article ul,
.docs-article ol { margin: 0 0 16px; padding-left: 1.35em; }
.docs-article li { margin: 4px 0; }

.docs-article a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.docs-article code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: #eef2f7;
  padding: 1px 6px;
  border-radius: 4px;
}

.docs-article pre {
  margin: 0 0 16px;
  padding: 14px 16px;
  background: #0b1f3a;
  color: #e2e8f0;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.55;
}

.docs-article pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.docs-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 14px;
  background: #fff;
}

.docs-article th,
.docs-article td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}

.docs-article th {
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 600;
}

.docs-article blockquote {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: #334155;
}

.docs-article img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 8px 0 16px;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: #fff;
}

.docs-article p > img {
  margin-top: 4px;
}

.docs-callout {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
}

.docs-callout.warn {
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.docs-empty {
  padding: 40px 8px;
  color: var(--muted);
  font-size: 14px;
}

.docs-skel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}

.docs-pager {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 16px 28px 28px;
}

.docs-pager-inner {
  max-width: 860px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.docs-pager-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  min-height: 64px;
}

.docs-pager-btn:hover {
  border-color: #c5d4ef;
  background: #fbfdff;
  color: inherit;
}

.docs-pager-btn span {
  font-size: 12px;
  color: var(--muted);
}

.docs-pager-btn strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.docs-pager-btn.next {
  text-align: right;
  justify-self: end;
  width: 100%;
}

.docs-backdrop {
  display: none;
}

/* ---------- Footer（颜色保持深蓝不变） ---------- */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,.78);
  padding: 14px 24px 12px;
  margin-top: 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px 24px;
  align-items: start;
}

.footer-brand {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.footer-inner > div > p {
  font-size: 12px !important;
  line-height: 1.5 !important;
  opacity: 0.75;
}

.footer-col h4 {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li { margin-bottom: 3px; }
.footer-col a { color: rgba(255,255,255,.65); font-size: 12px; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: 1200px;
  margin: 10px auto 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
}

.footer-bottom p { margin: 0; }

.footer-bottom.simple {
  border: 0;
  margin-top: 0;
  padding-top: 0;
}

/* ---------- Product center ---------- */
.page-products {
  background: #fff;
}

.page-products .site-footer { margin-top: 0; }

.pc-topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.pc-topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.pc-topbar .pc-select select {
  height: 32px;
  padding: 0 28px 0 10px;
  border: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7785' stroke-width='1.4' fill='none'/%3E%3C/svg%3E") no-repeat right 4px center;
  appearance: none;
  font: inherit;
  font-size: 13px;
  color: var(--text);
  min-width: 100px;
  cursor: pointer;
}

.pc-summary {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
  min-width: 8em;
  white-space: nowrap;
  text-align: right;
}

.pc-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px 56px;
}

.pc-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.pc-filters {
  position: sticky;
  top: 60px;
  background: #fff;
  min-height: 320px;
}

.pc-side-search {
  position: relative;
  margin-bottom: 12px;
}

.pc-side-search input {
  width: 100%;
  height: 38px;
  padding: 0 36px 0 12px;
  border: 1px solid var(--line);
  font: inherit;
  font-size: 13px;
  outline: none;
  background: #fff;
}

.pc-side-search input:focus { border-color: var(--accent); }

.pc-side-search svg {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.pc-filter-title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 14px;
  border: 0;
  background: #4a5568;
  color: #fff;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.pc-filter-title[aria-expanded="false"] .pc-filter-chevron {
  transform: rotate(-90deg);
}

.pc-filter-chevron {
  font-size: 12px;
  transition: transform 0.2s;
}

.pc-filter-body {
  border: 1px solid var(--line);
  border-top: 0;
  background: #fff;
}

.pc-filter-body[hidden] { display: none; }

.pc-reset-row {
  display: flex;
  justify-content: flex-end;
  padding: 8px 12px 4px;
}

.pc-reset-link {
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}

.pc-reset-link:hover { text-decoration: underline; }

.pc-cat-list { padding: 0 0 8px; }

.pc-cat-item { border-top: 1px solid var(--line-soft); }

.pc-cat-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border: 0;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}

.pc-cat-head:hover { background: var(--brand-soft); }

.pc-cat-item.is-active > .pc-cat-head,
.pc-cat-item.is-open > .pc-cat-head {
  color: var(--accent);
  font-weight: 600;
}

.pc-cat-name em,
.pc-sub-item em {
  font-style: normal;
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}

.pc-cat-toggle {
  width: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
}

.pc-cat-subs {
  padding: 0 14px 12px 18px;
  background: #fafbfc;
}

.pc-cat-subs[hidden] { display: none; }

.pc-sub-title {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.pc-sub-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
}

.pc-sub-item input {
  width: 14px;
  height: 14px;
  accent-color: var(--accent);
}

.pc-sub-empty {
  font-size: 12px;
  color: var(--muted);
  padding: 4px 0;
}

.pc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  min-height: 420px;
  align-content: start;
}

.pc-skel-card {
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
}

.pc-skel-card .skel-media {
  aspect-ratio: 1 / 1;
  background: #f0f2f5;
}

.pc-skel-card .skel-body { padding: 12px; }

.pc-skel-card .skel-line {
  height: 12px;
  margin-bottom: 10px;
}

.pc-skel-card .skel-line.w90 { width: 90%; }
.pc-skel-card .skel-line.w60 { width: 60%; }

.pc-card {
  display: flex;
  flex-direction: column;
  background: #f7f8fa;
  border: 1px solid transparent;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.pc-card:hover {
  color: inherit;
  background: #fff;
  border-color: #C5D4EA;
  box-shadow: 0 6px 18px rgba(47, 111, 237, 0.08);
}

.pc-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #eef1f5;
  overflow: hidden;
}

.pc-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.pc-card:hover .pc-card-media img,
.pc-card:focus-visible .pc-card-media img { transform: scale(1.03); }

.pc-card-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 14px 12px;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.05) 20%, rgba(11, 31, 58, 0.82) 100%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.pc-card:hover .pc-card-hover,
.pc-card:focus-visible .pc-card-hover {
  opacity: 1;
}

.pc-card-hover p {
  margin: 0;
  color: #fff;
  font-size: 12px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (hover: none) {
  .pc-card:focus-visible .pc-card-hover { opacity: 1; }
}

.pc-card-body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
}

.pc-card-body h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.pc-card-name {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.pc-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.pc-card-tags span {
  padding: 2px 8px;
  background: #f0f2f5;
  color: #667085;
  font-size: 11px;
  line-height: 1.6;
}

.pc-empty {
  grid-column: 1 / -1;
  padding: 48px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  border: 1px dashed var(--line);
}

.pc-note {
  margin: 28px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- Solutions ---------- */
.page-solutions {
  background: #fff;
}

.page-solutions .site-footer { margin-top: 0; }

.sol-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 64px;
}

.sol-head {
  margin-bottom: 24px;
}

.sol-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.sol-filter {
  height: 34px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.sol-filter:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.sol-filter.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  min-height: 360px;
  align-content: start;
}

.sol-skel {
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
}

.sol-skel .skel-media {
  aspect-ratio: 16 / 10;
  background: #eef1f5;
}

.sol-skel .skel-body { padding: 16px; }

.sol-skel .skel-line {
  height: 12px;
  margin-bottom: 10px;
}

.sol-skel .skel-line.w90 { width: 90%; }
.sol-skel .skel-line.w60 { width: 60%; }

.sol-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  color: inherit;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sol-card:hover {
  color: inherit;
  border-color: #C5D4EA;
  box-shadow: 0 8px 22px rgba(47, 111, 237, 0.10);
}

.sol-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #1F4E9B 0%, #2F6FED 100%);
  overflow: hidden;
}

.sol-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.sol-card:hover .sol-card-media img { transform: scale(1.04); }

.sol-card-industry {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 3px 10px;
  background: rgba(11, 31, 58, 0.72);
  color: #fff;
  font-size: 12px;
}

.sol-card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sol-card-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--text);
}

.sol-card-body p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  flex: 1;
}

.sol-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.sol-card-tags span {
  padding: 2px 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 11px;
}

.sol-card-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.sol-empty {
  grid-column: 1 / -1;
  padding: 48px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  border: 1px dashed var(--line);
}

/* ---------- Responsive ---------- */
#products,
#solutions,
#about {
  scroll-margin-top: 56px;
}

@media (max-width: 980px) {
  .docs-hub-cards {
    grid-template-columns: 1fr;
  }

  .docs-shell {
    grid-template-columns: 1fr;
    min-height: calc(100vh - var(--header-h) - 52px);
  }

  .docs-side {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 260;
    width: min(86vw, 300px);
    height: 100dvh;
    height: 100vh;
    transform: translateX(-105%);
    transition: transform 0.24s ease;
    box-shadow: 4px 0 24px rgba(15, 23, 42, 0.12);
  }

  body.docs-side-open .docs-side {
    transform: translateX(0);
  }

  .docs-side-close,
  .docs-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .docs-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 255;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(15, 23, 42, 0.35);
  }

  .docs-backdrop[hidden] {
    display: none !important;
  }

  .docs-toolbar,
  .docs-article,
  .docs-pager {
    padding-left: 16px;
    padding-right: 16px;
  }

  .docs-pager-inner {
    grid-template-columns: 1fr;
  }

  .docs-pager-btn.next {
    text-align: left;
    justify-self: stretch;
  }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-inner { height: auto; padding: 8px 16px; }

  .logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .logo-mark:active {
    transform: scale(0.96);
  }

  body.nav-drawer-open .logo-mark {
    background: rgba(255, 255, 255, 0.22);
  }

  .nav-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 240;
    background: rgba(15, 23, 42, 0.28);
    border: 0;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: max(8px, env(safe-area-inset-top, 0px));
    left: max(8px, env(safe-area-inset-left, 0px));
    z-index: 250;
    width: min(64vw, 210px);
    height: auto;
    max-height: min(72vh, 420px);
    background: #fff;
    color: var(--text);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    transform: translateX(calc(-100% - 16px));
    transition: transform 0.24s ease, opacity 0.2s ease;
    opacity: 0;
    padding: 10px;
    overscroll-behavior: contain;
  }

  body.nav-drawer-open {
    overflow: hidden;
  }

  body.nav-drawer-open .nav-drawer-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.nav-drawer-open .nav-drawer {
    transform: translateX(0);
    opacity: 1;
  }

  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-drawer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    min-width: 0;
  }

  .nav-drawer-brand .logo-mark {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    font-size: 12px;
    color: #fff;
    background: #0b1f3a;
    cursor: default;
  }

  .nav-drawer-brand strong {
    display: block;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: 0.02em;
    color: #0b1f3a;
  }

  .nav-drawer-brand span {
    display: block;
    font-size: 9px;
    color: var(--muted);
    letter-spacing: 0.05em;
  }

  .nav-drawer-close {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: var(--panel-soft);
    color: var(--muted);
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-drawer-close:hover,
  .nav-drawer-close:active {
    background: var(--line-soft);
    color: var(--text);
  }

  .nav-drawer-close svg {
    width: 15px;
    height: 15px;
  }

  .nav-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-drawer-links a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-drawer-links a:hover,
  .nav-drawer-links a:active {
    background: var(--brand-soft);
    color: var(--brand);
  }

  .nav-drawer-links a.active {
    background: var(--accent-soft);
    color: var(--accent);
  }

  .footer-inner { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; column-gap: 0; }
  .split-row,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .split-row { min-height: 0; }
  .split-media { min-height: 200px; aspect-ratio: 16 / 9; }
  /* 窄屏统一上文下图，避免左右颠倒造成阅读跳跃 */
  .split-row:nth-child(even) .split-text { order: 1; }
  .split-row:nth-child(even) .split-media { order: 2; }
  .pc-layout { grid-template-columns: 1fr; }
  .pc-filters { position: static; }
  .pc-grid { grid-template-columns: repeat(2, 1fr); }
  .pc-topbar-inner { padding-left: 16px; padding-right: 16px; }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .dl-wrap, .pc-wrap, .svc-wrap, .docs-hub { padding-left: 16px; padding-right: 16px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-item {
    gap: 12px;
    padding: 14px 12px;
  }
  .svc-item-mark {
    width: 40px;
    height: 40px;
    font-size: 10px;
  }
  .svc-go {
    min-width: 56px;
    height: 30px;
    font-size: 12px;
  }
  .dl-filter-bar { padding: 0 16px; }
  .dl-filter-bar select { width: 110px; }
  .dl-search-input { width: min(100%, 260px); }
  .dl-card { flex-wrap: wrap; }
  .hero-tabs { height: 40px; }
  .hero-tab { font-size: 12px; gap: 5px; padding: 0 6px; }
  .pc-grid { grid-template-columns: 1fr; }
  .pc-summary { margin-left: 0; }
  .sol-grid { grid-template-columns: 1fr; }
  .sol-wrap { padding-left: 16px; padding-right: 16px; }
}
