/* ============================================================
   博胜联盟 · 共享站点样式 /assets/site.css
   联盟控制台：暖纸画板 + 深海浮岛 + 珊瑚行动 + 青瓷状态
   ============================================================ */

/* ---------- 1. 设计变量 ---------- */
:root {
  --ink-950: #052836;
  --ink-800: #0B3D52;
  --ink-900: #15262D;
  --paper-100: #F7F0E4;
  --paper-200: #E8DDCC;
  --coral-500: #E85D3F;
  --coral-600: #C8472C;
  --coral-300: #F39A7E;
  --celadon-500: #5FAE9A;
  --celadon-700: #2F6F63;
  --amber-500: #D9A441;
  --rule: #B8A78F;

  --font-display: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-panel: 28px;
  --radius-card: 18px;
  --radius-pill: 999px;

  --shadow-panel: 0 20px 48px -34px rgba(5, 40, 54, 0.6);
  --shadow-float: 0 24px 56px -30px rgba(5, 40, 54, 0.72);

  --page-max: 1440px;
  --gutter: clamp(16px, 4vw, 40px);
  --line: rgba(184, 167, 143, 0.5);
  --line-soft: rgba(184, 167, 143, 0.26);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 160px;
}

body { margin: 0; }

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; }
table { border-collapse: collapse; }

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  background:
    radial-gradient(1180px 620px at 90% -10%, rgba(95, 174, 154, 0.16), transparent 62%),
    radial-gradient(880px 520px at -8% 2%, rgba(232, 93, 63, 0.13), transparent 58%),
    var(--paper-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink-950);
  text-wrap: balance;
}

h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1.06; }
h2 { font-size: clamp(30px, 3.6vw, 52px); }
h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.3; }
h4 { font-size: 18px; line-height: 1.4; }

p { line-height: 1.85; }

a { color: var(--coral-600); text-underline-offset: 3px; }
a:hover { color: var(--coral-500); }

strong, b { font-weight: 700; color: var(--ink-950); }
small { font-size: 13px; }

::selection { background: var(--coral-300); color: var(--ink-950); }

/* ---------- 4. 通用工具 ---------- */
.container {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(32px, 5vw, 68px); }

.mono {
  font-family: var(--font-mono);
  font-size: 0.86em;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-600);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--coral-500);
}

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.9;
  color: #2c3d45;
  max-width: 62ch;
}

.divider {
  height: 1px;
  border: 0;
  margin: clamp(24px, 4vw, 44px) 0;
  background: linear-gradient(90deg, var(--rule), rgba(184, 167, 143, 0.15));
}

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

.btn-primary {
  background: var(--coral-600);
  color: #ffffff;
  box-shadow: 0 12px 26px -18px rgba(200, 71, 44, 0.95);
}
.btn-primary:hover {
  background: var(--coral-500);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(247, 240, 228, 0.06);
  border-color: rgba(247, 240, 228, 0.38);
  color: var(--paper-100);
}
.btn-ghost:hover {
  background: rgba(247, 240, 228, 0.16);
  border-color: var(--paper-100);
  color: var(--paper-100);
}

.btn-paper {
  background: var(--paper-100);
  color: var(--ink-950);
  border-color: rgba(247, 240, 228, 0.6);
}
.btn-paper:hover {
  background: #ffffff;
  color: var(--ink-950);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13px;
  letter-spacing: 0;
}

/* ---------- 6. 徽标 / 状态胶囊 / 版本号 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(184, 167, 143, 0.6);
  border-radius: var(--radius-pill);
  background: var(--paper-200);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.6;
}
.badge--coral { background: var(--coral-600); border-color: transparent; color: #ffffff; }
.badge--celadon { background: var(--celadon-700); border-color: transparent; color: var(--paper-100); }
.badge--amber { background: var(--amber-500); border-color: transparent; color: #2a1e04; }
.badge--ink { background: var(--ink-950); border-color: transparent; color: var(--paper-100); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  background: rgba(247, 240, 228, 0.06);
  color: rgba(247, 240, 228, 0.82);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.status-pill--ok {
  background: var(--celadon-500);
  border-color: transparent;
  color: #06251f;
  font-weight: 700;
}
.status-pill--action {
  background: var(--coral-500);
  border-color: transparent;
  color: #2b0d06;
  font-weight: 700;
}
.status-pill--wait {
  background: var(--amber-500);
  border-color: transparent;
  color: #2a1e04;
  font-weight: 700;
}

.version-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid rgba(247, 240, 228, 0.24);
  border-radius: var(--radius-pill);
  background: rgba(247, 240, 228, 0.14);
  color: var(--paper-100);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  line-height: 1.7;
  white-space: nowrap;
}

/* ---------- 7. 面板 / 网格 / 图片容器 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--paper-100);
  box-shadow: var(--shadow-panel);
}

.panel--dark {
  border-color: rgba(184, 167, 143, 0.3);
  background:
    radial-gradient(560px 320px at 88% 0%, rgba(95, 174, 154, 0.24), transparent 60%),
    linear-gradient(152deg, var(--ink-950), var(--ink-800));
  color: var(--paper-100);
}
.panel--dark h1,
.panel--dark h2,
.panel--dark h3,
.panel--dark h4 { color: var(--paper-100); }
.panel--dark .lead { color: rgba(247, 240, 228, 0.82); }

.panel--tint {
  background: var(--paper-200);
  box-shadow: none;
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.panel--dark .panel-head { border-bottom-color: rgba(184, 167, 143, 0.24); }

.panel-body { display: block; }

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

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(184, 167, 143, 0.35);
  border-radius: var(--radius-card);
  background: linear-gradient(150deg, var(--ink-950), var(--ink-800) 58%, #14485d);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 20%, rgba(95, 174, 154, 0.36), transparent 56%),
    radial-gradient(circle at 20% 84%, rgba(232, 93, 63, 0.3), transparent 58%);
  pointer-events: none;
}
.media-frame img,
.media-frame svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--wide { aspect-ratio: 21 / 9; }

.media-caption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-800);
}

/* ---------- 8. 折叠面板 / 表格 / 面包屑 ---------- */
.accordion { display: grid; gap: 10px; }

.accordion details {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper-100);
  overflow: hidden;
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-950);
  background: var(--paper-200);
  transition: background-color 0.18s ease, color 0.18s ease;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--coral-600);
}
.accordion details[open] > summary { background: var(--ink-950); color: var(--paper-100); }
.accordion details[open] > summary::after { content: "−"; color: var(--celadon-500); }
.accordion summary:hover { background: #dfd2bd; }
.accordion details[open] > summary:hover { background: var(--ink-800); }

.accordion-body {
  padding: 16px 20px 20px;
  font-size: 16px;
  line-height: 1.85;
  color: #2c3d45;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper-100);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: 560px;
  font-size: 15px;
  line-height: 1.7;
}
.data-table th {
  padding: 12px 16px;
  text-align: left;
  background: var(--paper-200);
  color: var(--ink-950);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 13px 16px;
  vertical-align: top;
  border-top: 1px solid var(--line-soft);
}

.breadcrumb { margin: 0 0 20px; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-800);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li::after { content: "/"; color: var(--rule); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--ink-800); text-decoration: none; }
.breadcrumb a:hover { color: var(--coral-600); }

/* ---------- 9. 页首浮岛 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--ink-950);
  color: var(--paper-100);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.18s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  color: var(--paper-100);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 14px var(--gutter) 0;
  background: linear-gradient(180deg, rgba(247, 240, 228, 0.97), rgba(247, 240, 228, 0.78) 72%, rgba(247, 240, 228, 0));
}

.header-inner {
  position: relative;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: 12px clamp(14px, 2vw, 22px) 10px;
  border: 1px solid rgba(184, 167, 143, 0.32);
  border-radius: var(--radius-panel);
  background:
    radial-gradient(420px 220px at 92% -30%, rgba(95, 174, 154, 0.28), transparent 62%),
    linear-gradient(140deg, var(--ink-950), #093347 58%, var(--ink-800));
  box-shadow: var(--shadow-float);
  transition: padding 0.24s ease, box-shadow 0.24s ease;
}

.site-header[data-scrolled] .header-inner {
  padding-top: 8px;
  padding-bottom: 6px;
  box-shadow: 0 12px 30px -24px rgba(5, 40, 54, 0.95);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: var(--paper-100);
  text-decoration: none;
}
.brand:hover { color: var(--paper-100); }

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
  width: 32px;
  height: 32px;
  padding: 6px;
  border: 1px solid rgba(184, 167, 143, 0.38);
  border-radius: 11px;
  background: rgba(247, 240, 228, 0.08);
}
.brand-mark span { border-radius: 2px; background: var(--coral-500); }
.brand-mark span:nth-child(2) { background: var(--paper-100); }
.brand-mark span:nth-child(3) { background: var(--celadon-500); }
.brand-mark span:nth-child(4) { background: rgba(247, 240, 228, 0.42); }

.brand-text { display: grid; gap: 1px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--paper-100);
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: rgba(247, 240, 228, 0.6);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 10px 15px;
  border: 1px solid rgba(247, 240, 228, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(247, 240, 228, 0.08);
  color: var(--paper-100);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(247, 240, 228, 0.18); }

.nav-toggle-bars { display: grid; gap: 4px; width: 16px; }
.nav-toggle-bars span {
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-toggle-text { line-height: 1; }

.primary-nav { margin-left: auto; }

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

.nav-item { flex: none; }

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  color: rgba(247, 240, 228, 0.78);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease;
}
.nav-link:hover {
  color: var(--paper-100);
  background: rgba(247, 240, 228, 0.12);
}
.nav-link[aria-current="page"] {
  background: var(--paper-100);
  color: var(--ink-950);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--coral-500);
}
.nav-link[aria-current="page"]:hover {
  background: #ffffff;
  color: var(--ink-950);
}

.nav-cta { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.header-sub {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(184, 167, 143, 0.22);
}

.help-anchor {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  padding: 6px 12px;
  border: 1px dashed rgba(95, 174, 154, 0.6);
  border-radius: var(--radius-pill);
  background: rgba(95, 174, 154, 0.14);
  color: var(--paper-100);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.help-anchor:hover {
  background: rgba(95, 174, 154, 0.26);
  border-color: var(--celadon-500);
  color: var(--paper-100);
}

.help-label { display: inline-flex; align-items: center; }
.help-label::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--celadon-500);
  box-shadow: 0 0 0 3px rgba(95, 174, 154, 0.22);
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  min-width: 0;
}

.header-sub-cta { margin-left: auto; flex: none; }

/* ---------- 10. 页脚底栏 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  padding: clamp(40px, 6vw, 76px) var(--gutter) 26px;
  background:
    radial-gradient(720px 380px at 12% 0%, rgba(95, 174, 154, 0.2), transparent 62%),
    radial-gradient(620px 320px at 92% 8%, rgba(232, 93, 63, 0.16), transparent 60%),
    var(--ink-950);
  color: var(--paper-100);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral-500), var(--amber-500), var(--celadon-500), var(--ink-800));
}

.footer-inner {
  max-width: var(--page-max);
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.6fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.footer-brand { max-width: 42ch; }

.footer-brand-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--paper-100);
}

.footer-domain {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(247, 240, 228, 0.55);
  word-break: break-all;
}

.footer-summary {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(247, 240, 228, 0.74);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper-100);
}
.footer-col-title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--coral-500);
}

.footer-links {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-link {
  color: rgba(247, 240, 228, 0.72);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.18s ease, padding-left 0.18s ease;
}
.footer-link:hover {
  color: var(--paper-100);
  padding-left: 4px;
}

.contact-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.contact-item { display: grid; gap: 2px; }

.contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(95, 174, 154, 0.92);
}

.contact-value {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(247, 240, 228, 0.84);
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(30px, 5vw, 52px);
  padding-top: 20px;
  border-top: 1px solid rgba(184, 167, 143, 0.24);
}

.footer-copy,
.footer-icp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(247, 240, 228, 0.55);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  list-style: none;
}
.footer-legal .footer-link { font-size: 13px; }

.footer-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(247, 240, 228, 0.44);
}

/* ---------- 11. 显现与滚动进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--coral-500), var(--amber-500), var(--celadon-500));
  pointer-events: none;
  transition: transform 0.1s linear;
}

[data-reveal].reveal-armed {
  opacity: 0;
  transform: translateY(16px);
}
[data-reveal].reveal-armed.is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
  transition-delay: calc(var(--reveal-index, 0) * 60ms);
}

/* ---------- 12. 焦点可见 ---------- */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--coral-500);
  outline-offset: 3px;
  border-radius: 6px;
}
.header-inner :where(a, button):focus-visible {
  outline-color: var(--celadon-500);
  outline-offset: 2px;
}

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { display: none; }
  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    margin-left: 0;
    padding: 12px;
    max-height: min(74vh, 540px);
    overflow-y: auto;
    border: 1px solid rgba(184, 167, 143, 0.32);
    border-radius: 24px;
    background:
      radial-gradient(360px 200px at 96% 0%, rgba(95, 174, 154, 0.28), transparent 62%),
      linear-gradient(160deg, var(--ink-950), #0a3547);
    box-shadow: 0 30px 64px -32px rgba(5, 40, 54, 0.95);
  }
  .site-header[data-open] .primary-nav { display: block; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link {
    width: 100%;
    padding: 12px 15px;
    border-radius: 14px;
    font-size: 16px;
  }
  .nav-link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--coral-500); }

  .nav-cta {
    display: flex;
    width: 100%;
    margin-top: 10px;
  }

  .header-sub { gap: 10px; }
  .status-strip { flex: 1 1 auto; }
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { max-width: none; }
  .grid-2,
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 190px; }
  body { font-size: 16px; line-height: 1.8; }

  .site-header { padding-top: 10px; }
  .header-inner { padding: 10px 12px 9px; border-radius: 24px; }
  .brand-tag { display: none; }
  .brand-name { font-size: 16px; }
  .brand-mark { width: 28px; height: 28px; padding: 5px; border-radius: 9px; }

  .header-sub { flex-wrap: wrap; gap: 8px; }
  .status-strip {
    order: 3;
    flex: 1 0 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .status-strip::-webkit-scrollbar { display: none; }
  .header-sub-cta { margin-left: auto; }

  .panel { border-radius: 22px; padding: 18px; }
  .lead { font-size: 16px; }

  .footer-bottom { justify-content: flex-start; }
  .footer-legal { gap: 6px 14px; }
}

@media (max-width: 480px) {
  .btn { padding: 12px 20px; font-size: 15px; }
  .btn-sm { padding: 9px 14px; font-size: 12px; }
  .help-anchor { padding: 5px 10px; font-size: 13px; }
  .media-frame { border-radius: 14px; }
  .data-table { min-width: 480px; }
}

/* ---------- 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;
    transition-delay: 0ms !important;
  }

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

  .btn:hover,
  .footer-link:hover {
    transform: none;
    padding-left: 0;
  }
}

/* ---------- 15. 打印 ---------- */
@media print {
  .site-header,
  .site-footer,
  .scroll-progress,
  .skip-link { display: none !important; }
  body { background: #ffffff; color: #000000; }
}
