/* ============================================================
   超凡国际官网 · 共享外壳样式 /assets/site.css
   堆叠账簿式：深靛底 · 鎏金索引 · 粗边框硬阴影 · 等宽数字
   ============================================================ */

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

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 420px at 10% -10%, rgba(201, 162, 75, .14), transparent 62%),
    radial-gradient(880px 460px at 92% 2%, rgba(159, 189, 184, .09), transparent 60%),
    radial-gradient(700px 320px at 50% 108%, rgba(79, 111, 98, .12), transparent 70%),
    #0E1830;
  background-attachment: fixed;
  color: #F2EDE3;
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

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

#main-content { scroll-margin-top: 148px; }

::selection {
  background: rgba(201, 162, 75, .34);
  color: #FFF8E8;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #E8C97A;
  outline-offset: 3px;
  border-radius: 1px;
}

/* ---------- 变量 ---------- */
:root {
  --ink: #0E1830;
  --ink-panel: #172642;
  --ink-deep: #0A1122;
  --ink-sub: #0B1428;
  --gold: #C9A24B;
  --gold-light: #E8C97A;
  --mist: #9FBDB8;
  --sand: #D8C3A5;
  --moss: #4F6F62;
  --stone: #6E7F8D;
  --paper: #F2EDE3;
  --clay: #C97B5A;

  --wrap: 1180px;
  --edge: 2px solid #070D1C;
  --shadow-1: 8px 8px 0 rgba(5, 9, 20, .55);
  --shadow-2: 10px 11px 0 rgba(5, 9, 20, .62);

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", "SFMono-Regular", "Consolas", monospace;
}

/* ---------- 容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

/* ============================================================
   页头
   ============================================================ */
.site-head {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #0E1830;
  border-bottom: 2px solid #070D1C;
  box-shadow: 0 12px 26px -22px rgba(0, 0, 0, .9);
  transition: box-shadow .16s ease;
}

.site-head[data-scrolled] {
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .95);
}

.skip-link {
  position: fixed;
  top: -90px;
  left: 16px;
  z-index: 200;
  display: inline-block;
  padding: .55rem 1rem;
  background: var(--gold-light);
  color: #0B1224;
  font-family: var(--font-sans);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  border: 2px solid #070D1C;
  box-shadow: 4px 4px 0 rgba(5, 9, 20, .6);
  transition: top .14s ease;
}

.skip-link:focus { top: 12px; }

/* --- 第一层：命令栏 --- */
.command-bar { background: #0E1830; }

.command-bar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  min-height: 64px;
  padding-block: 10px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark__index {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 2px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 3px 3px 0 rgba(201, 162, 75, .22);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.brand-mark:hover .brand-mark__index {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 rgba(201, 162, 75, .3);
  border-color: var(--gold-light);
}

.brand-mark__name {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  letter-spacing: .18em;
  color: var(--paper);
}

.nav { display: flex; justify-content: center; }

.nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__item { margin: 0; }

.nav__link {
  display: inline-block;
  padding: .34rem .62rem;
  color: rgba(242, 237, 227, .74);
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
  transition: color .12s ease, border-color .12s ease, background-color .12s ease;
}

.nav__link:hover {
  color: var(--gold-light);
  border-color: rgba(201, 162, 75, .34);
  border-bottom-color: var(--gold);
  background: rgba(201, 162, 75, .09);
}

.nav__link[aria-current="page"] {
  color: var(--gold-light);
  background: rgba(201, 162, 75, .12);
  border-color: rgba(201, 162, 75, .3);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: .45rem;
  padding: .42rem .62rem;
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(110, 127, 141, .7);
  font-family: var(--font-sans);
  font-size: .78rem;
  letter-spacing: .12em;
  cursor: pointer;
  transition: border-color .12s ease, color .12s ease, background-color .12s ease;
}

.nav-toggle:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201, 162, 75, .1);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform .15s ease, opacity .15s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.command-bar__meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  justify-self: end;
}

.version-chip {
  display: inline-block;
  padding: .26rem .55rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(159, 189, 184, .42);
  background: rgba(159, 189, 184, .08);
  transition: color .12s ease, border-color .12s ease, background-color .12s ease;
}

.version-chip:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  background: rgba(201, 162, 75, .12);
}

/* --- 第二层：版本对照条 --- */
.version-strip {
  background: var(--ink-panel);
  border-top: 1px solid rgba(110, 127, 141, .3);
  border-bottom: 1px solid rgba(110, 127, 141, .3);
}

.version-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .65rem;
  padding-block: .38rem;
  font-size: .75rem;
  color: rgba(242, 237, 227, .7);
}

.version-strip__key {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .18em;
  color: var(--stone);
}

.version-strip__item {
  font-family: var(--font-mono);
  letter-spacing: .04em;
  white-space: nowrap;
}

.version-strip__item--num { color: var(--gold-light); font-weight: 600; }

.version-strip__item--muted {
  font-family: var(--font-sans);
  color: rgba(242, 237, 227, .58);
}

.version-strip__sep { color: rgba(110, 127, 141, .7); }

.version-strip__link {
  margin-left: auto;
  color: var(--gold-light);
  font-size: .75rem;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(201, 162, 75, .5);
  transition: color .12s ease, border-color .12s ease;
}

.version-strip__link:hover { color: #FFFFFF; border-bottom-color: var(--gold-light); }

/* --- 第三层：三专区快捷索引带 --- */
.quick-rail {
  background: linear-gradient(180deg, rgba(23, 38, 66, .96), rgba(11, 20, 40, .96));
  border-bottom: 2px solid #070D1C;
}

.quick-rail__inner {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-block: .42rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.quick-rail__inner::-webkit-scrollbar { display: none; }

.quick-rail__label {
  flex: 0 0 auto;
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--stone);
  white-space: nowrap;
}

.quick-rail__label::after {
  content: "→";
  margin-left: .4rem;
  color: var(--gold);
}

.quick-rail__list {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-rail__list li { margin: 0; }

.quick-rail__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .22rem .7rem .22rem .55rem;
  color: var(--paper);
  font-size: .8rem;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(110, 127, 141, .45);
  background: rgba(242, 237, 227, .04);
  transition: border-color .12s ease, background-color .12s ease, transform .12s ease;
}

.quick-rail__link:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 75, .14);
  transform: translateY(-1px);
}

.quick-rail__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(242, 237, 227, .06);
}

.quick-rail__dot--mint { background: var(--mist); }
.quick-rail__dot--moss { background: var(--moss); box-shadow: inset 0 0 0 1px rgba(242, 237, 227, .55); }
.quick-rail__dot--sand { background: var(--sand); }

/* ============================================================
   页脚
   ============================================================ */
.site-foot {
  position: relative;
  margin-top: clamp(56px, 9vw, 108px);
  padding-block: clamp(34px, 6vw, 62px) 30px;
  background: linear-gradient(180deg, #0B1428 0%, #090F1F 100%);
  border-top: 2px solid var(--gold);
  color: rgba(242, 237, 227, .78);
}

.site-foot::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 6px;
  background-image: linear-gradient(90deg, rgba(201, 162, 75, .55) 0 18px, transparent 18px 30px);
  background-size: 30px 6px;
  opacity: .5;
}

.site-foot__grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 46px);
  padding-bottom: clamp(22px, 3vw, 34px);
  border-bottom: 1px solid rgba(110, 127, 141, .3);
}

.foot-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .85rem;
  max-width: 36ch;
}

.foot-brand .brand-mark__index { width: 26px; height: 26px; font-size: .82rem; }

.foot-brand__text {
  margin: 0;
  font-size: .85rem;
  line-height: 1.75;
  color: rgba(242, 237, 227, .62);
}

.foot-col { min-width: 0; }

.foot-col__title {
  margin: 0 0 .8rem;
  font-family: var(--font-serif);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--gold-light);
}

.foot-col__list {
  display: flex;
  flex-direction: column;
  gap: .48rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-col__list li { margin: 0; }

.foot-link {
  display: inline-block;
  padding-bottom: 1px;
  color: rgba(242, 237, 227, .72);
  font-size: .86rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .12s ease, border-color .12s ease;
}

.foot-link:hover {
  color: var(--gold-light);
  border-bottom-color: rgba(201, 162, 75, .65);
}

.foot-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: .85rem 1.5rem;
  padding-block: clamp(18px, 3vw, 26px);
  border-bottom: 1px solid rgba(110, 127, 141, .3);
}

.foot-contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .45rem .6rem;
}

.foot-contact__key {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .16em;
  color: var(--stone);
}

.foot-contact__val {
  font-family: var(--font-mono);
  font-size: .9rem;
  letter-spacing: .03em;
  color: var(--paper);
  word-break: break-word;
}

.foot-contact__val--mail {
  font-family: var(--font-sans);
  font-size: .84rem;
  line-height: 1.6;
  word-break: break-all;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  padding: .12rem .45rem;
  background: transparent;
  color: var(--mist);
  border: 1px solid rgba(110, 127, 141, .55);
  font-family: var(--font-sans);
  font-size: .68rem;
  letter-spacing: .08em;
  cursor: pointer;
  transition: border-color .12s ease, color .12s ease, background-color .12s ease;
}

.copy-btn:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201, 162, 75, .1);
}

.copy-btn[data-copied="true"] {
  border-color: var(--moss);
  color: var(--gold-light);
  background: rgba(79, 111, 98, .3);
}

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .9rem;
  padding-top: clamp(16px, 2.4vw, 22px);
}

.foot-copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .04em;
  color: rgba(242, 237, 227, .52);
}

.foot-legal__sep { color: rgba(110, 127, 141, .55); }

.foot-note {
  margin: .75rem 0 0;
  max-width: 74ch;
  font-size: .76rem;
  line-height: 1.7;
  color: rgba(242, 237, 227, .46);
}

/* ============================================================
   通用按钮
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .55rem 1.05rem;
  background: transparent;
  color: var(--gold-light);
  border: 2px solid var(--gold);
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(5, 9, 20, .6);
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, color .12s ease, border-color .12s ease;
}

.btn:hover {
  transform: translate(-1px, -2px);
  box-shadow: 5px 7px 0 rgba(5, 9, 20, .65);
  background: rgba(201, 162, 75, .16);
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 rgba(5, 9, 20, .6);
}

.btn--gold {
  background: var(--gold);
  color: #0B1224;
  border-color: var(--gold-light);
}

.btn--gold:hover { background: var(--gold-light); color: #0B1224; }

.btn--ghost {
  border-color: rgba(110, 127, 141, .75);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201, 162, 75, .12);
}

.btn--sm {
  padding: .38rem .72rem;
  font-size: .78rem;
  box-shadow: 2px 2px 0 rgba(5, 9, 20, .6);
}

.btn--sm:hover { box-shadow: 4px 5px 0 rgba(5, 9, 20, .65); }

/* ============================================================
   堆叠面板与章节头
   ============================================================ */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  background: var(--ink-panel);
  border: var(--edge);
  box-shadow: var(--shadow-1);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.panel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: rgba(201, 162, 75, .55);
}

.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem .8rem;
  padding-bottom: .75rem;
  margin-bottom: 1rem;
  border-bottom: 1px dashed rgba(110, 127, 141, .45);
}

.panel__num {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold);
}

.panel__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--paper);
}

.panel__body { font-size: .92rem; color: rgba(242, 237, 227, .78); }
.panel__body > :first-child { margin-top: 0; }
.panel__body > :last-child { margin-bottom: 0; }

.section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(12px, 2vw, 26px);
  align-items: start;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.section-head__num {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: .84;
  letter-spacing: -.02em;
  color: rgba(201, 162, 75, .26);
  -webkit-text-stroke: 1.4px var(--gold);
}

.section-head__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.35;
  color: var(--paper);
}

.section-head__lede {
  margin: .6rem 0 0;
  max-width: 62ch;
  font-size: .92rem;
  line-height: 1.8;
  color: rgba(242, 237, 227, .68);
}

.eyebrow {
  display: inline-block;
  margin-bottom: .6rem;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   网格
   ============================================================ */
.grid {
  display: grid;
  gap: clamp(18px, 2.6vw, 32px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.grid--7-5 > :nth-child(1) { grid-column: span 7; }
.grid--7-5 > :nth-child(2) { grid-column: span 5; }

.grid--5-7 > :nth-child(1) { grid-column: span 5; }
.grid--5-7 > :nth-child(2) { grid-column: span 7; }

.grid--halves { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.grid--thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ============================================================
   面包屑
   ============================================================ */
.crumbs { margin-bottom: clamp(16px, 2.6vw, 28px); }

.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
}

.crumbs__item { color: var(--stone); }

.crumbs__item + .crumbs__item::before {
  content: "/";
  margin-right: .35rem;
  color: rgba(110, 127, 141, .7);
}

.crumbs__link {
  color: rgba(242, 237, 227, .7);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .12s ease, border-color .12s ease;
}

.crumbs__link:hover { color: var(--gold-light); border-bottom-color: var(--gold); }

/* ============================================================
   标签
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .16rem .55rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  color: var(--paper);
  border: 1px solid rgba(110, 127, 141, .6);
  background: rgba(242, 237, 227, .05);
}

.tag--mint { color: var(--mist); border-color: rgba(159, 189, 184, .6); background: rgba(159, 189, 184, .1); }
.tag--sand { color: var(--sand); border-color: rgba(216, 195, 165, .6); background: rgba(216, 195, 165, .1); }
.tag--moss { color: #BFD6C9; border-color: rgba(79, 111, 98, .85); background: rgba(79, 111, 98, .34); }
.tag--clay { color: #F0C0AA; border-color: rgba(201, 123, 90, .7); background: rgba(201, 123, 90, .18); }

/* ============================================================
   费用 / 版本对照表
   ============================================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  color: rgba(242, 237, 227, .82);
}

.data-table caption {
  caption-side: top;
  padding-bottom: .7rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone);
  text-align: left;
}

.data-table th,
.data-table td {
  padding: .7rem .8rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(110, 127, 141, .28);
}

.data-table thead th {
  background: var(--ink-sub);
  color: var(--mist);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  border-bottom: 2px solid rgba(201, 162, 75, .45);
  white-space: nowrap;
}

.data-table tbody tr { transition: background-color .12s ease; }
.data-table tbody tr:hover { background: rgba(201, 162, 75, .09); }
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: none; }

.data-table .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--gold-light);
  white-space: nowrap;
}

/* ============================================================
   图片容器（页面阶段放图片占位）
   ============================================================ */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #101C34;
  border: var(--edge);
  box-shadow: 8px 8px 0 rgba(5, 9, 20, .5);
}

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.03);
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }

.media-frame__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: .3rem .6rem;
  background: rgba(10, 17, 34, .86);
  border-top: 1px solid rgba(201, 162, 75, .45);
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .1em;
  color: rgba(242, 237, 227, .78);
}

.media-placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
  aspect-ratio: 16 / 10;
  padding: 1rem;
  text-align: center;
  color: rgba(159, 189, 184, .9);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 2px dashed rgba(110, 127, 141, .55);
  background:
    repeating-linear-gradient(45deg, rgba(201, 162, 75, .1) 0 2px, transparent 2px 14px),
    linear-gradient(155deg, rgba(23, 38, 66, .92), rgba(11, 20, 40, .96));
}

/* ============================================================
   长文容器
   ============================================================ */
.prose {
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(242, 237, 227, .84);
}

.prose h2,
.prose h3 {
  margin: 2em 0 .6em;
  font-family: var(--font-serif);
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--paper);
  line-height: 1.45;
}

.prose h2 { font-size: 1.35rem; }
.prose h3 { font-size: 1.08rem; }

.prose p { margin: 0 0 1.05em; }

.prose ul,
.prose ol { margin: 0 0 1.05em; padding-left: 1.25em; }

.prose li { margin-bottom: .4em; }

.prose strong { color: var(--gold-light); font-weight: 600; }

.prose a {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose a:hover { color: #FFFFFF; }

/* ============================================================
   滚动进度线（由 JS 注入）
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 0;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 10px rgba(201, 162, 75, .55);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .nav__link { padding: .32rem .48rem; font-size: .8rem; }
  .command-bar__inner { gap: 12px; }
}

@media (max-width: 960px) {
  #main-content { scroll-margin-top: 190px; }

  .command-bar__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: .5rem .75rem;
    padding-block: .55rem;
    min-height: 0;
  }

  .brand-mark { grid-column: 1; grid-row: 1; }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .nav[data-open] {
    display: block;
    padding-top: .45rem;
    border-top: 1px solid rgba(110, 127, 141, .3);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav__link {
    display: block;
    width: 100%;
    padding: .62rem .5rem;
    font-size: .95rem;
    border: 1px solid transparent;
    border-bottom: 1px solid rgba(110, 127, 141, .22);
  }

  .nav__link[aria-current="page"] {
    border-color: rgba(201, 162, 75, .35);
    border-bottom-color: var(--gold);
  }

  .command-bar__meta {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: start;
    flex-wrap: wrap;
    padding-top: .5rem;
    border-top: 1px solid rgba(110, 127, 141, .22);
    width: 100%;
  }

  .version-strip__inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .version-strip__inner::-webkit-scrollbar { display: none; }

  .version-strip__link { margin-left: .5rem; }

  .site-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; max-width: none; }

  .grid--7-5,
  .grid--5-7,
  .grid--thirds { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .grid--7-5 > :nth-child(1),
  .grid--7-5 > :nth-child(2),
  .grid--5-7 > :nth-child(1),
  .grid--5-7 > :nth-child(2) { grid-column: span 1; }
}

@media (max-width: 720px) {
  .quick-rail__label { display: none; }

  .section-head { grid-template-columns: 1fr; gap: .5rem; }
  .section-head__num { font-size: 2rem; }

  .grid,
  .grid--7-5,
  .grid--5-7,
  .grid--halves,
  .grid--thirds { grid-template-columns: minmax(0, 1fr); }

  .grid--7-5 > :nth-child(1),
  .grid--7-5 > :nth-child(2),
  .grid--5-7 > :nth-child(1),
  .grid--5-7 > :nth-child(2) { grid-column: span 1; }

  .site-foot__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }

  .data-table { font-size: .82rem; }
  .data-table th,
  .data-table td { padding: .6rem .5rem; }
}

@media (max-width: 520px) {
  .brand-mark__name { letter-spacing: .1em; }
  .command-bar__meta { gap: .45rem; }
  .version-chip { font-size: .68rem; }
  .foot-contact { grid-template-columns: minmax(0, 1fr); }
  .foot-contact__val { font-size: .86rem; }
}

/* ============================================================
   减少动效
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .panel:hover,
  .btn:hover,
  .quick-rail__link:hover,
  .brand-mark:hover .brand-mark__index {
    transform: none;
  }
}
