/* ==========================================================================
   公开页面主题（产品首页 / 模型评测 / 维权指南）
   深色科技风：深蓝底 + 青绿主色 + 琥珀/危险红强调，适配录屏与投屏
   ========================================================================== */

:root {
  --p-bg: #0a1120;
  --p-bg-2: #0d1729;
  --p-panel: rgba(18, 29, 49, 0.82);
  --p-panel-solid: #111d33;
  --p-line: rgba(125, 153, 196, 0.18);
  --p-line-strong: rgba(125, 153, 196, 0.32);
  --p-ink: #e8eefb;
  --p-ink-2: #c3d0e6;
  --p-muted: #8ea3c2;
  --p-teal: #2dd4bf;
  --p-teal-deep: #14b8a6;
  --p-blue: #60a5fa;
  --p-amber: #f59e0b;
  --p-red: #ef4444;
  --p-radius: 18px;
  --p-shadow: 0 16px 38px rgba(2, 8, 20, 0.38);
  --p-shadow-hover: 0 24px 52px rgba(2, 8, 20, 0.48);
  --p-mono: "Cascadia Code", Consolas, "Courier New", monospace;
}

body.pub {
  margin: 0;
  min-height: 100vh;
  color: var(--p-ink);
  background:
    radial-gradient(1100px 560px at 10% -10%, rgba(45, 212, 191, 0.16), transparent 62%),
    radial-gradient(900px 520px at 94% 2%, rgba(96, 165, 250, 0.13), transparent 60%),
    radial-gradient(700px 400px at 50% 110%, rgba(245, 158, 11, 0.07), transparent 60%),
    var(--p-bg);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.pub::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(125, 153, 196, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 153, 196, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
  z-index: 0;
}

body.pub a { color: inherit; text-decoration: none; }
body.pub p { margin: 0 0 12px; }
body.pub h1, body.pub h2, body.pub h3, body.pub h4 {
  margin: 0 0 12px;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.pub-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ------------------------------------------------------------------ 导航 */
.pub-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 17, 32, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--p-line);
}
.nav-inner { display: flex; align-items: center; gap: 22px; height: 66px; }
.nav-brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-dot {
  width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; color: #04211d;
  background: linear-gradient(140deg, var(--p-teal), #5eead4 60%, #a7f3d0);
  box-shadow: 0 6px 18px rgba(45, 212, 191, 0.3);
}
.nav-brand b { display: block; font-size: 15px; letter-spacing: 0.02em; }
.nav-brand i {
  display: block; font-style: normal; font-size: 10.5px;
  color: var(--p-muted); letter-spacing: 0.04em;
}
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 7px 13px; border-radius: 9px; font-size: 13.5px; color: var(--p-muted);
  transition: 0.15s;
}
.nav-links a:hover { color: var(--p-ink); background: rgba(125, 153, 196, 0.1); }
.nav-links a.active { color: var(--p-teal); background: rgba(45, 212, 191, 0.1); font-weight: 600; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-user { font-size: 12px; color: var(--p-muted); }

.pub-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 22px; border-radius: 11px;
  font-size: 14px; font-weight: 650; cursor: pointer;
  border: 1px solid transparent; transition: 0.16s; white-space: nowrap;
}
.pub-btn.small { height: 34px; padding: 0 15px; font-size: 13px; border-radius: 9px; }
.pub-btn.teal {
  background: linear-gradient(135deg, var(--p-teal), #22c3b0);
  color: #052b26;
  box-shadow: 0 10px 26px rgba(45, 212, 191, 0.24);
}
.pub-btn.teal:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(45, 212, 191, 0.34); }
/* 与工作台主按钮同一套蓝色渐变体系 */
.pub-btn.primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.34);
}
.pub-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.46);
}
.pub-btn.ghost {
  border-color: var(--p-line-strong); color: var(--p-ink-2);
  background: rgba(125, 153, 196, 0.06);
}
.pub-btn.ghost:hover { border-color: var(--p-teal); color: var(--p-teal); }

/* ------------------------------------------------------------------ 通用 */
.pub-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--p-teal); margin-bottom: 16px;
}
.pub-kicker::before {
  content: ""; width: 22px; height: 1px; background: var(--p-teal); opacity: 0.7;
}
.section { margin: 78px auto; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.sec-head h2 { font-size: 28px; margin: 0 0 6px; }
.sec-head .desc { color: var(--p-muted); font-size: 14px; max-width: 620px; margin: 0; }
.sec-index {
  font-family: var(--p-mono); font-size: 12px; color: var(--p-teal);
  letter-spacing: 0.18em; margin-bottom: 8px; display: block;
}
.panel {
  background: var(--p-panel);
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  padding: 24px;
  backdrop-filter: blur(6px);
  box-shadow: var(--p-shadow);
}
.panel.flat { background: rgba(17, 29, 51, 0.55); }
.mono { font-family: var(--p-mono); }
.muted { color: var(--p-muted); }
.small { font-size: 12px; }
.tiny { font-size: 11px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 650; letter-spacing: 0.02em;
}
.pill.teal { background: rgba(45, 212, 191, 0.14); color: #5eead4; }
.pill.blue { background: rgba(96, 165, 250, 0.14); color: #93c5fd; }
.pill.amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.pill.red { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }
.pill.slate { background: rgba(125, 153, 196, 0.14); color: var(--p-muted); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ------------------------------------------------------------------ 首屏 */
.hero { padding: 72px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; }
.hero h1 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.22; letter-spacing: -0.02em; margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #5eead4, #7dd3fc 60%, #a5b4fc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { font-size: 15.5px; color: var(--p-ink-2); line-height: 1.85; max-width: 560px; }
.hero .lede b { color: var(--p-teal); font-weight: 650; }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 12px; color: var(--p-muted); display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note span::before { content: "✓"; color: var(--p-teal); margin-right: 6px; }

/* 首屏蓝色渐变带：与工作台 .ws-hero 使用同一套视觉语言 */
.hero-band {
  position: relative;
  max-width: 1228px;
  margin: 20px auto 0;
  padding: 42px 0 44px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(120deg, #0b1e46 0%, #14306b 46%, #1d4ed8 100%);
  box-shadow: 0 24px 60px rgba(4, 14, 38, 0.5);
}
.hero-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 260px at 86% 0%, rgba(56, 189, 248, 0.3), transparent 70%);
}
.hero-band > * { position: relative; z-index: 1; }
.hero-band .pub-kicker { color: #93c5fd; }
.hero-band .pub-kicker::before { background: #93c5fd; }
.hero-band h1 { color: #fff; }
.hero-band h1 em { background: linear-gradient(100deg, #a7f3d0, #bae6fd 55%, #c7d2fe); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-band .lede { color: #dbeafe; }
.hero-band .lede b { color: #7dd3fc; }
.hero-band .hero-note { color: #bfdbfe; }
.hero-band .hero-note span::before { color: #7dd3fc; }
.hero-band .hero-card { box-shadow: 0 30px 70px rgba(2, 8, 20, 0.58); }
.hero.hero-band { padding-top: 46px; padding-bottom: 46px; }

/* 首屏结果卡（静态演示面板） */
.hero-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--p-line-strong);
  background: linear-gradient(165deg, rgba(23, 37, 61, 0.96), rgba(13, 23, 41, 0.98));
  box-shadow: 0 30px 70px rgba(2, 8, 20, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 20px 20px 18px;
  overflow: hidden;
}
.hero-card::after {
  content: ""; position: absolute; inset: -1px; border-radius: 20px; pointer-events: none;
  background: radial-gradient(280px 140px at 80% 0%, rgba(239, 68, 68, 0.16), transparent 70%);
}
.hc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hc-file { font-family: var(--p-mono); font-size: 11.5px; color: var(--p-muted); }
.hc-level {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px;
}
.hc-level b { font-size: 30px; letter-spacing: -0.02em; color: #fca5a5; }
.hc-level span { font-size: 12px; color: var(--p-muted); }
.hc-sub { font-size: 12.5px; color: var(--p-ink-2); margin-bottom: 16px; }
.hc-bar { height: 8px; border-radius: 999px; background: rgba(125, 153, 196, 0.16); overflow: hidden; margin-bottom: 6px; }
.hc-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f59e0b, #ef4444); }
.hc-scale { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--p-muted); margin-bottom: 16px; }
.hc-basis { display: grid; gap: 8px; }
.hc-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 10px;
  background: rgba(125, 153, 196, 0.07); border: 1px solid var(--p-line);
  font-size: 12px;
}
.hc-row .k { color: var(--p-muted); flex: 1; }
.hc-row .v { font-weight: 700; color: var(--p-ink); font-family: var(--p-mono); font-size: 12.5px; }
.hc-foot {
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--p-line);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--p-muted);
}

/* ------------------------------------------------------------------ 指标条 */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--p-line);
  border: 1px solid var(--p-line); border-radius: var(--p-radius); overflow: hidden;
  box-shadow: var(--p-shadow);
}
.stat-item { background: rgba(15, 25, 43, 0.94); padding: 20px 22px; }
.stat-item .num {
  font-size: 28px; font-weight: 750; letter-spacing: -0.02em;
  font-family: var(--p-mono); color: var(--p-ink);
}
.stat-item .num .unit { font-size: 13px; color: var(--p-muted); margin-left: 3px; }
.stat-item .lbl { font-size: 12px; color: var(--p-muted); margin-top: 2px; }
.stat-item .tag { font-size: 10.5px; color: var(--p-teal); margin-top: 6px; display: block; }

/* ------------------------------------------------------------------ 三栏理由 */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature {
  position: relative; padding: 24px 22px; border-radius: var(--p-radius);
  background: var(--p-panel); border: 1px solid var(--p-line);
  box-shadow: var(--p-shadow);
  transition: 0.18s;
}
.feature:hover {
  transform: translateY(-3px); border-color: rgba(45, 212, 191, 0.4);
  box-shadow: var(--p-shadow-hover);
}
.feature .ico {
  width: 38px; height: 38px; border-radius: 10px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  background: rgba(45, 212, 191, 0.12); color: var(--p-teal);
}
.feature h3 { font-size: 16px; margin-bottom: 8px; }
.feature p { font-size: 13px; color: var(--p-muted); line-height: 1.75; margin: 0; }

/* ------------------------------------------------------------------ 流程 */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.flow-step {
  position: relative; padding: 22px 20px;
  border-radius: var(--p-radius); border: 1px solid var(--p-line);
  background: linear-gradient(160deg, rgba(23, 37, 61, 0.7), rgba(13, 23, 41, 0.6));
  box-shadow: var(--p-shadow);
}
.flow-step .idx {
  font-family: var(--p-mono); font-size: 11px; color: var(--p-teal);
  letter-spacing: 0.16em; margin-bottom: 10px; display: block;
}
.flow-step h4 { font-size: 15px; margin-bottom: 6px; }
.flow-step p { font-size: 12.5px; color: var(--p-muted); margin: 0; line-height: 1.7; }
.flow-step::after {
  content: "→"; position: absolute; right: -12px; top: 50%; transform: translateY(-50%);
  color: var(--p-line-strong); font-size: 15px; z-index: 2;
}
.flow-step:last-child::after { display: none; }

/* ------------------------------------------------------------------ 分级 */
.grade-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grade {
  border-radius: var(--p-radius); padding: 24px;
  background: var(--p-panel); border: 1px solid var(--p-line);
  border-top: 3px solid var(--p-line-strong);
  box-shadow: var(--p-shadow);
}
.grade.high { border-top-color: var(--p-red); }
.grade.medium { border-top-color: var(--p-amber); }
.grade.low { border-top-color: var(--p-teal); }
.grade-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.grade-top b { font-size: 20px; }
.grade .range {
  font-family: var(--p-mono); font-size: 11.5px; color: var(--p-muted);
  margin-left: auto; padding: 2px 8px; border-radius: 6px;
  background: rgba(125, 153, 196, 0.1);
}
.grade p { font-size: 13px; color: var(--p-ink-2); margin-bottom: 14px; }
.grade .act {
  font-size: 12px; color: var(--p-muted); border-top: 1px dashed var(--p-line);
  padding-top: 12px; line-height: 1.7;
}

/* ------------------------------------------------------------------ 图表 */
.chart-panel { padding: 26px 26px 18px; }
.chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.chart-head h3 { font-size: 17px; margin-bottom: 4px; }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--p-muted); flex-wrap: wrap; }
.legend i { display: inline-block; width: 16px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.chart-svg { width: 100%; height: auto; display: block; }
.chart-svg text { font-family: var(--p-mono); }

.bar-rows { display: grid; gap: 12px; }
.bar-item { display: grid; grid-template-columns: 130px 1fr 66px; gap: 14px; align-items: center; }
.bar-item .name { font-size: 13px; }
.bar-item .name span { display: block; font-size: 10.5px; color: var(--p-muted); }
.bar-item .track { height: 9px; border-radius: 999px; background: rgba(125, 153, 196, 0.14); overflow: hidden; }
.bar-item .track i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #2dd4bf, #60a5fa); }
.bar-item.danger .track i { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.bar-item .val { text-align: right; font-family: var(--p-mono); font-size: 13px; color: var(--p-ink); }

/* ------------------------------------------------------------------ 表格 */
.pub-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pub-table th {
  text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--p-muted); font-weight: 600; padding: 10px 12px;
  border-bottom: 1px solid var(--p-line-strong); white-space: nowrap;
}
.pub-table td { padding: 12px; border-bottom: 1px solid var(--p-line); color: var(--p-ink-2); vertical-align: top; }
.pub-table tr:last-child td { border-bottom: 0; }
.pub-table td.num { font-family: var(--p-mono); color: var(--p-ink); white-space: nowrap; }

/* ------------------------------------------------------------------ 局限 */
.limit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.limit {
  border-radius: var(--p-radius); padding: 22px;
  border: 1px dashed rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.05);
}
.limit .tag { font-family: var(--p-mono); font-size: 10.5px; color: var(--p-amber); letter-spacing: 0.14em; }
.limit h4 { font-size: 15px; margin: 8px 0 8px; }
.limit p { font-size: 12.5px; color: var(--p-ink-2); line-height: 1.75; margin: 0; }

/* ------------------------------------------------------------------ 时间线 */
.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.6), rgba(96, 165, 250, 0.16));
}
.tl-item { position: relative; padding: 0 0 26px 4px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -25px; top: 5px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--p-bg); border: 2px solid var(--p-teal);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.12);
}
.tl-item .phase { font-size: 14.5px; font-weight: 650; margin-bottom: 8px; }
.tl-item ul { margin: 0; padding-left: 18px; }
.tl-item li { font-size: 13px; color: var(--p-muted); line-height: 1.8; margin-bottom: 3px; }

/* ------------------------------------------------------------------ 法条 / 清单 */
.law-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.law-card {
  padding: 20px; border-radius: 14px; border: 1px solid var(--p-line);
  background: rgba(17, 29, 51, 0.62); border-left: 3px solid var(--p-blue);
}
.law-card .src { font-family: var(--p-mono); font-size: 11px; color: var(--p-blue); margin-bottom: 6px; }
.law-card h4 { font-size: 14px; margin-bottom: 8px; }
.law-card .body { font-size: 12.5px; color: var(--p-ink-2); line-height: 1.75; margin-bottom: 8px; }
.law-card .apply { font-size: 11.5px; color: var(--p-muted); border-top: 1px dashed var(--p-line); padding-top: 8px; }

.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.check-item { display: flex; gap: 10px; font-size: 13px; color: var(--p-ink-2); line-height: 1.7; }
.check-item::before {
  content: "☐"; color: var(--p-teal); font-size: 14px; line-height: 1.5; flex: none;
}

.channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.channel {
  padding: 16px 18px; border-radius: 12px; border: 1px solid var(--p-line);
  background: rgba(17, 29, 51, 0.55);
}
.channel b { display: block; font-size: 14px; color: var(--p-teal); margin-bottom: 4px; }
.channel span { font-size: 12px; color: var(--p-muted); line-height: 1.65; }

/* ------------------------------------------------------------------ 模板下载 */
.tpl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tpl {
  border-radius: var(--p-radius); border: 1px solid var(--p-line);
  background: var(--p-panel); padding: 22px; display: flex; flex-direction: column;
  box-shadow: var(--p-shadow);
}
.tpl h4 { font-size: 15px; margin-bottom: 6px; }
.tpl p { font-size: 12.5px; color: var(--p-muted); margin: 0 0 16px; flex: 1; }
.tpl .pub-btn { width: 100%; }

/* ------------------------------------------------------------------ CTA */
.cta-band {
  margin: 78px 0 40px; padding: 40px;
  border-radius: 22px; border: 1px solid rgba(45, 212, 191, 0.28);
  background:
    radial-gradient(600px 260px at 12% 0%, rgba(45, 212, 191, 0.14), transparent 70%),
    linear-gradient(140deg, rgba(23, 37, 61, 0.9), rgba(13, 23, 41, 0.92));
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.cta-band h2 { font-size: 26px; margin-bottom: 8px; }
.cta-band p { color: var(--p-muted); margin: 0; font-size: 13.5px; }
.cta-band .pub-btn { flex: none; }

/* ------------------------------------------------------------------ 页脚 */
.pub-footer {
  border-top: 1px solid var(--p-line);
  padding: 30px 0 40px; margin-top: 20px; position: relative; z-index: 1;
}
.foot-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 12px; color: var(--p-muted); }
.foot-inner b { color: var(--p-ink-2); font-weight: 600; }
.foot-note { max-width: 680px; line-height: 1.7; }

/* ------------------------------------------------------------------ 动效 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------------------------ 响应式 */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-inner { flex-wrap: wrap; height: auto; padding: 9px 0 4px; row-gap: 6px; }
  .nav-brand { order: 1; }
  .nav-actions { order: 2; }
  .nav-links {
    order: 3; width: 100%; margin: 0;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding: 2px 0 6px; scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; padding: 6px 10px; font-size: 13px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .grade-grid, .limit-grid, .tpl-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step::after { display: none; }
  .law-grid, .checklist { grid-template-columns: 1fr; }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* 表格与图表在窄屏内部横向滚动，避免整页被撑宽 */
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .pub-table { min-width: 600px; }
.chart-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.chart-scroll .chart-svg { min-width: 620px; }

/* 窄屏下表格改为卡片式纵向排列，避免横向滚动与挤压 */
@media (max-width: 620px) {
  .table-scroll { overflow: visible; }
  .table-scroll .pub-table { display: block; min-width: 0; }
  .table-scroll .pub-table thead { display: none; }
  .table-scroll .pub-table tbody { display: block; }
  .table-scroll .pub-table tr { display: block; padding: 13px 0; border-bottom: 1px solid var(--p-line); }
  .table-scroll .pub-table tr:last-child { border-bottom: 0; }
  .table-scroll .pub-table td { display: block; border: 0; padding: 2px 0; }
  .table-scroll .pub-table td::before {
    content: attr(data-label); display: block;
    font-size: 10.5px; letter-spacing: 0.06em; color: var(--p-muted);
  }
  .table-scroll .pub-table td:not([data-label])::before { display: none; }
  .table-scroll .pub-table td:first-child { font-weight: 650; color: var(--p-ink); font-size: 14.5px; padding-bottom: 6px; }
  .table-scroll .pub-table td.num { font-size: 13px; }
}

@media (max-width: 620px) {
  .pub-wrap { padding: 0 16px; }
  .hero-band { margin: 12px 12px 0; padding: 30px 0 32px; border-radius: 18px; }
  .hero.hero-band { padding-top: 30px; padding-bottom: 32px; }
  .nav-user { display: none; }
  .nav-brand i { display: none; }
  .nav-brand b { font-size: 13.5px; }
  .brand-dot { width: 32px; height: 32px; border-radius: 9px; font-size: 15px; }
  .nav-actions .pub-btn.small { height: 32px; padding: 0 11px; font-size: 12.5px; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 30px; }
  .hero .lede { font-size: 14.5px; }
  .hero-actions .pub-btn { flex: 1 1 100%; }
  .flow, .channel-grid { grid-template-columns: 1fr; }
  .hero-card { padding: 16px; border-radius: 16px; }
  .hc-level b { font-size: 26px; }
  .hc-row { padding: 8px 9px; font-size: 11.5px; }
  .stat-item { padding: 16px; }
  .stat-item .num { font-size: 23px; }
  .section { margin: 46px auto; }
  .sec-head h2, .chart-head h3 { font-size: 22px; }
  .panel { padding: 16px; }
  .chart-panel { padding: 16px 14px 12px; }
  .legend { font-size: 11px; gap: 10px; }
  .bar-item { grid-template-columns: 96px 1fr 48px; gap: 8px; }
  .bar-item .name { font-size: 12px; }
  .bar-item .val { font-size: 12px; }
  .grade { padding: 18px; }
  .timeline { padding-left: 20px; }
  .tl-item { padding-bottom: 20px; }
  .law-card { padding: 16px; }
  .channel { padding: 13px 14px; }
  .tpl { padding: 18px; }
  .cta-band { padding: 24px; border-radius: 16px; }
  .cta-band h2 { font-size: 21px; }
  .cta-band .pub-btn { width: 100%; }
  .foot-inner { flex-direction: column; gap: 14px; }
  .tpl .pub-btn { height: 38px; }
}
