/* ==========================================================================
   必博官方 · 共享站点样式 /assets/site.css
   框架式导航 + 堆叠面板 + 费用仪表盘色彩体系
   ========================================================================== */

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

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

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

ul, ol { margin: 0; padding: 0; list-style: none; }

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

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

a { color: inherit; }

/* ---------- 2. Design Tokens ---------- */
:root {
  /* 深海蓝 */
  --ink-900: #061A2F;
  --ink-800: #0A2540;
  --ink-700: #103A5C;
  /* 电光青 */
  --cyan-500: #19D3E6;
  --cyan-300: #7CEAF2;
  /* 琥珀金 */
  --amber-500: #F2B84B;
  --amber-300: #FFD98A;
  /* 中性 */
  --mist: #EAF3F7;
  --text-dark: #0B1F33;
  --text-light: #F4FAFC;
  --text-muted: #8FB3C4;
  --line: #2A4A63;

  --font-sans: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shell: 1240px;
  --header-h: 76px;

  --shadow-panel: 0 24px 60px -40px rgba(0, 0, 0, 0.95);
  --ring-cyan: 0 0 0 1px rgba(124, 234, 242, 0.35);
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--text-light);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1200px 680px at 10% -12%, rgba(25, 211, 230, 0.16), transparent 62%),
    radial-gradient(900px 520px at 94% 2%, rgba(242, 184, 75, 0.10), transparent 58%),
    linear-gradient(180deg, #061A2F 0%, #08213A 44%, #040F1B 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 低饱和点阵噪点纹理 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image: radial-gradient(rgba(124, 234, 242, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 68%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 68%);
}

main,
.site-footer { position: relative; z-index: 1; }

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

#main-content:focus { outline: none; }
#main-content:focus-visible {
  outline: 2px solid var(--cyan-300);
  outline-offset: 4px;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.03em;
  color: var(--text-light);
}

p { text-wrap: pretty; }

::selection {
  background: rgba(25, 211, 230, 0.32);
  color: #ffffff;
}

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

@media (min-width: 1024px) {
  body { font-size: 17px; }
}

/* ---------- 4. Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.container--narrow { max-width: 920px; }

.section { padding-block: clamp(44px, 7vw, 96px); }

.stack > * + * { margin-top: var(--gap, 16px); }

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
  align-items: start;
}

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

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

/* ---------- 5. Panels ---------- */
.panel {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 34px);
  background: var(--ink-800);
}

.panel--glass {
  background:
    linear-gradient(158deg, rgba(124, 234, 242, 0.12), rgba(6, 26, 47, 0.62) 68%);
  border-color: rgba(124, 234, 242, 0.24);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: var(--shadow-panel), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.panel--solid {
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
  box-shadow: var(--shadow-panel);
}

.panel--light {
  background: linear-gradient(180deg, var(--mist), #dcebf2);
  border-color: #c8dde8;
  color: var(--text-dark);
}

.panel--light h2,
.panel--light h3,
.panel--light h4 { color: var(--text-dark); }

.panel--light p { color: #26445c; }

.panel--light .num { color: #a06e12; }

/* ---------- 6. Media / image containers ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 12% 0%, rgba(25, 211, 230, 0.24), transparent 60%),
    linear-gradient(150deg, #0C3350, #051829 78%);
}

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

.media--square { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 4 / 5; }

.media__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--cyan-300);
  background: linear-gradient(0deg, rgba(4, 15, 27, 0.92), rgba(4, 15, 27, 0));
}

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--cyan-500), #12A8BB);
  color: #02202B;
  box-shadow: 0 14px 30px -16px rgba(25, 211, 230, 0.95);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--cyan-300), var(--cyan-500));
  box-shadow: 0 18px 36px -16px rgba(25, 211, 230, 1);
}

.btn--ghost {
  background: rgba(124, 234, 242, 0.07);
  color: var(--cyan-300);
  border-color: rgba(124, 234, 242, 0.4);
}

.btn--ghost:hover {
  background: rgba(124, 234, 242, 0.16);
  color: #EAFBFF;
  border-color: rgba(124, 234, 242, 0.7);
}

.btn--amber {
  background: linear-gradient(135deg, var(--amber-500), #D99A2B);
  color: #1C1200;
  box-shadow: 0 14px 30px -16px rgba(242, 184, 75, 0.9);
}

.btn--amber:hover { background: linear-gradient(135deg, var(--amber-300), var(--amber-500)); }

.btn--small { padding: 9px 16px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- 8. Type accents ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan-300);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber-500);
}

.num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: var(--amber-500);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(25, 211, 230, 0.12);
  color: var(--cyan-300);
  border: 1px solid rgba(25, 211, 230, 0.3);
}

.badge--amber {
  background: rgba(242, 184, 75, 0.14);
  color: var(--amber-300);
  border-color: rgba(242, 184, 75, 0.4);
}

/* ---------- 9. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

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

.breadcrumb li + li::before {
  content: "/";
  color: rgba(143, 179, 196, 0.5);
}

.breadcrumb a {
  color: var(--cyan-300);
  text-decoration: none;
  transition: color 0.16s ease;
}

.breadcrumb a:hover { color: #ffffff; text-decoration: underline; }

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

/* ---------- 10. Header / 框架式导航 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--cyan-500);
  color: #02202B;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--amber-500);
  outline-offset: 3px;
}

.frame-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(6, 26, 47, 0.88);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 44px -34px rgba(0, 0, 0, 0.95);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.frame-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-500) 16%, var(--amber-500) 82%, transparent);
  opacity: 0.8;
}

.frame-header.is-scrolled {
  background: rgba(5, 21, 38, 0.96);
  box-shadow: 0 22px 52px -30px rgba(0, 0, 0, 1), 0 1px 0 rgba(124, 234, 242, 0.14);
}

.frame-header__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  background: rgba(124, 234, 242, 0.08);
}

.frame-header__progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-500), var(--cyan-300), var(--amber-500));
  transition: width 0.1s linear;
}

.frame-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  width: 100%;
  max-width: var(--shell);
  min-height: var(--header-h);
  margin-inline: auto;
  padding: 12px clamp(16px, 4vw, 40px);
}

/* 品牌 */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--text-light);
  border-radius: var(--radius-sm);
}

.brand-mark__glyph {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: #04202C;
  background: linear-gradient(150deg, var(--cyan-300), var(--cyan-500) 45%, #0E7F96);
  box-shadow: var(--ring-cyan), 0 12px 26px -14px rgba(25, 211, 230, 0.9);
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--text-light);
}

.brand-name__latin {
  margin-left: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cyan-300);
}

.brand-tagline {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* 导航 */
.frame-header__nav {
  flex: 1 1 auto;
  min-width: 0;
  visibility: visible;
  pointer-events: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.8vw, 8px);
  flex-wrap: wrap;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(244, 250, 252, 0.78);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-link__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(143, 179, 196, 0.72);
  transition: color 0.18s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan-500), var(--amber-500));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease);
}

.nav-link:hover {
  color: var(--cyan-300);
  background: rgba(25, 211, 230, 0.07);
}

.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] {
  color: var(--cyan-300);
  background: rgba(25, 211, 230, 0.1);
}

.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-link[aria-current="page"] .nav-link__index { color: var(--amber-500); }

.nav-cta { display: none; }

/* 快捷入口 */
.frame-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 13px;
  border: 1px solid rgba(124, 234, 242, 0.35);
  border-radius: 12px;
  background: rgba(124, 234, 242, 0.08);
  color: var(--cyan-300);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.nav-toggle:hover {
  background: rgba(124, 234, 242, 0.16);
  border-color: rgba(124, 234, 242, 0.6);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 20px;
  height: 16px;
}

.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s var(--ease), opacity 0.18s ease;
}

.frame-header[data-open="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.frame-header[data-open="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.frame-header[data-open="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.frame-header__scrim { display: none; }

/* ---------- 11. Footer ---------- */
.site-footer {
  margin-top: clamp(64px, 9vw, 128px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 6% 0%, rgba(25, 211, 230, 0.13), transparent 62%),
    radial-gradient(700px 380px at 96% 8%, rgba(242, 184, 75, 0.08), transparent 60%),
    linear-gradient(180deg, #08203A 0%, #061A2F 58%, #04101C 100%);
  color: var(--text-light);
}

.footer-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 76px) clamp(16px, 4vw, 40px) 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 1.6fr) repeat(3, minmax(130px, 1fr));
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}

.footer-brand__name {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-light);
}

.footer-brand__latin {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--cyan-300);
}

.footer-brand__desc {
  margin-top: 12px;
  max-width: 42ch;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--text-muted);
}

.footer-contact {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px dashed rgba(124, 234, 242, 0.28);
  border-radius: var(--radius-md);
  background: rgba(25, 211, 230, 0.05);
  max-width: 420px;
}

.footer-contact__row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
  font-size: 13.5px;
  line-height: 1.7;
}

.footer-contact__row + .footer-contact__row { margin-top: 4px; }

.footer-contact__label {
  flex: 0 0 5em;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(143, 179, 196, 0.85);
}

.footer-contact__value {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-light);
  word-break: break-all;
}

.footer-contact__note {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(42, 74, 99, 0.7);
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(143, 179, 196, 0.9);
}

.footer-contact__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cyan-300);
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 234, 242, 0.45);
  transition: color 0.16s ease, border-color 0.16s ease;
}

.footer-contact__link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-300);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(42, 74, 99, 0.8);
}

.footer-links { margin-top: 14px; }

.footer-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 14.5px;
  letter-spacing: 0.03em;
  color: rgba(244, 250, 252, 0.8);
  text-decoration: none;
  transition: color 0.16s ease, transform 0.16s var(--ease);
}

.footer-link:hover {
  color: var(--cyan-300);
  transform: translateX(3px);
}

.footer-link--inline {
  padding: 0;
  font-size: 13px;
  color: var(--cyan-300);
}

.footer-link--inline:hover { transform: none; color: #ffffff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-meta { margin: 0; letter-spacing: 0.03em; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.footer-sep { color: rgba(143, 179, 196, 0.5); }

.footer-icp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ---------- 12. Filter bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 37, 64, 0.7);
  width: fit-content;
  max-width: 100%;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(244, 250, 252, 0.72);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.filter-btn:hover { color: var(--cyan-300); background: rgba(25, 211, 230, 0.09); }

.filter-btn[aria-pressed="true"] {
  background: rgba(25, 211, 230, 0.16);
  color: var(--cyan-300);
  border-color: rgba(25, 211, 230, 0.5);
}

[data-filter-item].is-filtered-out { display: none !important; }

/* ---------- 13. Accordion ---------- */
.accordion {
  border-top: 1px solid var(--line);
}

.accordion__item { border-bottom: 1px solid var(--line); }

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 4px;
  background: none;
  border: 0;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.18s ease;
}

.accordion__trigger:hover { color: var(--cyan-300); }

.accordion__trigger::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--cyan-500);
  border-bottom: 2px solid var(--cyan-500);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.24s var(--ease);
}

.accordion__item[data-expanded="true"] .accordion__trigger::after {
  transform: rotate(-135deg) translateY(-2px);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.24s var(--ease), opacity 0.24s var(--ease);
}

.accordion__item[data-expanded="true"] .accordion__panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.accordion__panel > div { overflow: hidden; }

.accordion__panel p {
  padding: 0 4px 18px;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(244, 250, 252, 0.82);
}

/* ---------- 14. Copy button & to-top ---------- */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(124, 234, 242, 0.4);
  border-radius: 999px;
  background: rgba(124, 234, 242, 0.07);
  color: var(--cyan-300);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.copy-btn:hover { background: rgba(124, 234, 242, 0.16); }

.copy-btn[data-copied="true"] {
  border-color: rgba(242, 184, 75, 0.6);
  color: var(--amber-300);
}

.copy-btn[data-copied="true"]::after {
  content: "已复制";
  margin-left: 2px;
  color: var(--amber-300);
}

.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 30px);
  bottom: clamp(14px, 3vw, 30px);
  z-index: 55;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(124, 234, 242, 0.45);
  border-radius: 50%;
  background: rgba(10, 37, 64, 0.9);
  color: var(--cyan-300);
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover { background: rgba(25, 211, 230, 0.2); }

/* ---------- 15. Reveal ---------- */
html[data-reveal-mode="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
  will-change: opacity, transform;
}

html[data-reveal-mode="on"] [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 16. Body lock ---------- */
body.nav-locked { overflow: hidden; }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1299px) {
  .frame-header__actions { display: none; }
}

@media (max-width: 1080px) {
  :root { --header-h: 66px; }

  .frame-header__inner {
    min-height: var(--header-h);
    gap: 12px;
    padding-block: 10px;
  }

  .brand-tagline { display: none; }

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

  .frame-header__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: min(86vw, 360px);
    padding: 88px 22px 28px;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(10, 37, 64, 0.99), rgba(5, 21, 38, 1));
    border-left: 1px solid var(--line);
    box-shadow: -28px 0 70px -34px rgba(0, 0, 0, 0.95);
    transform: translateX(103%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s var(--ease), visibility 0.32s;
  }

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

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

  .nav-item { border-bottom: 1px solid rgba(42, 74, 99, 0.55); }

  .nav-link {
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    padding: 15px 10px;
    font-size: 16px;
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] {
    color: var(--cyan-300);
    background: rgba(25, 211, 230, 0.11);
    box-shadow: inset 3px 0 0 var(--amber-500);
  }

  .nav-cta {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(42, 74, 99, 0.7);
  }

  .frame-header[data-open="true"] .frame-header__scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 65;
    background: rgba(3, 12, 22, 0.66);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }
}

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

@media (max-width: 760px) {
  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }

  .media--wide { aspect-ratio: 16 / 9; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .brand-mark__glyph { width: 36px; height: 36px; border-radius: 11px; font-size: 17px; }
  .brand-name { font-size: 15px; }
  .panel { border-radius: var(--radius-md); }
  .filter-bar { border-radius: var(--radius-md); }
}

/* ---------- 18. Reduced motion ---------- */
@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;
  }

  html[data-reveal-mode="on"] [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .footer-link:hover,
  .to-top.is-visible { transform: none; }
}
