/* ============================================================
   博赢官网 · 共享样式表  /assets/site.css
   墨海深蓝控制台体系：青色主入口 / 橙色提醒 / 等宽数字锚点
   ============================================================ */

:root {
  --ink:      #061423;
  --ink-2:    #0A2238;
  --ink-3:    #020A12;
  --cyan:     #2DE2E6;
  --orange:   #FF7A3D;
  --paper:    #F4F8FB;
  --mist:     #9FB3C8;
  --grid:     #1E3A52;
  --ok:       #19C3A4;

  --ink-soft:  rgba(6, 20, 35, .94);
  --panel-bg:  rgba(10, 34, 56, .72);
  --line:      rgba(30, 58, 82, .9);
  --line-soft: rgba(30, 58, 82, .55);

  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter:   clamp(18px, 4vw, 56px);
  --rail-w:   176px;
  --header-h: 68px;
  --cut:      16px;
  --ease:     cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  min-height: 100%;
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 540px at 84% -10%, rgba(45, 226, 230, .10), transparent 64%),
    radial-gradient(900px 480px at 2% 14%, rgba(255, 122, 61, .07), transparent 60%),
    linear-gradient(180deg, #061423 0%, #04101c 58%, #020a12 100%);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

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

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

button, input, textarea, select { font-family: inherit; }

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

/* ---------- 中文排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.03em;
  color: var(--paper);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6vw, 5.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); letter-spacing: -.02em; }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }

p { color: #c6d6e5; }
p + p { margin-top: .9em; }

strong, b { font-weight: 600; color: var(--paper); }

code, kbd, samp, pre, .mono {
  font-family: var(--font-mono);
  font-size: .9em;
  letter-spacing: .04em;
}

::selection { background: rgba(45, 226, 230, .3); color: var(--paper); }

/* ---------- 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 900;
  transform: translate(-50%, -180%);
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--cyan);
  color: #04121f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: transform .22s var(--ease);
}
.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline-color: var(--paper);
}

/* ============================================================
   头部
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 32px -22px rgba(2, 10, 18, .9);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1600px;
  margin-inline: auto;
  min-height: var(--header-h);
  padding: 10px var(--gutter);
}

/* 品牌锁定 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  border-radius: 10px;
  transition: opacity .2s var(--ease);
}
.brand:hover { opacity: .88; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  background: var(--cyan);
  color: #04121f;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.04em;
  clip-path: polygon(0 0, 100% 0, 100% 64%, 72% 100%, 0 100%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--paper);
}
.brand-tag {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--mist);
}

/* 右侧操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.member-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(45, 226, 230, .7);
  border-radius: 999px;
  background: rgba(45, 226, 230, .08);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.member-cta::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(25, 195, 164, .18);
}
.member-cta:hover {
  background: var(--cyan);
  color: #04121f;
  box-shadow: 0 0 22px rgba(45, 226, 230, .38);
}
.member-cta:focus-visible { outline-color: var(--paper); }

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-bg);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.nav-toggle:hover { border-color: rgba(45, 226, 230, .55); color: var(--cyan); }

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

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 16px;
  height: 14px;
}
.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.nav-toggle-bars span:nth-child(2) { width: 68%; }
.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); }

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  background: rgba(45, 226, 230, .1);
  pointer-events: none;
}
.scroll-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--ok) 55%, var(--orange) 100%);
  transition: transform .1s linear;
}

/* 悬浮胶囊导航（桌面） */
.site-nav {
  position: fixed;
  top: 50%;
  right: 22px;
  z-index: 260;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: max-content;
  min-width: 150px;
  max-height: calc(100vh - 170px);
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(10, 34, 56, .9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 52px -24px rgba(2, 10, 18, .95), inset 0 1px 0 rgba(244, 248, 251, .06);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.nav-caption {
  padding-left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  line-height: 1.4;
  color: rgba(159, 179, 200, .72);
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  counter-reset: nav-i;
}

.nav-item { counter-increment: nav-i; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--mist);
  white-space: nowrap;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav-link::before {
  content: counter(nav-i, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  opacity: .65;
}
.nav-link:hover {
  color: var(--paper);
  background: rgba(45, 226, 230, .12);
}
.nav-link[aria-current="page"] {
  color: #04121f;
  background: var(--cyan);
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(45, 226, 230, .6), 0 0 26px rgba(45, 226, 230, .3);
}
.nav-link[aria-current="page"]::before { opacity: .85; }
.nav-link[aria-current="page"]:focus-visible { outline-color: var(--paper); }

.nav-item--tail {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.nav-link--contact {
  justify-content: center;
  border: 1px solid rgba(45, 226, 230, .5);
  color: var(--cyan);
  font-weight: 600;
}
.nav-link--contact::before { content: none; }
.nav-link--contact:hover { background: rgba(45, 226, 230, .16); color: var(--cyan); }
.nav-link--contact[aria-current="page"] { background: var(--cyan); color: #04121f; }

/* 桌面偏置：正文与页脚为右侧胶囊让位 */
@media (min-width: 1024px) {
  #main-content,
  .site-footer { padding-right: var(--rail-w); }
}

/* 平板与手机：胶囊转为全屏索引面板 */
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }

  html.is-nav-open { overflow: hidden; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 210;
    width: auto;
    min-width: 0;
    max-height: none;
    transform: none;
    border: 0;
    border-radius: 0;
    padding: calc(var(--header-h) + 28px) var(--gutter) 96px;
    background: rgba(4, 16, 28, .975);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity .24s var(--ease), visibility .24s var(--ease);
  }
  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
  }

  .nav-caption {
    padding-left: 4px;
    font-size: 11px;
    margin-bottom: 4px;
  }

  .nav-list { gap: 8px; }

  .nav-link {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(10, 34, 56, .55);
    font-size: 1.22rem;
    font-weight: 600;
    color: var(--paper);
  }
  .nav-link::before {
    font-size: 12px;
    color: var(--cyan);
    opacity: .8;
  }
  .nav-link[aria-current="page"] {
    background: var(--cyan);
    color: #04121f;
  }
  .nav-link[aria-current="page"]::before { color: #04121f; }

  .nav-item--tail { margin-top: 16px; padding-top: 16px; }
  .nav-link--contact { padding: 16px; font-size: 1.05rem; }
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: 96px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(760px 320px at 82% 0%, rgba(45, 226, 230, .08), transparent 70%),
    linear-gradient(180deg, rgba(6, 20, 35, .2) 0%, rgba(2, 10, 18, .92) 45%, #020a12 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan) 0%, rgba(45, 226, 230, 0) 34%, rgba(255, 122, 61, 0) 66%, var(--orange) 100%);
  opacity: .6;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(2, minmax(140px, 1fr)) minmax(240px, 1.6fr);
  gap: clamp(24px, 3.4vw, 56px);
  max-width: 1600px;
  margin-inline: auto;
  padding: clamp(44px, 6vw, 84px) var(--gutter) clamp(30px, 4vw, 52px);
}

/* 品牌块 */
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

.footer-logotype {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
}
.footer-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--cyan);
  color: #04121f;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.04em;
  clip-path: polygon(0 0, 100% 0, 100% 64%, 72% 100%, 0 100%);
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--paper);
}

.footer-tagline {
  max-width: 26ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(45, 226, 230, .6);
  border-radius: 999px;
  background: rgba(45, 226, 230, .08);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.footer-cta:hover { background: var(--cyan); color: #04121f; }
.footer-cta:focus-visible { outline-color: var(--paper); }

/* 列 */
.footer-nav { display: flex; flex-direction: column; gap: 14px; }

.footer-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  line-height: 1.4;
  color: rgba(159, 179, 200, .8);
  text-transform: uppercase;
}

.footer-list { display: flex; flex-direction: column; gap: 9px; }

.footer-link {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: #c6d6e5;
  border-radius: 4px;
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.footer-link:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

/* 联系 */
.footer-contact { display: flex; flex-direction: column; gap: 14px; }

.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }

.footer-contact-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  line-height: 1.9;
  color: rgba(159, 179, 200, .78);
}
.footer-contact-value {
  font-size: 14px;
  line-height: 1.7;
  color: var(--paper);
  word-break: break-word;
}

.footer-note {
  padding-top: 12px;
  border-top: 1px dashed var(--line-soft);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--mist);
}

/* 收口带 */
.footer-meta {
  border-top: 1px solid var(--line);
  background: rgba(2, 10, 18, .6);
}

.footer-meta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  max-width: 1600px;
  margin-inline: auto;
  padding: 20px var(--gutter) 28px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-right: auto;
}

.footer-link--legal {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--mist);
}
.footer-link--legal:hover { transform: none; }

.footer-icp,
.footer-copy {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  line-height: 1.7;
  color: rgba(159, 179, 200, .75);
}

/* 返回顶部 */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(45, 226, 230, .45);
  border-radius: 999px;
  background: rgba(10, 34, 56, .94);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s var(--ease), background-color .2s var(--ease);
}
.to-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  background: var(--cyan);
  color: #04121f;
}
.to-top:focus-visible { outline-color: var(--paper); }

.to-top-arrow { font-size: 14px; line-height: 1; }
.to-top-text { line-height: 1; }

/* ============================================================
   通用内容组件
   ============================================================ */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 820px; }
.wrap--wide { max-width: 1520px; }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  line-height: 1.6;
  color: var(--mist);
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: rgba(159, 179, 200, .42); }
.breadcrumb a { color: var(--mist); transition: color .18s var(--ease); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--cyan); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  line-height: 1.4;
  color: var(--cyan);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1.3;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn--primary {
  background: var(--cyan);
  color: #04121f;
}
.btn--primary:hover {
  box-shadow: 0 0 0 4px rgba(45, 226, 230, .14), 0 0 30px rgba(45, 226, 230, .4);
}
.btn--ghost {
  border-color: rgba(45, 226, 230, .55);
  background: rgba(45, 226, 230, .07);
  color: var(--cyan);
}
.btn--ghost:hover {
  background: rgba(45, 226, 230, .18);
}
.btn--warm {
  border-color: rgba(255, 122, 61, .6);
  background: rgba(255, 122, 61, .08);
  color: var(--orange);
}
.btn--warm:hover {
  background: rgba(255, 122, 61, .2);
}
.btn--primary:focus-visible,
.btn--ghost:focus-visible,
.btn--warm:focus-visible { outline-color: var(--paper); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 34, 56, .6);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.6;
  color: var(--mist);
  white-space: nowrap;
}
.tag--cyan { color: var(--cyan); border-color: rgba(45, 226, 230, .45); background: rgba(45, 226, 230, .08); }
.tag--warm { color: var(--orange); border-color: rgba(255, 122, 61, .45); background: rgba(255, 122, 61, .08); }
.tag--ok   { color: var(--ok); border-color: rgba(25, 195, 164, .45); background: rgba(25, 195, 164, .08); }

.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--cut);
  background: var(--panel-bg);
}
.panel--cut {
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

/* 响应式图片容器（共享基础规则，页面阶段放置占位） */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--cut);
  background: linear-gradient(155deg, var(--ink-2) 0%, var(--ink-3) 100%);
}
.media-frame > img,
.media-frame > picture,
.media-frame > picture > img,
.media-frame > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame--placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .5;
  pointer-events: none;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1180px) {
  .footer-inner {
    grid-template-columns: minmax(200px, 1.4fr) repeat(2, minmax(130px, 1fr));
  }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-tagline { max-width: 42ch; }
}

@media (max-width: 640px) {
  :root { --header-h: 62px; }

  body { font-size: 15px; }

  .header-inner { gap: 10px; padding-block: 8px; }
  .brand-mark { width: 34px; height: 34px; font-size: 12px; }
  .brand-name { font-size: .95rem; }
  .brand-tag { display: none; }

  .member-cta { padding: 8px 13px; font-size: 12px; letter-spacing: .02em; }
  .member-cta::before { display: none; }

  .nav-toggle { padding: 8px 13px; font-size: 12px; }

  .site-nav { padding-top: calc(var(--header-h) + 22px); }
  .nav-link { font-size: 1.1rem; padding: 14px 16px; }

  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }

  .footer-meta-inner { padding-bottom: 88px; }
  .footer-legal { margin-right: 0; }

  .to-top { right: 14px; bottom: 16px; padding: 9px 14px; }
  .to-top-text { display: none; }
}

@media (max-width: 380px) {
  .member-cta { display: none; }
}

@media (min-width: 1024px) {
  body { background-attachment: fixed; }
}

/* ============================================================
   无障碍：降低动态
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .scroll-progress-fill { transition: none; }
}
