/* =========================================================
   6319登录 · 共享样式  /assets/site.css
   设计语言：快速通道 · 技术仪表盘
   ========================================================= */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body,
h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ul, ol, fieldset { margin: 0; }

ul, ol { padding: 0; list-style: none; }

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

a { color: inherit; }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

input, textarea, select { font: inherit; color: inherit; }

hr { border: 0; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #071A2B;
  --ink-soft: #0C2540;
  --cyan: #00E5FF;
  --channel: #00A6C0;
  --orange: #FF8A3D;
  --violet: #A78BFA;
  --mint: #2DD4BF;
  --mist: #E6FBFF;
  --paper: #F7FAFC;
  --graphite: #24313D;
  --slate: #5B6B7A;
  --on-dark: #EAF6FA;
  --on-dark-soft: rgba(234, 246, 250, 0.66);
  --line: rgba(36, 49, 61, 0.14);
  --line-strong: rgba(36, 49, 61, 0.28);
  --line-dark: rgba(230, 251, 255, 0.16);
  --glass: rgba(230, 251, 255, 0.07);
  --shell: 1240px;
  --prose: 70ch;
  --gutter: clamp(1rem, 4vw, 3rem);
  --header-h: 70px;
  --radius: 18px;
  --radius-sm: 12px;
  --pill: 999px;
  --shadow: 0 18px 44px rgba(7, 26, 43, 0.14);
  --font-display: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--graphite);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.012em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.35; }
h4 { font-size: 1.02rem; line-height: 1.4; font-weight: 700; }

p { line-height: 1.78; text-wrap: pretty; }

strong { font-weight: 700; color: var(--ink); }

a { text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

::selection { background: var(--cyan); color: var(--ink); }

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

.site-header :focus-visible,
.site-footer :focus-visible { outline-color: var(--cyan); }

.meta-mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -120px;
  left: var(--gutter);
  z-index: 200;
  padding: 0.7rem 1.25rem;
  border-radius: 0 0 12px 12px;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  text-decoration: none;
}

/* ---------- 5. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 26, 43, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(230, 251, 255, 0.1);
  color: var(--on-dark);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header[data-elevated="true"] {
  background: rgba(7, 26, 43, 0.97);
  box-shadow: 0 14px 32px rgba(7, 26, 43, 0.3);
}

.header-shell {
  max-width: var(--shell);
  min-height: var(--header-h);
  margin-inline: auto;
  padding: 0.7rem var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 2vw, 1.4rem);
}

/* 品牌岛 */
.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.66rem;
  padding: 0.34rem 0.95rem 0.34rem 0.42rem;
  border-radius: var(--pill);
  background: rgba(230, 251, 255, 0.06);
  border: 1px solid rgba(230, 251, 255, 0.12);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.brand:hover {
  background: rgba(230, 251, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.38);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 9px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--cyan) 0%, var(--channel) 58%, var(--violet) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.brand-mark-line {
  position: absolute;
  left: -30%;
  top: 38%;
  width: 160%;
  height: 4px;
  background: rgba(7, 26, 43, 0.86);
  transform: rotate(-32deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: -30%;
  top: 60%;
  width: 160%;
  height: 3px;
  background: rgba(7, 26, 43, 0.5);
  transform: rotate(-32deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #FFFFFF;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(234, 246, 250, 0.58);
  white-space: nowrap;
}

/* 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  padding: 0.5rem 0.85rem;
  border-radius: var(--pill);
  background: rgba(230, 251, 255, 0.08);
  border: 1px solid rgba(230, 251, 255, 0.16);
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.nav-toggle:hover { background: rgba(230, 251, 255, 0.16); }

.nav-toggle-box {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 16px;
  height: 12px;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform 0.22s ease;
}

.nav-toggle-text { line-height: 1; }

/* 导航岛 */
.site-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.25rem;
  border-radius: var(--pill);
  background: rgba(230, 251, 255, 0.05);
  border: 1px solid rgba(230, 251, 255, 0.1);
}

.nav-item { display: block; }

.nav-link {
  display: block;
  padding: 0.46rem 0.72rem;
  border-radius: var(--pill);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(234, 246, 250, 0.76);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.nav-link:hover {
  color: #FFFFFF;
  background: rgba(0, 229, 255, 0.14);
  text-decoration: none;
}

.nav-link[aria-current="page"] {
  color: #FFFFFF;
  background: rgba(0, 229, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.55);
  font-weight: 700;
}

.nav-item--cta { margin-left: 0.35rem; }

.nav-cta {
  display: block;
  padding: 0.5rem 0.9rem;
  border-radius: var(--pill);
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 229, 255, 0.2);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.nav-cta:hover {
  background: #63F3FF;
  transform: translateY(-1px);
  text-decoration: none;
}

/* 阅读进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  background: rgba(230, 251, 255, 0.12);
}

.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--channel) 68%, var(--violet) 100%);
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-block: clamp(2.4rem, 5vw, 4rem) 1.4rem;
  background: var(--ink);
  color: rgba(234, 246, 250, 0.72);
  font-size: 0.9rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0) 0%, var(--cyan) 30%, var(--channel) 70%, rgba(167, 139, 250, 0) 100%);
  opacity: 0.85;
}

.footer-shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.35fr;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  padding-bottom: clamp(1.6rem, 3vw, 2.6rem);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-brand-link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  text-decoration: none;
  align-self: flex-start;
}

.footer-brand-link:hover { color: var(--cyan); text-decoration: none; }

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(234, 246, 250, 0.6);
  line-height: 1.6;
}

.footer-note {
  max-width: 32ch;
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(234, 246, 250, 0.62);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(0, 229, 255, 0.88);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-link {
  display: inline-block;
  font-size: 0.88rem;
  color: rgba(234, 246, 250, 0.74);
  text-decoration: none;
  transition: color 0.16s ease, padding-left 0.16s ease;
}

.footer-link:hover {
  color: #FFFFFF;
  padding-left: 0.2rem;
  text-decoration: none;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.footer-contact-key {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: rgba(234, 246, 250, 0.42);
}

.footer-contact-value {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(234, 246, 250, 0.84);
  word-break: break-word;
  font-variant-numeric: tabular-nums;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(230, 251, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(234, 246, 250, 0.55);
}

.footer-copy { margin: 0; }

.footer-icp {
  margin: 0;
  color: rgba(234, 246, 250, 0.72);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-left: auto;
}

.footer-legal .footer-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding-left: 0;
}

/* ---------- 7. 容器与章节 ---------- */
.page-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.prose { max-width: var(--prose); }

.section { padding-block: clamp(3rem, 7vw, 6rem); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 62ch;
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--channel);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: currentColor;
}

.section-title { margin: 0; }

.section-lead {
  max-width: 58ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
  color: var(--slate);
}

/* ---------- 8. 网格与分屏 ---------- */
.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: clamp(1.2rem, 3vw, 2.6rem);
}

.split--flip { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); }

/* ---------- 9. 表面层次 ---------- */
.surface {
  padding: clamp(1.1rem, 2vw, 1.7rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #FFFFFF;
}

.surface--mist {
  background: var(--mist);
  border-color: rgba(0, 166, 192, 0.22);
}

.surface--ink {
  background: var(--ink);
  border-color: var(--line-dark);
  color: var(--on-dark);
}

.surface--ink h1,
.surface--ink h2,
.surface--ink h3,
.surface--ink h4 { color: #FFFFFF; }

.surface--ink p { color: rgba(234, 246, 250, 0.78); }

.surface--ink .section-lead { color: rgba(234, 246, 250, 0.72); }

.glass {
  padding: clamp(1rem, 2vw, 1.6rem);
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* ---------- 10. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.4rem;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:hover { text-decoration: none; }

.btn--primary {
  background: var(--cyan);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(0, 229, 255, 0.22);
}

.btn--primary:hover {
  background: #63F3FF;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--channel);
  color: var(--channel);
  transform: translateY(-1px);
}

.btn--quiet {
  background: var(--mist);
  color: var(--ink);
  border-color: rgba(0, 166, 192, 0.24);
}

.btn--quiet:hover {
  background: #D3F4FB;
  transform: translateY(-1px);
}

.surface--ink .btn--ghost {
  border-color: rgba(230, 251, 255, 0.32);
  color: #FFFFFF;
}

.surface--ink .btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ---------- 11. 卡片 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: clamp(0.85rem, 1.6vw, 1.2rem);
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1rem, 2vw, 1.4rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #FFFFFF;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  border-color: rgba(0, 166, 192, 0.45);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.card-text {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--slate);
}

/* ---------- 12. 标签与状态 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--pill);
  border: 1px solid rgba(0, 166, 192, 0.26);
  background: var(--mist);
  color: #0B6474;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.tag--violet {
  background: rgba(167, 139, 250, 0.16);
  border-color: rgba(167, 139, 250, 0.42);
  color: #5B3FC4;
}

.tag--orange {
  background: rgba(255, 138, 61, 0.16);
  border-color: rgba(255, 138, 61, 0.45);
  color: #A4470A;
}

.status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--mint);
}

/* ---------- 13. 面包屑 ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--slate);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "／";
  color: var(--line-strong);
}

.breadcrumb-link {
  color: var(--slate);
  text-decoration: none;
  transition: color 0.16s ease;
}

.breadcrumb-link:hover { color: var(--channel); text-decoration: none; }

.breadcrumb-current {
  color: var(--graphite);
  font-weight: 600;
}

/* ---------- 14. 分隔与侧栏目录 ---------- */
.divider {
  height: 1px;
  border: 0;
  margin-block: clamp(1.6rem, 3vw, 2.6rem);
  background: var(--line);
}

.rail {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--slate);
}

.rail-link {
  display: block;
  padding: 0.45rem 0.7rem;
  border-left: 2px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.rail-link:hover {
  border-left-color: var(--channel);
  color: var(--graphite);
  text-decoration: none;
}

.rail-link[aria-current="true"] {
  border-left-color: var(--cyan);
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.16), rgba(0, 229, 255, 0));
  color: var(--ink);
  font-weight: 600;
}

/* ---------- 15. 图片容器 ---------- */
.figure {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.figure-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(7, 26, 43, 0.14);
  aspect-ratio: var(--figure-ratio, 16 / 9);
  background-image: linear-gradient(135deg, rgba(0, 229, 255, 0.22) 0%, rgba(7, 26, 43, 0.92) 55%, rgba(167, 139, 250, 0.26) 100%);
}

.figure-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image: repeating-linear-gradient(115deg, rgba(230, 251, 255, 0.16) 0 1px, rgba(230, 251, 255, 0) 1px 14px);
}

.figure-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure-caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--slate);
}

.figure--wide .figure-media { aspect-ratio: 16 / 7; }
.figure--tall .figure-media { aspect-ratio: 4 / 5; }

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: var(--gutter);
    width: min(24rem, calc(100% - 2 * var(--gutter)));
    display: none;
    margin: 0;
    padding: 0.55rem;
    border-radius: 22px;
    border: 1px solid rgba(230, 251, 255, 0.16);
    background: rgba(9, 32, 50, 0.98);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 26px 60px rgba(4, 14, 25, 0.55);
  }

  .site-header[data-open="true"] .site-nav { display: block; }

  .site-header[data-open="true"] .nav-toggle-bar:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .site-header[data-open="true"] .nav-toggle-bar:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.18rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
  }

  .nav-link {
    padding: 0.72rem 0.9rem;
    border-radius: 14px;
    font-size: 0.95rem;
  }

  .nav-item--cta {
    margin-left: 0;
    margin-top: 0.35rem;
  }

  .nav-cta {
    padding: 0.72rem 0.9rem;
    text-align: center;
    font-size: 0.92rem;
  }
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .split,
  .split--flip { grid-template-columns: minmax(0, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .rail {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .rail-link {
    border-left: 0;
    border-bottom: 2px solid var(--line);
    border-radius: 8px 8px 0 0;
    padding: 0.4rem 0.6rem;
  }

  .rail-link[aria-current="true"] {
    border-bottom-color: var(--cyan);
    background: rgba(0, 229, 255, 0.12);
  }
}

@media (max-width: 820px) {
  .brand-tag { display: none; }
  .brand { padding-right: 0.7rem; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }

  .footer-legal { margin-left: 0; }

  .footer-note { max-width: none; }

  .btn { width: 100%; }

  .figure--wide .figure-media { aspect-ratio: 4 / 3; }
}

/* ---------- 17. 可访问性与动效克制 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .card:hover,
  .btn:hover,
  .nav-cta:hover { transform: none !important; }

  .footer-link:hover { padding-left: 0 !important; }
}
