:root {
  --bg: #f5f6f8;
  --bg-hero: linear-gradient(165deg, #fff5f5 0%, #f7f8fc 42%, #eef6ff 100%);
  --surface: #ffffff;
  --text: #1a1d24;
  --muted: #6b7280;
  --accent: #1a7aff;
  --accent-hover: #0b5fd9;
  --accent-soft: rgba(26, 122, 255, 0.08);
  --border: rgba(26, 29, 36, 0.08);
  --shadow: 0 12px 40px rgba(26, 29, 36, 0.06);
  --radius: 16px;
  /* Inter / Noto Sans Mono：SIL OFL 1.1 自托管；中文回落系统字体 */
  --font-display: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --font: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --font-mono: "Noto Sans Mono", ui-monospace, Consolas, monospace;
  --max: 1400px;
  --max-features: 1400px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: #000;
  letter-spacing: 0.02em;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand__logo {
  display: block;
  height: 2rem;
  width: auto;
  max-width: 10rem;
  object-fit: contain;
}

.brand:hover {
  color: #000;
  text-decoration: none;
}

/* —— Product switcher (pill) + section nav —— */
.product-nav-bar {
  background: transparent;
}

.product-nav-bar__inner {
  width: min(var(--max-features), 100%);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.product-nav-bar__inner--primary {
  padding-top: 0.65rem;
  padding-bottom: 0.55rem;
}

.product-nav-bar__inner--section {
  padding-bottom: 0.15rem;
}

.product-nav-bar__section {
  width: 100%;
  background: #fff;
}

.product-nav-bar__divider {
  width: 100%;
  height: 0;
  border: 0;
  border-top: 1px solid #f0f1f3;
  background: transparent;
}

.product-nav-bar__primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.product-nav-bar__primary .brand {
  flex-shrink: 0;
}

.product-switcher {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0.2rem;
  padding: 0.28rem;
  background: #eef0f3;
  border-radius: 999px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 0 1 auto;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
}

.product-switcher::-webkit-scrollbar {
  display: none;
}

.product-switcher__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #4b5563;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 550;
  padding: 0.38rem 0.85rem 0.38rem 0.4rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.product-switcher__item:hover {
  color: var(--text);
}

.product-switcher__item.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(26, 29, 36, 0.08), 0 4px 12px rgba(26, 29, 36, 0.04);
}

.product-switcher__icon {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}

.product-switcher__icon--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-switcher__label {
  line-height: 1.2;
}

.product-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  justify-content: flex-end;
  padding: 0.55rem 0 0.45rem;
}

.product-section-nav a {
  color: var(--muted);
  padding: 0.45rem 0.85rem 0.55rem;
  border-radius: 0;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.product-section-nav__icon {
  display: inline-flex;
  line-height: 0;
  color: inherit;
}

.product-section-nav a:hover {
  color: var(--text);
  background: transparent;
  text-decoration: none;
}

.product-section-nav a.router-link-active {
  color: rgb(52, 81, 178);
  background: transparent;
  text-decoration: none;
  font-weight: 600;
}

.product-section-nav a.router-link-active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 1px;
  background: rgb(52, 81, 178);
}

@media (max-width: 720px) {.product-nav-bar__primary {
    flex-wrap: wrap;
    gap: 0.65rem;
  }

.product-switcher {
    flex: 0 1 auto;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

.product-switcher__label {
    font-size: 0.84rem;
  }

.product-switcher__item {
    padding-right: 0.7rem;
  }}

.site-main {
  flex: 1;
  width: 100%;
}

.site-footer {
  margin-top: auto;
  background: #fff;
  color: #71717a;
  border-top: 1px solid #e4e4e7;
}

.site-footer__inner {
  width: min(var(--max-features), 100%);
  margin: 0 auto;
  padding: 3rem 1.25rem 2.25rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(120px, 0.7fr);
  gap: 2rem 1.5rem;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: #18181b;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.site-footer .tm {
  font-size: 0.55em;
  font-weight: 700;
  line-height: 0;
  vertical-align: super;
  margin: 0 0.04em;
}

.site-footer__desc {
  margin: 0.85rem 0 0;
  max-width: 22rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #71717a;
}

.site-footer__title {
  margin: 0 0 1rem;
  color: #18181b;
  font-size: 0.9rem;
  font-weight: 650;
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.site-footer__list a {
  color: #71717a;
  font-size: 0.9rem;
  transition: color 0.15s;
}

.site-footer__list a:hover {
  color: rgb(26, 122, 255);
  text-decoration: none;
}

.site-footer__label {
  display: inline-block;
  min-width: 2.5rem;
  margin-right: 0.35rem;
  color: #a1a1aa;
  font-size: 0.85rem;
}

.site-footer__bottom {
  border-top: 1px solid #e4e4e7;
}

.site-footer__bottom-inner {
  padding-top: 1.1rem;
  padding-bottom: 1.25rem;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgb(107, 114, 128);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
}

.site-footer a.beian {
  color: rgb(107, 114, 128);
}

.site-footer__sep {
  color: rgb(107, 114, 128);
  opacity: 0.55;
  user-select: none;
}

.site-footer a.beian:hover {
  color: rgb(26, 122, 255);
}

@media (max-width: 900px) {.site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

.site-footer__col--brand {
    grid-column: 1 / -1;
  }}

@media (max-width: 560px) {.site-footer__grid {
    grid-template-columns: 1fr;
  }}

/* 从 Vue scoped 样式抽出，class 名与原组件一致 */
a.product-switcher__item,
a.dl-tabs__item { text-decoration: none; }

.lucide-icon { display: inline-flex; flex: 0 0 auto; line-height: 0; }

.lucide-icon svg { width: 100%; height: 100%; display: block; }

.section-nav-icon { display: inline-flex; width: 1.05em; height: 1.05em; flex: 0 0 auto; line-height: 0; }

.lang-menu { position: relative; margin-left: 0.35rem; font-size: 0.82rem; align-self: center; }

.lang-menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; color: #1a1d24; font-weight: 700; padding: 0.45rem 0.85rem 0.55rem; }

.lang-menu > summary::-webkit-details-marker { display: none; }

.lang-menu > summary::after { content: ""; width: 0.38rem; height: 0.38rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-0.12rem) rotate(45deg); }

.lang-menu[open] > summary::after { transform: translateY(0.08rem) rotate(225deg); }

.lang-menu__panel { position: absolute; right: 0; top: calc(100% - 0.15rem); z-index: 30; min-width: 9.5rem; max-width: calc(100vw - 1.5rem); padding: 0.35rem; background: #fff; border: 1px solid rgba(26, 29, 36, 0.08); border-radius: 0.75rem; box-shadow: 0 10px 28px rgba(26, 29, 36, 0.12); }

.product-section-nav .lang-menu__panel a { display: block; position: static; padding: 0.5rem 0.75rem; border-radius: 0.5rem; color: #667085; font-size: 0.82rem; font-weight: 500; text-decoration: none; background: transparent; }

.product-section-nav .lang-menu__panel a::after { content: none; }

.product-section-nav .lang-menu__panel a:hover { color: #1a1d24; background: rgba(26, 29, 36, 0.05); text-decoration: none; }

.product-section-nav .lang-menu__panel a[aria-current="true"] { color: #1a1d24; font-weight: 700; background: transparent; }
