/* ==========================================================================
   利来赛场 · 共享样式表 /assets/site.css
   夜间数据控制室 + 印刷刊物质感
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; }
main { display: block; }

/* ---------- 2. 设计变量 ---------- */
:root {
  --ink-900: #070B14;
  --ink-850: #0B1120;
  --ink-800: #0F1626;
  --ink-700: #16203A;
  --line: #2C3A55;
  --paper: #EDE6D6;
  --white: #F5F7FA;
  --muted: #A8B6CC;
  --cyan: #24E0D2;
  --cyan-soft: #7BF3EA;
  --orange: #FF8A2B;
  --red: #E0233B;
  --paper-ink: #16202F;

  --font-title: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-display: clamp(38px, 6.2vw, 56px);
  --fs-h1: clamp(30px, 4.6vw, 40px);
  --fs-h2: clamp(23px, 3.2vw, 30px);
  --fs-h3: clamp(19px, 2.2vw, 22px);
  --fs-body: 17px;
  --fs-caption: 13px;

  --header-h: 76px;
  --wrap: 1360px;
  --gutter: clamp(20px, 3vw, 48px);
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (max-width: 860px) {
  :root { --header-h: 64px; --fs-body: 16px; }
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1000px 560px at 88% -8%, rgba(36, 224, 210, .10), transparent 60%),
    radial-gradient(820px 520px at 2% 4%, rgba(224, 35, 59, .07), transparent 58%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--white);
  line-height: 1.26;
}
h1 { font-size: var(--fs-h1); line-height: 1.2; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.36; }
h4 { font-size: 18px; }

code, kbd, samp, .mono, [data-year] {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

strong { font-weight: 700; color: var(--white); }
small { font-size: var(--fs-caption); }

::selection { background: var(--cyan); color: #04211F; }

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

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 11px 18px;
  background: var(--cyan);
  color: #04211F;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }

/* ---------- 5. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .26s var(--ease), border-color .26s var(--ease), box-shadow .26s var(--ease);
}
.site-header[data-scrolled] {
  background-color: rgba(7, 11, 20, .94);
  border-bottom-color: var(--line);
  box-shadow: 0 22px 46px -34px rgba(0, 0, 0, .95);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header[data-scrolled] { backdrop-filter: blur(16px) saturate(150%); }
}

.header-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  overflow: hidden;
  background: rgba(44, 58, 85, .35);
}
.header-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transition: transform .12s linear;
}

.header-inner {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 38px);
}

/* 品牌 */
.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: none;
  line-height: 1.15;
}
.brand__mark {
  position: relative;
  font-family: var(--font-title);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--white);
  padding-left: 20px;
}
.brand__mark::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -6px;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(36, 224, 210, .16);
}
.brand__sub {
  font-size: 11px;
  letter-spacing: .13em;
  color: var(--muted);
  white-space: nowrap;
}

/* 主导航 */
.primary-nav { display: flex; }
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.3vw, 22px);
}
.primary-nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 2px;
  font-size: 14.5px;
  color: var(--muted);
  letter-spacing: .02em;
  transition: color .18s var(--ease);
}
.primary-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .24s var(--ease);
}
.primary-nav__link:hover { color: var(--white); }
.primary-nav__link:hover::after { transform: scaleX(1); }
.primary-nav__link[aria-current="page"] { color: var(--white); }
.primary-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--orange);
}

.nav-aside { display: none; }

/* 桌面工具区 */
.header-utils {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.search-entry {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 232px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(22, 32, 58, .55);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .02em;
  transition: border-color .18s var(--ease), color .18s var(--ease), background-color .18s var(--ease);
}
.search-entry:hover {
  border-color: var(--cyan);
  color: var(--white);
  background: rgba(36, 224, 210, .08);
}
.search-entry__icon {
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.search-entry__icon::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 9px;
  width: 7px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
}
.search-entry__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 22, 38, .72);
  color: var(--white);
  font-size: 13px;
  letter-spacing: .08em;
}
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  transition: background-color .22s var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--white);
  transition: transform .24s var(--ease), top .24s var(--ease);
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }
.nav-toggle__label { line-height: 1; }

/* 抽屉遮罩 */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(4, 7, 14, .68);
  opacity: 0;
  transition: opacity .26s var(--ease);
}
.nav-scrim[data-open] { opacity: 1; }
.nav-scrim[hidden] { display: none; }

/* 中等宽度：检索框收成图标 */
@media (max-width: 1280px) {
  .search-entry { min-width: 0; }
  .search-entry__text { display: none; }
  .brand__sub { display: none; }
}

/* 移动端：抽屉 */
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .header-utils { display: none; }

  .primary-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    z-index: 85;
    width: min(360px, 88vw);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    padding: 22px clamp(18px, 5vw, 30px) 34px;
    background: var(--ink-850);
    border-left: 1px solid var(--line);
    overflow-y: auto;
    visibility: hidden;
    transform: translateX(103%);
    transition: transform .3s var(--ease), visibility 0s linear .3s;
  }
  .primary-nav[data-open] {
    visibility: visible;
    transform: none;
    transition: transform .3s var(--ease), visibility 0s linear 0s;
  }
  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .primary-nav__item { border-bottom: 1px solid rgba(44, 58, 85, .55); }
  .primary-nav__link {
    display: block;
    padding: 15px 2px;
    font-size: 16px;
    color: var(--white);
  }
  .primary-nav__link::after { display: none; }
  .primary-nav__link[aria-current="page"] {
    color: var(--cyan);
    padding-left: 13px;
    box-shadow: inset 3px 0 0 var(--cyan);
  }
  .nav-aside {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
  .nav-aside .search-entry { min-width: 0; }
  .nav-aside .search-entry__text { display: inline; }
}

@media (max-width: 480px) {
  .brand__mark { font-size: 19px; padding-left: 17px; }
  .nav-toggle__label { display: none; }
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
  text-align: center;
  white-space: nowrap;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: #F0304A; }
.btn--outline {
  background: rgba(15, 22, 38, .6);
  border-color: var(--line);
  color: var(--white);
}
.btn--outline:hover { border-color: var(--cyan); color: var(--cyan-soft); }
.btn--ghost { background: transparent; color: var(--muted); }
.btn--ghost:hover { color: var(--cyan); }
.btn--sm { padding: 8px 13px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- 7. 容器与章节 ---------- */
.container { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.container--narrow { width: min(760px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }

.section { position: relative; padding-block: clamp(56px, 7vw, 104px); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--paper h1,
.section--paper h2,
.section--paper h3,
.section--paper h4 { color: var(--ink-900); }
.section--paper .lead { color: #46536A; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--cyan); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(24px, 3vw, 44px);
}
.section-head__text { max-width: 62ch; }
.section-head__text h2 { margin-bottom: 10px; }

.lead {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.72;
  color: var(--muted);
}

.divider-rule { height: 1px; background: linear-gradient(90deg, var(--line), rgba(44, 58, 85, 0)); }

/* ---------- 8. 网格 ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.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: 960px) {
  .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); }
}

/* ---------- 9. 侧边轨道 + 主内容 ---------- */
.shell {
  display: grid;
  grid-template-columns: minmax(180px, 232px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 1040px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
}

.rail {
  position: sticky;
  top: calc(var(--header-h) + 26px);
  display: grid;
  gap: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.rail__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.rail__list { display: grid; gap: 2px; }
.rail__link {
  display: block;
  padding: 9px 12px;
  font-size: 14.5px;
  color: var(--muted);
  border-left: 2px solid transparent;
  transition: color .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
}
.rail__link:hover { color: var(--white); background: rgba(15, 22, 38, .75); }
.rail__link[aria-current="true"] {
  color: var(--cyan);
  border-left-color: var(--cyan);
  background: rgba(36, 224, 210, .08);
}
@media (max-width: 1040px) {
  .rail {
    position: static;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 16px 0 0;
  }
}

/* ---------- 10. 卡片与数据小件 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.2vw, 28px);
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.card:hover { border-color: rgba(36, 224, 210, .5); transform: translateY(-2px); }
.card__label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.card__title { font-family: var(--font-title); font-size: 20px; line-height: 1.36; margin-bottom: 8px; }
.card__text { font-size: 15px; line-height: 1.68; color: var(--muted); }
.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.card--paper { background: var(--paper); border-color: rgba(7, 11, 20, .14); }
.card--paper .card__title { color: var(--ink-900); }
.card--paper .card__text { color: #46536A; }
.card--paper .card__label { color: #B3273E; }
.card--paper .card__meta { color: #5A6579; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: rgba(22, 32, 58, .72);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--muted);
}
.tag--cyan { background: var(--cyan); border-color: var(--cyan); color: #04211F; }
.tag--orange { background: var(--orange); border-color: var(--orange); color: #2A1300; }
.tag--red { background: var(--red); border-color: var(--red); color: var(--white); }

.stat { display: grid; gap: 4px; }
.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.stat__label { font-size: 13px; letter-spacing: .04em; color: var(--muted); }

/* ---------- 11. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
  font-size: var(--fs-caption);
  color: var(--muted);
}
.breadcrumbs__link { color: var(--muted); transition: color .18s var(--ease); }
.breadcrumbs__link:hover { color: var(--cyan); }
.breadcrumbs__sep { color: var(--line); }
.breadcrumbs__current { color: var(--white); }

/* ---------- 12. 正文长文 ---------- */
.prose { max-width: 70ch; color: #D9E1EC; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { margin-top: 1.8em; }
.prose a {
  color: var(--cyan-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--cyan); }
.prose strong { color: var(--white); }
.prose ul { display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 8px;
  height: 2px;
  background: var(--orange);
}

/* ---------- 13. 图片容器 ---------- */
.media { display: grid; gap: 10px; margin: 0; }
.media__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--ink-800), var(--ink-900));
}
.media__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(rgba(44, 58, 85, .38) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 58, 85, .38) 1px, transparent 1px);
  background-size: 34px 34px;
}
.media__img { width: 100%; height: 100%; object-fit: cover; }
.media__caption { font-size: 12.5px; line-height: 1.58; color: var(--muted); }
.media--16x9 .media__frame { aspect-ratio: 16 / 9; }
.media--4x3 .media__frame { aspect-ratio: 4 / 3; }
.media--1x1 .media__frame { aspect-ratio: 1 / 1; }
.media--tall .media__frame { aspect-ratio: 3 / 4; }

/* ---------- 14. 提示块 ---------- */
.notice {
  padding: 14px 18px;
  border-left: 3px solid var(--orange);
  background: rgba(255, 138, 43, .09);
  font-size: 15px;
  line-height: 1.68;
  color: #E6ECF5;
}
.notice--paper {
  background: var(--paper);
  border-left-color: var(--red);
  color: #2A3240;
}

/* ---------- 15. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 8vw, 120px);
  background: var(--paper);
  color: var(--paper-ink);
  border-top: 1px solid var(--ink-900);
}
.site-footer::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg,
    var(--cyan) 0 18%,
    var(--orange) 18% 27%,
    var(--red) 27% 33%,
    var(--ink-900) 33% 34%,
    transparent 34% 100%);
  opacity: .92;
}

.footer-inner {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding: clamp(40px, 5vw, 74px) 0 clamp(30px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: clamp(30px, 4vw, 72px);
}

.footer-brand { display: grid; gap: 12px; align-content: start; }
.footer-brand__mark {
  font-family: var(--font-title);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
  color: var(--ink-900);
}
.footer-brand__sub { font-size: 13.5px; letter-spacing: .02em; color: #4A5568; }
.footer-note { max-width: 34ch; font-size: 13px; line-height: 1.72; color: #4A5568; }
.footer-stamp {
  justify-self: start;
  display: inline-block;
  padding: 8px 12px;
  border: 1px dashed rgba(7, 11, 20, .42);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: #3A4658;
  transform: rotate(-1.4deg);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 36px);
  align-content: start;
}
.footer-col__title {
  margin: 0 0 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(7, 11, 20, .2);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-900);
}
.footer-col__list { display: grid; gap: 10px; }
.footer-link {
  width: fit-content;
  font-size: 14.5px;
  color: #2A3646;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.footer-link:hover { color: var(--red); border-bottom-color: var(--red); }

.footer-legal { border-top: 1px solid rgba(7, 11, 20, .18); background: rgba(7, 11, 20, .04); }
.footer-legal__inner {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding: 20px 0 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 12.5px;
  line-height: 1.72;
  color: #42505F;
}
.footer-legal__item { display: inline-flex; gap: 6px; }
.footer-legal__item--mono { font-family: var(--font-mono); letter-spacing: .06em; color: #2A3646; }

@media (max-width: 980px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .footer-legal__inner { flex-direction: column; gap: 6px; }
}

/* ---------- 16. 滚动钩子 ---------- */
[data-section] { scroll-margin-top: calc(var(--header-h) + 24px); }

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 17. 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
