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

:root {
  --ink-900: #0b2b23;
  --ink-800: #123b2f;
  --lime: #c9ff3d;
  --lime-soft: #e6ffa3;
  --flare: #ff5a2b;
  --paper: #f5f0e4;
  --char: #1d211f;
  --mist: #c9d6ce;
  --pitch: #2e6b4f;

  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", "Noto Sans SC", system-ui, sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "Source Han Serif SC", "SimSun", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "Consolas", "Liberation Mono", monospace;

  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --gutter: clamp(20px, 4vw, 48px);
  --wrap: 1280px;
  --header-h: 76px;

  --ease-out: cubic-bezier(0.22, 0.8, 0.3, 1);
}

@media (max-width: 960px) {
  :root {
    --header-h: 66px;
    --radius-lg: 20px;
  }
}

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

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

ul, ol {
  margin: 0;
  padding: 0;
}

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

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

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

::selection {
  background: var(--lime);
  color: var(--ink-900);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

body.is-nav-open {
  overflow: hidden;
}

/* ---------- 布局工具 ---------- */
.wrap {
  width: min(calc(100% - var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(210px, 3fr) minmax(0, 9fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.sticky-rail {
  position: sticky;
  top: calc(var(--header-h) + 18px);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 30px);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

@media (max-width: 960px) {
  .split {
    grid-template-columns: 1fr;
  }
  .sticky-rail {
    position: static;
  }
}

/* ---------- 头部外壳 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: transparent;
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.site-header[data-scrolled="true"] {
  background: rgba(11, 43, 35, 0.97);
  border-bottom-color: rgba(201, 255, 61, 0.24);
  box-shadow: 0 22px 46px -34px #000;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: clamp(12px, 3vw, 34px);
  z-index: 200;
  display: inline-block;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--ink-900);
  font: 700 0.88rem/1 var(--font-sans);
  letter-spacing: 0.02em;
  transform: translateY(-180%);
  transition: transform 0.22s var(--ease-out);
}

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

.header-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 3vw, 36px);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--paper);
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  clip-path: polygon(0 0, 100% 0, 100% 66%, 66% 100%, 0 100%);
  transition: background 0.24s var(--ease-out);
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink-900);
}

.brand:hover .brand-mark::before {
  background: var(--lime-soft);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-name {
  display: block;
  font: 700 1.06rem/1.15 var(--font-sans);
  letter-spacing: 0.05em;
  color: var(--paper);
}

.brand-line {
  display: block;
  font: 500 0.68rem/1.3 var(--font-mono);
  letter-spacing: 0.16em;
  color: rgba(201, 255, 61, 0.72);
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.2vw, 18px);
  list-style: none;
}

.nav-item {
  display: block;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.55em 0.2em;
  font: 500 0.92rem/1.4 var(--font-sans);
  letter-spacing: 0.03em;
  color: rgba(245, 240, 228, 0.8);
  transition: color 0.18s var(--ease-out);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease-out);
}

.nav-link:hover {
  color: var(--paper);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

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

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.68em 1.18em;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--ink-900);
  font: 700 0.86rem/1 var(--font-sans);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}

.nav-cta:hover {
  background: var(--lime-soft);
  transform: translateY(-1px);
}

/* 汉堡 */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 70;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(245, 240, 228, 0.3);
  background: rgba(11, 43, 35, 0.5);
  color: var(--paper);
  cursor: pointer;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.nav-toggle:hover {
  border-color: var(--lime);
  background: rgba(18, 59, 47, 0.85);
}

.nav-toggle-bar {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: top 0.24s var(--ease-out), transform 0.24s var(--ease-out),
    opacity 0.16s var(--ease-out);
}

.nav-toggle-bar:nth-child(1) {
  top: 16px;
}

.nav-toggle-bar:nth-child(2) {
  top: 22px;
}

.nav-toggle-bar:nth-child(3) {
  top: 28px;
}

.site-header[data-open] .nav-toggle {
  border-color: var(--lime);
  color: var(--lime);
}

.site-header[data-open] .nav-toggle-bar:nth-child(1) {
  top: 22px;
  transform: translateX(-50%) rotate(45deg);
}

.site-header[data-open] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header[data-open] .nav-toggle-bar:nth-child(3) {
  top: 22px;
  transform: translateX(-50%) rotate(-45deg);
}

/* 滚动进度 */
.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  z-index: 3;
  pointer-events: none;
}

.header-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--lime) 0%, var(--lime) 55%, var(--flare) 100%);
  transition: width 0.12s linear;
}

/* ---------- 移动端抽屉 ---------- */
@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    width: min(86vw, 344px);
    margin-left: 0;
    padding: calc(var(--header-h) + 26px) 24px 34px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: var(--ink-800);
    border-left: 1px solid rgba(201, 255, 61, 0.22);
    box-shadow: -34px 0 70px -44px #000;
    overflow-y: auto;
    transform: translateX(104%);
    visibility: hidden;
    transition: transform 0.34s var(--ease-out), visibility 0.34s var(--ease-out);
  }

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

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

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 0.92em 0.55em;
    font-size: 1.02rem;
    border-bottom: 1px solid rgba(201, 255, 61, 0.1);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link[aria-current="page"] {
    background: rgba(201, 255, 61, 0.12);
    border-radius: var(--radius-sm);
    border-bottom-color: transparent;
  }

  .nav-cta {
    margin-top: 20px;
    padding: 0.95em 1.2em;
    font-size: 0.95rem;
  }
}

/* ---------- 通用章节 ---------- */
.section {
  padding-block: clamp(44px, 7vw, 96px);
}

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

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

.band {
  background: var(--ink-800);
  border-block: 1px solid rgba(201, 255, 61, 0.16);
}

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

.section-no {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(201, 255, 61, 0.26);
}

.section--paper .section-no {
  color: rgba(46, 107, 79, 0.24);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.24;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.section--paper .section-title {
  color: var(--char);
}

.section-lead {
  max-width: 58ch;
  font-size: clamp(0.95rem, 1.2vw, 1.04rem);
  line-height: 1.82;
  color: rgba(245, 240, 228, 0.72);
}

.section--paper .section-lead {
  color: #3c4541;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  font: 500 0.74rem/1 var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--flare);
}

.section--paper .eyebrow {
  color: var(--pitch);
}

.rule {
  height: 1px;
  border: 0;
  margin: clamp(20px, 3vw, 36px) 0;
  background: linear-gradient(90deg, rgba(201, 255, 61, 0.5), rgba(201, 255, 61, 0));
}

.section--paper .rule {
  background: linear-gradient(90deg, rgba(46, 107, 79, 0.45), rgba(46, 107, 79, 0));
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.86em 1.7em;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: 700 0.94rem/1 var(--font-sans);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out),
    border-color 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}

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

.btn--primary {
  background: var(--lime);
  color: var(--ink-900);
}

.btn--primary:hover {
  background: var(--lime-soft);
}

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(245, 240, 228, 0.34);
}

.btn--ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.section--paper .btn--ghost {
  color: var(--char);
  border-color: rgba(29, 33, 31, 0.28);
}

.section--paper .btn--ghost:hover {
  border-color: var(--pitch);
  color: var(--pitch);
}

.btn--sm {
  padding: 0.62em 1.15em;
  font-size: 0.82rem;
}

/* ---------- 胶囊与标签 ---------- */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.5em 1em;
  border: 1px solid rgba(201, 255, 61, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(201, 255, 61, 0.08);
  color: var(--lime);
  font: 500 0.8rem/1.2 var(--font-mono);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out),
    border-color 0.18s var(--ease-out);
}

.pill:hover {
  background: rgba(201, 255, 61, 0.18);
}

.pill[aria-pressed="true"],
.pill.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink-900);
}

.section--paper .pill {
  border-color: rgba(46, 107, 79, 0.32);
  background: rgba(46, 107, 79, 0.08);
  color: var(--pitch);
}

.section--paper .pill[aria-pressed="true"],
.section--paper .pill.is-active {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--lime);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.36em 0.92em;
  border-radius: var(--radius-pill);
  background: rgba(201, 255, 61, 0.13);
  color: var(--lime);
  font: 500 0.74rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag--flare {
  background: rgba(255, 90, 43, 0.16);
  color: #ff8a63;
}

.section--paper .tag {
  background: rgba(46, 107, 79, 0.14);
  color: var(--pitch);
}

.section--paper .tag--flare {
  background: rgba(255, 90, 43, 0.14);
  color: #c83d12;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  margin-top: clamp(18px, 2.6vw, 28px);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55em;
  list-style: none;
  font: 500 0.76rem/1.6 var(--font-mono);
  letter-spacing: 0.04em;
  color: rgba(201, 214, 206, 0.72);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.55em;
  color: rgba(201, 255, 61, 0.5);
}

.breadcrumb a {
  color: rgba(245, 240, 228, 0.82);
  transition: color 0.18s var(--ease-out);
}

.breadcrumb a:hover {
  color: var(--lime);
}

.breadcrumb [aria-current="page"] {
  color: var(--lime);
}

.section--paper .breadcrumb ol {
  color: rgba(29, 33, 31, 0.6);
}

.section--paper .breadcrumb a {
  color: var(--char);
}

.section--paper .breadcrumb [aria-current="page"] {
  color: var(--pitch);
}

/* ---------- 正文 ---------- */
.prose {
  max-width: 70ch;
  font-size: 1rem;
  line-height: 1.85;
  color: inherit;
}

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

.prose h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 1.72rem);
  line-height: 1.36;
  margin-top: 1.9em;
}

.prose h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.45;
  margin-top: 1.6em;
}

.prose ul,
.prose ol {
  padding-left: 1.35em;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

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

.prose a {
  color: var(--pitch);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section--dark .prose a,
.prose--invert a {
  color: var(--lime);
}

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--ink-800);
  border: 1px solid rgba(201, 255, 61, 0.16);
  border-radius: var(--radius-lg);
  color: var(--paper);
}

.card--paper {
  background: var(--paper);
  border-color: rgba(29, 33, 31, 0.12);
  color: var(--char);
}

.card-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.08rem, 1.8vw, 1.36rem);
  line-height: 1.38;
  color: var(--paper);
  margin-bottom: 10px;
}

.card--paper .card-title {
  color: var(--char);
}

.card-body {
  font-size: 0.94rem;
  line-height: 1.78;
  color: rgba(245, 240, 228, 0.74);
}

.card--paper .card-body {
  color: #3c4541;
}

.card-foot {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font: 500 0.76rem/1.45 var(--font-mono);
  letter-spacing: 0.04em;
  color: rgba(201, 214, 206, 0.68);
}

.card--paper .card-foot {
  color: rgba(29, 33, 31, 0.6);
}

/* ---------- 数字 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--flare);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font: 500 0.72rem/1.45 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201, 214, 206, 0.72);
}

.section--paper .stat-label {
  color: rgba(29, 33, 31, 0.6);
}

/* ---------- 图片容器（页面阶段放 <img>） ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, var(--ink-800) 0%, var(--pitch) 100%);
}

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 43, 35, 0) 46%, rgba(11, 43, 35, 0.62) 100%);
}

.media--wide {
  aspect-ratio: 21 / 9;
}

.media--slant {
  clip-path: polygon(0 0, 100% 0, 100% 91%, 0 100%);
}

.media-caption {
  margin-top: 10px;
  font: 500 0.76rem/1.55 var(--font-mono);
  letter-spacing: 0.04em;
  color: rgba(201, 214, 206, 0.72);
}

.section--paper .media-caption {
  color: rgba(29, 33, 31, 0.6);
}

/* ---------- 进入动效 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

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

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(48px, 8vw, 96px);
  background: var(--ink-900);
  border-top: 1px solid rgba(201, 255, 61, 0.2);
  color: rgba(245, 240, 228, 0.72);
}

.footer-glow {
  position: absolute;
  top: -46%;
  left: -10%;
  right: -10%;
  height: 78%;
  pointer-events: none;
  background: radial-gradient(58% 62% at 50% 0%, rgba(201, 255, 61, 0.16), transparent 72%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    rgba(46, 107, 79, 0.14) 0 26px,
    rgba(46, 107, 79, 0) 26px 52px
  );
  opacity: 0.55;
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  padding-block: clamp(40px, 6vw, 74px) clamp(28px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(230px, 1.5fr) repeat(2, minmax(120px, 0.7fr)) minmax(200px, 1fr);
  gap: clamp(24px, 3.4vw, 48px);
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand-line {
  font: 700 1.1rem/1.35 var(--font-sans);
  letter-spacing: 0.04em;
  color: var(--paper);
}

.footer-tagline {
  font: 500 0.82rem/1.5 var(--font-mono);
  letter-spacing: 0.08em;
  color: rgba(201, 255, 61, 0.78);
}

.footer-note {
  max-width: 34ch;
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(201, 214, 206, 0.62);
}

.footer-note--base {
  max-width: none;
  font: 500 0.76rem/1.7 var(--font-mono);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-col-title {
  margin-bottom: 10px;
  font: 700 0.78rem/1.2 var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}

.footer-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-link {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(245, 240, 228, 0.74);
  transition: color 0.18s var(--ease-out), padding-left 0.18s var(--ease-out);
}

.footer-link:hover {
  color: var(--lime);
  padding-left: 4px;
}

.footer-contact {
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font: 500 0.82rem/1.6 var(--font-mono);
  letter-spacing: 0.02em;
  color: rgba(245, 240, 228, 0.8);
  word-break: break-word;
}

.footer-contact-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(201, 255, 61, 0.6);
}

.footer-base {
  position: relative;
  z-index: 1;
  width: min(calc(100% - var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  padding-block: 18px 28px;
  border-top: 1px solid rgba(245, 240, 228, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
}

.footer-legal {
  font: 500 0.78rem/1.7 var(--font-mono);
  letter-spacing: 0.04em;
  color: rgba(201, 214, 206, 0.68);
}

@media (max-width: 960px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ---------- 平板微调 ---------- */
@media (max-width: 1100px) {
  .nav-link {
    font-size: 0.88rem;
  }
  .nav-cta {
    font-size: 0.82rem;
    padding: 0.62em 1em;
  }
}

/* ---------- 动效降级 ---------- */
@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;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nav-cta:hover,
  .btn:hover {
    transform: none;
  }
}
