/* ==========================================================================
   韦德亚洲 · 站点共享样式 /assets/site.css
   检查台视觉系统:深墨蓝控制台 + 纸白档案 + 信号橙状态 + 荧光青交互
   ========================================================================== */

:root {
  --wd-ink: #0B1B2B;
  --wd-steel: #33475B;
  --wd-mist: #8FA3B5;
  --wd-paper: #F6F8FA;
  --wd-orange: #FF6B2C;
  --wd-cyan: #22D3C5;
  --wd-green: #3FB950;
  --wd-red: #E5534B;
  --wd-yellow: #F2C94C;
  --wd-black: #071018;
  --wd-white: #FFFFFF;

  --wd-font-display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --wd-font-serif: "Noto Serif SC", "Songti SC", "Source Han Serif SC", SimSun, serif;
  --wd-font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --wd-font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;

  --wd-border: 2px solid var(--wd-black);
  --wd-shadow: 4px 4px 0 var(--wd-black);
  --wd-shadow-lg: 6px 6px 0 var(--wd-black);
  --wd-shadow-sm: 2px 2px 0 var(--wd-black);
  --wd-max: 1200px;
  --wd-gutter: clamp(16px, 4vw, 40px);
  --wd-ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --wd-dur: 200ms;
}

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

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

body {
  margin: 0;
  font-family: var(--wd-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--wd-ink);
  background-color: var(--wd-paper);
  background-image:
    linear-gradient(to right, rgba(11, 27, 43, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 27, 43, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; }
button { font: inherit; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--wd-font-display);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

::selection {
  background: var(--wd-orange);
  color: var(--wd-black);
}

/* ---------- 焦点与可访问 ---------- */
:focus-visible {
  outline: 3px solid var(--wd-cyan);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(7, 16, 24, 0.45);
}

.wd-skip {
  position: absolute;
  top: -80px;
  left: 10px;
  z-index: 300;
  display: inline-block;
  padding: 10px 18px;
  background: var(--wd-cyan);
  color: var(--wd-black);
  font-family: var(--wd-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: var(--wd-border);
  box-shadow: var(--wd-shadow-sm);
  transition: top 160ms var(--wd-ease);
}

.wd-skip:focus,
.wd-skip:focus-visible {
  top: 10px;
}

/* ==========================================================================
   头部
   ========================================================================== */
.wd-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--wd-ink);
  color: var(--wd-paper);
  border-bottom: var(--wd-border);
}

.wd-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(143, 163, 181, 0.28);
  pointer-events: none;
  z-index: 2;
}

.wd-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--wd-orange);
  transition: width 90ms linear;
}

/* 上层信息条 */
.wd-topbar {
  border-bottom: 1px solid rgba(143, 163, 181, 0.35);
}

.wd-topbar__inner {
  max-width: var(--wd-max);
  margin: 0 auto;
  padding: 14px var(--wd-gutter) 11px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.wd-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex: 0 1 auto;
}

.wd-brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  background: var(--wd-orange);
  color: var(--wd-black);
  font-family: var(--wd-font-mono);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  border: 2px solid var(--wd-black);
  box-shadow: 2px 2px 0 var(--wd-cyan);
}

.wd-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.wd-brand__name {
  font-family: var(--wd-font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--wd-paper);
}

.wd-brand__line {
  font-family: var(--wd-font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--wd-mist);
}

.wd-anchor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0 auto;
  padding: 5px 11px;
  border: 1px solid rgba(34, 211, 197, 0.55);
  background: rgba(34, 211, 197, 0.09);
  font-family: var(--wd-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.wd-anchor__dot {
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--wd-cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 197, 0.2);
}

.wd-anchor__label {
  color: var(--wd-mist);
  letter-spacing: 0.1em;
}

.wd-anchor__value {
  color: var(--wd-cyan);
  font-weight: 700;
}

.wd-topbar__cta {
  flex: 0 0 auto;
}

/* 下层主导航 */
.wd-navbar__inner {
  max-width: var(--wd-max);
  margin: 0 auto;
  padding: 0 var(--wd-gutter);
  display: flex;
  align-items: center;
  gap: 14px;
}

.wd-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.wd-nav__list {
  display: flex;
  flex-wrap: wrap;
}

.wd-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 13px 13px 11px;
  color: var(--wd-paper);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color var(--wd-dur) var(--wd-ease),
              background-color var(--wd-dur) var(--wd-ease),
              border-color var(--wd-dur) var(--wd-ease);
}

.wd-nav__index {
  font-family: var(--wd-font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--wd-mist);
}

.wd-nav__link:hover {
  color: var(--wd-orange);
  background: rgba(255, 107, 44, 0.08);
  border-bottom-color: var(--wd-orange);
}

.wd-nav__link:hover .wd-nav__index {
  color: var(--wd-orange);
}

.wd-nav__link[aria-current="page"] {
  color: var(--wd-black);
  background: var(--wd-orange);
  border-bottom-color: var(--wd-black);
}

.wd-nav__link[aria-current="page"] .wd-nav__index {
  color: var(--wd-black);
  opacity: 0.62;
}

.wd-nav__link[aria-current="page"]:hover {
  background: var(--wd-yellow);
}

.wd-navbar__hint {
  margin: 0;
  margin-left: auto;
  font-family: var(--wd-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--wd-mist);
  white-space: nowrap;
}

.wd-nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  background: transparent;
  color: var(--wd-paper);
  border: 2px solid var(--wd-mist);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color var(--wd-dur) var(--wd-ease),
              border-color var(--wd-dur) var(--wd-ease),
              background-color var(--wd-dur) var(--wd-ease);
}

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

.wd-nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.wd-nav-toggle__bars::before,
.wd-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.wd-nav-toggle__bars::before { top: -5px; }
.wd-nav-toggle__bars::after { top: 5px; }

.wd-nav-toggle__text { line-height: 1; }

.wd-header[data-open="true"] .wd-nav-toggle {
  background: var(--wd-orange);
  border-color: var(--wd-orange);
  color: var(--wd-black);
}

/* ==========================================================================
   通用按钮
   ========================================================================== */
.wd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  font-family: var(--wd-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  background: var(--wd-paper);
  color: var(--wd-ink);
  border: 2px solid var(--wd-black);
  box-shadow: var(--wd-shadow-sm);
  transition: transform 160ms var(--wd-ease),
              box-shadow 160ms var(--wd-ease),
              background-color 160ms var(--wd-ease),
              color 160ms var(--wd-ease),
              border-color 160ms var(--wd-ease);
}

.wd-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--wd-shadow);
}

.wd-btn:active {
  transform: translate(0, 0);
  box-shadow: none;
}

.wd-btn--primary {
  background: var(--wd-orange);
  color: var(--wd-black);
}

.wd-btn--primary:hover {
  background: var(--wd-yellow);
}

.wd-btn--ghost {
  background: transparent;
  color: var(--wd-paper);
  border-color: var(--wd-paper);
  box-shadow: 2px 2px 0 rgba(7, 16, 24, 0.85);
}

.wd-btn--ghost:hover {
  background: var(--wd-orange);
  color: var(--wd-black);
  border-color: var(--wd-black);
}

.wd-btn--sm {
  padding: 7px 12px;
  font-size: 11.5px;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   布局容器与网格
   ========================================================================== */
.wd-container {
  width: 100%;
  max-width: var(--wd-max);
  margin: 0 auto;
  padding-left: var(--wd-gutter);
  padding-right: var(--wd-gutter);
}

.wd-narrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

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

.wd-section--tight {
  padding-block: clamp(24px, 3vw, 40px);
}

.wd-section--ink {
  background: var(--wd-ink);
  color: var(--wd-paper);
}

.wd-section--steel {
  background: var(--wd-steel);
  color: var(--wd-paper);
}

.wd-section--ink .wd-section__sub,
.wd-section--steel .wd-section__sub {
  color: var(--wd-mist);
}

.wd-section__head {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(20px, 3vw, 32px);
  padding-bottom: 14px;
  border-bottom: 2px solid currentColor;
}

.wd-section__eyebrow {
  margin: 0;
  font-family: var(--wd-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wd-orange);
}

.wd-section--ink .wd-section__eyebrow,
.wd-section--steel .wd-section__eyebrow {
  color: var(--wd-yellow);
}

.wd-section__title {
  margin: 0;
  font-family: var(--wd-font-serif);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 36px);
  letter-spacing: 0.01em;
  line-height: 1.24;
}

.wd-section__sub {
  margin: 0;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--wd-steel);
}

.wd-grid {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .wd-grid--2,
  .wd-grid--3,
  .wd-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .wd-grid--7-5 { grid-template-columns: 7fr 5fr; }
  .wd-grid--5-7 { grid-template-columns: 5fr 7fr; }
}

@media (min-width: 1024px) {
  .wd-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wd-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   卡片 / 面板
   ========================================================================== */
.wd-panel {
  position: relative;
  background: var(--wd-white);
  color: var(--wd-ink);
  border: var(--wd-border);
  box-shadow: var(--wd-shadow);
  padding: clamp(16px, 2.4vw, 24px);
  transition: transform 180ms var(--wd-ease),
              box-shadow 180ms var(--wd-ease),
              border-color 180ms var(--wd-ease);
}

.wd-panel:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--wd-shadow-lg);
  border-color: var(--wd-steel);
}

.wd-panel--ink {
  background: var(--wd-ink);
  color: var(--wd-paper);
}

.wd-panel--steel {
  background: var(--wd-steel);
  color: var(--wd-paper);
}

.wd-panel--flat {
  box-shadow: none;
}

.wd-panel--flat:hover {
  transform: none;
  box-shadow: none;
}

.wd-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.wd-panel__title {
  margin: 0;
  font-family: var(--wd-font-display);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.005em;
  line-height: 1.3;
}

.wd-panel__body {
  font-size: 15px;
  line-height: 1.68;
}

.wd-panel__body > * + * {
  margin-top: 0.8em;
}

/* ==========================================================================
   状态徽章 / 版本标签
   ========================================================================== */
.wd-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--wd-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--wd-paper);
  color: var(--wd-ink);
  border: 2px solid var(--wd-black);
}

.wd-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  background: currentColor;
}

.wd-badge--ok {
  background: var(--wd-green);
  color: var(--wd-black);
}

.wd-badge--warn {
  background: var(--wd-yellow);
  color: var(--wd-black);
}

.wd-badge--bad {
  background: var(--wd-red);
  color: var(--wd-paper);
}

.wd-badge--info {
  background: var(--wd-cyan);
  color: var(--wd-black);
}

.wd-badge--live {
  background: var(--wd-orange);
  color: var(--wd-black);
}

.wd-tag {
  display: inline-block;
  padding: 2px 8px;
  font-family: var(--wd-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--wd-steel);
  background: transparent;
  border: 1px solid var(--wd-mist);
}

.wd-tag--version {
  background: var(--wd-yellow);
  color: var(--wd-black);
  border-color: var(--wd-black);
  font-weight: 700;
}

.wd-tag--cyan {
  background: var(--wd-cyan);
  color: var(--wd-black);
  border-color: var(--wd-black);
}

/* ==========================================================================
   排版工具
   ========================================================================== */
.wd-mono {
  font-family: var(--wd-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.wd-note {
  padding: 10px 14px;
  background: rgba(255, 107, 44, 0.08);
  border-left: 4px solid var(--wd-orange);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--wd-steel);
}

.wd-section--ink .wd-note,
.wd-section--steel .wd-note,
.wd-panel--ink .wd-note,
.wd-panel--steel .wd-note {
  color: var(--wd-paper);
  background: rgba(255, 107, 44, 0.16);
}

.wd-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wd-list > li {
  position: relative;
  padding-left: 18px;
  line-height: 1.7;
}

.wd-list > li + li {
  margin-top: 6px;
}

.wd-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--wd-orange);
}

.wd-prose {
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.8;
}

.wd-prose > * + * {
  margin-top: 1em;
}

.wd-prose h2,
.wd-prose h3 {
  font-family: var(--wd-font-serif);
  font-weight: 700;
  line-height: 1.3;
}

.wd-prose h2 { font-size: clamp(22px, 2.6vw, 28px); }
.wd-prose h3 { font-size: 19px; }

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

.wd-prose ol { list-style: decimal; }

.wd-prose li + li { margin-top: 0.35em; }

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

.wd-prose a:hover { color: var(--wd-ink); }

.wd-prose code {
  font-family: var(--wd-font-mono);
  font-size: 0.92em;
  padding: 0.1em 0.35em;
  background: rgba(51, 71, 91, 0.12);
}

/* ==========================================================================
   面包屑
   ========================================================================== */
.wd-breadcrumb {
  font-family: var(--wd-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.wd-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.wd-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wd-steel);
}

.wd-breadcrumb__link {
  color: var(--wd-steel);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--wd-dur) var(--wd-ease),
              border-color var(--wd-dur) var(--wd-ease);
}

.wd-breadcrumb__link:hover {
  color: var(--wd-ink);
  border-bottom-color: var(--wd-orange);
}

.wd-breadcrumb__sep {
  color: var(--wd-mist);
}

.wd-breadcrumb__item[aria-current="page"] {
  color: var(--wd-ink);
  font-weight: 700;
}

/* ==========================================================================
   基础表格(版本核对)
   ========================================================================== */
.wd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
  background: var(--wd-white);
  border: var(--wd-border);
}

.wd-table caption {
  caption-side: top;
  padding: 8px 12px;
  font-family: var(--wd-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-align: left;
  color: var(--wd-steel);
  background: var(--wd-paper);
  border: var(--wd-border);
  border-bottom: 0;
}

.wd-table th,
.wd-table td {
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(51, 71, 91, 0.22);
}

.wd-table thead th {
  background: var(--wd-steel);
  color: var(--wd-paper);
  font-family: var(--wd-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--wd-black);
  white-space: nowrap;
}

.wd-table tbody tr:hover {
  background: rgba(34, 211, 197, 0.12);
}

.wd-table tbody tr:last-child th,
.wd-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ==========================================================================
   图片容器基础规则(页面阶段放置占位)
   ========================================================================== */
.wd-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: var(--wd-border);
  background-color: var(--wd-steel);
  background-image:
    linear-gradient(to right, rgba(143, 163, 181, 0.26) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(143, 163, 181, 0.26) 1px, transparent 1px);
  background-size: 26px 26px;
}

.wd-media img,
.wd-media svg,
.wd-media picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wd-media--wide { aspect-ratio: 16 / 9; }
.wd-media--square { aspect-ratio: 1 / 1; }
.wd-media--tall { aspect-ratio: 4 / 5; }
.wd-media--banner { aspect-ratio: 21 / 9; }
.wd-media--fill { aspect-ratio: auto; }

.wd-media__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 100%;
  padding: 6px 10px;
  background: var(--wd-ink);
  color: var(--wd-paper);
  font-family: var(--wd-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  border-top: 2px solid var(--wd-orange);
}

/* ==========================================================================
   比例条
   ========================================================================== */
.wd-bar {
  display: block;
  height: 10px;
  background: var(--wd-paper);
  border: 2px solid var(--wd-black);
  overflow: hidden;
}

.wd-bar__fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--wd-orange);
}

/* ==========================================================================
   页脚
   ========================================================================== */
.wd-footer {
  position: relative;
  background: var(--wd-ink);
  color: var(--wd-paper);
  border-top: var(--wd-border);
}

.wd-footer__inner {
  max-width: var(--wd-max);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) var(--wd-gutter) 24px;
}

.wd-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 40px);
}

.wd-footer__brand {
  display: grid;
  gap: 14px;
  align-content: start;
}

.wd-brand--footer .wd-brand__mark {
  box-shadow: 2px 2px 0 var(--wd-orange);
}

.wd-footer__summary {
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--wd-mist);
}

.wd-footer__title {
  margin: 0 0 12px;
  padding-left: 9px;
  border-left: 3px solid var(--wd-orange);
  font-family: var(--wd-font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--wd-paper);
  line-height: 1.4;
}

.wd-footer__item + .wd-footer__item {
  margin-top: 7px;
}

.wd-footer__link {
  display: inline-block;
  font-size: 14px;
  color: var(--wd-mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--wd-dur) var(--wd-ease),
              border-color var(--wd-dur) var(--wd-ease);
}

.wd-footer__link:hover {
  color: var(--wd-cyan);
  border-bottom-color: var(--wd-cyan);
}

.wd-footer__contact {
  padding: 16px;
  background: rgba(51, 71, 91, 0.42);
  border: 2px solid rgba(143, 163, 181, 0.4);
}

.wd-footer__contact-head {
  margin: 0 0 12px;
  font-family: var(--wd-font-display);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--wd-paper);
}

.wd-footer__contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 13.5px;
  line-height: 1.55;
}

.wd-footer__contact-row + .wd-footer__contact-row {
  margin-top: 7px;
}

.wd-footer__contact-label {
  flex: none;
  min-width: 34px;
  font-family: var(--wd-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--wd-mist);
  line-height: 1.9;
}

.wd-footer__contact-value {
  font-family: var(--wd-font-mono);
  font-size: 13px;
  color: var(--wd-paper);
  word-break: break-word;
}

.wd-footer__note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(143, 163, 181, 0.32);
  font-size: 12px;
  line-height: 1.6;
  color: var(--wd-mist);
}

.wd-footer__meta {
  margin-top: clamp(24px, 3vw, 36px);
  padding-top: 16px;
  border-top: 1px solid rgba(143, 163, 181, 0.32);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  font-family: var(--wd-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--wd-mist);
}

.wd-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.wd-footer__legal-link {
  color: var(--wd-mist);
  text-decoration: none;
  border-bottom: 1px solid rgba(143, 163, 181, 0.45);
  transition: color var(--wd-dur) var(--wd-ease),
              border-color var(--wd-dur) var(--wd-ease);
}

.wd-footer__legal-link:hover {
  color: var(--wd-cyan);
  border-bottom-color: var(--wd-cyan);
}

.wd-footer__legal,
.wd-footer__copy {
  margin: 0;
}

.wd-totop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  padding: 10px 14px;
  background: var(--wd-paper);
  color: var(--wd-ink);
  border: var(--wd-border);
  box-shadow: var(--wd-shadow-sm);
  font-family: var(--wd-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms var(--wd-ease),
              transform 180ms var(--wd-ease),
              visibility 180ms var(--wd-ease),
              background-color 160ms var(--wd-ease);
}

.wd-totop[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.wd-totop:hover {
  background: var(--wd-orange);
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (min-width: 760px) {
  .wd-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .wd-footer__contact {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .wd-navbar__inner {
    padding-top: 0;
    padding-bottom: 0;
  }
}

@media (min-width: 1080px) {
  .wd-footer__grid {
    grid-template-columns: 1.6fr 0.85fr 0.85fr 1.2fr;
  }
  .wd-footer__contact {
    grid-column: auto;
  }
}

@media (max-width: 899px) {
  .wd-nav-toggle {
    display: inline-flex;
  }

  .wd-navbar__inner {
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 10px;
  }

  .wd-navbar__hint {
    display: none;
  }

  .wd-nav {
    display: none;
    flex: 1 1 100%;
    width: 100%;
    padding-bottom: 6px;
    border-top: 2px solid rgba(143, 163, 181, 0.35);
    margin-top: 4px;
  }

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

  .wd-nav__list {
    flex-direction: column;
  }

  .wd-nav__item {
    width: 100%;
  }

  .wd-nav__link {
    width: 100%;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(143, 163, 181, 0.25);
    border-left: 3px solid transparent;
  }

  .wd-nav__link:hover {
    border-bottom-color: rgba(143, 163, 181, 0.25);
    border-left-color: var(--wd-orange);
  }

  .wd-nav__link[aria-current="page"] {
    border-left-color: var(--wd-black);
    border-bottom-color: var(--wd-black);
  }
}

@media (max-width: 640px) {
  .wd-topbar__inner {
    padding-top: 12px;
    padding-bottom: 10px;
    gap: 10px;
  }

  .wd-brand__line {
    display: none;
  }

  .wd-anchor {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .wd-topbar__cta {
    margin-left: auto;
  }

  .wd-panel {
    box-shadow: var(--wd-shadow-sm);
  }

  .wd-panel:hover {
    transform: none;
    box-shadow: var(--wd-shadow-sm);
  }

  .wd-footer__meta {
    font-size: 11.5px;
  }

  .wd-totop {
    right: 10px;
    bottom: 10px;
    padding: 9px 12px;
    font-size: 11.5px;
  }
}

/* ==========================================================================
   动效偏好
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }

  .wd-panel:hover,
  .wd-btn:hover {
    transform: none;
  }

  .wd-totop {
    transform: none;
    transition: opacity 0.001ms, visibility 0.001ms;
  }

  .wd-progress__bar {
    transition: none;
  }
}

@media print {
  .wd-header,
  .wd-footer,
  .wd-skip,
  .wd-totop,
  .wd-progress {
    display: none !important;
  }
}
