/* ==========================================================================
   OB赛场 — Shared Site Kit
   深夜墨绿赛场 / 技术蓝图网格 / 荧光青绿锚点 / 暖橙数据强调
   ========================================================================== */

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

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

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

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

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

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

button { background: none; border: 0; }

a { color: inherit; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink-900: #07130F;
  --ink-800: #0C211A;
  --ink-700: #123328;
  --line: #1E3B31;
  --line-soft: rgba(30, 59, 49, 0.72);

  --mint: #19E3A0;
  --mint-soft: #7BFFD4;
  --orange: #FF7A2F;
  --amber: #FFB24D;

  --fog: #E9F5EF;
  --sage: #8FA99E;
  --glass: rgba(18, 51, 40, 0.62);

  --font-sans: "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", "Roboto Mono", ui-monospace, SFMono-Regular,
    Menlo, Consolas, "Courier New", monospace;

  --radius-pill: 999px;
  --radius-lg: 20px;
  --radius-md: 14px;

  --shadow-pill: 0 24px 60px -34px rgba(0, 0, 0, 0.95);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
}

/* ---------- 3. Base / 中文排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink-900);
  color: var(--fog);
  font-family: var(--font-sans);
  font-size: clamp(15px, 0.55vw + 13.4px, 17px);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    linear-gradient(to right, rgba(30, 59, 49, 0.42) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 59, 49, 0.42) 1px, transparent 1px),
    radial-gradient(1100px 620px at 80% -6%, rgba(25, 227, 160, 0.10), transparent 62%),
    radial-gradient(900px 520px at 6% 10%, rgba(255, 122, 47, 0.06), transparent 66%);
  background-size: 88px 88px, 88px 88px, 100% 100%, 100% 100%;
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p { max-width: 70ch; }

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

::selection {
  background: var(--mint);
  color: #04170F;
}

:focus-visible {
  outline: 2px solid var(--mint-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

#main-content { scroll-margin-top: 96px; }

/* ---------- 4. 通用工具类 ---------- */
.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
}

.index-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
}

.index-label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--mint);
  opacity: 0.85;
  flex: 0 0 auto;
}

.stat-figure {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, var(--line), transparent 88%);
}

.status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(25, 227, 160, 0.6);
  animation: ob-pulse 2.6s var(--ease) infinite;
}

@keyframes ob-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(25, 227, 160, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(25, 227, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(25, 227, 160, 0); }
}

/* ---------- 5. Skip link / 滚动进度 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 220;
  transform: translateY(-180%);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--mint);
  color: #04170F;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.18s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline-offset: 4px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  background: rgba(30, 59, 49, 0.55);
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--mint), var(--mint-soft) 58%, var(--orange));
  box-shadow: 0 0 14px rgba(25, 227, 160, 0.55);
  transition: transform 0.1s linear;
}

/* ---------- 6. 头部：悬浮胶囊浮岛 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: clamp(10px, 1.8vw, 20px) var(--gutter);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(7, 19, 15, 0.96) 0%,
    rgba(7, 19, 15, 0.74) 58%,
    rgba(7, 19, 15, 0) 100%
  );
  transition: padding 0.28s var(--ease);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 22px);
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 9px clamp(12px, 1.8vw, 20px);
  border: 1px solid rgba(25, 227, 160, 0.2);
  border-radius: var(--radius-pill);
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--shadow-pill), inset 0 1px 0 rgba(123, 255, 212, 0.12);
  pointer-events: auto;
  transition: padding 0.28s var(--ease), background 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.site-header.is-condensed {
  padding-block: clamp(6px, 1vw, 10px);
}

.site-header.is-condensed .site-header__inner {
  padding-block: 5px;
  background: rgba(12, 33, 26, 0.9);
  border-color: rgba(25, 227, 160, 0.3);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 2px 6px 2px 0;
  color: var(--fog);
  text-decoration: none;
}

.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(
    135deg,
    rgba(25, 227, 160, 0.98) 0%,
    rgba(25, 227, 160, 0.42) 52%,
    rgba(255, 122, 47, 0.92) 100%
  );
  box-shadow: 0 0 0 1px rgba(123, 255, 212, 0.32),
    0 12px 24px -16px rgba(25, 227, 160, 0.95);
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9px;
  background:
    linear-gradient(to right, transparent calc(50% - 0.5px), rgba(4, 23, 15, 0.72) calc(50% - 0.5px), rgba(4, 23, 15, 0.72) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(to bottom, transparent calc(50% - 0.5px), rgba(4, 23, 15, 0.72) calc(50% - 0.5px), rgba(4, 23, 15, 0.72) calc(50% + 0.5px), transparent calc(50% + 0.5px));
}

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

.brand__name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--fog);
}

.brand__line {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  white-space: nowrap;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}

.site-header.is-condensed .brand__line {
  opacity: 0;
  transform: translateY(-4px);
}

.brand--footer .brand__mark { width: 26px; height: 26px; border-radius: 8px; }
.brand--footer .brand__name { font-size: 0.95rem; }

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

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

.nav__item { display: block; }

.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.5em 0.78em;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sage);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav__link:hover {
  color: var(--fog);
  background: rgba(25, 227, 160, 0.1);
}

.nav__link[aria-current="page"] { color: var(--mint-soft); }

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: var(--mint);
  box-shadow: 0 0 10px rgba(25, 227, 160, 0.85);
}

/* 移动端开关 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(25, 227, 160, 0.3);
  border-radius: 50%;
  background: rgba(7, 19, 15, 0.6);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--mint);
  background: rgba(25, 227, 160, 0.12);
}

.nav-toggle__bar {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--mint-soft);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(2.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  transform: translateY(-2.75px) rotate(-45deg);
}

.header-cta { flex: 0 0 auto; }

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.72em 1.35em;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--fog);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    border-color 0.18s var(--ease), color 0.18s var(--ease);
}

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

.btn--primary {
  background: var(--mint);
  border-color: var(--mint);
  color: #04170F;
  box-shadow: 0 14px 34px -20px rgba(25, 227, 160, 0.95);
}

.btn--primary:hover {
  background: var(--mint-soft);
  border-color: var(--mint-soft);
}

.btn--ghost {
  background: rgba(18, 51, 40, 0.5);
  border-color: rgba(123, 255, 212, 0.35);
  color: var(--fog);
}

.btn--ghost:hover {
  border-color: var(--mint);
  color: var(--mint-soft);
  background: rgba(25, 227, 160, 0.1);
}

.btn--sm {
  padding: 0.55em 1.05em;
  font-size: 0.85rem;
}

/* ---------- 8. 容器 / 网格 / 分节 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 32px;
  margin-bottom: clamp(20px, 3vw, 40px);
}

.grid { display: grid; gap: clamp(18px, 2.6vw, 32px); }

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

.grid--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ---------- 9. 卡片 / 标签 / 图片容器 ---------- */
.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(12, 33, 26, 0.74);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease),
    background 0.22s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(25, 227, 160, 0.45);
  background: rgba(18, 51, 40, 0.8);
}

.card--glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.32em 0.8em;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(18, 51, 40, 0.6);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}

.pill--accent {
  border-color: rgba(255, 122, 47, 0.5);
  background: rgba(255, 122, 47, 0.1);
  color: var(--amber);
}

.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 100% at 18% 0%, rgba(25, 227, 160, 0.18), transparent 58%),
    radial-gradient(90% 80% at 88% 100%, rgba(255, 122, 47, 0.14), transparent 62%),
    linear-gradient(160deg, #0C211A 0%, #07130F 100%);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(30, 59, 49, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 59, 49, 0.5) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}

.media-frame > img,
.media-frame > svg,
.media-frame__img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ---------- 10. 面包屑 / 页标题 ---------- */
.breadcrumb { padding-top: clamp(20px, 3.4vw, 44px); }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

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

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--line);
}

.breadcrumb__link {
  color: var(--sage);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.breadcrumb__link:hover { color: var(--mint-soft); }

.breadcrumb__current { color: var(--mint-soft); }

.page-title {
  margin-top: clamp(14px, 2.2vw, 26px);
  font-size: clamp(34px, 5.4vw, 68px);
  font-weight: 200;
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--fog);
}

.page-lede {
  margin-top: clamp(14px, 2vw, 22px);
  max-width: 60ch;
  color: var(--sage);
  font-size: clamp(15px, 0.6vw + 13px, 17px);
}

/* ---------- 11. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 10vw, 140px);
  padding: clamp(40px, 6vw, 80px) 0 26px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(12, 33, 26, 0.55) 0%,
    var(--ink-800) 44%,
    #081914 100%
  );
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(30, 59, 49, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 59, 49, 0.55) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 72%);
}

.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  opacity: 0.4;
  pointer-events: none;
}

.footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(0, 0.75fr)) minmax(0, 1.2fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}

.footer__brand { min-width: 0; }

.footer__note {
  margin-top: 16px;
  max-width: 32ch;
  color: var(--sage);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint-soft);
}

.footer__col { min-width: 0; }

.footer__title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
}

.footer__list {
  display: grid;
  gap: 10px;
}

.footer__link {
  display: inline-block;
  color: var(--fog);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

.footer__link:hover {
  color: var(--mint-soft);
  transform: translateX(3px);
}

.footer__contact { min-width: 0; }

.footer__contact-list {
  display: grid;
  gap: 14px;
}

.footer__contact-item {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.footer__label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}

.footer__value {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--fog);
  text-align: left;
  word-break: break-word;
}

button.footer__value {
  cursor: pointer;
  padding-bottom: 1px;
  border-bottom: 1px dashed rgba(25, 227, 160, 0.35);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

button.footer__value:hover {
  color: var(--mint-soft);
  border-color: var(--mint);
}

.footer__service {
  margin-top: 18px;
  max-width: 30ch;
  color: var(--sage);
  font-size: 0.78rem;
  line-height: 1.7;
}

.footer__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer__legal .footer__link {
  font-size: 0.82rem;
  color: var(--sage);
}

.footer__legal .footer__link:hover { color: var(--mint-soft); }

.footer__icp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  max-width: none;
  font-size: 0.78rem;
  color: var(--sage);
}

.footer__icp .mono {
  font-size: 0.78rem;
  color: #7C988D;
}

/* ---------- 12. 复制反馈 ---------- */
[data-copy][data-copied="true"] {
  color: var(--mint-soft);
  border-color: rgba(25, 227, 160, 0.55);
}

[data-copy][data-copied="true"]::after {
  content: "已复制";
  margin-left: 0.55em;
  font-family: var(--font-mono);
  font-size: 0.75em;
  letter-spacing: 0.08em;
  color: var(--mint);
}

/* ---------- 13. 滚动显现 ---------- */
[data-reveal] {
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.has-js [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1080px) {
  .nav__list { gap: 0; }
  .nav__link { padding: 0.45em 0.6em; font-size: 0.85rem; }
  .footer__grid {
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 1.1fr);
    gap: clamp(22px, 3vw, 36px);
  }
}

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }

  .site-header__inner { flex-wrap: nowrap; }

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    margin-left: 0;
    padding: 10px;
    border: 1px solid rgba(25, 227, 160, 0.24);
    border-radius: 20px;
    background: rgba(9, 26, 20, 0.96);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 32px 64px -32px #000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
      visibility 0.2s var(--ease);
  }

  .nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav__link {
    display: block;
    padding: 0.72em 0.9em;
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--fog);
  }

  .nav__link[aria-current="page"] {
    background: rgba(25, 227, 160, 0.14);
    color: var(--mint-soft);
  }

  .nav__link[aria-current="page"]::after { display: none; }

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

  .footer__brand { grid-column: 1 / -1; }

  .footer__note,
  .footer__service { max-width: 46ch; }
}

@media (max-width: 640px) {
  body { background-attachment: scroll; }

  .brand__line { display: none; }

  .site-header { padding-inline: 12px; }

  .site-header__inner {
    padding-inline: 12px;
    border-radius: 22px;
  }

  .nav { border-radius: 18px; }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .page-title { font-weight: 300; }
}

/* ---------- 15. 降低动效偏好 ---------- */
@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;
  }

  .has-js [data-reveal]:not(.is-visible),
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .btn:hover,
  .card:hover,
  .footer__link:hover {
    transform: none;
  }
}
