/* =========================================================
   小鸟牌局 · 共享站级样式 /assets/site.css
   ========================================================= */

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

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

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

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

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

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

:focus-visible {
  outline: 2.5px solid #DF7A3C;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 变量 ---------- */
:root {
  --sky: #3D8FD6;
  --sky-deep: #2C6FA9;
  --sky-soft: #D9E9F7;
  --feather: #F8F5EC;
  --feather-2: #FFFDF7;
  --deep: #113A5A;
  --deep-2: #0B2A42;
  --gold: #D5A23E;
  --gold-soft: #F3E5C4;
  --poplar: #DF7A3C;
  --pine: #1E5A4A;
  --indigo: #4A3F78;
  --wine: #7B2F3C;
  --mist: #DDE4E8;
  --ink: #18232B;
  --ink-soft: #4E5F6B;

  --line-color: rgba(17, 58, 90, 0.14);
  --line-strong-color: rgba(17, 58, 90, 0.3);
  --line: 1px solid var(--line-color);
  --line-strong: 1px solid var(--line-strong-color);

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;

  --shadow-1: 0 1px 0 rgba(17, 58, 90, 0.04), 0 8px 22px -16px rgba(17, 58, 90, 0.45);
  --shadow-2: 0 20px 44px -30px rgba(17, 58, 90, 0.6);

  --font-head: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Noto Sans Mono CJK SC", monospace;

  --shell: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- 中文排版基础 ---------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--feather);
  background-image:
    radial-gradient(1100px 520px at 84% -10%, rgba(61, 143, 214, 0.16), transparent 62%),
    radial-gradient(760px 420px at 2% 4%, rgba(213, 162, 62, 0.13), transparent 60%);
  background-repeat: no-repeat;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--sky); color: #fff; }

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

h1 { font-size: clamp(32px, 5vw, 54px); }
h2 { font-size: clamp(24px, 3.1vw, 34px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); }
h4 { font-size: 17px; font-weight: 700; letter-spacing: 0.01em; }

p { max-width: 68ch; }

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

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { margin-block: clamp(36px, 6vw, 80px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky-deep);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  flex: none;
}

.lead {
  font-size: clamp(16.5px, 1.9vw, 19px);
  line-height: 1.85;
  color: var(--ink-soft);
}

.muted { color: var(--ink-soft); }

.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--mist), rgba(221, 228, 232, 0.25));
  margin-block: clamp(22px, 3vw, 36px);
}

/* ---------- 面板 ---------- */
.panel {
  position: relative;
  background: var(--feather-2);
  border: var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
  padding: clamp(20px, 3vw, 32px);
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--sky);
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--mist);
}

.panel-title {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.1vw, 22px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--deep);
}

.panel-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--sky), var(--sky-deep));
  color: #fff;
  box-shadow: 0 14px 26px -18px rgba(61, 143, 214, 1);
}

.btn--primary:hover { box-shadow: 0 18px 30px -18px rgba(61, 143, 214, 1); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold), #BE8A2A);
  color: #2A1F06;
  box-shadow: 0 14px 26px -18px rgba(213, 162, 62, 1);
}

.btn--ghost {
  background: rgba(255, 253, 247, 0.7);
  border-color: var(--line-strong-color);
  color: var(--deep);
}

.btn--ghost:hover { background: #fff; border-color: var(--sky); }

/* ---------- 面包屑 ---------- */
.breadcrumb { padding-block: 16px 4px; }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.breadcrumb-item { display: inline-flex; align-items: center; gap: 8px; }

.breadcrumb-item:not(:first-child)::before {
  content: "/";
  color: var(--mist);
  margin-right: 2px;
}

.breadcrumb-item[aria-current="page"] { color: var(--deep); font-weight: 500; }

.breadcrumb-link {
  color: var(--sky-deep);
  border-bottom: 1px solid transparent;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.breadcrumb-link:hover { color: var(--deep); border-bottom-color: var(--gold); }

/* ---------- 网格 ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-color);
  background: var(--mist);
  color: var(--deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.6;
  white-space: nowrap;
}

.tag--gold { background: rgba(213, 162, 62, 0.16); border-color: rgba(213, 162, 62, 0.45); color: #8A6314; }
.tag--indigo { background: rgba(74, 63, 120, 0.12); border-color: rgba(74, 63, 120, 0.36); color: var(--indigo); }
.tag--wine { background: rgba(123, 47, 60, 0.1); border-color: rgba(123, 47, 60, 0.34); color: var(--wine); }
.tag--pine { background: rgba(30, 90, 74, 0.1); border-color: rgba(30, 90, 74, 0.34); color: var(--pine); }

/* ---------- 等宽与状态 ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.step-block {
  display: block;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--ink);
  background: linear-gradient(180deg, #F2F6F9, #E9F1F7);
  border: 1px solid var(--mist);
  border-left: 3px solid var(--sky);
  border-radius: 0 12px 12px 0;
  padding: 14px 16px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pine);
  box-shadow: 0 0 0 4px rgba(30, 90, 74, 0.14);
  flex: none;
}

/* ---------- 图片容器基础（页面阶段放图） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: var(--line);
  border-radius: var(--radius-m);
  background:
    linear-gradient(150deg, rgba(61, 143, 214, 0.22), rgba(248, 245, 236, 0.9) 58%),
    repeating-linear-gradient(90deg, rgba(17, 58, 90, 0.06) 0 1px, transparent 1px 22px);
  box-shadow: var(--shadow-1);
}

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

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

/* ---------- 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.52s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.52s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* =========================================================
   跳过链接
   ========================================================= */
.skip-link {
  position: fixed;
  left: 14px;
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  background: var(--gold);
  color: var(--deep-2);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-2);
  transition: top 0.18s ease;
}

.skip-link:focus { top: 0; }

/* =========================================================
   头部命令栏
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: var(--feather);
  background: linear-gradient(180deg, #164468 0%, #103A5A 58%, #0B2A42 100%);
  border-bottom: 1px solid rgba(213, 162, 62, 0.5);
  box-shadow: 0 12px 30px -24px rgba(11, 42, 66, 0.95);
  transition: box-shadow 0.25s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(90deg, rgba(248, 245, 236, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(248, 245, 236, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
}

.site-header[data-scrolled="true"] {
  box-shadow: 0 18px 36px -22px rgba(11, 42, 66, 1);
}

.header-shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 24px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 10px var(--gutter);
  min-height: 66px;
}

/* 品牌 */
.brand {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: var(--feather);
}

.brand-mark {
  position: relative;
  width: 26px;
  height: 26px;
  flex: none;
  transform: rotate(45deg);
  border-radius: 7px;
  background: linear-gradient(140deg, var(--sky), #96C8EE);
  box-shadow: inset 0 0 0 1px rgba(248, 245, 236, 0.42), 0 6px 14px -8px rgba(0, 0, 0, 0.8);
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 2px;
  background: var(--gold);
}

.brand:hover .brand-mark { transform: rotate(105deg); }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }

.brand-name {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
}

.brand-sub {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(248, 245, 236, 0.6);
}

/* 移动端开关 */
.nav-toggle {
  order: 2;
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 8px 13px;
  border-radius: 10px;
  border: 1px solid rgba(248, 245, 236, 0.3);
  color: var(--feather);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.nav-toggle:hover { background: rgba(248, 245, 236, 0.12); border-color: rgba(248, 245, 236, 0.55); }

.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 3px; }

.nav-toggle-bars i {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-header[data-open="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 导航 */
.cmd-nav { order: 3; flex: 1 1 auto; display: flex; justify-content: center; }

.nav-list { display: flex; align-items: center; gap: 2px; }

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 9px;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: rgba(248, 245, 236, 0.78);
  transition: color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.nav-link:hover {
  color: #fff;
  background: rgba(61, 143, 214, 0.26);
  transform: translateY(-1px);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(248, 245, 236, 0.38);
  transition: color 0.16s ease;
}

.nav-link:hover .nav-index { color: var(--gold-soft); }

.nav-link[aria-current="page"] {
  color: #fff;
  background: linear-gradient(180deg, var(--sky), var(--sky-deep));
  box-shadow: inset 0 0 0 1px rgba(248, 245, 236, 0.24), 0 8px 18px -12px rgba(61, 143, 214, 1);
}

.nav-link[aria-current="page"] .nav-index { color: var(--gold-soft); }

/* 右侧工具 */
.header-tools {
  order: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(248, 245, 236, 0.24);
  background: rgba(248, 245, 236, 0.08);
  color: rgba(248, 245, 236, 0.9);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.search-trigger:hover { background: rgba(248, 245, 236, 0.18); border-color: rgba(248, 245, 236, 0.5); }

.search-icon {
  position: relative;
  width: 13px;
  height: 13px;
  flex: none;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.search-key {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(248, 245, 236, 0.18);
  color: rgba(248, 245, 236, 0.82);
}

/* 羽翼 CTA */
.cta-wing {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 16px 9px 14px;
  border-radius: 10px 18px 18px 10px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--poplar), #C4612A 72%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 10px 20px -14px rgba(223, 122, 60, 1);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.cta-wing::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50% 50% 50% 2px;
  background: var(--gold);
  transform: rotate(-45deg);
}

.cta-wing:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 14px 24px -14px rgba(223, 122, 60, 1);
}

/* =========================================================
   页脚
   ========================================================= */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  overflow: hidden;
  color: rgba(248, 245, 236, 0.86);
  background: linear-gradient(176deg, #113A5A 0%, #134454 46%, #1E5A4A 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(90deg, rgba(248, 245, 236, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(248, 245, 236, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
}

.footer-scape {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(96px, 16vw, 170px);
  pointer-events: none;
  opacity: 0.55;
  background: linear-gradient(180deg, rgba(8, 34, 52, 0.5), rgba(8, 34, 52, 0.95));
  clip-path: polygon(
    0% 94%, 7% 72%, 15% 84%, 24% 54%, 33% 76%, 41% 46%,
    50% 70%, 59% 50%, 68% 74%, 77% 58%, 86% 80%, 94% 64%, 100% 78%,
    100% 100%, 0% 100%
  );
}

.footer-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 64px) var(--gutter) clamp(22px, 3vw, 32px);
}

/* 页脚双面板 */
.footer-quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.footer-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid rgba(248, 245, 236, 0.22);
  border-radius: var(--radius-l);
  background: rgba(248, 245, 236, 0.07);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.footer-panel::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 3px;
  border-radius: 0 0 var(--radius-l) var(--radius-l);
  opacity: 0.85;
}

.footer-panel--help::after { background: linear-gradient(90deg, var(--sky), rgba(61, 143, 214, 0)); }

.footer-panel--export::after { background: linear-gradient(90deg, var(--gold), rgba(213, 162, 62, 0)); }

.footer-panel:hover {
  transform: translateY(-2px);
  background: rgba(248, 245, 236, 0.13);
  border-color: rgba(248, 245, 236, 0.5);
  box-shadow: 0 22px 38px -30px rgba(0, 0, 0, 0.9);
}

.footer-panel-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 245, 236, 0.55);
}

.footer-panel-title {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.footer-panel-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(248, 245, 236, 0.72);
}

.footer-panel-more {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
  transition: transform 0.18s ease;
}

.footer-panel:hover .footer-panel-more { transform: translateX(4px); }

/* 页脚三栏 */
.footer-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: clamp(22px, 3vw, 32px);
  border-top: 1px solid rgba(248, 245, 236, 0.16);
}

.footer-brand-name {
  display: block;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 10px;
}

.footer-brand-note {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(248, 245, 236, 0.7);
  max-width: 32ch;
}

.footer-heading {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

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

.contact-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(248, 245, 236, 0.48);
}

.contact-value {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(248, 245, 236, 0.94);
  word-break: break-word;
}

.contact-value--plain {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(248, 245, 236, 0.82);
}

.footer-nav-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
}

.footer-nav-link {
  display: inline-block;
  padding: 3px 0;
  font-size: 14px;
  color: rgba(248, 245, 236, 0.78);
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.footer-nav-link:hover {
  color: #fff;
  border-bottom-color: var(--gold);
  transform: translateX(2px);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(24px, 3.4vw, 36px);
  padding-top: 16px;
  border-top: 1px solid rgba(248, 245, 236, 0.16);
  font-size: 12.5px;
  color: rgba(248, 245, 236, 0.6);
}

.footer-copy { font-family: var(--font-mono); letter-spacing: 0.04em; }

.footer-icp { font-family: var(--font-mono); letter-spacing: 0.06em; }

.footer-checker {
  position: relative;
  z-index: 2;
  height: 16px;
  background-image:
    linear-gradient(45deg, rgba(248, 245, 236, 0.16) 25%, transparent 25% 75%, rgba(248, 245, 236, 0.16) 75%),
    linear-gradient(45deg, rgba(248, 245, 236, 0.16) 25%, transparent 25% 75%, rgba(248, 245, 236, 0.16) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  background-color: rgba(11, 42, 66, 0.35);
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1020px) {
  .header-shell {
    flex-wrap: wrap;
    row-gap: 10px;
    padding-block: 10px;
  }

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

  .cmd-nav {
    order: 4;
    flex: none;
    width: 100%;
    display: none;
    justify-content: flex-start;
    margin-top: 2px;
    padding-top: 10px;
    border-top: 1px solid rgba(248, 245, 236, 0.18);
  }

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

  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }

  .nav-link {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
  }

  .header-tools {
    order: 5;
    width: 100%;
    padding-top: 4px;
    justify-content: space-between;
    gap: 8px;
  }

  .search-trigger,
  .cta-wing { flex: 1 1 0; justify-content: center; }

  .footer-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-brand { grid-column: 1 / -1; }
}

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

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

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

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

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

  .footer-nav-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

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

  .brand-sub { display: none; }
}

@media (max-width: 420px) {
  .search-key { display: none; }
  .nav-toggle-label { display: none; }
  .footer-nav-list { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   动效降级
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .brand:hover .brand-mark { transform: rotate(45deg); }
}
