/* ==========================================================================
 * front.css — 前台样式
 * --------------------------------------------------------------------------
 * 设计令牌全部走 CSS 变量，后台「站点设置」改色后由 front.js 注入 :root，
 * 无需改本文件即可换肤。
 * 响应式策略：移动优先 + 断点上探（560 / 768 / 980 / 1200），
 * 字号用 clamp() 做流体缩放，避免多断点重复声明。
 * ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --primary: #12B5CB;
  --primary2: #5B6BF5;
  --accent: #12B5CB;
  --ink: #0B0B0D;
  --radius: 16px;

  --bg: #FFFFFF;
  --bg-soft: #F6F7FB;
  --text: #14161A;
  --text-soft: #5B6472;
  --line: #E6E8EF;
  --card: #FFFFFF;

  --grad: linear-gradient(135deg, var(--primary) 0%, var(--primary2) 100%);
  --shadow-sm: 0 1px 2px rgba(16, 20, 30, .06), 0 2px 8px rgba(16, 20, 30, .04);
  --shadow-md: 0 4px 12px rgba(16, 20, 30, .08), 0 12px 32px rgba(16, 20, 30, .06);
  --shadow-lg: 0 18px 48px rgba(16, 20, 30, .14);

  --maxw: 1200px;
  --header-h: 68px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- 3. 布局工具 ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.h2 { font-size: clamp(28px, 4.2vw, 46px); }
.lede { margin-top: 16px; font-size: clamp(16px, 1.6vw, 19px); color: var(--text-soft); max-width: 62ch; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(18, 181, 203, .32); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(18, 181, 203, .4); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .18); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ---------- 5. Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.hdr.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.hdr__in { display: flex; align-items: center; gap: 20px; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 21px; letter-spacing: -0.03em; flex: none; }
.brand img { height: 30px; width: auto; object-fit: contain; }
.brand span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
/* 同 streamers.css 的 .promo：[hidden] 的浏览器默认 display:none 会被上面
 * 这条 display:flex 盖掉，导致 front.js 里 `nav.hidden = true` 失效、
 * 空导航条仍然占位。 */
.nav[hidden] { display: none; }
.nav a {
  padding: 9px 14px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--text-soft);
  transition: color .16s ease, background .16s ease;
}
.nav a:hover { color: var(--text); background: var(--bg-soft); }
.hdr__cta { margin-left: 8px; padding: 11px 20px; font-size: 14px; }
.burger { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero--light { background: var(--bg-soft); color: var(--text); }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 140%;
  background:
    radial-gradient(45% 45% at 18% 20%, rgba(18, 181, 203, .34), transparent 70%),
    radial-gradient(40% 40% at 82% 30%, rgba(91, 107, 245, .3), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero--light::before, .hero--light::after { display: none; }
.hero__in {
  position: relative; z-index: 2;
  /* 单列居中：整页只有一个行动入口，居中比左右分栏更聚焦 */
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(48px, 7vw, 96px) 24px clamp(30px, 4vw, 46px);
  max-width: 940px; margin: 0 auto;
  /* 首页只剩这一个区块，让它自然撑满剩余高度 —— 否则页面底部会露出一段空白，
   * 视觉上像是「下面本来该有内容但没加载出来」。
   * 法务单行也在这块预算里，所以整页仍然不出现滚动条。 */
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
  justify-content: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .92); margin-bottom: 24px;
}
.hero--light .hero__badge { background: #fff; border-color: var(--line); color: var(--text-soft); }
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .22); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
/* 字号上限控制在 62px：默认主标题能在桌面端排成完整一行，窄屏再自然折行 */
.hero h1 { font-size: clamp(34px, 5.6vw, 62px); letter-spacing: -0.038em; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 22px; font-size: clamp(16px, 1.7vw, 19px); color: rgba(255, 255, 255, .72); max-width: 58ch; }
.hero--light .hero__sub { color: var(--text-soft); }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
/* 活跃人数胶囊：绿点 + 动态数字 + 说明，数字每秒都可能变化，用等宽数字避免抖动 */
.hero__live {
  margin-top: 30px; display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 18px 9px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  font-size: 14px; color: rgba(255, 255, 255, .64);
}
.hero__live b {
  color: #fff; font-weight: 900; font-size: 18px; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
}
.hero__live .dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); animation: pulse 2s infinite; }
.hero--light .hero__live { background: #fff; border-color: var(--line); color: var(--text-soft); }
.hero--light .hero__live b { color: var(--text); }
.hero__trust { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hero__trust li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 600;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.85);
}
.hero--light .hero__trust li { background: #fff; border-color: var(--line); color: var(--text-soft); }
.hero__trust svg { width: 16px; height: 16px; color: var(--primary); }

/* ---------- 「How it works」就地展开的三步说明 ----------
 * 首页只剩首屏，所以这个说明不能再是下方一个独立区块（那会破坏「只有首屏」的诉求），
 * 改成点一下按钮就地展开、默认收起 —— 首屏高度完全不变。 */
.howto {
  margin-top: 34px; width: 100%; max-width: 900px;
  animation: howtoIn .28s ease both;
}
@keyframes howtoIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.howto__steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left;
}
.howto__step {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.hero--light .howto__step { background: #fff; border-color: var(--line); }
.howto__no {
  width: 30px; height: 30px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--grad); color: #fff;
  font-size: 13.5px; font-weight: 800;
}
.howto__step h3 { font-size: 15.5px; margin-bottom: 5px; }
.howto__step p { font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, .68); }
.hero--light .howto__step p { color: var(--text-soft); }
/* 展开时把箭头翻过来，暗示「再点一下收起」 */
[data-howto].is-on svg { transform: rotate(180deg); }
[data-howto] svg { transition: transform .2s ease; }

/* 窄屏：三列改单列，否则三句话会挤成三行密文 */
@media (max-width: 760px) {
  .howto__steps { grid-template-columns: 1fr; gap: 12px; }
  .howto__step { padding: 15px; }
}

/* ---------- 7. 数据条 ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
/* auto-fit：增删指标后自动均分，不会留下空列 */
.stats__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stats__item { padding: 34px 20px; text-align: center; border-right: 1px solid var(--line); }
.stats__item:last-child { border-right: 0; }
.stats__item b { display: block; font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats__item span { font-size: 13.5px; color: var(--text-soft); font-weight: 600; }

/* ---------- 8. 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; padding: 28px 26px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--grad); transition: width .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::after { width: 100%; }
.card__ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(18,181,203,.13), rgba(18,181,203,.1));
  color: var(--primary); margin-bottom: 18px;
}
.card__ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 15px; }

/* ---------- 9. 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.step { position: relative; padding-top: 8px; }
.step__no {
  font-size: 46px; font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(18, 181, 203, .5); margin-bottom: 14px;
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--text-soft); font-size: 15px; }
.step + .step::before {
  content: ""; position: absolute; left: -22px; top: 34px; width: 22px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 5px, transparent 5px 10px);
}

/* ---------- 10. 图文区 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.prose p { color: var(--text-soft); font-size: 16.5px; }
.prose p + p { margin-top: 16px; }
.figure {
  border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--bg-soft);
  border: 1px solid var(--line); aspect-ratio: 4/3; position: relative;
  display: grid; place-items: center;
}
@supports not (aspect-ratio: 1) { .figure { height: 320px; } }
.figure img, .figure video { width: 100%; height: 100%; object-fit: cover; }
.figure__ph { color: var(--text-soft); font-size: 14px; display: grid; place-items: center; gap: 10px; padding: 24px; text-align: center; }
.figure__ph svg { width: 40px; height: 40px; opacity: .4; }

/* ---------- 11. FAQ ---------- */
.faq { max-width: 820px; margin: 40px auto 0; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin-bottom: 12px; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq__item.is-open { border-color: transparent; box-shadow: var(--shadow-md); }
.faq__q { width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 22px; text-align: left; font-weight: 700; font-size: 16.5px; }
.faq__q span { flex: 1; }
.faq__q svg { width: 20px; height: 20px; flex: none; color: var(--primary); transition: transform .25s ease; }
.faq__item.is-open .faq__q svg { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a > div { padding: 0 22px 22px; color: var(--text-soft); font-size: 15.5px; }
.faq__item.is-open .faq__a { max-height: 600px; }

/* ---------- 12. 底部 CTA ---------- */
.cta { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: -60% -10% auto -10%; height: 180%;
  background: radial-gradient(45% 45% at 25% 40%, rgba(18,181,203,.36), transparent 70%),
              radial-gradient(40% 40% at 78% 45%, rgba(18,181,203,.3), transparent 70%);
  filter: blur(10px);
}
.cta__in { position: relative; z-index: 2; text-align: center; padding: clamp(52px, 7vw, 92px) 24px; }
.cta h2 { font-size: clamp(27px, 4.4vw, 48px); letter-spacing: -0.03em; }
.cta p { margin: 18px auto 0; color: rgba(255,255,255,.72); max-width: 54ch; font-size: clamp(15px, 1.5vw, 18px); }
.cta .btn { margin-top: 30px; }

/* ---------- 13. 页脚 ---------- */
.ftr { background: var(--ink); color: rgba(255,255,255,.66); border-top: 1px solid rgba(255,255,255,.09); padding: 56px 0 30px; }
.ftr__in { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
/* 用 display:contents 让列容器直接参与父级 grid，避免多套断点各写一份 */
.ftr__cols { display: contents; }
.ftr .brand { color: #fff; margin-bottom: 14px; }
.ftr__about { font-size: 14.5px; max-width: 34ch; }
.ftr h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; font-weight: 700; }
.ftr li + li { margin-top: 9px; }
.ftr li a { font-size: 14.5px; transition: color .16s ease; }
.ftr li a:hover { color: #fff; }
.ftr__social { display: flex; gap: 10px; margin-top: 20px; }
.ftr__social a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .18s ease, transform .18s ease; }
.ftr__social a:hover { background: var(--primary); transform: translateY(-2px); }
.ftr__social svg { width: 18px; height: 18px; }
.ftr__bot { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.09); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; font-size: 13.5px; }
.ftr__age { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: rgba(18,181,203,.16); color: #FFB08C; font-weight: 700; font-size: 12.5px; }
.ftr__age svg { width: 14px; height: 14px; }

/* ---------- 14. 其他 ---------- */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 200; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow-md); }
.admin-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow-lg);
  transition: transform .18s ease;
}
.admin-fab:hover { transform: translateY(-2px); }
/* display:inline-flex 会盖掉 [hidden]，必须显式关掉 */
.admin-fab[hidden] { display: none; }
.admin-fab svg { width: 16px; height: 16px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1200px) {
  .ftr__in { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
}
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split .figure { order: -1; }
  .ftr__in { grid-template-columns: 1fr 1fr; }
  .ftr__cols { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hdr.is-open .nav {
    display: flex; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 24px 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .hdr.is-open .nav a { padding: 13px 12px; font-size: 16px; color: var(--text); }
  .hdr.is-open .hdr__cta { margin: 8px 0 0; }
}
@media (max-width: 768px) {
  .stats__in { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .step + .step::before { display: none; }
  .section { padding: 52px 0; }
}
@media (max-width: 560px) {
  .wrap, .hdr__in, .hero__in { padding-left: 18px; padding-right: 18px; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .card { padding: 24px 20px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .ftr__in { grid-template-columns: 1fr; gap: 26px; }
  .ftr__cols { grid-template-columns: 1fr; gap: 26px; }
  .ftr__bot { flex-direction: column; align-items: flex-start; }
  .admin-fab { right: 14px; bottom: 14px; padding: 10px 15px; font-size: 12.5px; }
}

/* ---------- 16. 无障碍 / 打印 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .hero, .cta, .ftr { background: #fff !important; color: #000 !important; }
}

/* ---------- 法务入口（首页单行，不是完整页脚） ---------- */
.legal-mini {
  width: 100%; max-width: 900px;
  margin-top: 30px; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 6px 20px;
  font-size: 12.5px; color: rgba(255, 255, 255, .5);
}
.legal-mini p { margin: 0; }
/* 这一行小标题不是为了好看，是为了**标题层级**：
 * 页面只有一个 H1、下面直接跳到链接，爬虫与 AI 会判定「结构断裂」
 * （GEO 报告的 Heading Hierarchy 那一项）。给法务入口一个 H2，
 * H1 → H2 的层级就闭合了。视觉上只是一行 11px 的弱化文字。 */
.legal-mini__h {
  width: 100%; margin: 0 0 2px; text-align: center;
  font-size: 11px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255, 255, 255, .38);
}
.hero--light .legal-mini__h { color: var(--text-soft); }
.legal-mini nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.legal-mini a {
  color: rgba(255, 255, 255, .68); text-decoration: none; font-weight: 700;
  border-bottom: 1px solid transparent; transition: color .15s ease, border-color .15s ease;
}
.legal-mini a:hover { color: var(--primary); border-bottom-color: currentColor; }
.legal-mini a:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px;
}
/* 浅色首屏下用深色文字 */
.hero--light .legal-mini { border-top-color: var(--line); color: var(--text-soft); }
.hero--light .legal-mini a { color: var(--text-soft); }
.hero--light .legal-mini a:hover { color: var(--accent); }

@media (max-width: 560px) {
  .legal-mini { margin-top: 32px; gap: 6px 14px; font-size: 12px; }
}
