/* ==========================================================================
   SENTINEL — theme "Aegis"  ·  Swiss editorial / industrial
   --------------------------------------------------------------------------
   设计语言
     1. 排版优先：紧排大字号标题（Inter Tight，-0.03em）+ 等宽微标签
        （IBM Plex Mono，大写、宽字距）。层级靠字号与字距拉开，不靠颜色。
     2. 发丝线结构：1px 低对比分隔线承担绝大部分"分组"职责，
        卡片一律直角（3px），不用投影堆叠，只在 hover 用一条 2px 强调线回应。
     3. 中性纸面：白 + 冷灰（--paper）。品牌蓝只出现在小面积（眉标、链接、数字），
        深色区块统一走品牌深蓝 --bg-dark，避免出现第二种"黑"。
     4. 全站逻辑属性（margin-inline / padding-block / inset-inline / text-align:start），
        阿拉伯语页面自动镜像，无需额外的 RTL 样式表。

   品牌硬约定在本主题中的落点
     --brand #0A3D6E · --brand-400 #1670BE · --ink-2 #33475B · --line #CFDDE9
     --accent #D2372A · --ok #0E7A47 · --bg-alt #E3EEF9 · --bg-dark #061C31
     一律沿用原值，只改变它们在页面上的"用量与位置"（大色块 → 小面积点缀）。
   ========================================================================== */

:root {
  /* ---- 品牌（硬约定值，勿改浅） ---- */
  --brand:        #0A3D6E;
  --brand-700:    #062B50;
  --brand-600:    #0E5091;
  --brand-400:    #1670BE;
  --brand-200:    #9EC8EA;
  --brand-100:    #C6DFF4;
  --brand-50:     #E7F2FC;

  /* ---- 文字 ---- */
  --ink:          #0B0E12;
  --ink-2:        #33475B;
  --ink-3:        #6C7681;
  --ink-4:        #98A1AB;

  /* ---- 线条：--line 为品牌发丝线，--rule 为中性发丝线 ---- */
  --line:         #CFDDE9;
  --line-2:       #E4EDF4;
  --rule:         #E5E8EB;
  --rule-2:       #F0F2F4;

  /* ---- 纸面 ---- */
  --bg:           #FFFFFF;
  --paper:        #F5F7F9;
  --paper-2:      #EDF0F3;
  --bg-alt:       #E3EEF9;

  /* ---- 深色：全站只用这一族深蓝 ---- */
  --bg-dark:      #061C31;
  --bg-dark-2:    #0A2A45;
  --dark-rule:    #17334F;
  --on-dark:      #E9EEF3;
  --on-dark-2:    #9DB0C2;
  --on-dark-3:    #6E8095;

  --accent:       #D2372A;
  --ok:           #0E7A47;
  --wa:           #0E7A47;

  --radius:       3px;
  --radius-lg:    4px;
  --radius-sm:    2px;

  --shadow-sm:    0 1px 2px rgba(6,28,49,.05);
  --shadow-md:    0 12px 30px rgba(6,28,49,.10);
  --shadow-lg:    0 28px 60px rgba(6,28,49,.16);

  --wrap:         1280px;
  --gut:          28px;
  --header-h:     76px;
  --topbar-h:     36px;
  --sticky:       calc(var(--topbar-h) + var(--header-h) + 24px);

  --font:         "Inter", "Segoe UI", "Helvetica Neue", Arial, "Noto Sans",
                  "Noto Sans Arabic", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Inter Tight", "Inter", "Segoe UI", "Helvetica Neue", Arial,
                  "Noto Sans Arabic", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease:         cubic-bezier(.2,.65,.3,1);
}

@media (max-width: 1024px) {
  :root { --sticky: calc(var(--header-h) + 20px); }
}

/* 阿拉伯语：Inter 不含阿拉伯字形，标题也要跟着换字族。
   同时字距必须归零——宽字距会把连写体拆散。 */
[dir="rtl"] {
  --font:         "Noto Sans Arabic", "Inter", "Segoe UI", sans-serif;
  --font-display: "Noto Sans Arabic", "Inter Tight", "Inter", sans-serif;
  --font-mono:    "IBM Plex Mono", "Noto Sans Arabic", ui-monospace, monospace;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; }

*, *::before, *::after { box-sizing: border-box; }

/* .card 等是 display:flex，会盖过 UA 样式表的 [hidden]{display:none}，
   产品筛选就藏不掉卡片。全局兜住"隐藏"语义。 */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.03em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 1.3rem + 2.9vw, 3.65rem); line-height: 1.04; letter-spacing: -.04em; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.5rem); }
h3 { font-size: clamp(1.06rem, .96rem + .42vw, 1.3rem); letter-spacing: -.018em; }
h4 { font-size: 1.02rem; letter-spacing: -.012em; }

p    { margin: 0 0 1em; color: var(--ink-2); }
a    { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-400); }
ul   { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 600; }

/* 等宽微标签：全站"技术感"的载体 */
.mono,
.eyebrow, .sec-index, .crumbs, .chip, .filter-count, .filters__count,
.stat__label, .why__num, .tl__year, .pd__cat, .pd__links a, .steps__no,
.vcard__badge, .vcard__links a, .pcard__meta, .post__meta, .post__box h4,
.site-footer h4, .footer-bottom, .field label, .spec-table th,
.contact-list dt, .hero__badge, .brand__sub, .lang__btn, .region {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.section { padding-block: clamp(60px, 6.5vw, 112px); }
.section--tight { padding-block: clamp(44px, 4.5vw, 74px); }
.section--alt { background: var(--paper); }
.section--dark { background: var(--bg-dark); color: var(--on-dark); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p, .section--dark .lede { color: var(--on-dark-2); }

/* 区块头：左侧等宽编号 + 右侧内容，是整站"编辑感"的主骨架 */
.section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(18px, 3vw, 46px);
  align-items: start;
  max-width: 940px;
  margin-block-end: clamp(34px, 4vw, 62px);
}
.section-head--center {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}
.sec-index {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--ink-4);
  padding-block-start: .55em;
  white-space: nowrap;
}
.section--dark .sec-index { color: var(--on-dark-3); }
@media (max-width: 700px) {
  .section-head { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sec-index { padding-block-start: 0; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand-400); margin-block-end: 16px;
}
.eyebrow::before { content: ""; inline-size: 18px; block-size: 1px; background: currentColor; opacity: .55; }
/* 眉标里的 svg 没有固有尺寸约束会撑满整行，显式定死。 */
.eyebrow svg { inline-size: 14px; block-size: 14px; flex: none; }
.section-head--center .eyebrow::before { display: none; }
.section--dark .eyebrow { color: #63B8EE; }

.lede { font-size: clamp(1rem, .95rem + .25vw, 1.1rem); color: var(--ink-2); max-width: 68ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border: 1px solid transparent; border-radius: var(--radius);
  font: inherit; font-size: .9rem; font-weight: 500; letter-spacing: .005em; line-height: 1.15;
  cursor: pointer; white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--onDark, .btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn--onDark:hover, .btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; margin-block-start: 22px; }
.btn--wa:hover { background: #0A5F37; color: #fff; }
.btn--sm { padding: 10px 16px; font-size: .82rem; }
.btn--block { width: 100%; }
.btn svg { inline-size: 15px; block-size: 15px; flex: none; transition: transform .18s var(--ease); }
.btn:hover svg { transform: translateX(2px); }
[dir="rtl"] .btn:hover svg { transform: translateX(-2px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; inset-block-start: 0; z-index: 80;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-block-end: 1px solid var(--rule);
}

/* 顶部通栏：品牌口号 / 性能主张，等宽小字，桌面端专属 */
.topbar { background: var(--bg-dark); color: var(--on-dark-2); }
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  block-size: var(--topbar-h);
}
.topbar span {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar__tag { color: var(--on-dark); }
.topbar__meta { color: var(--on-dark-3); }

.site-header__inner { display: flex; align-items: center; gap: 24px; block-size: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { inline-size: 30px; block-size: 30px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name {
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 600;
  letter-spacing: .17em; color: var(--ink);
}
.brand__sub { font-size: .58rem; letter-spacing: .19em; text-transform: uppercase; color: var(--ink-3); }
[dir="rtl"] .brand__name, [dir="rtl"] .brand__sub { letter-spacing: 0; }

.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav a {
  display: inline-block; padding: 10px 14px; border-radius: var(--radius);
  font-size: .86rem; font-weight: 500; color: var(--ink-2);
  transition: color .16s var(--ease), background .16s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; display: block; block-size: 1px; background: var(--accent);
  margin-block-start: 6px;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px;
  background: transparent; border: 1px solid var(--rule); border-radius: var(--radius);
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2); cursor: pointer;
  transition: border-color .16s var(--ease), color .16s var(--ease);
}
.lang__btn:hover { border-color: var(--ink-3); color: var(--ink); }
.lang__btn svg { inline-size: 14px; block-size: 14px; }
.lang__menu {
  position: absolute; inset-block-start: calc(100% + 8px); inset-inline-end: 0;
  min-inline-size: 186px; padding: 6px;
  background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.lang[data-open="true"] .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; font-size: .88rem; color: var(--ink-2);
}
.lang__menu a:hover { background: var(--paper); color: var(--ink); }
.lang__menu a[aria-current="true"] { color: var(--brand); background: var(--brand-50); font-weight: 500; }
.lang__menu span.code {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-4);
}

.burger {
  display: none; inline-size: 40px; block-size: 40px; flex: none;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--rule); border-radius: var(--radius); cursor: pointer;
}
.burger span { display: block; inline-size: 16px; block-size: 1.5px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; inset-inline-start: 0;
  inline-size: 16px; block-size: 1.5px; background: var(--ink);
}
.burger span::before { inset-block-start: -5px; }
.burger span::after  { inset-block-start: 5px; }

@media (max-width: 1024px) {
  .topbar { display: none; }
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset-block-start: var(--header-h); inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-block-end: 1px solid var(--rule);
    padding: 6px var(--gut) 22px;
    transform: translateY(-10px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
    max-block-size: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a { padding: 15px 4px; font-size: 1.02rem; border-block-end: 1px solid var(--rule-2); border-radius: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .header-actions .btn { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--bg-dark); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: center; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(4,15,29,.95) 0%, rgba(6,28,49,.88) 44%, rgba(10,42,69,.45) 100%);
}
[dir="rtl"] .hero__media::after {
  background: linear-gradient(264deg, rgba(4,15,29,.95) 0%, rgba(6,28,49,.88) 44%, rgba(10,42,69,.45) 100%);
}
.hero__inner { position: relative; padding-block: clamp(76px, 9vw, 150px) clamp(54px, 7vw, 96px); }
.hero__content { max-width: 780px; }
.hero h1 { color: #fff; margin-block-end: 22px; }
.hero__lede { color: #C2D0DC; font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); max-width: 620px; line-height: 1.62; }
.hero .eyebrow { color: #63B8EE; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 36px; }

.hero__strip { position: relative; border-block-start: 1px solid rgba(255,255,255,.14); }
.hero__strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-block: 18px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #B9C8D6;
}
.hero__badge::before {
  content: ""; inline-size: 7px; block-size: 7px; border-radius: 50%;
  background: #4FC08D; box-shadow: 0 0 0 3px rgba(79,192,141,.18);
}

/* 内页头：白底 + 底部发丝线，安静、编辑感 */
.hero--page { background: var(--bg); color: var(--ink); border-block-end: 1px solid var(--rule); }
.hero--page .hero__inner { padding-block: clamp(40px, 5vw, 74px) clamp(38px, 5vw, 66px); }
.hero--page h1 { color: var(--ink); font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.95rem); }
.hero--page .hero__lede { color: var(--ink-2); }
.hero--page .eyebrow { color: var(--brand-400); }

/* ---------- pillars ---------- */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
}
.pillar { background: #fff; padding: 34px 30px; }
.pillar__icon { inline-size: 40px; block-size: 40px; color: var(--brand-400); margin-block-end: 22px; }
.pillar__icon svg { inline-size: 100%; block-size: 100%; }
.pillar h3 { font-size: 1.04rem; margin-block-end: 10px; }
.pillar p { font-size: .92rem; margin: 0; }

@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: clamp(18px, 2vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .22s var(--ease), background .22s var(--ease);
}
/* hover 只用一条 2px 强调线回应：不做位移、不加投影 */
.card::before {
  content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0;
  z-index: 2; block-size: 2px; inline-size: 0; background: var(--accent);
  transition: inline-size .32s var(--ease);
}
.card:hover::before { inline-size: 100%; }
.card:hover { border-color: var(--brand-200); }

.card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; }
/* 画册图版很宽，裁切成缩略图会读成"产品不完整"——用 contain 完整呈现。 */
.card__media img {
  inline-size: 100%; block-size: 100%; object-fit: contain; padding: 20px;
  transition: transform .55s var(--ease);
}
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.card__cat { display: block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); margin-block-end: 9px; }
.card__title { font-size: 1.02rem; margin-block-end: 8px; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--brand); }
.card__text { font-size: .87rem; color: var(--ink-3); margin-block-end: 18px; line-height: 1.6; }
.card__foot {
  margin-block-start: auto; display: inline-flex; align-items: center; gap: 8px;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-400);
}
.card__foot svg { inline-size: 13px; block-size: 13px; transition: transform .22s var(--ease); }
[dir="rtl"] .card__foot svg { transform: scaleX(-1); }
.card:hover .card__foot svg { transform: translateX(3px); }
[dir="rtl"] .card:hover .card__foot svg { transform: scaleX(-1) translateX(3px); }

.card--cat .card__media { aspect-ratio: 16 / 10; }
.card--cat .card__body { padding: 20px 22px 22px; }
.card--cat .card__title { font-size: .98rem; margin-block-end: 4px; }
.card--cat .card__text { font-size: .84rem; margin-block-end: 0; }

/* ---------- why / numbered list ---------- */
.why {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
}
.why__item { background: #fff; padding: 32px 30px; }
.why__num { font-size: .7rem; font-weight: 500; letter-spacing: .14em; color: var(--brand-400); }
.why__item h3 { font-size: 1.02rem; margin: 12px 0 8px; }
.why__item p { font-size: .9rem; margin: 0; }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
}
.stat { background: #fff; padding: 30px 18px; text-align: center; }
.stat__value {
  font-family: var(--font-display); font-size: clamp(1.4rem, 1.05rem + 1vw, 2rem);
  font-weight: 600; letter-spacing: -.03em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); margin-block-start: 10px; line-height: 1.55; }
@media (max-width: 1024px) { .stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px)  { .stats { grid-template-columns: repeat(2, 1fr); } }

.section--dark .stats { background: var(--dark-rule); border-color: var(--dark-rule); }
.section--dark .stat { background: transparent; }
.section--dark .stat__value { color: #fff; }
.section--dark .stat__label { color: var(--on-dark-3); }

/* ---------- tech table ---------- */
.tech { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--dark-rule); border: 1px solid var(--dark-rule); }
@media (max-width: 900px) { .tech { grid-template-columns: 1fr; } }

.panel { background: transparent; border: 0; }
.panel__head { padding: 20px 24px; border-block-end: 1px solid var(--dark-rule); }
.panel__head h3 { margin: 0; font-size: 1rem; color: #fff; }
.panel__head span { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .15em; text-transform: uppercase; color: var(--on-dark-3); }

.kv {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 24px; border-block-end: 1px solid var(--rule-2); font-size: .9rem;
}
.kv:last-child { border-block-end: 0; }
.kv dt { margin: 0; color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 500; color: var(--ink); text-align: end; font-variant-numeric: tabular-nums; }

.spec-list { border: 1px solid var(--rule); margin: 0 0 22px; }
.spec-list .kv { padding: 12px 18px; font-size: .88rem; }
.spec-list .kv dt { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .03em; }

.section--dark .kv { border-block-end-color: var(--dark-rule); }
.section--dark .kv dt { color: var(--on-dark-3); }
.section--dark .kv dd { color: #fff; }
.section--dark .spec-list { border-color: var(--dark-rule); }
.section--dark .spec-list .kv:last-child { border-block-end: 0; }

/* ---------- global / regions ---------- */
.regions { display: flex; flex-wrap: wrap; gap: 8px; }
.region {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px;
  border: 1px solid var(--rule); background: #fff;
  font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
.region::before { content: ""; inline-size: 5px; block-size: 5px; background: var(--brand-400); flex: none; }
.section--dark .region { background: transparent; border-color: var(--dark-rule); color: var(--on-dark-2); }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4.5vw, 72px); align-items: center; }
.split--media-first .split__media { order: -1; }
[dir="rtl"] .split--media-first .split__media { order: 0; }
[dir="rtl"] .split--media-last .split__media { order: -1; }
.split__media img { inline-size: 100%; border-radius: var(--radius-lg); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__media { order: -1 !important; } }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--bg-dark); color: #fff;
  border-radius: var(--radius-lg); padding: clamp(38px, 5.5vw, 76px);
}
.cta::after {
  content: ""; position: absolute; pointer-events: none;
  inset-block-start: -42%; inset-inline-end: -8%;
  inline-size: 460px; block-size: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,112,190,.30) 0%, rgba(22,112,190,0) 70%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-block-end: 16px; max-width: 700px; }
.cta p { color: var(--on-dark-2); max-width: 640px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 30px; }

/* ---------- filters ---------- */
.filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-block-end: clamp(26px, 3vw, 38px); padding-block-end: 22px;
  border-block-end: 1px solid var(--rule);
}
.chip {
  padding: 9px 15px; border: 1px solid var(--rule); border-radius: var(--radius);
  background: #fff; font: inherit; font-size: .7rem; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-2); cursor: pointer;
  transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip__n { opacity: .6; margin-inline-start: 6px; }
.filter-count, .filters__count {
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-4); margin-inline-start: auto; align-self: center;
}

/* ---------- breadcrumb ---------- */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-4); margin-block-end: 22px;
}
.crumbs a { color: var(--ink-4); }
.crumbs a:hover { color: var(--brand-400); }
.crumbs span.sep { color: var(--rule); }
.crumbs [aria-current="page"] { color: var(--ink-3); }

/* ---------- product detail ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(30px, 4.5vw, 64px); align-items: start; }
@media (max-width: 960px) { .pd { grid-template-columns: 1fr; } }
.pd__figure { border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
/* 图版宽且不规则，绝不裁切——要看到完整产品。 */
.pd__figure img { inline-size: 100%; block-size: auto; object-fit: contain; }
.pd__zoom { display: block; position: relative; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pd__aside { position: sticky; inset-block-start: var(--sticky); }
@media (max-width: 960px) { .pd__aside { position: static; } }
.pd__cat { display: inline-block; font-size: .66rem; letter-spacing: .17em; text-transform: uppercase; color: var(--brand-400); font-weight: 500; }
.pd h1 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.35rem); margin-block: 14px 16px; }
.pd__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 26px; }
.pd__group { margin-block-start: 36px; }
.pd__group h3 { margin: 0 0 14px; font-size: 1.04rem; }

.feature-list li { position: relative; padding-inline-start: 24px; margin-block-end: 11px; font-size: .93rem; color: var(--ink-2); }
.feature-list li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .62em; inline-size: 11px; block-size: 1px; background: var(--brand-400); }
.apps { font-size: .9rem; color: var(--ink-2); }

/* quick links under the buy box */
.pd__links {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-block-start: 24px; padding-block-start: 20px; border-block-start: 1px solid var(--rule);
}
.pd__links a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px 6px 0; font-size: .66rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3);
  transition: color .18s var(--ease);
}
.pd__links a:hover { color: var(--brand-400); }
.pd__links svg { inline-size: 12px; block-size: 12px; flex: none; }
[dir="rtl"] .pd__links a { padding: 6px 0 6px 12px; }
.spec-list--quick .kv { padding: 11px 18px; }

/* ---------- specs table ---------- */
.spec-table {
  inline-size: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--rule); font-size: .9rem;
}
.spec-table tr { border-block-end: 1px solid var(--rule-2); }
.spec-table tr:last-child { border-block-end: 0; }
.spec-table th, .spec-table td { padding: 14px 20px; text-align: start; vertical-align: top; }
.spec-table th { inline-size: 38%; font-weight: 400; font-size: .76rem; letter-spacing: .05em; color: var(--ink-3); }
.spec-table td { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.gal__item { margin: 0; }
.gal__item--scene { grid-column: 1 / -1; }
.gal__btn {
  display: block; position: relative; width: 100%; padding: 0;
  border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--paper); cursor: zoom-in;
  transition: border-color .25s var(--ease);
}
.gal__btn:hover { border-color: var(--brand-200); }
.gal__btn img { inline-size: 100%; block-size: auto; transition: transform .6s var(--ease); }
.gal__btn:hover img { transform: scale(1.02); }
.gal__zoom {
  position: absolute; inset-block-end: 12px; inset-inline-end: 12px;
  inline-size: 34px; block-size: 34px; display: flex; align-items: center; justify-content: center;
  background: rgba(6,28,49,.68); color: #fff;
  opacity: 0; transform: scale(.86); pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.gal__zoom svg { inline-size: 16px; block-size: 16px; }
.gal__btn:hover .gal__zoom, .gal__btn:focus-visible .gal__zoom { opacity: 1; transform: scale(1); }
.pd__zoom .gal__zoom { inset-block-end: 14px; inset-inline-end: 14px; }
.gal__item figcaption {
  display: flex; align-items: center; gap: 9px;
  margin-block-start: 12px; font-size: .82rem; color: var(--ink-3);
}
.gal__item figcaption::before { content: ""; inline-size: 14px; block-size: 1px; background: var(--brand-400); flex: none; }

/* ---------- prose (product long copy) ---------- */
.prose { max-width: 76ch; margin-block-end: clamp(28px, 4vw, 46px); }
.prose p { font-size: 1.01rem; line-height: 1.78; color: var(--ink-2); }
.prose p:first-child { font-size: 1.09rem; color: var(--ink-2); }
.kvs { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 54px); align-items: start; }
.kvs h3 { font-size: 1rem; margin-block-end: 12px; }
.kvs .spec-list { margin-block-end: 0; }

/* ---------- checklist / steps / faq / procurement ---------- */
#details, #specs, #included, #deployment, #faq, #ordering, #gallery, #videos {
  scroll-margin-block-start: calc(var(--topbar-h) + var(--header-h) + 18px);
}
@media (max-width: 1024px) {
  #details, #specs, #included, #deployment, #faq, #ordering, #gallery, #videos {
    scroll-margin-block-start: calc(var(--header-h) + 14px);
  }
}
.section__lead { margin: 14px 0 0; font-size: .98rem; color: var(--ink-2); max-width: 62ch; }

.checklist {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px;
  list-style: none; margin: 0; padding: 0;
}
.checklist li { position: relative; padding-inline-start: 22px; font-size: .92rem; color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .42em; inline-size: 7px; block-size: 7px; background: var(--brand-400); }

.steps { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); list-style: none; margin: 0; padding: 0; }
.steps__item { display: flex; gap: 22px; align-items: flex-start; padding: 26px 28px; background: #fff; }
.steps__no {
  flex: none; inline-size: 34px; block-size: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .74rem; font-weight: 500; letter-spacing: .04em;
  color: var(--brand-400); background: var(--brand-50); border: 1px solid var(--brand-100);
}
.steps__body h3 { margin: 5px 0 7px; font-size: 1rem; }
.steps__body p { margin: 0; font-size: .92rem; color: var(--ink-2); }

/* FAQ — 原生 details，内容留在静态 HTML 里 */
.faq { max-width: 900px; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.faq__item { background: #fff; }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 24px; cursor: pointer; list-style: none;
  font-size: .98rem; font-weight: 500; color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; flex: none; inline-size: 8px; block-size: 8px; margin-block-start: -5px;
  border-inline-end: 1.5px solid var(--brand-400); border-block-end: 1.5px solid var(--brand-400);
  transform: rotate(45deg); transition: transform .22s var(--ease);
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg); margin-block-start: 4px; }
.faq__a { padding: 0 24px 22px; }
.faq__a p { margin: 0; font-size: .93rem; color: var(--ink-2); }

.proc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.proc .spec-list { margin-block-end: 0; background: #fff; }
.proc__note { margin: 0 0 22px; font-size: .93rem; color: var(--ink-2); }
@media (max-width: 1024px) { .proc { grid-template-columns: 1fr; } }

/* ---------- timeline ---------- */
.timeline { position: relative; padding-inline-start: 26px; }
.timeline::before { content: ""; position: absolute; inset-block: 8px; inset-inline-start: 4px; inline-size: 1px; background: var(--rule); }
.tl { position: relative; padding-block-end: 32px; }
.tl:last-child { padding-block-end: 0; }
.tl::before {
  content: ""; position: absolute; inset-inline-start: -26px; inset-block-start: 9px;
  inline-size: 9px; block-size: 9px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--brand-400); box-sizing: border-box;
}
.tl__year { font-size: .7rem; font-weight: 500; letter-spacing: .12em; color: var(--brand-400); }
.tl h3 { font-size: 1rem; margin: 8px 0 6px; }
.tl p { font-size: .9rem; margin: 0; }

/* ---------- checks ---------- */
.checks li { position: relative; padding-inline-start: 26px; margin-block-end: 12px; font-size: .93rem; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; inset-inline-start: 1px; inset-block-start: .42em;
  inline-size: 6px; block-size: 11px;
  border: solid var(--brand-400); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
[dir="rtl"] .checks li::before { transform: rotate(45deg) scaleX(-1); }
.section--dark .checks li { color: var(--on-dark-2); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 4.5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { margin: 0; }
.contact-list .kv { padding: 16px 0; border-block-end: 1px solid var(--rule); align-items: baseline; }
.contact-list .kv:first-child { border-block-start: 1px solid var(--rule); }
.contact-list dt { flex: none; inline-size: 42%; font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
.contact-list dd { font-size: .95rem; }
.contact-list dd a { color: var(--ink); }
.contact-list dd a:hover { color: var(--brand); }

/* 电话号码 / 邮箱在 RTL 版面里保持 LTR */
.num { direction: ltr; unicode-bidi: isolate; }

/* ---------- form ---------- */
.form { border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 38px); background: #fff; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field { margin-block-end: 16px; }
.field label { display: block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-block-end: 8px; }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  inline-size: 100%; padding: 13px 14px; font: inherit; font-size: .92rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-sm);
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.field textarea { min-block-size: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--brand-400); box-shadow: 0 0 0 3px var(--brand-50);
}
.field input[aria-invalid="true"] { border-color: var(--accent); }
.field__err { display: block; font-size: .78rem; color: var(--accent); margin-block-start: 5px; }
.form__note { font-size: .78rem; color: var(--ink-4); margin-block-start: 14px; }
.form__msg { display: none; padding: 13px 16px; font-size: .9rem; margin-block-end: 16px; border-inline-start: 2px solid transparent; }
.form__msg[data-state="ok"]   { display: block; background: #EAF6F0; color: var(--ok); border-inline-start-color: var(--ok); }
.form__msg[data-state="err"]  { display: block; background: #FBEDEC; color: var(--accent); border-inline-start-color: var(--accent); }
.form__msg[data-state="info"] { display: block; background: var(--brand-50); color: var(--brand); border-inline-start-color: var(--brand-400); }

/* ---------- download band ---------- */
.dl {
  display: flex; flex-wrap: wrap; align-items: center; gap: 26px;
  padding: clamp(24px, 3vw, 38px); background: var(--paper); border: 1px solid var(--rule);
}
.dl__icon { inline-size: 40px; block-size: 40px; color: var(--brand-400); flex: none; }
.dl__text { flex: 1 1 320px; }
.dl__text h3 { margin: 0 0 6px; font-size: 1.04rem; }
.dl__text p { margin: 0; font-size: .88rem; }
.dl__note { font-size: .78rem; color: var(--ink-4); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-dark); color: var(--on-dark-2);
  padding-block: clamp(52px, 5.5vw, 84px) 0; font-size: .9rem;
  border-block-start: 1px solid var(--dark-rule);
}
.site-footer h4 { font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; color: var(--on-dark-3); margin-block-end: 18px; }
.site-footer a { color: var(--on-dark-2); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.25fr; gap: 44px; padding-block-end: 48px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-block-end: 20px; }
.footer-brand .brand__mark { inline-size: 28px; block-size: 28px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__sub { color: var(--on-dark-3); }
.footer-list li { margin-block-end: 11px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  padding-block: 22px; border-block-start: 1px solid var(--dark-rule);
  font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3);
}

/* ---------- video library ---------- */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); align-items: start; }
.vcard { margin: 0; }
.vcard--portrait { grid-row: span 2; }
.vcard__btn {
  display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; text-align: start;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer;
  transition: border-color .25s var(--ease);
}
.vcard__btn:hover { border-color: var(--brand-200); }
.vcard__media { position: relative; display: block; width: 100%; overflow: hidden; background: var(--bg-dark); }
/* 由 orientation 决定画框：横屏 16:9，竖屏 9:16 */
.vcard--landscape .vcard__media { aspect-ratio: 16 / 9; }
.vcard--portrait  .vcard__media { aspect-ratio: 9 / 16; }
.vcard__media img {
  position: absolute; inset: 0; inline-size: 100%; block-size: 100%;
  object-fit: cover; opacity: .88;
  transition: transform .6s var(--ease), opacity .3s var(--ease);
}
.vcard__btn:hover .vcard__media img { transform: scale(1.05); opacity: 1; }
.vcard__play {
  position: absolute; inset-block-start: 50%; inset-inline-start: 50%;
  translate: -50% -50%; inline-size: 52px; block-size: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.94); color: var(--brand);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.vcard__play svg { inline-size: 24px; block-size: 24px; }
[dir="rtl"] .vcard__play svg { transform: scaleX(-1); }
.vcard__btn:hover .vcard__play { transform: scale(1.06); background: #fff; }
.vcard--portrait .vcard__play { inline-size: 44px; block-size: 44px; }
.vcard__badge {
  position: absolute; inset-block-start: 12px; inset-inline-start: 12px;
  padding: 5px 9px; font-size: .6rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: #fff; background: rgba(6,28,49,.72);
  backdrop-filter: blur(4px);
}
.vcard__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.vcard__title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.3; margin-block-end: 8px; }
.vcard__desc { font-size: .86rem; color: var(--ink-3); line-height: 1.6; }
.vcard__links { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: auto; padding-block-start: 16px; }
.vcard__links a {
  padding: 5px 10px; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--brand-50); color: var(--brand); border: 1px solid var(--brand-100);
}
.vcard__links a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.hint { font-size: .84rem; color: var(--ink-3); margin-block-start: 28px; }
.hint::before {
  content: ""; display: inline-block; inline-size: 6px; block-size: 6px;
  background: var(--brand-400); margin-inline-end: 9px; vertical-align: middle;
}

/* ---------- blog ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); }
.pcard {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg);
  transition: border-color .25s var(--ease);
}
.pcard:hover { border-color: var(--brand-200); }
.pcard__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); }
.pcard__media img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.pcard__meta { display: flex; align-items: center; gap: 10px; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); margin-block-end: 12px; }
.pcard__meta time { font-weight: 500; }
.pcard__meta span::before { content: "·"; margin-inline-end: 9px; }
.pcard__title { font-size: 1.04rem; margin-block-end: 10px; line-height: 1.3; }
.pcard__title a { color: var(--ink); }
.pcard__title a:hover { color: var(--brand); }
.pcard__text { font-size: .89rem; color: var(--ink-3); margin-block-end: 18px; line-height: 1.6; }

/* ---------- article ---------- */
.post { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(30px, 4.5vw, 64px); align-items: start; }
.post__main { min-width: 0; }
.post__hero { border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; margin-block-end: clamp(28px, 3.5vw, 44px); }
.post__hero img { inline-size: 100%; block-size: auto; }
.post__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-size: .64rem; letter-spacing: .11em; text-transform: uppercase;
  color: var(--ink-4); margin-block-end: 24px;
}
.post__meta .tag { padding: 5px 10px; background: var(--brand-50); color: var(--brand); border: 1px solid var(--brand-100); }
.post__body h2 {
  font-size: clamp(1.18rem, 1.05rem + .55vw, 1.48rem);
  margin-block: 2.1em .7em; scroll-margin-block-start: var(--sticky);
}
.post__body h2:first-child { margin-block-start: 0; }
.post__body p { font-size: 1.01rem; line-height: 1.8; color: var(--ink-2); }
.post__body ul { margin: 0 0 1.4em; }
.post__body ul li { position: relative; padding-inline-start: 24px; margin-block-end: 11px; font-size: .97rem; color: var(--ink-2); }
.post__body ul li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .62em; inline-size: 6px; block-size: 6px; background: var(--brand-400); }
.post__body h3 { font-size: clamp(1rem, .95rem + .3vw, 1.16rem); margin-block: 1.7em .6em; }
.post__body h2 + h3 { margin-block-start: .5em; }
.post__body ol { list-style: none; counter-reset: post-ol; margin: 0 0 1.4em; padding: 0; }
.post__body ol li { position: relative; counter-increment: post-ol; padding-inline-start: 30px; margin-block-end: 11px; font-size: .97rem; color: var(--ink-2); }
.post__body ol li::before {
  content: counter(post-ol); position: absolute; inset-inline-start: 0; inset-block-start: .12em;
  inline-size: 20px; block-size: 20px; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: .66rem; font-weight: 500;
  background: var(--brand-50); color: var(--brand); border: 1px solid var(--brand-100);
}
.post__body blockquote {
  margin: 0 0 1.5em; padding: 2px 0 2px 22px;
  border-inline-start: 2px solid var(--brand-400);
  color: var(--ink); font-size: 1.05rem; line-height: 1.7;
}
.post__body blockquote p { font-size: inherit; color: inherit; }
.post__body hr { border: 0; block-size: 1px; background: var(--rule); margin-block: 2.2em; }
.post__fig { margin: 0 0 1.7em; }
.post__fig img { inline-size: 100%; block-size: auto; border: 1px solid var(--rule); }
.post__fig figcaption { margin-block-start: 10px; font-size: .82rem; color: var(--ink-3); line-height: 1.55; }
.post__body strong { color: var(--ink); font-weight: 600; }
.post__body em { font-style: italic; }
.post__body code {
  font-family: var(--font-mono); font-size: .86em; padding: 2px 6px;
  background: var(--paper); border: 1px solid var(--rule); color: var(--brand-700);
}
.post__body a { color: var(--brand-400); text-decoration: underline; text-underline-offset: 3px; }
.post__body a:hover { color: var(--brand); }
.post__aside { position: sticky; inset-block-start: var(--sticky); display: flex; flex-direction: column; gap: 20px; }
.post__box { border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 22px 24px; background: #fff; }
.post__box h4 { font-size: .64rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-4); margin-block-end: 16px; }
.toc li { margin-block-end: 10px; }
.toc a { display: block; font-size: .87rem; color: var(--ink-2); line-height: 1.45; }
.toc a:hover { color: var(--brand); }
.post__prods li { display: flex; gap: 11px; align-items: center; margin-block-end: 12px; }
.post__prods img { inline-size: 52px; block-size: 40px; object-fit: contain; background: var(--paper); border: 1px solid var(--rule); flex: none; }
.post__prods a { font-size: .86rem; color: var(--ink); line-height: 1.35; }
.post__prods a:hover { color: var(--brand); }

@media (max-width: 1024px) {
  .vgrid, .pgrid { grid-template-columns: repeat(2, 1fr); }
  .post { grid-template-columns: 1fr; }
  .post__aside { position: static; }
  .kvs { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .gal { grid-template-columns: 1fr; }
  .gal__item--scene { grid-column: auto; }
  .vgrid, .pgrid { grid-template-columns: 1fr; }
  .vcard--portrait { grid-row: auto; max-width: 340px; }
  .checklist { grid-template-columns: 1fr; }
  .spec-table th { inline-size: 46%; }
  .steps__item { padding: 20px 18px; gap: 14px; }
  .post__aside { position: static; }
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 120; display: flex;
  align-items: center; justify-content: center; padding: clamp(16px, 4vw, 48px);
}
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(3,14,26,.92); backdrop-filter: blur(3px); }
.lightbox__panel { position: relative; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; }
.lightbox__close {
  position: absolute; inset-block-start: -6px; inset-inline-end: -6px; z-index: 2;
  inline-size: 38px; block-size: 38px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(6,28,49,.86); color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__close:hover { background: #fff; color: var(--brand); }
.lightbox__content { display: flex; flex-direction: column; gap: 14px; overflow: auto; }
.lightbox__content img { inline-size: 100%; block-size: auto; max-height: 74vh; object-fit: contain; background: #041220; }
.lightbox__content video { inline-size: 100%; max-height: 74vh; background: #041220; }
.lightbox__content .lightbox__landscape { inline-size: min(1040px, 100%); }
.lightbox__content .lightbox__portrait { inline-size: min(420px, 100%); margin-inline: auto; }
.lightbox__cap { color: #C6DFF4; font-size: .9rem; line-height: 1.55; }
.lightbox__cap b { display: block; margin-block-end: 5px; color: #fff; font-weight: 600; }
.lightbox__cap .lightbox__cta {
  display: inline-flex; align-items: center; gap: 7px; margin-block-start: 12px;
  padding: 9px 18px; background: var(--brand-400); color: #fff; font-weight: 500; font-size: .84rem;
}
.lightbox__cap .lightbox__cta:hover { background: #fff; color: var(--brand); }
.lightbox__fallback {
  color: #C6DFF4; font-size: .94rem; text-align: center; padding: 34px 18px;
  border: 1px dashed rgba(255,255,255,.3);
}
body[data-lightbox-open="true"] { overflow: hidden; }

/* ---------- 404 ---------- */
.err { position: relative; overflow: hidden; padding-block: clamp(72px, 9vw, 140px); }
.err__watermark {
  position: absolute; inset-block-start: 50%; inset-inline-start: 50%;
  translate: -50% -50%;
  font-family: var(--font-display); font-weight: 700; line-height: 1;
  font-size: min(40vw, 460px); letter-spacing: -.06em;
  color: var(--ink); opacity: .035;
  pointer-events: none; user-select: none;
}
.err__inner { position: relative; max-width: 720px; text-align: center; margin-inline: auto; }
.err h1 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); margin-block: 4px 18px; }
.err__desc { color: var(--ink-2); max-width: 520px; margin-inline: auto; }
.err__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-block-start: 36px; }
.err__foot {
  margin-block-start: 34px; padding-block-start: 22px; border-block-start: 1px solid var(--rule);
  font-size: .84rem; color: var(--ink-3);
}
.err__foot a { color: var(--brand-400); }
.err__foot a:hover { color: var(--brand); }
[dir="rtl"] .err__watermark { letter-spacing: 0; }

/* ---------- misc ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.sr-only {
  position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; inset-block-start: -60px; inset-inline-start: 12px; z-index: 200;
  padding: 11px 18px; background: var(--brand); color: #fff; border-radius: 0 0 var(--radius) var(--radius);
}
.skip:focus { inset-block-start: 0; color: #fff; }

.to-top {
  position: fixed; inset-block-end: 24px; inset-inline-end: 24px; z-index: 70;
  inline-size: 40px; block-size: 40px; display: none;
  align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow-md); color: var(--ink-2); cursor: pointer;
}
.to-top[data-show="true"] { display: flex; }
.to-top svg { inline-size: 17px; block-size: 17px; }

.empty { padding: 44px 0; color: var(--ink-3); font-size: .92rem; }

/* --- theme token overrides --- */
/* 由后台主题编辑器生成 · 覆盖 themes/aegis/assets/css/site.css 中的同名变量
   留空即使用 site.css 的默认值。 */

