/* /assets/site.css —— BET9登录口 共享外壳样式 */

/* ===== 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, ul, ol, li, figure, blockquote, dl, dd, hr {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

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

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

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

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

/* ===== 2. 变量 ===== */
:root {
  --ink: #0A1633;
  --ink-2: #0d1d42;
  --teal: #07222B;
  --indigo: #2A1A5E;
  --wine: #5E1B33;
  --cyan: #35E6D6;
  --violet: #A86BFF;
  --gold: #F5B841;
  --cloud: #E9EEF8;
  --mist: #9DB0CC;
  --amber: #FF8A5B;

  --line: rgba(157, 176, 204, 0.22);
  --line-strong: rgba(53, 230, 214, 0.34);
  --line-violet: rgba(168, 107, 255, 0.42);

  --shadow-hard: 8px 8px 0 rgba(2, 7, 20, 0.55);
  --shadow-soft: 0 20px 46px -26px rgba(0, 0, 0, 0.9);

  --font-head: "PingFang SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Space Grotesk", "DIN Alternate", "Rajdhani", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --header-h: 76px;
  --wrap: 1200px;
  --pad: 28px;
}

/* ===== 3. 基础排版 ===== */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--cloud);
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 8% -6%, rgba(168, 107, 255, 0.20), transparent 52%),
    radial-gradient(circle at 96% 4%, rgba(53, 230, 214, 0.13), transparent 48%),
    linear-gradient(rgba(53, 230, 214, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 230, 214, 0.045) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 64px 64px, 64px 64px;
  background-attachment: fixed, fixed, scroll, scroll;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0.04em;
}

h1 { font-size: clamp(32px, 5.4vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: clamp(20px, 2.2vw, 28px); }
h4 { font-size: clamp(18px, 1.8vw, 22px); }

p { max-width: 40em; }

strong { color: #fff; font-weight: 700; }

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

#main-content {
  display: block;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* ===== 4. 焦点与无障碍 ===== */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #181005;
  background: var(--gold);
  border: 2px solid #FFF2CF;
  transition: top 0.18s ease-out;
}

.skip-link:focus {
  top: 14px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ===== 5. 页头：紧凑命令栏 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--cloud);
  background: linear-gradient(180deg, rgba(7, 15, 36, 0.98), rgba(10, 22, 51, 0.93));
  border-bottom: 2px solid var(--line-strong);
  backdrop-filter: blur(10px);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  pointer-events: none;
  opacity: 0.55;
  background: repeating-linear-gradient(90deg, rgba(53, 230, 214, 0.55) 0 1px, transparent 1px 32px);
}

.header-bar {
  position: relative;
}

.header-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: var(--header-h);
  transition: min-height 0.22s ease-out;
}

.site-header[data-shrunk="true"] .header-inner {
  min-height: 58px;
}

.site-header[data-shrunk="true"] .brand-tagline,
.site-header[data-shrunk="true"] .brand-coord {
  opacity: 0;
  visibility: hidden;
}

/* 品牌标记 */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding: 6px 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-family: var(--font-num);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #04131f;
  background: linear-gradient(140deg, var(--cyan), var(--violet));
  border: 2px solid rgba(233, 238, 248, 0.85);
  box-shadow: 4px 4px 0 rgba(2, 7, 20, 0.6);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--cloud);
}

.brand-tagline {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mist);
  transition: opacity 0.2s ease-out, visibility 0.2s;
}

.brand-coord {
  margin-left: 6px;
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(157, 176, 204, 0.6);
  transition: opacity 0.2s ease-out, visibility 0.2s;
}

/* 主导航 */
.nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  display: block;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 12px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--mist);
  border-bottom: 2px solid transparent;
  transition: color 0.16s ease-out, background-color 0.16s ease-out, border-color 0.16s ease-out;
}

.nav-link:hover {
  color: var(--cloud);
  background: rgba(53, 230, 214, 0.08);
}

.nav-index {
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(157, 176, 204, 0.55);
  transition: color 0.16s ease-out;
}

.nav-label {
  display: inline;
  white-space: nowrap;
}

.nav-link[aria-current="page"] {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
  background: rgba(53, 230, 214, 0.07);
}

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

/* 页头操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--line-strong);
  background: rgba(53, 230, 214, 0.07);
  transition: background-color 0.16s ease-out, border-color 0.16s ease-out;
}

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

.nav-toggle-box {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}

.nav-toggle-box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan);
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.nav-toggle-box span:nth-child(1) { top: 0; }
.nav-toggle-box span:nth-child(2) { top: 6px; }
.nav-toggle-box span:nth-child(3) { top: 12px; }

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

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(2) {
  opacity: 0;
}

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

/* 滚动进度 */
.scroll-meter {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 55%, var(--gold));
  transition: width 0.1s linear;
}

/* ===== 6. 页脚：四栏错落 ===== */
.site-footer {
  position: relative;
  margin-top: 96px;
  color: var(--cloud);
  background: linear-gradient(180deg, rgba(7, 34, 43, 0.78) 0%, rgba(10, 22, 51, 0.98) 60%);
  border-top: 2px solid var(--line-strong);
}

.footer-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.05fr 0.9fr 1.1fr;
  align-items: start;
  padding: 56px 0 44px;
}

.footer-col {
  padding: 0 26px;
  border-left: 1px solid var(--line);
}

.footer-col:first-child {
  padding-left: 0;
  border-left: 0;
}

.footer-col:nth-child(2) { margin-top: 26px; }
.footer-col:nth-child(3) { margin-top: 54px; }
.footer-col:nth-child(4) { margin-top: 12px; }

.footer-col-title {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.footer-col-title::before {
  content: attr(data-index);
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.footer-brand-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand-line {
  max-width: 30em;
  font-size: 15px;
  color: var(--mist);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.footer-icp {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cloud);
  background: rgba(94, 27, 51, 0.42);
  border: 1px solid rgba(94, 27, 51, 0.9);
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-list a {
  display: inline-block;
  font-size: 15px;
  color: var(--mist);
  border-bottom: 1px dashed transparent;
  transition: color 0.16s ease-out, border-color 0.16s ease-out;
}

.footer-list a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 20px 0 34px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--mist);
}

.footer-bottom-line {
  max-width: none;
  flex: 1 1 260px;
}

.footer-year {
  max-width: none;
  font-family: var(--font-num);
  letter-spacing: 0.12em;
  color: var(--cloud);
}

/* ===== 7. 通用容器与章节 ===== */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.wrap--wide {
  max-width: 1360px;
}

.section {
  position: relative;
  padding: 72px 0;
}

.section--teal {
  background: linear-gradient(180deg, rgba(7, 34, 43, 0.74), rgba(7, 34, 43, 0.16));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--indigo {
  background: linear-gradient(180deg, rgba(42, 26, 94, 0.66), rgba(42, 26, 94, 0.12));
  border-top: 1px solid var(--line-violet);
  border-bottom: 1px solid var(--line-violet);
}

.section--wine {
  background: linear-gradient(180deg, rgba(94, 27, 51, 0.52), rgba(94, 27, 51, 0.1));
  border-top: 1px solid rgba(94, 27, 51, 0.85);
  border-bottom: 1px solid rgba(94, 27, 51, 0.85);
}

.section-head {
  position: relative;
  margin-bottom: 36px;
  padding-left: 68px;
}

.section-num {
  position: absolute;
  left: 0;
  top: -8px;
  font-family: var(--font-num);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--cyan);
}

.section-kicker {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mist);
}

.annotation {
  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--mist);
}

/* ===== 8. 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease-out, color 0.18s ease-out, border-color 0.18s ease-out, transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.btn--gold {
  color: #1A1206;
  background: var(--gold);
  border-color: #FFDA95;
  box-shadow: 4px 4px 0 rgba(2, 7, 20, 0.55);
}

.btn--gold:hover {
  background: #FFCF6B;
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(2, 7, 20, 0.65);
}

.btn--ghost {
  color: var(--cloud);
  background: transparent;
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(53, 230, 214, 0.08);
}

.btn--violet {
  color: #F3ECFF;
  background: var(--indigo);
  border-color: var(--line-violet);
  box-shadow: 4px 4px 0 rgba(2, 7, 20, 0.55);
}

.btn--violet:hover {
  background: #37217a;
  border-color: var(--gold);
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(2, 7, 20, 0.65);
}

/* ===== 9. 面包屑 ===== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 18px 0 0;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

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

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(157, 176, 204, 0.42);
}

.breadcrumb a {
  color: var(--mist);
  border-bottom: 1px dashed var(--line);
  transition: color 0.16s ease-out, border-color 0.16s ease-out;
}

.breadcrumb a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

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

/* ===== 10. 面板 / 标签 / 提示 ===== */
.panel {
  position: relative;
  padding: 28px;
  background: rgba(10, 22, 51, 0.72);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-hard);
}

.panel--indigo {
  background: linear-gradient(160deg, rgba(42, 26, 94, 0.86), rgba(10, 22, 51, 0.76));
  border-color: var(--line-violet);
}

.panel--teal {
  background: linear-gradient(160deg, rgba(7, 34, 43, 0.92), rgba(10, 22, 51, 0.72));
  border-color: var(--line-strong);
}

.panel--wine {
  background: linear-gradient(160deg, rgba(94, 27, 51, 0.8), rgba(10, 22, 51, 0.76));
  border-color: rgba(94, 27, 51, 0.95);
}

.panel--cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  background: rgba(53, 230, 214, 0.08);
  border: 1px solid var(--line-strong);
}

.chip--violet {
  color: #E7DAFF;
  background: rgba(168, 107, 255, 0.18);
  border-color: var(--line-violet);
}

.chip--gold {
  color: #FFE3AC;
  background: rgba(245, 184, 65, 0.16);
  border-color: rgba(245, 184, 65, 0.55);
}

.notice {
  padding: 14px 18px;
  font-size: 15px;
  color: #FFD9C7;
  background: rgba(255, 138, 91, 0.1);
  border-left: 3px solid var(--amber);
}

/* ===== 11. 标签页 ===== */
.tabs {
  display: block;
}

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 2px solid var(--line);
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--mist);
  background: rgba(233, 238, 248, 0.03);
  border: 2px solid transparent;
  border-bottom: 0;
  transition: color 0.16s ease-out, background-color 0.16s ease-out, border-color 0.16s ease-out;
}

.tab:hover {
  color: var(--cloud);
  background: rgba(53, 230, 214, 0.09);
}

.tab[aria-selected="true"] {
  color: #FFFFFF;
  background: var(--indigo);
  border-color: var(--gold);
  box-shadow: inset 0 -3px 0 var(--gold);
}

.tab-index {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.tabpanel {
  padding-top: 26px;
}

.tabpanel[hidden] {
  display: none;
}

/* ===== 12. 网格 ===== */
.grid {
  display: grid;
  gap: 24px;
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--asym { grid-template-columns: 7fr 5fr; gap: 32px; align-items: start; }

/* ===== 13. 图片容器 ===== */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(150deg, #0d1e42 0%, #2A1A5E 58%, #07222B 100%);
  border: 2px solid var(--line-strong);
  box-shadow: var(--shadow-hard);
}

.media-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--hero { aspect-ratio: 21 / 9; }
.media-frame--16-9 { aspect-ratio: 16 / 9; }
.media-frame--4-3 { aspect-ratio: 4 / 3; }
.media-frame--1-1 { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(53, 230, 214, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 230, 214, 0.16) 1px, transparent 1px);
  background-size: 40px 40px;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 78% 18%, rgba(168, 107, 255, 0.34), transparent 58%);
}

.media-frame__label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 3;
  padding: 4px 10px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--cloud);
  background: rgba(10, 22, 51, 0.78);
  border: 1px solid var(--line-strong);
}

/* ===== 14. 显现动效协议 ===== */
html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.42s ease-out, transform 0.42s ease-out;
}

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

/* ===== 15. 响应式 ===== */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    row-gap: 32px;
  }

  .footer-col:nth-child(4) {
    margin-top: 0;
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 26px;
  }
}

@media (max-width: 960px) {
  :root { --pad: 20px; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    width: min(88vw, 360px);
    margin-left: 0;
    padding: 104px 22px 40px;
    overflow-y: auto;
    background: linear-gradient(165deg, #0A1633 0%, #1b1246 55%, #07222B 100%);
    border-left: 2px solid var(--line-strong);
    box-shadow: -18px 0 46px -22px rgba(0, 0, 0, 0.95);
    transform: translateX(102%);
    visibility: hidden;
    transition: transform 0.24s ease-out, visibility 0.24s ease-out;
  }

  .nav[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
  }

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

  .nav-link {
    padding: 14px 12px;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
    border-left: 3px solid transparent;
  }

  .nav-link[aria-current="page"] {
    border-bottom-color: var(--line);
    border-left-color: var(--cyan);
    background: rgba(53, 230, 214, 0.1);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-utility {
    display: none;
  }

  .brand-coord {
    display: none;
  }

  .grid--asym,
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body { font-size: 16px; }

  .section { padding: 56px 0; }

  .section-head {
    padding-left: 0;
  }

  .section-num {
    position: static;
    display: block;
    margin-bottom: 6px;
    font-size: 30px;
  }

  .grid--2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding: 40px 0 30px;
    row-gap: 30px;
  }

  .footer-col,
  .footer-col:first-child {
    margin-top: 0;
    padding: 0 0 0 16px;
    border-left: 2px solid var(--line);
  }

  .footer-col:nth-child(4) {
    grid-column: auto;
    padding-top: 0;
    border-top: 0;
    padding-left: 16px;
  }

  .site-footer { margin-top: 64px; }
}

@media (max-width: 560px) {
  .header-inner {
    gap: 12px;
  }

  .brand-name { font-size: 16px; letter-spacing: 0.02em; }

  .brand-tagline { display: none; }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .header-cta {
    padding: 8px 12px;
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .tab {
    padding: 10px 13px;
    font-size: 14px;
  }

  .panel { padding: 20px; }
}

/* ===== 16. 减少动效 ===== */
@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;
  }

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

  .scroll-meter { transition: none; }
}
