/* ========================================
   云开体育 · Site Kit 共享样式
   ======================================== */

/* ---------- 0. 变量 / Reset / 基础 ---------- */

:root {
  --paper: #F5F0E6;
  --ink: #1A1A1A;
  --navy: #0A1F44;
  --orange: #FF6B35;
  --gold: #FFD700;
  --gray: #6B7280;
  --line: #E5E7EB;
  --white: #FFFFFF;
  --font-head: 'Bebas Neue', 'Noto Sans SC', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  --sidebar-w: 280px;
  --header-h: 64px;
  --wrap: 1220px;
}

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

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

body {
  margin: 0;
  padding-left: var(--sidebar-w);
  background-color: var(--paper);
  background-image: linear-gradient(180deg, rgba(10, 31, 68, 0.04) 0 1px, transparent 1px);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--orange);
}

::selection {
  background: var(--orange);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- 1. 通用容器与主内容 ---------- */

.container {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
}

#main-content {
  display: block;
  min-height: 70vh;
  padding-top: 1.25rem;
}

@media (max-width: 1023.98px) {
  body {
    padding-left: 0;
  }

  #main-content {
    padding-top: calc(var(--header-h) + 1rem);
  }
}

/* ---------- 2. 按钮 / 图标 / 标签 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  min-height: 42px;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
}

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

.btn--accent {
  background: var(--orange);
  color: var(--navy);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn--accent:hover {
  background: #ff8252;
  color: var(--navy);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

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

.btn--sm {
  min-height: 34px;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

.btn--block {
  display: flex;
  width: 100%;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}

.icon-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255, 107, 53, 0.08);
}

.icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn .icon {
  width: 18px;
  height: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.75rem;
  background: rgba(10, 31, 68, 0.08);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

.tag--gold {
  background: var(--gold);
  color: var(--navy);
}

.tag--orange {
  background: var(--orange);
  color: #fff;
}

.tag--outline {
  background: transparent;
  border: 1px solid currentColor;
}

/* ---------- 3. 面包屑 / 页面头部 ---------- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.6rem;
  margin: 0 0 2rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray);
}

.breadcrumb a {
  color: var(--navy);
  text-decoration: none;
}

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

.breadcrumb__divider {
  color: var(--orange);
}

.page-head {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 1.2rem;
}

.page-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--orange), var(--gold));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), 0 100%);
}

.page-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-desc {
  max-width: 56ch;
  margin: 0;
  color: var(--gray);
  font-size: 1rem;
}

/* ---------- 4. 章节 / 内容分段 ---------- */

.section {
  margin: 3.5rem 0;
}

.section__head {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section__index {
  border: 1px solid currentColor;
  padding: 0.25rem 0.55rem;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.section__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.section__note {
  margin: 0 0 0 auto;
  writing-mode: vertical-rl;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--gray);
}

/* ---------- 5. 网格 / Bento ---------- */

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.grid--bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.grid--bento > * {
  grid-column: span 12;
}

@media (min-width: 768px) {
  .grid--bento > * {
    grid-column: span 6;
  }
}

@media (min-width: 1024px) {
  .grid--bento > * {
    grid-column: span 4;
  }

  .bento-main {
    grid-column: span 8;
    grid-row: span 2;
  }

  .bento-wide {
    grid-column: span 8;
  }

  .bento-side {
    grid-column: span 4;
  }

  .bento-tall {
    grid-row: span 2;
  }
}

/* ---------- 6. 面板 / 数据卡片 ---------- */

.panel {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.5rem;
}

.panel--dark {
  border-color: transparent;
  background: var(--navy);
  color: #fff;
}

.panel--paper {
  border-color: var(--line);
  background: var(--paper);
}

.panel--cut {
  border: none;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  padding: clamp(1.25rem, 3vw, 2rem);
}

.stat-card {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: 1.5rem;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  background: conic-gradient(from 0deg, transparent 0 18%, var(--orange) 18% 26%, transparent 26% 100%);
}

.stat-card__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stat-card__value {
  margin: 0.5rem 0 0;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat-card__value small {
  margin-left: 0.15em;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.5em;
  font-weight: 400;
}

.stat-card--gold::before {
  background: conic-gradient(from 0deg, transparent 0 18%, var(--gold) 18% 26%, transparent 26% 100%);
}

.stat-card--gold .stat-card__value {
  color: var(--gold);
}

.stat-card--light {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.stat-card--light .stat-card__label {
  color: var(--gray);
}

.stat-card--light .stat-card__value {
  color: var(--navy);
}

.stat-card--light::before {
  opacity: 0.7;
}

/* ---------- 7. 图片容器 ---------- */

.img-frame {
  position: relative;
  overflow: hidden;
  background: #dde2ea;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.img-frame::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.img-frame--wide::before {
  padding-top: 45%;
}

.img-frame--square::before {
  padding-top: 100%;
}

.img-frame--tall::before {
  padding-top: 135%;
}

.img-frame--pitch {
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.5) 48% 49%, transparent 49% 100%),
    radial-gradient(circle at 50% 50%, transparent 0 10%, rgba(255, 255, 255, 0.55) 10% 11%, transparent 11% 20%, rgba(255, 255, 255, 0.45) 20% 21%, transparent 21%),
    linear-gradient(180deg, #0d5c3f 0%, #093e2b 100%);
}

.img-frame--dash {
  background:
    radial-gradient(circle at 1px 1px, rgba(10, 31, 68, 0.28) 1px, transparent 0) 0 0 / 26px 26px,
    var(--paper);
}

.img-frame--speed {
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.14) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, #0e1628 0%, #1b2b4c 60%, #2b4168 100%);
}

.img-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 1rem;
  background: rgba(10, 31, 68, 0.8);
  color: #fff;
  font-size: 0.75rem;
}

.img-frame__caption code {
  color: var(--gold);
  font-family: var(--font-mono);
}

/* ---------- 8. 数据表格 / 内容目录 / 主题声明 ---------- */

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

.data-table caption {
  margin-bottom: 0.75rem;
  font-family: var(--font-head);
  font-size: 1.2rem;
  text-align: left;
}

.data-table th {
  padding: 0.7rem 0.6rem;
  border-bottom: 2px solid var(--line);
  color: var(--gray);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
}

.data-table td {
  padding: 0.75rem 0.6rem;
  border-bottom: 1px solid var(--line);
}

.data-table tbody tr:hover td {
  background: rgba(255, 107, 53, 0.06);
}

.directory {
  display: grid;
  gap: 0.75rem;
}

.directory__item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.directory__item:hover {
  border-color: var(--orange);
  color: var(--ink);
  transform: translateX(4px);
  box-shadow: 6px 6px 0 rgba(10, 31, 68, 0.08);
}

.directory__index {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.directory__title {
  font-weight: 600;
}

.directory__arrow {
  margin-left: auto;
  color: var(--gray);
  font-family: var(--font-mono);
}

.directive {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem 1.5rem;
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 3px solid var(--navy);
  border-bottom: 3px solid var(--navy);
}

.directive__index {
  grid-row: span 2;
  height: min-content;
  padding: 0.3rem 0.6rem;
  border: 1px solid currentColor;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.directive__title {
  grid-column: 2;
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.directive__text {
  grid-column: 2;
  max-width: 64ch;
  margin: 0;
  color: var(--gray);
}

.divider {
  position: relative;
  height: 1px;
  margin: 2.5rem 0;
  border: 0;
  background: var(--line);
}

.divider::after {
  content: "//";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 0.5rem;
  background: var(--paper);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* ---------- 9. 品牌 ---------- */

.site-brand {
  display: inline-block;
  text-decoration: none;
}

.site-brand__name {
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
}

.site-brand__sub {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.site-brand--bar {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.site-brand--bar .site-brand__name {
  font-size: 1.2rem;
  line-height: 1;
}

.site-brand--bar .site-brand__sub {
  font-size: 0.58rem;
}

.site-brand--side {
  border-left: 3px solid var(--orange);
  padding-left: 0.9rem;
}

.site-brand--side .site-brand__name {
  display: block;
  font-size: 1.75rem;
  line-height: 1.15;
}

.site-brand--side .site-brand__sub {
  display: block;
  margin-top: 0.3rem;
}

.site-brand--footer {
  margin-bottom: 1rem;
}

.site-brand--footer .site-brand__name {
  font-size: 1.6rem;
}

/* ---------- 10. 头部 / 侧边导航 ---------- */

.site-header {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  width: var(--sidebar-w);
  overflow-y: auto;
  background: var(--navy);
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 4px;
  background: linear-gradient(
    180deg,
    var(--orange) 0 10%,
    transparent 10% 22%,
    var(--gold) 22% 26%,
    transparent 26% 50%,
    var(--orange) 50% 55%,
    transparent 55% 72%,
    var(--gold) 72% 75%,
    transparent 75% 100%
  );
  opacity: 0.6;
  pointer-events: none;
}

.site-header__bar {
  display: none;
}

.site-header__utility {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem;
  background: var(--navy);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.site-header__nav {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 2rem 1.25rem 1.5rem;
}

.site-header__tagline {
  margin: 1rem 0 0 1.1rem;
  padding-left: 0.6rem;
  border-left: 2px solid var(--gold);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.site-nav {
  margin-top: 2.25rem;
}

.site-nav__list {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 0.9rem;
  border-left: 2px solid transparent;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s, background-color 0.25s, border-color 0.25s, padding-left 0.25s;
}

.site-nav__link::after {
  content: "//";
  margin-left: auto;
  color: transparent;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  transition: color 0.25s;
}

.site-nav__link:hover {
  padding-left: 1.1rem;
  border-left-color: var(--orange);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after {
  color: var(--orange);
}

.site-nav__link[aria-current="page"] {
  border-left-color: var(--orange);
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.22), rgba(255, 107, 53, 0.06));
  color: #fff;
}

.site-nav__link[aria-current="page"] .site-nav__index {
  color: var(--orange);
}

.site-nav__index {
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.site-header__meta {
  position: relative;
  display: grid;
  gap: 0.9rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-header__meta::after {
  content: "CN·OFFICIAL";
  position: absolute;
  right: -1.4rem;
  bottom: 2.75rem;
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, 0.32);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.34em;
}

.site-header__update {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.site-header__update b {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 1.05rem;
}

.site-header__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-align: center;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 38px;
  padding: 0 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}

.nav-toggle:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.nav-toggle__box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle__line {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s, opacity 0.25s;
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  transform: translateX(-6px);
  opacity: 0;
}

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

.nav-toggle__label {
  min-width: 2em;
  text-align: left;
}

.nav-toggle__label::before {
  content: "菜单";
}

.nav-toggle[aria-expanded="true"] .nav-toggle__label::before {
  content: "关闭";
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: calc(var(--sidebar-w) + 1rem);
  z-index: 3000;
  transform: translateY(-200%);
  padding: 0.7rem 1rem;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  transition: transform 0.25s;
}

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

/* ---------- 11. 页脚 ---------- */

.site-footer {
  position: relative;
  margin-top: 5rem;
  overflow: hidden;
  background: var(--navy);
  color: #e5e7eb;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--orange) 0 15%,
    transparent 15% 25%,
    var(--gold) 25% 28%,
    transparent 28% 40%,
    var(--orange) 40% 60%,
    transparent 60% 70%,
    var(--gold) 70% 73%,
    transparent 73% 100%
  );
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1.2fr 1fr;
  gap: 2.5rem;
  padding-top: 3.5rem;
}

.site-footer__tagline {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__trust {
  margin: 1rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid rgba(255, 215, 0, 0.55);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
  line-height: 1.7;
}

.site-footer__title {
  margin: 0 0 1rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--orange);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer__links {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.25s, padding-left 0.25s;
}

.site-footer__links a::before {
  content: "/";
  color: var(--orange);
  font-family: var(--font-mono);
}

.site-footer__links a:hover {
  padding-left: 0.2rem;
  color: #fff;
}

.site-footer__contact-line {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0.45rem 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.5;
}

.site-footer__contact-label {
  width: 2.4em;
  flex: none;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.75em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__contact-note {
  margin: 1rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  line-height: 1.6;
}

.site-footer__brief-text {
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  line-height: 1.8;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.site-footer__copy {
  margin: 0;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.site-footer__legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: var(--gold);
}

.site-footer__icp {
  margin: 0;
}

.site-footer__disclaimer {
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  text-align: center;
}

/* ---------- 12. 响应式 / 移动端抽屉 ---------- */

@media (max-width: 1023.98px) {
  .site-header {
    top: 0;
    bottom: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--header-h);
    overflow: visible;
    background: transparent;
    border-right: 0;
  }

  .site-header::before {
    display: none;
  }

  .site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    padding: 0 0.9rem 0 1rem;
    background: rgba(10, 31, 68, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-header__utility {
    display: none;
  }

  .site-header__nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: auto;
    width: min(86vw, 340px);
    padding: 1.75rem 1.25rem 1.5rem;
    overflow-y: auto;
    background: var(--navy);
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(105%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s, visibility 0.3s;
  }

  .site-header__nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .skip-link {
    top: calc(var(--header-h) + 0.5rem);
    left: 0.75rem;
  }
}

@media (max-width: 767.98px) {
  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer__bottom {
    justify-content: center;
    text-align: center;
  }

  .site-footer__legal {
    justify-content: center;
  }
}

/* ---------- 13. 显现动效 / 工具 ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

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

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

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

body.no-scroll {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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