/* static single-page: layout + theme */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.75rem; /* 吸顶页眉 + 边距，便于 TOC/锚点定位 */
}

body {
  margin: 0;
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #ece9f6;
  background: #07050d;
}

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

.skip {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: #1e1b2e;
  color: #fff;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("/public/bg-mobile.webp") center / cover no-repeat;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(2, 2, 5, 0.78), rgba(5, 3, 12, 0.94));
}

@media (min-width: 900px) {
  .bg {
    background-image: url("/public/bg-desktop.webp");
  }
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header (SSI) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 5, 13, 0.82);
  border-bottom: 1px solid rgba(167, 139, 250, 0.22);
  backdrop-filter: blur(12px);
}

/* 三列网格：左品牌 | 中导航（整栏居中）| 空栏平衡，使导航在视口内水平居中 */
.nav-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0 12px;
  min-height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  justify-self: start;
  min-width: 0;
}

.nav-row__end {
  min-width: 0;
  pointer-events: none;
}

@media (max-width: 600px) {
  .nav-row {
    grid-template-columns: 1fr;
    row-gap: 0.45rem;
    min-height: 0;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .brand {
    justify-self: center;
  }

  .main-nav {
    justify-self: center;
  }

  .nav-row__end {
    display: none;
  }
}

.brand__mark {
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: center / contain no-repeat;
  background-image: url("/public/brand/logo.svg");
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  justify-self: center;
  max-width: 100%;
}

.main-nav .toc--primary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav .toc--primary > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav .toc--primary a {
  font-size: 12px;
  font-weight: 700;
  color: #b8b1cc;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.main-nav .toc--primary a:hover,
.main-nav .toc--primary a:focus {
  color: #fff;
}

.main-nav .toc--primary a:focus {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
  border-radius: 2px;
}

.neon-line {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(56, 189, 248, 0.35),
    rgba(167, 139, 250, 0.5),
    rgba(244, 114, 182, 0.35),
    transparent
  );
}

/* Buttons (main + SSI) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  max-width: 100%;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(90deg, #d946ef, #7c3aed);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 20px rgba(217, 70, 239, 0.32);
}

.btn--primary:hover,
.btn--primary:focus {
  filter: brightness(1.08);
}

.btn--ghost {
  color: #dff7ff;
  background: rgba(10, 9, 16, 0.55);
  border-color: rgba(56, 189, 248, 0.32);
}

.btn--ghost:hover,
.btn--ghost:focus {
  background: rgba(20, 18, 32, 0.75);
  border-color: rgba(56, 189, 248, 0.5);
}

/* Main */
main {
  padding: 0 0 3rem;
}

.section {
  margin: 3rem 0;
}

/* #overview: feature grid (numbered tiles) */
.section--overview {
  margin-top: 3.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(120, 100, 160, 0.18);
}

.section__head {
  margin: 0 0 1.5rem;
  max-width: 40rem;
}

.section__head--tight {
  margin-bottom: 0.9rem;
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (min-width: 1000px) {
  .feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.feature-tile {
  position: relative;
  margin: 0;
  padding: 1.2rem 1.15rem 1.2rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  background: linear-gradient(165deg, rgba(20, 16, 36, 0.85) 0%, rgba(8, 6, 16, 0.72) 100%);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-tile:hover {
  border-color: rgba(232, 121, 249, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32);
  transform: translateY(-2px);
}

.feature-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  bottom: 0.65rem;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, #e879f9, #7c3aed, #22d3ee);
  opacity: 0.9;
}

.feature-tile__ix {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #c4b5fd;
  opacity: 0.85;
}

.feature-tile__title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: #f0e7ff;
}

.feature-tile__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #a8a0b5;
}

/* #charting / #alerts: band + split (zig-zag) */
.section--band {
  margin: 2.75rem 0;
  padding: 3.25rem 0;
  border-top: 1px solid rgba(100, 90, 130, 0.2);
  background: linear-gradient(180deg, rgba(16, 12, 32, 0.55) 0%, rgba(5, 4, 10, 0.2) 100%);
}

.section--band-alt {
  background: linear-gradient(180deg, rgba(8, 10, 24, 0.65) 0%, rgba(5, 4, 10, 0.15) 100%);
  border-color: rgba(100, 90, 130, 0.15);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.9fr);
  gap: 1.5rem 1.75rem;
  align-items: stretch;
}

.split--rev {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.08fr);
}

.split--rev .split__main {
  grid-column: 2;
  grid-row: 1;
}

.split--rev .split__media {
  grid-column: 1;
  grid-row: 1;
}

.split__main {
  min-width: 0;
}

/* 与全站 .card 统一样式；分栏纵向拉满同高 */
.split__main.card--split,
.split__media.card--split {
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  width: 100%;
}

.split__media {
  min-width: 0;
}

.lede--split {
  max-width: 60ch;
  margin-bottom: 1.1rem;
}

.actions--split {
  margin: 0;
  margin-top: 0.2rem;
}

/* 分栏时左侧卡变高，主按钮落底，与右卡视觉对齐 */
.split__main.card--split .actions--split {
  margin-top: auto;
  padding-top: 0.75rem;
}

/* checklist (charting + alerts) */
.list--check {
  list-style: none;
  margin: 0.75rem 0 1.1rem;
  padding: 0;
  max-width: 58ch;
}

.list--check li {
  position: relative;
  margin: 0.55rem 0;
  padding-left: 1.35rem;
  color: #d8d0e5;
  font-size: 14px;
  line-height: 1.45;
}

.list--check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 2px;
  background: linear-gradient(135deg, #e879f9, #7c3aed);
  box-shadow: 0 0 6px rgba(167, 139, 250, 0.6);
}

/* 分栏图卡：与左侧同高、图片裁切填满（图 / 提醒 两区同构） */
figure.split__media--chart.card--split,
figure.split__media--alerts.card--split {
  position: relative;
  padding: 0;
  margin: 0;
  line-height: 0;
  overflow: hidden;
  min-height: 0;
}

.split__img--chart,
.split__img--alerts {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #05030a;
}

.section--hero {
  position: relative;
  z-index: 0;
  min-height: calc(100vh - 61px);
  min-height: calc(100dvh - 61px);
  display: flex;
  align-items: center;
  padding: 2.5rem 0 3.25rem;
  margin-top: 0;
  overflow: hidden;
}

/* 首屏氛围：柔光、底部分界 */
.section--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 5% 20%, rgba(120, 80, 200, 0.14), transparent 50%),
    radial-gradient(ellipse 60% 50% at 90% 60%, rgba(34, 211, 238, 0.06), transparent 45%);
}

.section--hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.35) 20%, rgba(34, 211, 238, 0.2) 80%, transparent);
}

.section--hero > .layout-hero--bleed {
  position: relative;
  z-index: 1;
}

.kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0abfc;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.12;
  background: linear-gradient(90deg, #fde7ff, #f472b6, #a78bfa, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.2;
  color: #f5d0fe;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
  color: #e9d5ff;
}

.lede,
.text-body {
  margin: 0 0 1rem;
  color: #d0cadf;
  max-width: 62ch;
}

.lede {
  font-size: 1.04rem;
}

.text-muted {
  margin: 0;
  color: #b0aac0;
  font-size: 14px;
}

.text-muted.sub {
  margin-bottom: 0.75rem;
}

.text-muted.small,
.small {
  font-size: 12px;
  line-height: 1.5;
}

.text-link {
  color: #c4b5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.text-link:hover,
.text-link:focus {
  color: #e9d5ff;
}

/* 首屏全宽行：左缘与全站大致对齐但「封顶」，避免宽屏左侧一大块空 */
.layout-hero--bleed {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 2rem clamp(1.5rem, 3.5vw, 2.75rem);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(0.75rem, 2vw, 1.5rem) 0 clamp(1rem, 3vw, 3.5rem);
  box-sizing: border-box;
  align-items: center;
}

.block-text {
  min-width: 0;
  justify-self: start;
  max-width: 38rem;
}

/* 首屏文案：主色竖线 + 占满左栏可用宽度 */
.block-text--hero {
  max-width: min(44rem, 100%);
  width: 100%;
  position: relative;
  padding-left: 1.45rem;
}

.block-text--hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #f0abfc, #a78bfa 50%, #7c3aed);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.4);
}

/* 首屏主标题：整行 + 品牌英文突出 */
.section--hero h1.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 2.9vw, 2.55rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  max-width: none;
  font-weight: 700;
  color: #f0e8ff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: border-box;
  -webkit-text-fill-color: #f0e8ff;
}

.section--hero .hero-brand {
  display: inline;
  font-weight: 800;
  font-size: 1.1em;
  letter-spacing: 0.05em;
  line-height: inherit;
  margin-right: 0.12em;
  background: linear-gradient(105deg, #ffffff 0%, #e9d5ff 30%, #c4b5fd 55%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 32px rgba(139, 92, 246, 0.25);
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.15));
}

.section--hero .text-body {
  font-size: 1.06rem;
  line-height: 1.85;
  max-width: 60ch;
  color: #d8d2e5;
  margin-top: 0;
}

.section--hero .hero-sub {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.88;
  max-width: 60ch;
  color: #cec4df;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 0.5rem;
}

.block-text .actions {
  margin: 1.35rem 0 0.35rem;
}

.block-visual {
  min-height: 280px;
  padding: 1.75rem;
  border: 1px solid rgba(232, 121, 249, 0.25);
  border-radius: 20px;
  background:
    radial-gradient(circle at 25% 20%, rgba(217, 70, 239, 0.2), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(34, 211, 238, 0.12), transparent 45%),
    rgba(9, 7, 16, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 24px rgba(167, 139, 250, 0.1), 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* 首屏：右侧主视觉视频（与右缘留空、四角圆角） */
.block-visual--video {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: min(56vh, 600px);
  width: 100%;
  min-width: 0;
  background: #05030a;
  border-radius: 24px;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 100px -30px rgba(139, 92, 246, 0.25);
}

.block-visual--video .hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (prefers-reduced-motion: reduce) {
  .block-visual--video .hero-video {
    display: none;
  }

  .block-visual--video {
    min-height: 200px;
    background:
      radial-gradient(circle at 25% 20%, rgba(217, 70, 239, 0.2), transparent 45%),
      linear-gradient(145deg, rgba(14, 10, 22, 0.95), rgba(6, 5, 12, 0.8));
  }
}

.block-visual__label {
  margin: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: #f5d0fe;
  max-width: 22ch;
}

/* Cards & grids */
.grid {
  display: grid;
  gap: 1rem;
}

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

.card {
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(232, 121, 249, 0.18);
  background: rgba(10, 8, 16, 0.72);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

/* 下载区：外置标题 + 长说明 */
.download-head {
  max-width: 48rem;
  margin: 0 auto 0.5rem;
  padding: 0 0.5rem 0.5rem;
  text-align: center;
}

.download-head__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  font-weight: 700;
  color: #f5d0fe;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #f5d0fe;
  letter-spacing: -0.02em;
}

.download-head__lead {
  margin: 0;
  font-size: clamp(0.95rem, 1.45vw, 1.1rem);
  line-height: 1.75;
  color: rgba(240, 234, 255, 0.9);
  text-wrap: balance;
}

/* 下载区块：线框大按钮 */
.section--download .download-panel {
  margin-top: 1.25rem;
  padding: 1.5rem 1.25rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.45);
}

.dl-rail--start {
  margin: 0 0 0.2rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.dl-rail {
  margin: 0 0 0.7rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.dl-rail--start + .dl-rail {
  margin-top: 0.15rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.dl-row--desktop + .dl-rail,
.dl-row--stores + .dl-rail {
  margin-top: 1.75rem;
}

.dl-row {
  display: grid;
  gap: 0.75rem;
}

.dl-row--desktop {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.dl-row--stores {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.dl-row--browser {
  display: flex;
  justify-content: center;
}

.dl-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 5.25rem;
  padding: 0.85rem 1rem 0.85rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  background: transparent;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
  box-shadow: 0 0 0 0 transparent;
}

.dl-tile:hover,
.dl-tile:focus {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.dl-tile__icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  text-align: center;
}

.dl-tile__icon img {
  display: block;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.dl-tile--wide {
  max-width: 24rem;
  width: 100%;
}

.dl-tile__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
}

.dl-tile__line--sm {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.78);
}

.dl-tile__line--lg {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.dl-foot {
  margin: 1.5rem 0 0;
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 800px) {
  .dl-row--desktop {
    grid-template-columns: 1fr;
  }

  .dl-row--stores {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

.list {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
  color: #d4cfdf;
}

.list li {
  margin: 0.4rem 0;
}

.faq p {
  margin: 0;
  color: #d7d3e5;
  font-size: 14px;
}

.faq h3 {
  font-size: 1rem;
}

/* Footer (SSI) */
.site-footer {
  margin-top: 0;
  border-top: 1px solid rgba(167, 139, 250, 0.2);
  background: rgba(5, 3, 10, 0.92);
}

.site-footer__inner {
  padding: 1.75rem 0 2rem;
}

.site-footer__head {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(167, 139, 250, 0.15);
}

.site-footer__name {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #e8e3f4;
}

.site-footer__disclaimer {
  margin: 0 0 1.5rem;
  max-width: 58rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: rgba(20, 16, 36, 0.55);
  border: 1px solid rgba(167, 139, 250, 0.12);
}

.site-footer__disclaimer .required {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: #fde68a;
}

.site-footer__main {
  margin-bottom: 1.5rem;
}

.site-footer__heading {
  margin: 0 0 0.75rem;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b4adc8;
}

.footer-toc .toc--sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: start;
}

.footer-toc .toc--sections > li {
  margin: 0;
  list-style: none;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(12, 10, 22, 0.65);
  border: 1px solid rgba(167, 139, 250, 0.14);
}

.footer-toc .toc--sections a {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #c5c0d6;
  line-height: 1.35;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-toc .toc--sections a:hover,
.footer-toc .toc--sections a:focus {
  color: #e8e3f4;
  border-bottom-color: rgba(167, 139, 250, 0.45);
}

.footer-toc .toc--sections a:focus {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
  border-radius: 2px;
}

.site-footer__copy {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(167, 139, 250, 0.12);
  font-size: 11px;
  line-height: 1.4;
  color: #6b6678;
  text-align: center;
}

@media (max-width: 1000px) {
  .footer-toc .toc--sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer-toc .toc--sections {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .layout-hero--bleed {
    grid-template-columns: 1fr;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .section--hero .block-text {
    max-width: none;
    padding-top: 0;
  }

  .section--hero h1.hero-title {
    max-width: none;
  }

  .block-text--hero {
    padding-left: 0.85rem;
  }

  .block-text--hero::before {
    width: 2px;
  }

  .block-visual--video {
    min-height: min(44vh, 400px);
    border-radius: 20px;
  }

  .block-visual {
    min-height: 200px;
  }

  .main-nav .toc--primary a {
    font-size: 11px;
  }

  .split,
  .split--rev {
    grid-template-columns: 1fr;
  }

  .split--rev .split__main,
  .split--rev .split__media {
    grid-column: auto;
    grid-row: auto;
  }

  .section--split .split__media {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* 单列时图块用固定高宽比，避免绝对定位裁切在零高度里失效 */
  figure.split__media--chart.card--split {
    height: auto;
    min-height: 12rem;
    aspect-ratio: 2 / 1;
  }

  figure.split__media--alerts.card--split {
    height: auto;
    min-height: 12rem;
    aspect-ratio: 72 / 50;
  }
}

@media (max-width: 480px) {
  .actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Footer: 免责声明 / 隐私政策 入口（深色页脚） */
.site-footer__policies {
  margin: 0.35rem 0 0.6rem;
  text-align: center;
  font-size: 12px;
}

.site-footer__policy {
  color: #a79fc4;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__policy:hover,
.site-footer__policy:focus {
  color: #e8e3f4;
}

.site-footer__sep {
  margin: 0 0.4rem;
  color: #5a5468;
}

/* —— 法律类页面：白底黑字正文 + 公共头尾浅色覆盖 —— */
body.page--legal {
  color: #111;
  background: #f4f4f5;
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body.page--legal a {
  color: #0a0a0a;
}

body.page--legal .skip--light:focus {
  left: 0.5rem;
  top: 0.5rem;
  color: #fff;
  background: #111;
  outline: 2px solid #2563eb;
}

/* 页眉 / 底栏（浅色、与法宣页统一） */
body.page--legal .site-header {
  background: #fff;
  border-bottom: 1px solid #d4d4d8;
  backdrop-filter: none;
}

body.page--legal .neon-line {
  height: 1px;
  background: #e4e4e7;
  opacity: 1;
}

body.page--legal .brand {
  color: #111;
}

body.page--legal .main-nav .toc--primary a {
  color: #3f3f46;
  border-bottom-color: transparent;
}

body.page--legal .main-nav .toc--primary a:hover,
body.page--legal .main-nav .toc--primary a:focus {
  color: #0a0a0a;
  border-bottom-color: #0a0a0a;
}

body.page--legal .main-nav .toc--primary a:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 2px;
}


/* 法宣主区域 */
.legal-main {
  padding: 1.5rem 0 3rem;
}

.legal-paper {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 2rem;
  background: #fff;
  color: #111;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.legal-paper__head h1 {
  margin: 0 0 0.5rem;
  font-size: 1.65rem;
  line-height: 1.3;
  font-weight: 800;
  color: #0a0a0a;
}

.legal-paper__meta {
  margin: 0 0 1.5rem;
  font-size: 13px;
  color: #52525b;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e4e4e7;
}

.legal-paper__body h2 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0a0a0a;
}

.legal-paper__body h2:first-of-type {
  margin-top: 0;
}

.legal-paper__body p {
  margin: 0 0 0.9rem;
  color: #18181b;
  font-size: 0.95rem;
  text-align: justify;
  text-justify: inter-ideograph;
}

.legal-paper__body .legal-a {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-paper__body .legal-a:hover,
.legal-paper__body .legal-a:focus {
  color: #1e3a8a;
}

/* 法宣页底栏 */
body.page--legal .site-footer {
  background: #fafafa;
  border-top: 1px solid #e4e4e7;
}

body.page--legal .site-footer__name {
  color: #0a0a0a;
}

body.page--legal .site-footer__head {
  border-bottom-color: #e4e4e7;
}

body.page--legal .site-footer__disclaimer {
  background: #fff7ed;
  border-color: #fed7aa;
}

body.page--legal .site-footer__disclaimer .required {
  color: #9a3412;
}

body.page--legal .site-footer__disclaimer .text-link {
  color: #1d4ed8;
  text-decoration: underline;
}

body.page--legal .site-footer__heading {
  color: #3f3f46;
}

body.page--legal .footer-toc .toc--sections > li {
  background: #fff;
  border-color: #e4e4e7;
}

body.page--legal .footer-toc .toc--sections a {
  color: #1d4ed8;
  font-weight: 700;
  border-bottom: none;
}

body.page--legal .footer-toc .toc a:hover,
body.page--legal .footer-toc .toc a:focus {
  color: #1e3a8a;
  border-bottom: none;
}

body.page--legal .site-footer__policies {
  margin: 0.5rem 0 0.35rem;
}

body.page--legal .site-footer__policy {
  color: #1d4ed8;
}

body.page--legal .site-footer__policy:hover,
body.page--legal .site-footer__policy:focus {
  color: #1e3a8a;
}

body.page--legal .site-footer__copy {
  color: #71717a;
  border-top-color: #e4e4e7;
}
