/* ============================================================
   安博体育 · Shared Site Kit  /assets/site.css
   深空黑 + 竞技橙 + 电光青 / 命令栏 + 坐标索引
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 140px;
}

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

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

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

a { color: inherit; }

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

table { border-collapse: collapse; width: 100%; }

hr { border: 0; border-top: 1px solid var(--line); }

/* ---------- 2. Tokens ---------- */
:root {
  /* 色板 */
  --c-void: #070A0F;
  --c-deep: #0E1420;
  --c-graphite: #151D2B;
  --c-orange: #FF6A1A;
  --c-amber: #FFB15C;
  --c-cyan: #18E0C8;
  --c-blue: #3DD9FF;
  --c-indigo: #1E1040;
  --c-teal: #062A2E;
  --c-wine: #3A0E1E;
  --c-white: #F2F5F8;
  --c-mute: #9AA7B8;

  /* 边界与表面 */
  --line: rgba(154, 167, 184, 0.16);
  --line-strong: rgba(154, 167, 184, 0.32);
  --line-orange: rgba(255, 106, 26, 0.45);
  --line-cyan: rgba(24, 224, 200, 0.4);
  --surface: rgba(21, 29, 43, 0.72);
  --surface-solid: #141C29;
  --shadow-soft: 0 20px 44px -30px rgba(0, 0, 0, 0.95);

  /* 尺度 */
  --shell-w: 1320px;
  --pad-x: clamp(18px, 4vw, 56px);
  --r-xs: 2px;
  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 12px;

  /* 字体 */
  --font-display: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  background-color: var(--c-void);
  background-image:
    radial-gradient(90rem 60rem at 82% -18%, rgba(30, 16, 64, 0.55), transparent 62%),
    radial-gradient(70rem 50rem at -12% 8%, rgba(6, 42, 46, 0.5), transparent 60%);
  background-repeat: no-repeat;
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--c-white);
}

h1 { font-size: clamp(2.25rem, 5.4vw, 4.5rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.5rem); letter-spacing: -0.025em; line-height: 1.24; }
h4 { font-size: 1.05rem; letter-spacing: -0.015em; line-height: 1.35; }

p { text-wrap: pretty; }

::selection { background: rgba(255, 106, 26, 0.32); color: #FFFFFF; }

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

/* ---------- 4. 通用工具类 ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: 0.82em;
  letter-spacing: 0.06em;
}

.container {
  width: 100%;
  max-width: var(--shell-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.container--narrow { max-width: 860px; }

.section {
  position: relative;
  padding-block: clamp(52px, 7.5vw, 108px);
  border-top: 1px solid var(--line);
}

.section--graphite { background: linear-gradient(180deg, rgba(21, 29, 43, 0.9), rgba(14, 20, 32, 0.9)); }
.section--teal { background: linear-gradient(180deg, var(--c-teal), #04181B); }
.section--indigo { background: linear-gradient(180deg, var(--c-indigo), #140A2C); }
.section--wine { background: linear-gradient(180deg, var(--c-wine), #240912); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--c-orange);
  display: inline-block;
}

.display-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.6vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--c-white);
}

.display-title em {
  font-style: normal;
  color: var(--c-orange);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.lead {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.8;
  color: rgba(242, 245, 248, 0.82);
  max-width: 62ch;
}

.prose {
  max-width: 68ch;
  color: rgba(226, 233, 241, 0.9);
  font-size: 1rem;
  line-height: 1.85;
}

.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.25em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--c-blue); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--c-white); font-weight: 700; }

/* ---------- 5. 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 30px);
}

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

/* ---------- 6. 按钮 / 徽标 / 卡片 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease),
    border-color 0.16s var(--ease), transform 0.16s var(--ease);
}

.btn--primary {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: #0A0C10;
}

.btn--primary:hover {
  background: var(--c-amber);
  border-color: var(--c-amber);
  transform: translateY(-1px);
}

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

.btn--ghost:hover {
  border-color: var(--c-cyan);
  color: var(--c-cyan);
  background: rgba(24, 224, 200, 0.06);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 12.5px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(21, 29, 43, 0.66);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--c-mute);
}

.badge--orange { color: var(--c-amber); border-color: var(--line-orange); background: rgba(255, 106, 26, 0.1); }
.badge--cyan { color: var(--c-cyan); border-color: var(--line-cyan); background: rgba(24, 224, 200, 0.09); }
.badge--blue { color: var(--c-blue); border-color: rgba(61, 217, 255, 0.36); background: rgba(61, 217, 255, 0.08); }

.card {
  position: relative;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.card--accent {
  border-color: var(--line-orange);
  background:
    linear-gradient(150deg, rgba(255, 106, 26, 0.1), transparent 55%),
    var(--surface);
}

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

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--c-mute);
}

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

.breadcrumb-list > li + li::before {
  content: "/";
  color: rgba(154, 167, 184, 0.42);
}

.breadcrumb-link {
  color: var(--c-mute);
  text-decoration: none;
  transition: color 0.15s var(--ease);
}

.breadcrumb-link:hover { color: var(--c-cyan); }

.breadcrumb-list > li[aria-current="page"] { color: var(--c-white); }

/* ---------- 8. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background-color: var(--c-deep);
  background-image:
    radial-gradient(120% 110% at 0% 0%, rgba(255, 106, 26, 0.14), transparent 58%),
    radial-gradient(120% 110% at 100% 100%, rgba(24, 224, 200, 0.12), transparent 60%),
    repeating-linear-gradient(90deg, rgba(154, 167, 184, 0.07) 0 1px, transparent 1px 56px);
  box-shadow: var(--shadow-soft);
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }

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

.media-frame__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 9px;
  border: 1px solid var(--line-cyan);
  border-radius: var(--r-sm);
  background: rgba(7, 10, 15, 0.78);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-cyan);
}

.media-frame__scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(242, 245, 248, 0.05) 0 1px,
    transparent 1px 4px
  );
}

/* ---------- 9. 头部 · 命令栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 15, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 26, 0.75), rgba(24, 224, 200, 0.55), transparent);
}

.site-header.is-scrolled {
  background: rgba(7, 10, 15, 0.97);
  box-shadow: 0 16px 34px -26px rgba(0, 0, 0, 1);
}

.header-shell {
  width: 100%;
  max-width: var(--shell-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding-block: 10px;
}

/* 跳过链接 */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--c-orange);
  color: #070A0F;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* 品牌坐标牌 */
.brand-block {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--c-white);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid var(--line-orange);
  border-radius: var(--r-sm);
  background:
    linear-gradient(135deg, rgba(255, 106, 26, 0.2), rgba(24, 224, 200, 0.1));
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-orange);
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-white);
}

.brand-sub {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: rgba(154, 167, 184, 0.85);
}

.brand-block:hover .brand-mark {
  border-color: var(--c-orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 26, 0.12);
}

/* 版本信号带 */
.status-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
  overflow: hidden;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(21, 29, 43, 0.7);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--c-mute);
  white-space: nowrap;
}

.status-tag--cyan {
  color: var(--c-cyan);
  border-color: var(--line-cyan);
  background: rgba(24, 224, 200, 0.08);
}

.status-tag--pulse { color: var(--c-amber); border-color: var(--line-orange); background: rgba(255, 106, 26, 0.09); }

.status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 0 rgba(255, 106, 26, 0.55);
  animation: ab-pulse 2s ease-out infinite;
}

@keyframes ab-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 106, 26, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(255, 106, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 106, 26, 0); }
}

/* 行动区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color 0.16s var(--ease), background-color 0.16s var(--ease);
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  border-color: var(--c-orange);
  background: rgba(255, 106, 26, 0.1);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: var(--c-white);
  transition: transform 0.2s var(--ease), opacity 0.16s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 导航轨 */
.primary-nav {
  border-top: 1px solid var(--line);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.nav-item { display: flex; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border-left: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(242, 245, 248, 0.72);
  text-decoration: none;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}

.nav-item:last-child .nav-link { border-right: 1px solid var(--line); }

.nav-index {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: rgba(154, 167, 184, 0.5);
  transition: color 0.16s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-orange), var(--c-amber));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s var(--ease);
}

.nav-link:hover {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link:hover .nav-index { color: var(--c-amber); }

.nav-link[aria-current="page"] {
  color: var(--c-white);
  background: linear-gradient(180deg, rgba(255, 106, 26, 0.16), rgba(255, 106, 26, 0));
}

.nav-link[aria-current="page"] .nav-index { color: var(--c-orange); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* 滚动进度 */
.progress-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(154, 167, 184, 0.12);
  pointer-events: none;
}

.progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--c-orange), var(--c-amber) 45%, var(--c-cyan));
}

/* ---------- 10. 页脚 ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #0A0F18, var(--c-void) 62%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(24, 224, 200, 0.55), rgba(255, 106, 26, 0.7), transparent);
}

.footer-shell {
  width: 100%;
  max-width: var(--shell-w);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 76px) var(--pad-x) 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(0, 2.1fr);
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(26px, 4vw, 46px);
}

.footer-brand { min-width: 0; }

.footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-orange);
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, rgba(255, 106, 26, 0.18), rgba(61, 217, 255, 0.08));
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-orange);
}

.footer-brand-name {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-white);
}

.footer-brand-line {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--c-mute);
}

.footer-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--c-mute);
}

.legend-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
}

.legend-dot--live { background: var(--c-orange); box-shadow: 0 0 0 3px rgba(255, 106, 26, 0.16); }
.legend-dot--ok { background: var(--c-cyan); box-shadow: 0 0 0 3px rgba(24, 224, 200, 0.16); }
.legend-dot--info { background: var(--c-blue); box-shadow: 0 0 0 3px rgba(61, 217, 255, 0.16); }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.footer-col { min-width: 0; }

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-amber);
}

.footer-col-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xs);
  font-size: 10px;
  letter-spacing: 0;
  color: var(--c-mute);
}

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

.footer-link {
  display: inline-block;
  padding: 7px 0;
  font-size: 15px;
  color: rgba(242, 245, 248, 0.76);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.footer-link:hover {
  color: var(--c-orange);
  border-bottom-color: rgba(255, 106, 26, 0.5);
}

.footer-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  padding-block: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  gap: 18px 26px;
}

.contact-row { display: flex; flex-direction: column; gap: 5px; min-width: 0; }

.contact-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-mute);
}

.contact-val {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--c-white);
  overflow-wrap: anywhere;
}

.footer-note {
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-mute);
  border-left: 2px solid rgba(255, 106, 26, 0.5);
  padding-left: 14px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-top: 20px;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(154, 167, 184, 0.82);
}

.legal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

.legal-link {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--c-mute);
  text-decoration: none;
  transition: color 0.16s var(--ease);
}

.legal-link:hover { color: var(--c-cyan); }

/* ---------- 11. 显现动效 ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  will-change: opacity, transform;
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1180px) {
  .status-strip { display: none; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 118px; }

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

  .primary-nav {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease), opacity 0.2s var(--ease);
  }

  .primary-nav[data-open] {
    max-height: min(74vh, 560px);
    opacity: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top-color: var(--line-strong);
  }

  .nav-list { flex-direction: column; padding-bottom: 10px; }

  .nav-item { display: block; }

  .nav-link,
  .nav-item:last-child .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 4px;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    font-size: 15.5px;
  }

  .nav-link::after { bottom: -1px; }

  .nav-link[aria-current="page"] {
    background: linear-gradient(90deg, rgba(255, 106, 26, 0.16), transparent 70%);
    padding-left: 12px;
  }

  .site-header.is-nav-open { box-shadow: 0 24px 44px -30px rgba(0, 0, 0, 1); }

  .footer-top { grid-template-columns: 1fr; }
  .footer-contact { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .grid--2,
  .grid--3,
  .grid--asym { grid-template-columns: 1fr; }
}

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

  .header-actions .btn--ghost { display: none; }

  .brand-mark { width: 38px; height: 38px; flex-basis: 38px; font-size: 13px; }
  .brand-name { font-size: 16.5px; }
  .brand-sub { font-size: 8.5px; letter-spacing: 0.16em; }

  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .brand-sub { display: none; }
  .nav-toggle { width: 40px; padding: 0 8px; }
}

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

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

  .status-dot { animation: none; box-shadow: 0 0 0 3px rgba(255, 106, 26, 0.18); }
}
