/* ==========================================================================
   博万官网 · 共享样式 /assets/site.css
   设计语言：侧边装订线 + Bento 信息板 + 复古出版色 × 数字仪表读数
   ========================================================================== */

:root {
  --navy: #0B1F3A;
  --navy-2: #102E52;
  --cyan: #19E3D1;
  --mist: #A8F5EE;
  --cream: #F4EBDD;
  --ink: #241C18;
  --orange: #FF6B3D;
  --lime: #E9FF4F;
  --slate: #7F93A8;
  --ice: #FCFAF5;

  --rail-w: 272px;
  --gutter: clamp(18px, 3.6vw, 56px);
  --line: 3px;
  --shadow-hard: 6px 6px 0 var(--ink);
  --shadow-soft: 4px 4px 0 rgba(36, 28, 24, .35);

  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Noto 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;

  --ease-out: cubic-bezier(.22, .78, .28, 1);
}

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

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

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

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

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

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

button { background: none; border: 0; }

a { color: inherit; }

/* ---------- 基础中文排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: clamp(15.5px, .5vw + 14px, 17px);
  line-height: 1.78;
  letter-spacing: .012em;
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(rgba(36, 28, 24, .055) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.022em;
  color: var(--navy);
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.9vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.25; }

p { text-wrap: pretty; }

strong { font-weight: 900; }

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

/* ---------- 焦点与无障碍 ---------- */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

#main-content { scroll-margin-top: 84px; }
#main-content:focus { outline: 2px dashed var(--orange); outline-offset: 8px; }

/* ==========================================================================
   跳过链接
   ========================================================================== */
.bw-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 11px 18px;
  background: var(--lime);
  color: var(--ink);
  border: var(--line) solid var(--ink);
  box-shadow: var(--shadow-soft);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-240%);
  transition: transform .22s var(--ease-out);
}
.bw-skip:focus { transform: translateY(0); }

/* ==========================================================================
   品牌印章
   ========================================================================== */
.bw-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  background: var(--cyan);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
  user-select: none;
}
.bw-mark--lg {
  width: 46px;
  height: 46px;
  font-size: 21px;
  box-shadow: 4px 4px 0 var(--ink);
}

/* ==========================================================================
   头部：侧边装订线轨道
   ========================================================================== */
.bw-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  background-image: linear-gradient(180deg, rgba(25, 227, 209, .1), transparent 42%);
  color: var(--ice);
  border-right: var(--line) solid var(--ink);
  overflow: hidden;
}

.bw-rail__inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 100%;
  padding: 24px 18px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.bw-rail__inner::-webkit-scrollbar { width: 6px; }
.bw-rail__inner::-webkit-scrollbar-thumb { background: rgba(25, 227, 209, .45); }

.bw-rail__ticks {
  flex: 0 0 auto;
  height: 10px;
  border-bottom: 1px solid rgba(252, 250, 245, .18);
  background-image: repeating-linear-gradient(90deg, rgba(25, 227, 209, .7) 0 1px, transparent 1px 12px);
  background-position: left bottom;
  background-repeat: repeat-x;
  opacity: .85;
}

.bw-rail__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 2px dashed rgba(252, 250, 245, .22);
  text-decoration: none;
  color: var(--ice);
}

.bw-rail__names { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.bw-rail__name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ice);
}

.bw-rail__line {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .07em;
  color: rgba(168, 245, 238, .78);
}

/* ---------- 目录导航 ---------- */
.bw-nav { flex: 0 0 auto; }

.bw-nav__list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bw-nav__item { display: block; }

.bw-nav__link {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-left: 3px solid transparent;
  color: rgba(252, 250, 245, .78);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color .18s var(--ease-out),
              color .18s var(--ease-out),
              border-color .18s var(--ease-out),
              transform .18s var(--ease-out),
              box-shadow .18s var(--ease-out);
}

.bw-nav__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--cyan);
  transition: color .18s var(--ease-out);
}

.bw-nav__label { min-width: 0; }

.bw-nav__link:hover {
  background: rgba(25, 227, 209, .13);
  color: var(--ice);
  border-left-color: var(--cyan);
  transform: translateX(2px);
}

.bw-nav__link[aria-current="page"] {
  background: var(--mist);
  color: var(--ink);
  border-left-color: var(--orange);
  box-shadow: 4px 4px 0 var(--ink);
  transform: none;
}

.bw-nav__link[aria-current="page"] .bw-nav__num { color: var(--navy-2); }

/* ---------- 快捷入口 ---------- */
.bw-quick {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 2px dashed rgba(252, 250, 245, .22);
}

.bw-quick__title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--slate);
}

.bw-quick__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 2px solid rgba(252, 250, 245, .3);
  background: transparent;
  color: var(--ice);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ease-out),
              border-color .18s var(--ease-out),
              transform .18s var(--ease-out);
}

.bw-quick__item:hover {
  border-color: var(--cyan);
  background: rgba(25, 227, 209, .16);
  transform: translateX(2px);
}

.bw-quick__item--solid {
  background: var(--orange);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .5);
}

.bw-quick__item--solid:hover {
  background: var(--lime);
  border-color: var(--ink);
  transform: translate(-1px, -1px);
}

.bw-quick__note {
  min-height: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.55;
  color: var(--lime);
}

/* ---------- 阅读进度 ---------- */
.bw-progress { flex: 0 0 auto; }

.bw-progress__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--slate);
}

.bw-progress__value {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.bw-progress__track {
  margin-top: 7px;
  height: 7px;
  background: rgba(252, 250, 245, .14);
  border: 1px solid rgba(252, 250, 245, .26);
  overflow: hidden;
}

.bw-progress__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
  transition: transform .12s linear;
}

/* ---------- 移动顶栏与抽屉（默认隐藏） ---------- */
.bw-topbar { display: none; }
.bw-scrim { display: none; }

.bw-topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ice);
}

.bw-topbar__text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -.01em;
}

.bw-navtoggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  background: var(--cyan);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .16s var(--ease-out), background-color .16s var(--ease-out);
}

.bw-navtoggle:hover { background: var(--lime); }
.bw-navtoggle:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.bw-navtoggle__bars { display: grid; gap: 3px; width: 17px; }

.bw-navtoggle__bars i {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform .22s var(--ease-out), opacity .18s linear;
}

.bw-navtoggle[aria-expanded="true"] .bw-navtoggle__bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.bw-navtoggle[aria-expanded="true"] .bw-navtoggle__bars i:nth-child(2) { opacity: 0; }
.bw-navtoggle[aria-expanded="true"] .bw-navtoggle__bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ==========================================================================
   页脚
   ========================================================================== */
.bw-footer {
  position: relative;
  background: var(--navy);
  color: var(--ice);
  border-top: var(--line) solid var(--ink);
}

.bw-footer__ruler {
  height: 12px;
  background-image: repeating-linear-gradient(90deg, rgba(25, 227, 209, .6) 0 2px, transparent 2px 16px);
  background-color: var(--navy-2);
  border-bottom: 2px solid rgba(25, 227, 209, .32);
}

.bw-footer__inner {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1.25fr;
  gap: clamp(24px, 3.2vw, 56px);
  padding-block: clamp(40px, 5vw, 76px);
}

.bw-footer__brand { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.bw-footer__brandline { display: flex; align-items: center; gap: 12px; }

.bw-footer__name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -.01em;
  color: var(--ice);
}

.bw-footer__summary {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(252, 250, 245, .72);
}

.bw-footer__meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .09em;
  color: var(--mist);
}

.bw-footer__dot {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 50%;
  flex: 0 0 auto;
}

.bw-footer__col { min-width: 0; }

.bw-footer__coltitle {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--cyan);
}

.bw-footer__coltitle::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--orange);
  border: 1px solid var(--ink);
  flex: 0 0 auto;
}

.bw-footer__linklist {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.bw-footer__link {
  display: inline-block;
  font-size: 14.5px;
  color: rgba(252, 250, 245, .78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease-out), border-color .18s var(--ease-out);
}

.bw-footer__link:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.bw-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.bw-footer__row { display: grid; gap: 2px; }

.bw-footer__key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--slate);
}

.bw-footer__val {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ice);
  overflow-wrap: anywhere;
}

.bw-footer__note {
  margin-top: 16px;
  padding-left: 11px;
  border-left: 2px solid var(--cyan);
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(168, 245, 238, .74);
}

.bw-footer__legal {
  border-top: 1px solid rgba(252, 250, 245, .16);
  background: rgba(16, 46, 82, .6);
}

.bw-footer__legalinner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 26px;
  padding-block: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--slate);
}

.bw-footer__icp,
.bw-footer__copy { line-height: 1.6; }

/* ==========================================================================
   通用布局与组件
   ========================================================================== */
.bw-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.bw-section { padding-block: clamp(40px, 6vw, 92px); }

.bw-grid {
  display: grid;
  gap: clamp(14px, 1.6vw, 24px);
}

.bw-grid--bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.bw-span-4 { grid-column: span 4; }
.bw-span-6 { grid-column: span 6; }
.bw-span-8 { grid-column: span 8; }
.bw-span-12 { grid-column: span 12; }

.bw-panel {
  background: var(--ice);
  border: var(--line) solid var(--ink);
  box-shadow: var(--shadow-hard);
  padding: clamp(18px, 2.2vw, 32px);
  min-width: 0;
}

/* ---------- 按钮 ---------- */
.bw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .82em 1.35em;
  background: var(--ice);
  color: var(--ink);
  border: var(--line) solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out), background-color .16s var(--ease-out);
}

.bw-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.bw-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.bw-btn--primary { background: var(--orange); }
.bw-btn--primary:hover { background: #ff8259; }
.bw-btn--cyan { background: var(--cyan); }
.bw-btn--ghost { background: transparent; }

/* ---------- 标签 ---------- */
.bw-tag {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: 3px 10px;
  border: 2px solid var(--ink);
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.5;
  white-space: nowrap;
}

.bw-tag--cyan { background: var(--cyan); }
.bw-tag--lime { background: var(--lime); }
.bw-tag--orange { background: var(--orange); }

/* ---------- 小标题 ---------- */
.bw-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--navy-2);
}

.bw-kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--orange);
  flex: 0 0 auto;
}

/* ---------- 正文排版 ---------- */
.bw-prose {
  max-width: 68ch;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--ink);
}

.bw-prose > * + * { margin-top: 1.05em; }

.bw-prose h2 { margin-top: 1.9em; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.bw-prose h3 { margin-top: 1.6em; font-size: 1.22rem; }

.bw-prose ul,
.bw-prose ol { padding-left: 1.25em; list-style: disc; }

.bw-prose li + li { margin-top: .4em; }

.bw-prose strong { color: var(--navy); }

.bw-prose a {
  color: var(--navy-2);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.bw-prose a:hover { color: var(--ink); text-decoration-color: var(--orange); }

/* ---------- 面包屑 ---------- */
.bw-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--navy-2);
}

.bw-breadcrumb a {
  text-decoration: none;
  border-bottom: 1px solid rgba(16, 46, 82, .35);
}

.bw-breadcrumb a:hover {
  color: var(--ink);
  border-bottom-color: var(--orange);
}

.bw-breadcrumb__sep { color: var(--slate); }

/* ---------- 图片容器基础规则 ---------- */
.bw-media {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: var(--line) solid var(--ink);
  box-shadow: var(--shadow-hard);
  background-color: var(--navy);
  background-image:
    linear-gradient(135deg, rgba(25, 227, 209, .22), transparent 58%),
    repeating-linear-gradient(90deg, rgba(252, 250, 245, .1) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, var(--navy-2), var(--navy));
  isolation: isolate;
}

.bw-media > img,
.bw-media > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bw-media--wide { aspect-ratio: 21 / 9; }
.bw-media--square { aspect-ratio: 1 / 1; }
.bw-media--tall { aspect-ratio: 3 / 4; }
.bw-media--phone { aspect-ratio: 9 / 19.5; max-width: 320px; }

/* ---------- 深底反色 ---------- */
.bw-on-dark { color: var(--ice); }
.bw-on-dark h1,
.bw-on-dark h2,
.bw-on-dark h3,
.bw-on-dark h4 { color: var(--ice); }
.bw-on-dark a { color: var(--mist); }
.bw-on-dark .bw-kicker { color: var(--cyan); }

/* ---------- 进入视口显现 ---------- */
html.bw-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}

html.bw-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1199px) and (min-width: 1024px) {
  :root { --rail-w: 236px; }
  .bw-rail__inner { padding: 20px 14px 18px; gap: 18px; }
  .bw-nav__link { font-size: 13.5px; padding: 9px 10px; }
  .bw-rail__name { font-size: 16px; }
}

@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
}

@media (max-width: 1023px) {
  body { padding-top: 62px; }

  .bw-rail {
    width: 100%;
    background: transparent;
    background-image: none;
    border-right: 0;
    overflow: visible;
    pointer-events: none;
  }

  .bw-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 62px;
    padding: 0 14px;
    background: var(--navy);
    color: var(--ice);
    border-bottom: var(--line) solid var(--cyan);
    z-index: 96;
    pointer-events: auto;
  }

  .bw-rail__inner {
    position: fixed;
    top: 62px;
    left: 0;
    bottom: 0;
    width: min(88vw, 352px);
    height: auto;
    padding: 20px 18px 26px;
    gap: 20px;
    background: var(--navy);
    background-image: linear-gradient(180deg, rgba(25, 227, 209, .12), transparent 46%);
    border-right: var(--line) solid var(--ink);
    box-shadow: 12px 0 0 rgba(36, 28, 24, .32);
    transform: translateX(-104%);
    transition: transform .34s var(--ease-out);
    pointer-events: auto;
    z-index: 92;
    overflow-y: auto;
  }

  .bw-rail[data-open="true"] .bw-rail__inner { transform: translateX(0); }

  .bw-scrim {
    display: block;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 31, 58, .68);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease-out);
    z-index: 91;
  }

  .bw-rail[data-open="true"] .bw-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  html.bw-nav-open,
  html.bw-nav-open body { overflow: hidden; }

  .bw-footer__inner { grid-template-columns: 1fr 1fr; }
  .bw-footer__brand { grid-column: 1 / -1; }
  .bw-footer__summary { max-width: 52ch; }
}

@media (max-width: 900px) {
  .bw-grid--bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bw-span-4,
  .bw-span-6,
  .bw-span-8 { grid-column: span 6; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }

  .bw-grid--bento { grid-template-columns: minmax(0, 1fr); }
  .bw-grid--bento > * { grid-column: 1 / -1; }

  .bw-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .bw-footer__legalinner { flex-direction: column; align-items: flex-start; }
  .bw-media--phone { max-width: 100%; }
}

/* ==========================================================================
   动效偏好
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  html.bw-js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
