/* ==========================================================================
   777棋牌老版 · 赛事通体育 — 共享 Site Kit
   设计语法：技术蓝图网格 × 甘肃丹霞赭金 × 赛场夜战荧光绿
   文件位置：/assets/site.css
   ========================================================================== */

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

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

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol { 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; background: none; border: 0; }

a { color: inherit; }

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

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 色彩体系 */
  --abyss: #070C16;
  --panel: #0E1626;
  --grid-line: #2A3A5A;
  --ochre: #B23A2E;
  --ochre-deep: #7A241D;
  --sand: #D9A441;
  --lime: #B7F34C;
  --bone: #F2EDE4;
  --slate: #8A96AD;

  --line-soft: rgba(42, 58, 90, 0.68);
  --line-hard: rgba(42, 58, 90, 0.95);
  --bone-soft: rgba(242, 237, 228, 0.80);
  --bone-dim: rgba(242, 237, 228, 0.62);

  /* 版式 */
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, Georgia, serif;
  --font-heading: "Noto Sans SC Condensed", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-data: "Roboto Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 布局 */
  --shell: 1220px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-gap: clamp(40px, 6vw, 84px);

  color-scheme: dark;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--abyss);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 24px);
  line-height: 1.36;
  letter-spacing: 0.05em;
}

h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

p { line-height: 1.82; }

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

small { font-size: 13px; }

::selection { background: var(--ochre); color: var(--bone); }

/* 无障碍 */
:where(a, button, [tabindex], summary):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 1px;
}

.visually-hidden {
  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;
}

/* ---------- 4. 布局骨架 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-gap); }

.stack > * + * { margin-top: var(--stack-gap, 20px); }

.grid {
  display: grid;
  gap: clamp(16px, 2.5vw, 32px);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

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

.blueprint {
  background-color: var(--abyss);
  background-image:
    linear-gradient(to right, rgba(42, 58, 90, 0.30) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 58, 90, 0.30) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ---------- 5. 章节头与标签 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--ochre);
  flex: none;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
  padding-bottom: 14px;
  margin-bottom: clamp(20px, 3vw, 38px);
  border-bottom: 1px solid var(--line-soft);
}
.section-head__title { margin: 0; }
.section-head__note {
  max-width: 52ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-data);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--slate);
  background: rgba(42, 58, 90, 0.22);
  border: 1px solid var(--line-soft);
  white-space: nowrap;
}
.tag--sand { color: var(--sand); border-color: rgba(217, 164, 65, 0.55); background: rgba(217, 164, 65, 0.08); }
.tag--lime { color: var(--lime); border-color: rgba(183, 243, 76, 0.48); background: rgba(183, 243, 76, 0.08); }
.tag--ochre { color: var(--bone); border-color: rgba(178, 58, 46, 0.75); background: rgba(178, 58, 46, 0.22); }

.data-num {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--lime);
}

/* ---------- 6. 面板与图片容器 ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--panel);
  border: 1px solid var(--line-soft);
}
.panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--ochre), rgba(178, 58, 46, 0));
}
.panel--cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 22% 18%, rgba(178, 58, 46, 0.30), transparent 58%),
    linear-gradient(160deg, rgba(217, 164, 65, 0.14), rgba(7, 12, 22, 0) 62%),
    var(--panel);
}
.media-frame > img,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 26px;
  height: 26px;
  border-right: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  opacity: 0.72;
  pointer-events: none;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame__tag {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-family: var(--font-data);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--lime);
  background: rgba(7, 12, 22, 0.82);
  border: 1px solid rgba(183, 243, 76, 0.45);
}
.media-frame__caption {
  margin-top: 10px;
  font-family: var(--font-data);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--slate);
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 14px 26px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.10em;
  line-height: 1.2;
  color: #080D17;
  background: var(--sand);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%);
}
.btn:hover { background: var(--lime); }
.btn:active { transform: translateY(1px); }

.btn--ochre {
  color: var(--bone);
  background: var(--ochre);
}
.btn--ochre:hover { background: var(--ochre-deep); color: var(--bone); }

.btn--ghost {
  color: var(--bone);
  background: transparent;
  border: 1px solid var(--line-hard);
}
.btn--ghost:hover {
  color: var(--lime);
  background: rgba(183, 243, 76, 0.07);
  border-color: rgba(183, 243, 76, 0.6);
}

.btn--sm { padding: 10px 18px; font-size: 13.5px; letter-spacing: 0.08em; }

/* ---------- 8. 面包屑 ---------- */
.breadcrumb {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--slate);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
}
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5em;
  color: var(--grid-line);
}
.breadcrumb a { color: var(--slate); text-decoration: none; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb [aria-current="page"] { color: var(--sand); }

/* ---------- 9. 正文区 ---------- */
.prose {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.9;
  color: var(--bone-soft);
}
.prose > * + * { margin-top: 1.35em; }
.prose h2 {
  margin-top: 2.2em;
  padding-top: 0.7em;
  border-top: 1px solid var(--line-soft);
  color: var(--bone);
}
.prose h3 { margin-top: 1.8em; color: var(--bone); }
.prose ul,
.prose ol { padding-left: 0; }
.prose ul li,
.prose ol li {
  position: relative;
  padding-left: 1.4em;
}
.prose ul li + li,
.prose ol li + li { margin-top: 0.5em; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 8px;
  height: 1px;
  background: var(--ochre);
}
.prose ol { counter-reset: prose-ol; }
.prose ol li::before {
  counter-increment: prose-ol;
  content: counter(prose-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.15em;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--sand);
}
.prose a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 0.28em;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--bone); }
.prose strong { color: var(--bone); }
.prose blockquote {
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--ochre);
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--bone);
}
.prose figure figcaption {
  margin-top: 10px;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--slate);
}

/* ---------- 10. 显现协议 ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 11. 跳转链接与进度条 ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -120px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--lime);
  color: #08101C;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  pointer-events: none;
  background: linear-gradient(90deg, var(--ochre), var(--sand) 55%, var(--lime));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- 12. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background-color: var(--abyss);
  border-bottom: 1px solid rgba(178, 58, 46, 0.55);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-header.is-stuck {
  border-bottom-color: rgba(178, 58, 46, 0.9);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
}

.header-utility {
  border-bottom: 1px solid var(--line-soft);
  background-image:
    linear-gradient(90deg, rgba(122, 36, 29, 0.45), rgba(7, 12, 22, 0) 44%),
    linear-gradient(180deg, rgba(14, 22, 38, 0.9), rgba(7, 12, 22, 0.9));
}
.header-utility__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  min-height: 40px;
  padding-block: 6px;
  font-family: var(--font-data);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--slate);
}
.header-utility__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--bone);
}
.header-utility__mark { color: var(--sand); }
.header-utility__sep { color: var(--ochre); }
.header-utility__note { margin: 0; color: var(--slate); }
.header-utility__tools {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.header-utility__link {
  color: var(--lime);
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(183, 243, 76, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.header-utility__link:hover { border-bottom-color: var(--lime); }
.header-utility__lang { color: rgba(138, 150, 173, 0.85); }

.header-main {
  position: relative;
  background-color: var(--abyss);
  background-image:
    linear-gradient(to right, rgba(42, 58, 90, 0.28) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 58, 90, 0.28) 1px, transparent 1px);
  background-size: 56px 56px;
}
.header-main__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--bone);
}
.brand__glyph {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-family: var(--font-data);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--bone);
  background: linear-gradient(140deg, var(--ochre), var(--ochre-deep));
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__name {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.2;
}
.brand__sub {
  font-family: var(--font-data);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  line-height: 1.2;
  color: var(--slate);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 10px 14px;
  color: var(--bone);
  background: rgba(42, 58, 90, 0.24);
  border: 1px solid var(--line-hard);
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.nav-toggle:hover { background: rgba(42, 58, 90, 0.42); border-color: var(--sand); }
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  height: 14px;
}
.nav-toggle__bars i {
  display: block;
  height: 2px;
  background: var(--sand);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.site-header[data-open] .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle__label { line-height: 1; }

.primary-nav { margin-left: auto; }
.primary-nav__list {
  display: flex;
  align-items: stretch;
  gap: 2px;
}
.primary-nav__list a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 26px 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.10em;
  line-height: 1.2;
  color: var(--bone-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}
.primary-nav__list a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--ochre), var(--sand));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}
.primary-nav__list a:hover { color: var(--bone); }
.primary-nav__list a:hover::after { transform: scaleX(1); }
.primary-nav__list a[aria-current="page"] { color: var(--lime); }
.primary-nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--lime);
}
.primary-nav__idx {
  font-family: var(--font-data);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--slate);
}

/* 移动 / 平板导航 */
@media (max-width: 1023px) {
  .header-utility__note { display: none; }
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-left: 0;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    background-color: var(--panel);
    background-image:
      linear-gradient(180deg, rgba(178, 58, 46, 0.16), rgba(7, 12, 22, 0) 42%),
      linear-gradient(to right, rgba(42, 58, 90, 0.25) 1px, transparent 1px);
    background-size: auto, 56px 56px;
    border-top: 1px solid var(--line-hard);
    border-bottom: 1px solid var(--line-hard);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.6);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s linear;
  }
  .site-header[data-open] .primary-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 6px 14px;
  }
  .primary-nav__list li { border-bottom: 1px solid rgba(42, 58, 90, 0.45); }
  .primary-nav__list li:last-child { border-bottom: 0; }
  .primary-nav__list a {
    padding: 16px var(--gutter);
    font-size: 16px;
    letter-spacing: 0.12em;
  }
  .primary-nav__list a::after { display: none; }
  .primary-nav__list a[aria-current="page"] {
    color: var(--lime);
    background: rgba(183, 243, 76, 0.08);
    box-shadow: inset 3px 0 0 var(--lime);
  }
}

@media (max-width: 560px) {
  .header-utility__inner { font-size: 11px; letter-spacing: 0.08em; }
  .header-utility__brand { font-size: 11.5px; letter-spacing: 0.12em; }
  .brand__sub { display: none; }
  .brand__name { font-size: 17px; }
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  background-color: var(--abyss);
  background-image: linear-gradient(180deg, rgba(14, 22, 38, 0.92), var(--abyss) 58%);
  border-top: 1px solid var(--line-hard);
  color: var(--bone-soft);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ochre), var(--sand) 46%, var(--lime));
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(42, 58, 90, 0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 58, 90, 0.22) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 72%);
}

.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(40px, 6vw, 76px) clamp(28px, 4vw, 50px);
}

.footer-brand__kicker {
  margin: 0 0 10px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand);
}
.footer-brand__name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bone);
}
.footer-brand__tagline {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--bone-dim);
}
.footer-brand__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.footer-col__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand);
}
.footer-col__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}
.footer-col__list { display: grid; gap: 10px; }
.footer-col__list a {
  display: inline-block;
  font-size: 14.5px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--bone-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col__list a::before {
  content: "—";
  margin-right: 8px;
  color: var(--ochre);
  transition: color 0.2s ease;
}
.footer-col__list a:hover { color: var(--lime); }
.footer-col__list a:hover::before { color: var(--lime); }

.footer-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: clamp(18px, 2.2vw, 26px);
  background: rgba(14, 22, 38, 0.74);
  border: 1px solid var(--line-soft);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}
.footer-card__row { display: grid; gap: 3px; }
.footer-card__label {
  margin: 0;
  font-family: var(--font-data);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}
.footer-card__value {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--bone);
  word-break: break-word;
}
.footer-card__note {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  line-height: 1.78;
  color: var(--slate);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-soft);
}
.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 20px 30px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--slate);
}
.footer-bottom__copy { margin: 0; }
.footer-legal { margin: 0; color: rgba(138, 150, 173, 0.9); }

@media (max-width: 1023px) {
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-card { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom__inner { justify-content: flex-start; }
}

/* ---------- 14. 动效降级 ---------- */
@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] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .primary-nav__list a::after { transition: none; }
}
