/* ===================== Language switcher (globe + dropdown) ===================== */
.lang-switch { position: relative; flex: 0 0 auto; margin-left: 18px; }

.lang-globe {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: color 280ms var(--ease), background 280ms var(--ease), border-color 280ms var(--ease);
}
.lang-globe .lc-globe { width: 17px; height: 17px; display: block; }
.lang-globe .lc-caret { width: 9px; height: 6px; display: block; opacity: 0.8; transition: transform 220ms var(--ease); }
.lang-switch.is-open .lang-globe .lc-caret { transform: rotate(180deg); }
.lang-globe:hover,
.lang-switch.is-open .lang-globe {
  color: #fff;
  border-color: rgba(79, 155, 255, 0.55);
  background: rgba(0, 102, 255, 0.12);
}

/* Dropdown panel — hard edge, dark glass (matches the card system) */
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 140px;
  padding: 5px;
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.97), rgba(8, 10, 13, 0.97));
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 180ms var(--ease);
  z-index: 60;
}
.lang-switch.is-open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px 13px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  font: inherit;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  text-align: left;
  cursor: pointer;
  transition: color 180ms var(--ease), background 180ms var(--ease);
}
.lang-opt::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  flex: 0 0 auto;
  transition: background 180ms var(--ease);
}
.lang-opt:hover,
.lang-opt:focus-visible { color: #fff; background: rgba(255, 255, 255, 0.06); }
.lang-opt.is-active { color: #fff; font-weight: 600; }
.lang-opt.is-active::before { background: #0066FF; }

/* Light header theme */
.site-header[data-theme="light"] .lang-globe {
  border-color: rgba(8, 11, 16, 0.16);
  background: rgba(8, 11, 16, 0.02);
  color: rgba(8, 11, 16, 0.74);
}
.site-header[data-theme="light"] .lang-globe:hover,
.site-header[data-theme="light"] .lang-switch.is-open .lang-globe {
  color: var(--ink);
  border-color: rgba(0, 102, 255, 0.4);
  background: rgba(0, 102, 255, 0.06);
}
.site-header[data-theme="light"] .lang-menu {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(8, 11, 16, 0.1);
  box-shadow: 0 18px 44px rgba(8, 11, 16, 0.13);
}
.site-header[data-theme="light"] .lang-opt { color: var(--ink-2); }
.site-header[data-theme="light"] .lang-opt:hover,
.site-header[data-theme="light"] .lang-opt:focus-visible { color: var(--ink); background: rgba(0, 102, 255, 0.06); }
.site-header[data-theme="light"] .lang-opt.is-active { color: var(--ink); }

/* ===================== Copy color on dark ===================== */
/* The hero slogan / copy used a blue-tinted gray that reads muddy on black.
   Use clean neutral white-alpha (no blue cast). */
.hero-slogan { color: rgba(255, 255, 255, 0.62) !important; }
.hero-copy { color: rgba(255, 255, 255, 0.74) !important; }
.dark-section .section-copy { color: rgba(255, 255, 255, 0.72) !important; }

/* ===================== Section / hero labels ===================== */
/* Uniform overline labels: NO accent dash anywhere (hero eyebrows, section
   kickers, the about-panel top line). Just the uppercase label text. */
.hero-eyebrow::before,
.product-list-hero .hero-eyebrow::before,
.pdp-hero-dark .pdp-eyebrow::before,
.pdp-eyebrow::before,
.capability-panel::before,
.kicker::before { display: none !important; }
/* drop the now-orphan flex gap so the label isn't pushed right */
.hero-eyebrow, .pdp-eyebrow { gap: 0 !important; }
/* All overline labels are the brand blue (match the section kickers) */
.hero-eyebrow, .pdp-hero-dark .pdp-eyebrow, .pdp-eyebrow { color: #0066FF !important; }

/* ===================== English-tuned line breaks ===================== */
/* Drop English-only headline breaks in Chinese so compact CN reflows naturally. */
html[lang="zh-CN"] br.br-en { display: none; }

/* ===================== Chinese display headings ===================== */
/* Latin tight leading + negative tracking cramps full-square CJK — loosen for CN. */
html[lang="zh-CN"] .hero h1,
html[lang="zh-CN"] .product-list-hero h1,
html[lang="zh-CN"] .pdp-name,
html[lang="zh-CN"] .apx-h1,
html[lang="zh-CN"] .t2-h1,
html[lang="zh-CN"] .res-h1,
html[lang="zh-CN"] .abt-h1,
html[lang="zh-CN"] .ctc-h1 {
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
}
html[lang="zh-CN"] .section-title,
html[lang="zh-CN"] .catalog-intro h2,
html[lang="zh-CN"] .cta h2,
html[lang="zh-CN"] .pdp-card-title,
html[lang="zh-CN"] .apx-h2,
html[lang="zh-CN"] .t2-h2,
html[lang="zh-CN"] .abt-section-heading h2,
html[lang="zh-CN"] .abt-history-title {
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
}
html[lang="zh-CN"] .abt-intro-grid h2,
html[lang="zh-CN"] .abt-production-copy h2 {
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
}


/* Self-hosted Inter (SIL OFL, free) — Latin variable, all weights 100–900.
   Chinese falls back to system CJK by design. No CDN, no external dependency. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("inter-var.woff2") format("woff2");
}
