/* ==========================================================================
   vantage —— SENTINEL 站点主题样式表（全新设计，与 bastion 无共用版式）
   --------------------------------------------------------------------------
   视觉规格来源（awesome-design-md 品牌库）：
     · 主体：Apple —— 白 + #F5F5F7 交替画布、超大负字距标题、17px 正文、
       圆角媒体块、单一行动蓝 #0066CC、UI 装饰全部退后让内容说话。
     · 首屏叙述：SpaceX —— 满幅摄影 + 两端压黑、全大写微字眉标、
       ghost 描边按钮、深色段落承载硬信息。
   · SF Pro / D-DIN 均为授权字体，本主题统一用自托管 Inter 替代（负字距与
     大字重接近 SF Pro Display；眉标用大写 + 0.16em 字距还原 D-DIN 的规整）。
   · 品牌色不改浅：深蓝 #0A3D6E 只出现在深色段与页脚，强调红 #D2372A 极少点缀。
   全部尺寸用逻辑属性（padding-inline / inset-inline），阿语 RTL 自动镜像。
   ========================================================================== */

/* ------------------------------------------------------------------ 字体 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Noto Sans Arabic";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/noto-sans-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897,
    U+08A0-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41,
    U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* ------------------------------------------------------------------ token */

:root {
  /* 品牌 */
  --brand: #0a3d6e;          /* 站点主题色（深色段 / 页脚） */
  --action: #0066cc;         /* Apple Action Blue：唯一的行动色 */
  --action-hover: #0071e3;
  --accent: #d2372a;
  --wa: #0e7a47;

  /* 文字 */
  --ink: #1d1d1f;
  --body: #4b4b50;
  --muted: #6e6e73;
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, .72);
  --on-dark-3: rgba(255, 255, 255, .46);

  /* 面 */
  --canvas: #ffffff;
  --canvas-alt: #f5f5f7;
  --night: #0b0b0c;
  --night-2: #141416;

  /* 线 */
  --line: #e8e8ed;
  --line-2: #d2d2d7;
  --line-dark: rgba(255, 255, 255, .16);

  /* 形状 */
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  /* 尺度 */
  --wrap: 1240px;
  --pad: 32px;
  --sec-y: 112px;
  --nav-h: 68px;

  /* 字体 */
  --f-sans: "Inter", "Noto Sans Arabic", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Arial, sans-serif;
  --f-num: "Inter", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* ------------------------------------------------------------------ 基础 */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--body);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.05em; padding-inline-start: 1.15em; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--f-sans);
  color: var(--ink);
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.022em;
}
h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -0.032em; }
h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -0.028em; }
h3 { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.28; letter-spacing: -0.018em; }
h4 { font-size: 16px; line-height: 1.35; }
h5 { font-size: 14px; line-height: 1.35; letter-spacing: 0; }

::selection { background: rgba(0, 102, 204, .16); }

:focus-visible {
  outline: 2px solid var(--action);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.num { font-variant-numeric: tabular-nums; unicode-bidi: plaintext; }
.mono {
  font-family: var(--f-num);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 6px;
}

.skip {
  position: absolute;
  inset-inline-start: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
}
.skip:focus { inset-inline-start: 16px; }

/* ------------------------------------------------------------------ 排版元件 */

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.eyebrow--onDark { color: var(--on-dark-3); }

.lead {
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 62ch;
  margin: 0;
  letter-spacing: -0.012em;
}

.band {
  padding-block: var(--sec-y);
  position: relative;
}
.band--alt { background: var(--canvas-alt); }
.band--tight { padding-block: 64px; }
.band--night {
  background: var(--night);
  color: var(--on-dark-2);
}
.band--night h1, .band--night h2, .band--night h3, .band--night h4 { color: #fff; }
.band--night .lead { color: var(--on-dark-2); }

.band__head { max-width: 780px; margin-bottom: 56px; }
.band__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}
.band__head--center { margin-inline: auto; text-align: center; }
.band__head--center .lead { margin-inline: auto; }
.band__head h2 + .lead { margin-top: 20px; }

/* 按钮：Apple 胶囊，深色段用白底黑字 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.btn:hover { background: #2b2b2f; }
.btn--action { background: var(--action); }
.btn--action:hover { background: var(--action-hover); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { background: var(--canvas-alt); border-color: var(--ink); }
.btn--onDark { background: #fff; color: var(--ink); }
.btn--onDark:hover { background: rgba(255, 255, 255, .86); }
.btn--outlineDark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .42);
}
.btn--outlineDark:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--sm { min-height: 38px; padding: 0 18px; font-size: 13.5px; }
.btn--wa { background: var(--wa); }
.btn--wa:hover { background: #0b6a3d; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--action);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.link-arrow::after { content: "→"; transition: transform .22s ease; }
.link-arrow:hover::after { transform: translateX(4px); }
.band--night .link-arrow { color: #6cb6ff; }

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--body);
  font-size: 14px;
  white-space: nowrap;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-current], .chip--on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.tags li, .tags span {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--canvas-alt);
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0;
  line-height: 1.4;
}

.note {
  margin-top: 32px;
  padding: 20px 24px;
  border-inline-start: 3px solid var(--line-2);
  background: var(--canvas-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px;
  color: var(--muted);
}
.note b { color: var(--ink); }

.empty {
  padding: 72px 24px;
  text-align: center;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  color: var(--muted);
}

/* 规格键值：值在上、标签在下（Apple 的技术参数排法） */
.spec {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
}
.spec__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.spec__row:first-child { padding-top: 0; }
.spec__key {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  order: 2;
}
.spec__val {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  order: 1;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.spec--two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.band--night .spec__row { border-color: var(--line-dark); }
.band--night .spec__val { color: #fff; }
.band--night .spec__key { color: var(--on-dark-3); }

/* 富文本 */
.prose > * + * { margin-top: 1.05em; }
.prose h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  margin-top: 2.2em;
  margin-bottom: .6em;
}
.prose h3 { margin-top: 1.9em; margin-bottom: .5em; }
.prose h4, .prose h5 { margin-top: 1.6em; margin-bottom: .4em; color: var(--ink); }
.prose ul, .prose ol { padding-inline-start: 1.25em; }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: var(--radius-sm); }
.prose figure { margin-block: 1.8em; }
.prose figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.prose blockquote {
  margin: 2em 0;
  padding-inline-start: 24px;
  border-inline-start: 2px solid var(--action);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.018em;
}
.prose a { color: var(--action); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }

.table-scroll { overflow-x: auto; margin-block: 2em; }
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 520px;
}
.table th, .table td {
  text-align: start;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.table th {
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  border-bottom-color: var(--line-2);
}
.table td { color: var(--body); font-variant-numeric: tabular-nums; }
.swipe-hint { display: none; font-size: 12px; color: var(--muted); }

/* ------------------------------------------------------------------ 页眉 */

.hdr {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, height .3s ease;
}
.hdr__in {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* 首页首屏：页眉透明压在照片上，文字反白；滚过 40px 后由脚本加 .is-stuck */
body[data-page="home"] .hdr:not(.is-stuck) {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body[data-page="home"] .hdr:not(.is-stuck) .brand__name,
body[data-page="home"] .hdr:not(.is-stuck) .brand__desc,
body[data-page="home"] .hdr:not(.is-stuck) .nav__link,
body[data-page="home"] .hdr:not(.is-stuck) .lang__btn,
body[data-page="home"] .hdr:not(.is-stuck) .burger { color: #fff; }
body[data-page="home"] .hdr:not(.is-stuck) .hdr__cta {
  background: #fff;
  color: var(--ink);
}
body[data-page="home"] .hdr:not(.is-stuck) .hdr__cta:hover { background: rgba(255, 255, 255, .86); }
body[data-page="home"] .hdr.is-stuck { border-bottom-color: var(--line); }

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}
/* 品牌标识：两种形态都支持 —— 站点覆盖版是内联 <svg>，主题自带版是 <img>。
   内联 svg 没有 intrinsic 尺寸，不给盒子就会塌成 0 宽（实测：整块标识消失）。 */
.brand__mark { display: block; width: 30px; height: 30px; flex: 0 0 auto; }
.brand__mark svg, .brand__mark img { display: block; width: 100%; height: 100%; }
.brand__mark .mark--light { display: none; }
.ftr .brand__mark .mark--dark { display: none; }
.ftr .brand__mark .mark--light { display: block; }
body[data-page="home"] .hdr:not(.is-stuck) .brand__mark .mark--dark { display: none; }
body[data-page="home"] .hdr:not(.is-stuck) .brand__mark .mark--light { display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--ink);
  text-transform: uppercase;
}
.brand__desc {
  white-space: nowrap;
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav { margin-inline-start: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink);
  opacity: .82;
  transition: opacity .2s ease, background .2s ease;
}
.nav__link:hover { opacity: 1; background: rgba(0, 0, 0, .05); }
.nav__link[aria-current] { opacity: 1; font-weight: 500; }
.nav__item > .nav__link::after {
  content: "";
  width: 5px;
  height: 5px;
  border-inline-end: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: .5;
  display: none;
}
.nav__item:has(.nav__menu) > .nav__link::after { display: block; }
.nav__menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  min-width: 230px;
  padding: 10px;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav__item:hover .nav__menu,
.nav__item:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav__menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--body);
}
.nav__menu a:hover { background: var(--canvas-alt); color: var(--ink); }
.nav__menu a[aria-current] { color: var(--action); }

.hdr__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: 8px;
}

.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}
.lang__btn:hover { border-color: var(--line-2); }
.lang__menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  min-width: 190px;
  padding: 8px;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .10);
  display: none;
}
.lang[data-open] .lang__menu { display: block; }
.lang__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--body);
}
.lang__menu a:hover { background: var(--canvas-alt); color: var(--ink); }
.lang__menu a[aria-current] { color: var(--action); font-weight: 500; }
.lang__menu .mono { margin: 0; font-size: 11px; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.burger svg { width: 19px; height: 19px; }

/* 抽屉 */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(11, 11, 12, .45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.drawer__panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(420px, 90vw);
  background: #fff;
  padding: 22px 26px 32px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  animation: drawerIn .28s ease both;
}
@keyframes drawerIn { from { transform: translateX(24px); opacity: .4; } to { transform: none; opacity: 1; } }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.drawer__close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  background: var(--canvas-alt);
  border-radius: 999px;
  cursor: pointer;
}
.drawer__close svg { width: 17px; height: 17px; }
.drawer__nav { display: flex; flex-direction: column; padding-block: 14px; }
.drawer__nav a {
  padding: 13px 0;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.drawer__nav a[aria-current] { color: var(--action); }
.drawer__nav a.drawer__sub {
  font-size: 14.5px;
  font-weight: 400;
  color: var(--muted);
  padding-inline-start: 16px;
}
.drawer__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 14px; }
.drawer__langs { display: flex; flex-wrap: wrap; gap: 8px; }
.drawer__langs a {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--muted);
}
.drawer__langs a[aria-current] { border-color: var(--ink); color: var(--ink); }

/* ------------------------------------------------------------------ 页脚 */

.ftr {
  background: var(--night);
  color: var(--on-dark-2);
  padding-block: 84px 36px;
  font-size: 14px;
}
.ftr__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
}
.ftr .brand__name { color: #fff; }
.ftr .brand__desc { color: var(--on-dark-3); }
.ftr__about {
  margin-top: 20px;
  max-width: 34ch;
  color: var(--on-dark-2);
  line-height: 1.6;
}
.ftr__contact { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.ftr__contact a, .ftr__contact span {
  color: #fff;
  font-size: 14px;
  width: fit-content;
}
.ftr__contact a:hover { color: #6cb6ff; }
.ftr__contact .mono { color: var(--on-dark-3); margin: 0 6px 0 0; }
.ftr__col h3 {
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-dark-3);
  font-weight: 600;
  margin-bottom: 18px;
}
.ftr__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr__col a { color: var(--on-dark-2); }
.ftr__col a:hover { color: #fff; }
.ftr__bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--on-dark-3);
}
.ftr__bottom a { color: var(--on-dark-3); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------- 悬浮与回顶 */

.to-top {
  position: fixed;
  inset-inline-end: 26px;
  bottom: 26px;
  z-index: 55;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.to-top[data-show] { opacity: 1; transform: none; }
.to-top svg { width: 18px; height: 18px; }

.cfab {
  position: fixed;
  inset-inline-end: 26px;
  bottom: 84px;
  z-index: 56;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.cfab__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(14, 122, 71, .28);
}
.cfab__btn svg { width: 21px; height: 21px; fill: currentColor; stroke: none; }
.cfab__panel {
  width: 264px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .16);
  display: none;
}
.cfab[data-open] .cfab__panel { display: block; }
.cfab__kind {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.cfab__panel a, .cfab__panel span.mono {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}
.cfab__panel a:hover { color: var(--action); }
.cfab__panel a svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; flex: 0 0 auto; }

/* ------------------------------------------------------------------ 首页主视觉 */

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  background: var(--night);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, .62) 0%, rgba(11, 11, 12, .18) 34%, rgba(11, 11, 12, .72) 78%, rgba(11, 11, 12, .94) 100%),
    linear-gradient(90deg, rgba(11, 11, 12, .55) 0%, rgba(11, 11, 12, 0) 58%);
}
.hero__in {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: calc(var(--nav-h) + 96px) var(--pad) 72px;
}
.hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  margin: 0 0 22px;
}
.hero h1 {
  color: #fff;
  max-width: 17ch;
  margin: 0;
  text-wrap: balance;
}
.hero__lead {
  margin: 26px 0 0;
  max-width: 56ch;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.5;
  color: rgba(255, 255, 255, .82);
}
.hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}
.hero__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  list-style: none;
  margin: 44px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .7);
}
.hero__certs > span, .hero__certs > li { display: inline-flex; align-items: center; gap: 8px; unicode-bidi: plaintext; }
.hero__certs > span::before, .hero__certs > li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}
.hero__certs--ink {
  border-top-color: var(--line);
  color: var(--muted);
  margin-top: 26px;
  padding-top: 18px;
}

/* 信任条 */
.strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.strip__in {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-block: 26px;
  flex-wrap: wrap;
}
.strip__lead {
  flex: 1 1 auto;
  max-width: 100%;
  margin: 0;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  flex: 0 0 auto;
}
.strip__items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.strip__items li { display: inline-flex; align-items: center; gap: 9px; unicode-bidi: plaintext; }
.strip__items li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(circle at 50% 50%, var(--action) 0 3px, transparent 3.5px);
  flex: 0 0 auto;
}

/* ------------------------------------------------------------------ 分类拼版 */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.bento__card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.bento__card:nth-child(1),
.bento__card:nth-child(2) { grid-column: span 3; }
.bento__card:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .10);
}
.bento__media {
  aspect-ratio: 4 / 3;
  background: var(--canvas-alt);
  display: grid;
  place-items: center;
  padding: 22px;
  overflow: hidden;
}
.bento__card:nth-child(1) .bento__media,
.bento__card:nth-child(2) .bento__media { aspect-ratio: 16 / 10; }
.bento__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1);
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.bento__card:hover .bento__media img { transform: scale(1.04); }
.bento__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.bento__body h3 { font-size: 20px; }
.bento__body h3 a::after { content: ""; position: absolute; inset: 0; }
.bento__card { position: relative; }
.bento__desc {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.bento__foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.bento__foot .arrow { color: var(--action); font-size: 16px; }

/* ------------------------------------------------------------------ 技术面板 */

.panelgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
.panel {
  padding: 40px 0 8px;
  border-bottom: 1px solid var(--line-dark);
}
.panel:nth-child(odd) { padding-inline-end: 48px; }
.panel:nth-child(even) { padding-inline-start: 48px; border-inline-start: 1px solid var(--line-dark); }
.panel__tag {
  display: block;
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.panel__title {
  display: block;
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.022em;
  color: #fff;
  margin-bottom: 26px;
}

/* ------------------------------------------------------------------ 编号列表 */

.numlist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 64px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.numlist__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
}
.numlist__n {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--action);
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}
.numlist h3 { font-size: 19px; margin-bottom: 6px; }
.numlist p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ------------------------------------------------------------------ 数据带 */

.statgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.statgrid__item { border-top: 1px solid var(--line); padding-top: 22px; }
.band--night .statgrid__item { border-top-color: var(--line-dark); }
.statgrid__value {
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 8px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.band--night .statgrid__value { color: #fff; }
.statgrid__label { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.45; }

/* ------------------------------------------------------- 产品 / 视频 / 文章卡 */

.cardgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.cardgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cardgrid.grid--1 { grid-template-columns: minmax(0, 1fr); }
.cardgrid.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cardgrid.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cardgrid.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.pcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .09);
  border-color: transparent;
}
.pcard__media {
  aspect-ratio: 4 / 3;
  background: var(--canvas-alt);
  display: grid;
  place-items: center;
  padding: 20px;
}
.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.pcard:hover .pcard__media img { transform: scale(1.035); }
.pcard__media--cover img { object-fit: cover; padding: 0; }
.pcard__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.pcard__cat {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.pcard__title { font-size: 18px; line-height: 1.3; margin: 0; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; }
.pcard__desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard__foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.pcard__go { color: var(--action); font-size: 15px; }

.vcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .28s ease, box-shadow .28s ease;
}
.vcard:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(0, 0, 0, .09); }
.vcard__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--night);
  overflow: hidden;
}
.vcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.vcard:hover .vcard__media img { transform: scale(1.04); }
.vcard__play {
  position: absolute;
  inset-inline-start: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
}
.vcard__play svg { width: 17px; height: 17px; }
.vcard__body { padding: 18px 20px 20px; }
.vcard__title { font-size: 17px; margin: 0; line-height: 1.35; }
.vcard__title a::after { content: ""; position: absolute; inset: 0; }
.vcard__meta { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }

.acard {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .28s ease, box-shadow .28s ease;
}
.acard:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(0, 0, 0, .09); }
.acard__media { aspect-ratio: 16 / 10; background: var(--canvas-alt); overflow: hidden; }
.acard__media img { width: 100%; height: 100%; object-fit: cover; }
.acard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.acard__tag {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--action);
  margin: 0 0 8px;
}
.acard__title { font-size: 18px; margin: 0 0 10px; line-height: 1.32; }
.acard__title a::after { content: ""; position: absolute; inset: 0; }
.acard__foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  gap: 14px;
  font-size: 12.5px;
  color: var(--muted);
}

/* 行动结尾段 */
.ctaband {
  background: var(--night);
  color: #fff;
  padding-block: 96px;
  position: relative;
  overflow: hidden;
}
.ctaband::before {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  top: -40%;
  width: 900px;
  height: 900px;
  margin-inline-start: -450px;
  background: radial-gradient(circle, rgba(10, 61, 110, .75) 0%, rgba(11, 11, 12, 0) 62%);
  pointer-events: none;
}
.ctaband__in {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.ctaband h2 { color: #fff; }
.ctaband p {
  margin: 20px auto 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, .74);
  font-size: 17px;
}
.ctaband__acts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* 能力区（深色 + 主图） */
.cap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.cap__fig {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--night-2);
}
.cap__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cap__fig figcaption { padding: 20px 24px 24px; }
.cap__fig h3 { font-size: 18px; margin-bottom: 6px; }
.cap__fig p { font-size: 14.5px; color: var(--on-dark-2); margin: 0; }
.cap__side { display: grid; gap: 0; }
.cap__side .tile {
  padding-block: 22px;
  border-top: 1px solid var(--line-dark);
}
.cap__side .tile:first-child { border-top: 0; padding-top: 0; }
.tile h3 { font-size: 17px; margin-bottom: 7px; }
.tile p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.55; }
.band--night .tile p { color: var(--on-dark-2); }
.tile__icon { width: 30px; height: 30px; margin-bottom: 14px; color: var(--action); }
.tile__icon svg { width: 100%; height: 100%; }

/* ------------------------------------------------------------------ 内页头 */

.pagehero {
  padding-top: calc(var(--nav-h) + 76px);
  padding-bottom: 72px;
  background: var(--canvas-alt);
  border-bottom: 1px solid var(--line);
}
.pagehero--plain { background: #fff; }
.pagehero__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
}
.pagehero h1 { max-width: 22ch; }
.pagehero .lead { margin-top: 22px; }
.pagehero__num {
  text-align: end;
  padding-bottom: 6px;
}
.pagehero__figure {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pagehero__figureLabel {
  margin: 10px 0 0;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  font-size: 12.5px;
  color: var(--muted);
}
.crumb li { display: inline-flex; align-items: center; gap: 8px; }
.crumb li + li::before { content: "/"; color: var(--line-2); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--ink); }
.crumb [aria-current] { color: var(--ink); }

/* --------------------------------------------------------------- 列表 + 侧栏 */

.listing {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.sidecol { position: sticky; top: calc(var(--nav-h) + 32px); }
.sidecol__title {
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.sidecol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sidecol a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  margin-inline-start: -12px;
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--body);
}
.sidecol a:hover { background: var(--canvas-alt); color: var(--ink); }
.sidecol a[aria-current] { background: var(--ink); color: #fff; }
.sidecol a span { font-size: 11.5px; opacity: .6; font-variant-numeric: tabular-nums; }

.listing__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.listing__bar .count { font-variant-numeric: tabular-nums; }
.chiprow { display: none; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chiprow::-webkit-scrollbar { display: none; }

/* --------------------------------------------------------------- 产品详情 */

.pd__head { padding-top: calc(var(--nav-h) + 60px); }
.pd__head-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}
.pd__head h1 { max-width: 24ch; }
.pd__head .lead { margin-top: 20px; }

.gallery { display: grid; gap: 14px; }
.gallery__main {
  background: var(--canvas-alt);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  padding: 28px;
  min-height: 420px;
  overflow: hidden;
}
.gallery__main img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
}
.gallery__thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.gallery__thumbs button {
  flex: 0 0 96px;
  height: 76px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.gallery__thumbs button[aria-current] {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }

.pd__cols {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.pd__aside {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  display: grid;
  gap: 22px;
}
.pd__acts { display: grid; gap: 10px; }

.feature {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.feature__item h3 { font-size: 17px; margin-bottom: 8px; }
.feature__item p { font-size: 14.5px; color: var(--muted); margin: 0; }
.feature__icon { width: 26px; height: 26px; color: var(--action); margin-bottom: 16px; }
.feature__icon svg { width: 100%; height: 100%; }

.defgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 40px;
  border-top: 1px solid var(--line);
}
.def {
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}
.def__label {
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.def__value { font-size: 15.5px; color: var(--ink); margin: 0; font-weight: 500; }
.def__meta { font-size: 13px; color: var(--muted); margin: 5px 0 0; }

/* --------------------------------------------------------------- 关于我们 */

.about__lede {
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.45;
  letter-spacing: -0.022em;
  color: var(--ink);
  max-width: 46ch;
  margin: 0 0 48px;
}
.about__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  font-size: 16px;
  color: var(--body);
}
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}
.split__fig {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--canvas-alt);
}
.split__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split--flip .split__fig { order: -1; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 32px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
}
.timeline__year {
  font-size: 15px;
  font-weight: 600;
  color: var(--action);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.timeline h3 { font-size: 17px; margin-bottom: 6px; }
.timeline p { font-size: 14.5px; color: var(--muted); margin: 0; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li {
  position: relative;
  padding-inline-start: 30px;
  font-size: 15.5px;
  color: var(--ink);
}
.checklist li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .35em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 102, 204, .12);
  box-shadow: inset 0 0 0 1px rgba(0, 102, 204, .5);
}

.contact-panel {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--canvas-alt);
  display: grid;
  gap: 18px;
  align-content: start;
}
.contact-panel h3 { font-size: 22px; }
.contact-panel p { font-size: 14.5px; color: var(--muted); }

.promise {
  padding-block: 26px;
  border-top: 1px solid var(--line-dark);
}
.promise__value {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.promise__label { font-size: 13.5px; color: var(--on-dark-2); margin: 0; }

/* ------------------------------------------------------------------ 文章 */

.post-cover {
  margin-top: 56px;
}
.post-cover img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 72px;
  align-items: start;
}
.aside-card {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.aside-card__title {
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 16px 0 14px;
}
.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.toc a { font-size: 14px; color: var(--body); }
.toc a:hover { color: var(--action); }
.aside-cta {
  margin-top: 28px;
  padding: 20px;
  border-radius: 16px;
  background: var(--canvas-alt);
}
.aside-cta p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 64px;
  position: relative;
}
.feature-card__media { background: var(--canvas-alt); overflow: hidden; }
.feature-card__media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.feature-card__body {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.feature-card__body h2 { font-size: clamp(24px, 2.6vw, 34px); }
.feature-card__body h2 a::after { content: ""; position: absolute; inset: 0; }
.feature-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 12.5px;
  color: var(--muted);
  margin: 4px 0 0;
}

/* ------------------------------------------------------------------ 影像 */

.player {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--night);
}
.player video { width: 100%; max-height: 76vh; background: #000; }
.player__placeholder {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  gap: 16px;
  padding: 40px;
  text-align: center;
  color: #fff;
}
.player__placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.player__placeholder p, .player__placeholder a { position: relative; }

.topic-cover { margin-top: 56px; }
.topic-cover img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ------------------------------------------------------------------ 灯箱 */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 40px;
  background: rgba(11, 11, 12, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox__close {
  position: absolute;
  top: 24px;
  inset-inline-end: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.lightbox__close svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------------ 动效 */

@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
  }
  html.js [data-reveal].is-in { opacity: 1; transform: none; }
}

[data-stagger] > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* ------------------------------------------------------------------ 断点 */

@media (max-width: 1100px) {
  :root { --sec-y: 88px; --pad: 28px; }
  .cardgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing { grid-template-columns: 176px minmax(0, 1fr); gap: 40px; }
  .pd__cols { grid-template-columns: 280px minmax(0, 1fr); gap: 44px; }
  .defgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .with-aside { grid-template-columns: minmax(0, 1fr) 240px; gap: 48px; }
  .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
}

@media (max-width: 900px) {
  :root { --sec-y: 72px; --nav-h: 62px; }

  .nav { display: none; }
  .burger { display: inline-flex; }
  .hdr__in { gap: 16px; }
  .hdr__cta { display: none; }
  .brand__desc { display: none; }

  .hero { min-height: 84vh; }
  .hero__in { padding-top: calc(var(--nav-h) + 72px); padding-bottom: 48px; }
  .hero__certs { gap: 10px 20px; margin-top: 32px; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .bento__card, .bento__card:nth-child(1), .bento__card:nth-child(2) { grid-column: span 1; }
  .bento__card:nth-child(1) .bento__media,
  .bento__card:nth-child(2) .bento__media { aspect-ratio: 4 / 3; }
  .bento__body { padding: 16px 18px 18px; }
  .bento__body h3 { font-size: 17px; }
  .bento__desc { display: none; }

  .panelgrid { grid-template-columns: minmax(0, 1fr); }
  .panel:nth-child(odd) { padding-inline-end: 0; }
  .panel:nth-child(even) { padding-inline-start: 0; border-inline-start: 0; }

  .numlist { grid-template-columns: minmax(0, 1fr); }
  .statgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .cap, .split, .about__cols, .feature-card { grid-template-columns: minmax(0, 1fr); }
  .split { gap: 32px; }
  .split--flip .split__fig { order: 0; }
  .cap { gap: 32px; }

  .pagehero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 48px; }
  .pagehero__in, .pd__head-in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pagehero__num { text-align: start; }

  .listing { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sidecol { display: none; }
  .chiprow { display: flex; }
  .listing__bar { border-bottom: 0; padding-bottom: 0; margin-bottom: 20px; }

  .pd__cols { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pd__aside { position: static; }
  .gallery__main { min-height: 260px; padding: 16px; }

  .feature { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .defgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }

  .with-aside { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .aside-card { position: static; }

  .feature-card__body { padding: 26px; }
  .timeline li { grid-template-columns: 84px minmax(0, 1fr); gap: 18px; }
  .post-cover, .topic-cover { margin-top: 32px; }
}

@media (max-width: 900px) {
  .strip__in { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 640px) {
  :root { --pad: 20px; --sec-y: 64px; }
  body { font-size: 16px; }
  h1 { font-size: clamp(30px, 8vw, 40px); }
  .cardgrid, .cardgrid--2, .bento { grid-template-columns: minmax(0, 1fr); }
  .bento__card:nth-child(1) .bento__media,
  .bento__card:nth-child(2) .bento__media { aspect-ratio: 4 / 3; }
  .bento__desc { display: block; }
  .statgrid { gap: 20px; }
  .defgrid { grid-template-columns: minmax(0, 1fr); }
  .ftr__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ftr { padding-block: 56px 28px; }
  .ftr__bottom { margin-top: 36px; flex-direction: column; gap: 10px; }
  .cfab { inset-inline-end: 14px; bottom: 74px; }
  .cfab__btn span { display: none; }
  .cfab__btn { width: 52px; padding: 0; justify-content: center; }
  .to-top { inset-inline-end: 14px; bottom: 14px; width: 42px; height: 42px; }
  .ctaband { padding-block: 64px; }
  .hero__acts { gap: 10px; }
  .hero__acts .btn { flex: 1 1 44%; padding-inline: 14px; font-size: 14px; }
  .gallery__thumb button { flex-basis: 76px; }
  .feature-card__media img { min-height: 200px; }
  .swipe-hint { display: block; }
}

/* ------------------------------------------------------------------ RTL */

[dir="rtl"] .nav__link,
[dir="rtl"] .pagehero__num,
[dir="rtl"] .numlist__n { letter-spacing: 0; }
[dir="rtl"] .eyebrow,
[dir="rtl"] .panel__tag,
[dir="rtl"] .sidecol__title,
[dir="rtl"] .pcard__cat { letter-spacing: .06em; }
[dir="rtl"] .link-arrow::after { content: "←"; }
[dir="rtl"] .bento__foot .arrow,
[dir="rtl"] .pcard__go { transform: scaleX(-1); }
[dir="rtl"] .ftr .brand__mark svg { filter: brightness(1.3); }
[dir="rtl"] .hero::after {
  background:
    linear-gradient(180deg, rgba(11, 11, 12, .62) 0%, rgba(11, 11, 12, .18) 34%, rgba(11, 11, 12, .72) 78%, rgba(11, 11, 12, .94) 100%),
    linear-gradient(270deg, rgba(11, 11, 12, .55) 0%, rgba(11, 11, 12, 0) 58%);
}
[dir="rtl"] .swipe-hint { direction: rtl; }
