/* ==========================================================================
   EMC全站 · 共享样式 /assets/site.css
   刊头导航 · 画册留白 · 机能标签 · 深色页脚
   ========================================================================== */

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

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

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

ul, ol { padding: 0; }

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

button { font: inherit; color: inherit; }

a { color: inherit; }

/* --- 变量 ----------------------------------------------------------------- */
:root {
  --blue: #0B5FFF;
  --blue-deep: #0846C2;
  --cyan: #00E5FF;
  --orange: #FF7A45;
  --orange-deep: #F05F28;
  --ink: #1A1D24;
  --night: #0F1B33;
  --mist: #F5F7FB;
  --white: #FFFFFF;
  --tag: #E8F1FF;
  --grey: #5A6273;
  --line: #C9D3E6;
  --line-soft: rgba(201, 211, 230, 0.55);

  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --gutter: clamp(18px, 4vw, 40px);
  --shell: 1180px;

  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", Inter,
               "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace,
               "Roboto Mono", Menlo, Consolas, monospace;

  --shadow-card: 0 18px 40px rgba(26, 29, 36, 0.10);
  --shadow-soft: 0 10px 26px rgba(11, 95, 255, 0.14);

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

/* --- 基础排版 ------------------------------------------------------------- */
html, body { min-height: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--mist);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }

strong { font-weight: 700; }

::selection { background: rgba(0, 229, 255, 0.35); color: var(--ink); }

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

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

.section {
  position: relative;
  padding-block: clamp(56px, 7vw, 104px);
}

.section--tight { padding-block: clamp(34px, 4.5vw, 60px); }

.section--flush { padding-block: 0; }

.section--dark {
  background: var(--ink);
  color: #E4EAF6;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-inline: var(--gutter);
}

.section--dark .prose,
.section--dark .lead { color: #AEBBD3; }

.section--dark h1,
.section--dark h2,
.section--dark h3 { color: #FFFFFF; }

.section__no {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  transition: color 0.24s var(--ease);
}

.section__no::after {
  content: "";
  width: 48px;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
  transition: width 0.24s var(--ease), background-color 0.24s var(--ease);
}

.section.is-active .section__no { color: var(--blue-deep); }
.section.is-active .section__no::after { width: 84px; background: var(--cyan); }

.section--dark .section__no { color: var(--cyan); }
.section--dark .section__no::after { background: rgba(0, 229, 255, 0.35); }
.section--dark.is-active .section__no::after { width: 84px; background: var(--cyan); }

/* --- 标题与正文层级 -------------------------------------------------------- */
.display {
  font-size: clamp(40px, 7.4vw, 88px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin: 0 0 0.35em;
}

.h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.5em;
}

.h3 {
  font-size: clamp(19px, 2.1vw, 25px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.4em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 14px;
}

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
  color: var(--grey);
  max-width: 34em;
}

.prose {
  max-width: 68ch;
  color: var(--grey);
}

.prose p:last-child { margin-bottom: 0; }

.prose a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 95, 255, 0.35);
}

.prose a:hover { border-bottom-color: var(--blue); }

.section--dark .display { color: #FFFFFF; }

/* --- 按钮 ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}

.btn--primary {
  background: var(--orange);
  color: #FFFFFF;
  box-shadow: 0 12px 26px rgba(255, 122, 69, 0.3);
}

.btn--primary:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(255, 122, 69, 0.36);
}

.btn--solid {
  background: var(--blue);
  color: #FFFFFF;
  box-shadow: var(--shadow-soft);
}

.btn--solid:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
}

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

.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn--quiet {
  background: transparent;
  color: var(--blue);
  border-color: rgba(11, 95, 255, 0.32);
}

.btn--quiet:hover {
  background: var(--tag);
  border-color: var(--blue);
}

.btn--on-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border-color: rgba(0, 229, 255, 0.4);
}

.btn--on-dark:hover {
  background: rgba(0, 229, 255, 0.14);
  border-color: var(--cyan);
}

.btn--sm { padding: 10px 20px; font-size: 14px; }

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* --- 标签胶囊 ------------------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: var(--tag);
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  white-space: nowrap;
}

.tag--accent {
  background: rgba(255, 122, 69, 0.12);
  color: var(--orange-deep);
}

.tag--dark {
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.28);
}

.tag--line {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--grey);
}

/* --- 面包屑 --------------------------------------------------------------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--grey);
}

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

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

.crumbs a {
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.crumbs a:hover { color: var(--blue); }

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

/* --- 栅格 ----------------------------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 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)); }
.grid--split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }

/* --- 卡片 ----------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
              border-color 0.22s var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: #AFC3E6;
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.card__title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
}

.card__body {
  color: var(--grey);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0;
}

.card__foot {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.card--dark {
  background: var(--night);
  border-color: rgba(0, 229, 255, 0.18);
  color: #D7E0F2;
}

.card--dark .card__title { color: #FFFFFF; }
.card--dark .card__body { color: #A9B6CE; }

.card--ghost {
  background: transparent;
  border-style: dashed;
}

/* --- 数据展示 ------------------------------------------------------------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  display: inline-block;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: var(--tag);
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.stat--dark .stat__num { color: var(--cyan); }
.stat--dark .stat__label {
  background: rgba(0, 229, 255, 0.12);
  color: #9FB3D6;
}

/* --- 表格 ----------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  -webkit-overflow-scrolling: touch;
}

table.data {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}

table.data th,
table.data td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

table.data th {
  background: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--grey);
  white-space: nowrap;
}

table.data td { color: var(--ink); }

table.data tbody tr:last-child td { border-bottom: 0; }

table.data tbody tr:hover td { background: rgba(232, 241, 255, 0.55); }

/* --- 图像容器（供页面阶段放置图片） --------------------------------------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background-color: var(--night);
  background-image:
    radial-gradient(120% 130% at 10% 6%, rgba(0, 229, 255, 0.26), transparent 58%),
    linear-gradient(140deg, #0F1B33 0%, #0B5FFF 55%, #00E5FF 100%);
  isolation: isolate;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.65;
  pointer-events: none;
  z-index: 1;
}

.media > img,
.media > svg,
.media > picture > img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }
.media--band { aspect-ratio: 24 / 9; }
.media--soft { border-radius: var(--radius-lg); }
.media--plain { background-image: linear-gradient(140deg, #0F1B33, #0B5FFF); }
.media--plain::after { display: none; }

/* --- 显现动效 ------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

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

/* ==========================================================================
   共享头部 · 居中刊头
   ========================================================================== */
.masthead {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.24s var(--ease), background-color 0.24s var(--ease);
}

.masthead.is-condensed {
  box-shadow: 0 10px 30px rgba(15, 27, 51, 0.09);
}

.masthead__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(11, 95, 255, 0.1);
  overflow: hidden;
}

.masthead__progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: transform 0.12s linear;
}

.masthead__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px 16px;
  padding-block: clamp(14px, 2vw, 20px) clamp(8px, 1.4vw, 13px);
  transition: padding 0.24s var(--ease);
}

.masthead__edition {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 14px 6px 11px;
  border-radius: var(--radius-pill);
  background: var(--tag);
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.masthead__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.22);
}

.masthead__wordmark {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--ink);
}

.masthead__name {
  font-size: clamp(23px, 3.2vw, 31px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
  transition: font-size 0.24s var(--ease), color 0.2s var(--ease);
}

.masthead__wordmark:hover .masthead__name { color: var(--blue); }

.masthead__tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--grey);
  white-space: nowrap;
  transition: opacity 0.2s var(--ease);
}

.masthead__tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
}

.masthead__search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  border: 1px solid rgba(11, 95, 255, 0.3);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
              background-color 0.2s var(--ease);
}

.masthead__search:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.18);
}

.masthead__toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.masthead__toggle:hover { border-color: var(--blue); color: var(--blue); }

.masthead__bars {
  position: relative;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color 0.2s var(--ease);
}

.masthead__bars::before,
.masthead__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease);
}

.masthead__bars::before { top: -5px; }
.masthead__bars::after { top: 5px; }

.masthead__toggle[aria-expanded="true"] .masthead__bars { background: transparent; }
.masthead__toggle[aria-expanded="true"] .masthead__bars::before { transform: translateY(5px) rotate(45deg); }
.masthead__toggle[aria-expanded="true"] .masthead__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* --- 栏目录头导航 --------------------------------------------------------- */
.site-nav {
  position: relative;
  z-index: 1;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0 0 11px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.site-nav__list li { margin: 0; }

.site-nav__list a {
  display: inline-block;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  color: var(--grey);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.site-nav__list a:hover { color: var(--blue); background: var(--tag); }

.site-nav__list a[aria-current="page"] {
  color: #FFFFFF;
  background: var(--blue);
  font-weight: 700;
}

/* --- 刊头收起态 ----------------------------------------------------------- */
.masthead.is-condensed .masthead__grid {
  padding-block: 9px 7px;
}

.masthead.is-condensed .masthead__name {
  font-size: clamp(18px, 2.3vw, 22px);
}

.masthead.is-condensed .masthead__tagline { opacity: 0; }

.masthead.is-condensed .masthead__edition { opacity: 0.6; }

.masthead.is-condensed .site-nav__list { padding-bottom: 7px; }

.masthead.is-condensed .site-nav__list a {
  padding: 6px 13px;
  font-size: 14px;
}

/* --- skip link ------------------------------------------------------------ */
.skip-link {
  position: absolute;
  left: 50%;
  top: 10px;
  z-index: 200;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transform: translate(-50%, -180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* ==========================================================================
   共享页脚
   ========================================================================== */
.site-foot {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  padding-top: 3px;
  background: var(--ink);
  color: #C4CEE2;
  border-radius: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0 0;
  overflow: hidden;
}

.site-foot::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -8%;
  width: min(620px, 78vw);
  height: min(620px, 78vw);
  background: radial-gradient(circle at 50% 50%,
              rgba(0, 229, 255, 0.20),
              rgba(11, 95, 255, 0.12) 45%,
              transparent 70%);
  pointer-events: none;
}

.site-foot::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--blue));
  opacity: 0.9;
}

.site-foot__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: clamp(26px, 3.6vw, 56px);
  padding-block: clamp(46px, 6vw, 86px) clamp(30px, 4vw, 50px);
}

.site-foot__wordmark {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 33px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #FFFFFF;
}

.site-foot__claim {
  margin: 0 0 14px;
  max-width: 20em;
  font-size: 15px;
  line-height: 1.7;
  color: #A9B6CE;
}

.site-foot__edition {
  display: inline-block;
  margin: 0;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 229, 255, 0.3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.site-foot__col { min-width: 0; }

.site-foot__title {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.site-foot__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-foot__list li { margin-bottom: 11px; }

.site-foot__list li:last-child { margin-bottom: 0; }

.site-foot__list a {
  color: #A9B6CE;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.site-foot__list a:hover {
  color: #FFFFFF;
  padding-left: 5px;
}

.site-foot__list--meta li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.site-foot__key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #6E7D9B;
}

.site-foot__val {
  font-size: 14.5px;
  line-height: 1.6;
  color: #D3DCEE;
  word-break: break-word;
}

.site-foot__base {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 30px;
  padding-block: 24px 34px;
  border-top: 1px solid rgba(201, 211, 230, 0.16);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #7C8AA6;
}

.site-foot__copy,
.site-foot__icp { margin: 0; }

.site-foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-foot__legal a {
  color: #A9B6CE;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.site-foot__legal a:hover { color: var(--cyan); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--split { grid-template-columns: minmax(0, 1fr); }
  .site-foot__inner { grid-template-columns: 1.5fr 1fr 1fr; }
  .site-foot__col--contact { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  body { font-size: 16.5px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .masthead__toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 10px var(--gutter) 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 26px 26px;
    box-shadow: 0 30px 60px rgba(15, 27, 51, 0.18);
  }

  .site-nav[data-open="true"] { display: block; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 0;
  }

  .site-nav__list a {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 16px;
    color: var(--ink);
  }

  .site-nav__list a[aria-current="page"] { color: #FFFFFF; }

  .masthead.is-condensed .masthead__tagline { opacity: 1; }

  .masthead.is-condensed .site-nav__list a {
    padding: 14px 16px;
    font-size: 16px;
  }
}

@media (max-width: 720px) {
  .masthead__edition { display: none; }

  .masthead__grid { grid-template-columns: 1fr auto; }

  .masthead__wordmark {
    grid-column: 1;
    justify-self: start;
    align-items: flex-start;
  }

  .masthead__tools { grid-column: 2; }

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

  .site-foot__inner { grid-template-columns: minmax(0, 1fr); }
  .site-foot__col--contact { grid-column: auto; }

  .site-foot__base {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .display { letter-spacing: -0.035em; }
}

@media (max-width: 520px) {
  .masthead__search span { display: none; }
  .masthead__search { padding: 9px 12px; }
  .masthead__tagline { letter-spacing: 0.18em; }
  .section--dark { margin-inline: 0; border-radius: var(--radius-lg); }
}

/* ==========================================================================
   无障碍 / 动效偏好
   ========================================================================== */
@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;
  }

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

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