/* ==========================================================================
   365电玩城 · 共享样式表 /assets/site.css
   深空黑底 + 霓虹街机厅控制台语言
   ========================================================================== */

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

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

ul, ol { list-style: none; }

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

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

table { border-collapse: collapse; }

/* ---------- 变量 ---------- */
:root {
  /* 色彩体系 */
  --ink: #07060F;
  --ink-soft: #0E0D18;
  --stone: #1B1B22;
  --stone-lit: #26262F;
  --violet: #8B5CF6;
  --violet-lit: #C4A0FF;
  --cyan: #22D3EE;
  --yellow: #FFD400;
  --silver: #C7CBD1;
  --cream: #F4F1EA;
  --moss: #7FA88C;
  --clay: #E2634A;

  /* 线条与阴影 */
  --line: rgba(199, 203, 209, 0.20);
  --line-strong: rgba(199, 203, 209, 0.44);
  --shadow-hard: 6px 6px 0 rgba(139, 92, 246, 0.45);
  --shadow-cyan: 6px 6px 0 rgba(34, 211, 238, 0.40);
  --shadow-yellow: 6px 6px 0 rgba(255, 212, 0, 0.40);

  /* 字体 */
  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;

  /* 尺度 */
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --measure: 44rem;
  --cut: 16px;
}

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

body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    linear-gradient(180deg, rgba(139, 92, 246, 0.10) 0%, rgba(7, 6, 15, 0) 340px),
    repeating-linear-gradient(0deg, rgba(199, 203, 209, 0.035) 0 1px, transparent 1px 4px);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--cream);
}

a { color: var(--cyan); }

strong { font-weight: 800; color: var(--cream); }

::selection { background: var(--violet); color: var(--cream); }

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

/* ---------- 通用布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-main { padding-top: var(--header-h); }

.section { padding-block: clamp(48px, 7vw, 96px); }

.band {
  background: var(--stone);
  border-block: 2px solid var(--line);
}

.band--violet {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.16), rgba(7, 6, 15, 0) 88%);
  border-block: 2px solid rgba(139, 92, 246, 0.38);
}

.grid {
  display: grid;
  gap: clamp(14px, 2.2vw, 26px);
}

.grid--half { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--3-9 { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }
.grid--4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }

/* ---------- 文本组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.eyebrow::before,
.eyebrow::after { content: "["; color: var(--violet-lit); }

.eyebrow::after { content: "]"; }

.display-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 5.2vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1.06;
  color: var(--cream);
}

.prose {
  max-width: var(--measure);
  font-size: 17px;
  line-height: 1.75;
  color: rgba(244, 241, 234, 0.86);
}

.prose h2 {
  margin-top: 1.6em;
  font-size: clamp(22px, 2.6vw, 30px);
}

.prose h3 {
  margin-top: 1.4em;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--violet-lit);
}

.prose p + p { margin-top: 1em; }
.prose ul, .prose ol { margin-top: 1em; padding-left: 1.3em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li { margin-top: 0.5em; }
.prose li::marker { color: var(--cyan); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 2px solid var(--violet);
  background: rgba(139, 92, 246, 0.16);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard);
  border-color: var(--violet-lit);
}

.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.btn--primary {
  background: var(--violet);
  border-color: var(--violet-lit);
}

.btn--primary:hover { box-shadow: var(--shadow-cyan); }

.btn--alert {
  background: var(--yellow);
  border-color: #000;
  color: var(--ink);
}

.btn--alert:hover { box-shadow: var(--shadow-hard); }

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

.btn--ghost:hover {
  color: var(--cream);
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

/* ---------- 标签芯片 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 2px solid var(--line-strong);
  background: rgba(7, 6, 15, 0.55);
  color: var(--silver);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.chip:hover {
  border-color: var(--violet-lit);
  color: var(--cream);
  transform: translateY(-1px);
}

.chip[aria-pressed="true"] {
  background: var(--violet);
  border-color: var(--violet-lit);
  color: var(--cream);
}

/* ---------- 面板与卡片 ---------- */
.panel {
  border: 2px solid var(--line-strong);
  background: var(--stone);
  box-shadow: var(--shadow-hard);
  padding: clamp(18px, 3vw, 28px);
}

.cut-card {
  position: relative;
  border: 2px solid var(--line-strong);
  background: linear-gradient(150deg, var(--stone-lit), var(--stone));
  padding: clamp(18px, 3vw, 26px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: border-color 180ms ease, transform 180ms ease;
}

.cut-card:hover {
  border-color: var(--violet-lit);
  transform: translateY(-3px);
}

/* ---------- 状态点 ---------- */
.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--silver);
  vertical-align: middle;
}

.status-dot--ok { background: var(--moss); box-shadow: 0 0 10px rgba(127, 168, 140, 0.9); }
.status-dot--warn { background: var(--yellow); box-shadow: 0 0 10px rgba(255, 212, 0, 0.8); }
.status-dot--err { background: var(--clay); box-shadow: 0 0 10px rgba(226, 99, 74, 0.8); }

/* ---------- 步骤条 ---------- */
.steps {
  display: grid;
  gap: 12px;
}

.steps__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-left: 4px solid var(--violet);
  background: rgba(14, 13, 24, 0.78);
}

.steps__num {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  padding: 5px 8px;
  background: var(--cyan);
  color: var(--ink);
}

/* ---------- 图片容器 ---------- */
.media {
  display: block;
  border: 2px solid var(--line-strong);
  background: linear-gradient(135deg, var(--stone), var(--ink-soft));
  overflow: hidden;
}

.media__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.06);
}

.media__caption {
  padding: 10px 14px;
  border-top: 2px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--silver);
}

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

/* ---------- 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--silver);
}

.breadcrumbs__item { display: inline-flex; align-items: center; gap: 6px; }

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "//";
  color: var(--violet-lit);
}

.breadcrumbs a { color: var(--cyan); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- 数据表达 ---------- */
.kv {
  display: grid;
  grid-template-columns: minmax(80px, auto) 1fr;
  gap: 8px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
}

.kv__k { color: var(--silver); }
.kv__v { color: var(--cream); word-break: break-word; }

.data-table {
  width: 100%;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 2px solid var(--line);
  vertical-align: top;
}

.data-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.data-table tbody tr:hover { background: rgba(139, 92, 246, 0.10); }

/* ---------- 锚点索引 ---------- */
.anchor-index {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  border: 2px solid var(--line-strong);
  background: var(--stone);
  padding: 16px;
}

.anchor-index__list { display: grid; gap: 4px; }

.anchor-index__list a {
  display: block;
  padding: 7px 10px;
  border-left: 3px solid transparent;
  color: var(--silver);
  font-size: 14px;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.anchor-index__list a:hover {
  color: var(--cream);
  border-left-color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
}

.anchor-index__list a[aria-current="true"] {
  color: var(--yellow);
  border-left-color: var(--yellow);
}

/* ---------- 轻量显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   头部
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  background: transparent;
  border-bottom: 2px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.site-header.is-scrolled,
.site-header[data-nav-open] {
  background: rgba(27, 27, 34, 0.98);
  border-bottom-color: rgba(139, 92, 246, 0.55);
}

.skip-link {
  position: absolute;
  top: -120px;
  left: var(--gutter);
  z-index: 99;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 10px;
  outline: 3px solid var(--cream);
  outline-offset: 2px;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: var(--header-h);
  transition: min-height 200ms ease;
}

.site-header.is-scrolled .header-inner { min-height: 58px; }

/* 品牌 */
.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  text-decoration: none;
}

.brand-mark__pixel {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--violet);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-mark__text {
  display: block;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-mark__sub {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.brand-mark:hover .brand-mark__pixel { box-shadow: 4px 4px 0 var(--cyan); }

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

.site-nav__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
}

.site-nav__item { display: block; }

.site-nav__link {
  position: relative;
  display: block;
  padding: 10px 11px;
  border: 2px solid transparent;
  color: var(--silver);
  font-family: var(--font-body);
  font-size: clamp(13px, 1.05vw, 14.5px);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 5px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.site-nav__link:hover { color: var(--cream); }
.site-nav__link:hover::after { transform: scaleX(1); }

.site-nav__link:focus-visible {
  outline: none;
  border-color: var(--violet-lit);
  color: var(--cream);
}

.site-nav__link[aria-current="page"] {
  background: rgba(139, 92, 246, 0.18);
  border-color: rgba(196, 160, 255, 0.55);
  color: var(--yellow);
}

.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--yellow);
}

/* 状态条 */
.status-ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  max-width: 300px;
  padding: 7px 12px;
  border: 2px solid rgba(34, 211, 238, 0.45);
  background: rgba(7, 6, 15, 0.72);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  color: var(--cyan);
  white-space: nowrap;
  overflow: hidden;
}

.status-ticker__dot {
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--moss);
  box-shadow: 0 0 8px rgba(127, 168, 140, 0.9);
  animation: tickerPulse 2400ms ease-in-out infinite;
}

.status-ticker__text {
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 200ms ease;
}

.status-ticker__text.is-swapping { opacity: 0; }

@keyframes tickerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* 阅读进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: rgba(199, 203, 209, 0.14);
  overflow: hidden;
}

.scroll-progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--cyan) 58%, var(--yellow));
  transition: width 100ms linear;
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 9px 13px;
  border: 2px solid var(--line-strong);
  background: rgba(7, 6, 15, 0.7);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease;
}

.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars > span {
  display: block;
  height: 2px;
  background: currentColor;
}

.nav-toggle__label { line-height: 1; }

/* 返回顶部 */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(14px, 3vw, 32px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 2px solid var(--violet-lit);
  background: var(--stone);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease, box-shadow 180ms ease;
}

.to-top.is-shown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover { box-shadow: var(--shadow-cyan); color: var(--cyan); }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  border-top: 2px solid rgba(139, 92, 246, 0.55);
  background:
    linear-gradient(180deg, rgba(139, 92, 246, 0.12), rgba(7, 6, 15, 0) 42%),
    var(--stone);
  color: var(--silver);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 22px, transparent 22px 44px);
  opacity: 0.45;
}

.footer-inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 66px) var(--gutter) 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(24px, 4vw, 52px);
}

.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--cream);
}

.footer-brand__line {
  margin-top: 12px;
  max-width: 30em;
  font-size: 14px;
  line-height: 1.75;
  color: var(--silver);
}

.footer-col__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.footer-col__list { display: grid; gap: 9px; }

.footer-col__list a {
  display: inline-block;
  border-bottom: 2px solid transparent;
  color: var(--cream);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease;
}

.footer-col__list a:hover {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.footer-contact { display: grid; gap: 14px; }

.footer-contact__item {
  display: grid;
  grid-template-columns: minmax(72px, auto) 1fr;
  gap: 6px 16px;
  align-items: baseline;
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--silver);
}

.footer-contact__value {
  color: var(--cream);
  font-size: 14px;
  line-height: 1.65;
  word-break: break-word;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 22px;
  border-top: 2px solid var(--line);
}

.footer-legal__main {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
}

.footer-legal__item {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--silver);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer-links a {
  padding-bottom: 2px;
  border-bottom: 2px solid rgba(34, 211, 238, 0.35);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease;
}

.footer-links a:hover {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.footer-note {
  margin-top: 18px;
  max-width: 62ch;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(199, 203, 209, 0.86);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 2px solid var(--line);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--silver);
}

.footer-copy--hint { color: var(--yellow); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1280px) {
  .status-ticker { max-width: 210px; }
  .status-ticker__text { max-width: 160px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 66px; }

  .nav-toggle { display: inline-flex; }

  .status-ticker { display: none; }

  .brand-mark__sub { display: none; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 75;
    width: min(86vw, 360px);
    margin-left: 0;
    padding: calc(var(--header-h) + 26px) 22px 30px;
    border-left: 2px solid var(--violet);
    background: var(--stone);
    box-shadow: -6px 0 0 rgba(139, 92, 246, 0.4);
    overflow-y: auto;
    transform: translateX(104%);
    transition: transform 220ms ease;
  }

  .site-nav[data-open] { transform: translateX(0); }

  .site-nav__list {
    display: grid;
    gap: 6px;
  }

  .site-nav__link {
    padding: 14px 14px;
    border: 2px solid var(--line);
    background: rgba(7, 6, 15, 0.5);
    font-size: 16px;
  }

  .site-nav__link::after { display: none; }

  .grid--3-9,
  .grid--4-8,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }

  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-contact { grid-column: 1 / -1; }

  .anchor-index {
    position: static;
    margin-bottom: 24px;
  }
}

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

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

  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-contact { grid-column: auto; }

  .footer-legal { flex-direction: column; align-items: flex-start; }

  .brand-mark__pixel { width: 40px; height: 40px; font-size: 12px; }

  .to-top { padding: 9px 12px; }
}

@media (max-width: 520px) {
  .footer-contact__item { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .steps__item { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   无障碍偏好
   ========================================================================== */
@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;
  }

  .reveal { opacity: 1; transform: none; }

  .scroll-progress > span { transition: none; }
}
