/* ================================================================
   会场体裁 · 内页一半 —— assets/css/venue-pages.css
   ----------------------------------------------------------------
   从 venue.css 拆出来的一段（2026-11-14）：原文件 398 有效行，越过
   code-organization 的 300 行上限。拆的依据是**职责**，不是行数对半：
     · venue.css      首屏那一屏（.fold 海报 + .hero2 文案块 + 首屏窄屏）
     · venue-pages.css 首屏之后：内页页头、长文标记色、锚点落点补偿、三张卡
   两半都只读既有令牌，仍不定义任何新色值。

   为什么必须拆而不是登记进基线：基线是给"改之前就超了"的存量文件记的账，
   本次整改把它从 301 行推到 398 行 —— 把那 97 行也登记成存量，等于用
   基线的名义给新增开白名单，冻结线就白设了。

   边界（与 venue.css 同一套，不改）：
     1. 深的是仪式（页头、首屏），浅的是长文。深色不许往正文扩散。
     2. 内页页头只换对外营销页的样子，应用页与法务长文页一律不动。
     3. 锚点补偿只补"真锚点"（section[id] / 侧栏 #overview）。
        platform.html?act=demo#m1 那类 hash 是 platform.js 的路由参数，不是锚点。
   ================================================================ */

/* ================================================================
   六、内页页头（.pagehead）—— 会场体裁的「同一副面孔」
   ----------------------------------------------------------------
   站上 14 个页面共用 .pagehead，但其中 account / workspace / platform 是应用页，
   深色页头在那里会跟工具界面打架。所以这里用 body[data-page] 逐个点名，
   只有对外营销页换深色，应用页与法务长文页一律不动。

   与首页同一套律：深的是仪式（页头、首屏），浅的是长文（页头以下的纸白正文）。
   ================================================================ */
body[data-page="products.html"] .pagehead,
body[data-page="gov-solution.html"] .pagehead,
body[data-page="pricing.html"] .pagehead,
body[data-page="compliance.html"] .pagehead,
body[data-page="contact.html"] .pagehead,
body[data-page="about.html"] .pagehead,
body[data-page="partners.html"] .pagehead{
  position: relative;
  background:
    radial-gradient(120% 86% at 50% -10%, rgba(40, 109, 213, 0.30) 0%, rgba(4, 18, 43, 0) 62%),
    linear-gradient(165deg, #04122B 0%, #071B33 56%, #0B2B52 100%);
  color: #EDF3FB;
  border-bottom: 0;
  padding: 58px 0 52px;
  z-index: 80;   /* 盖住 blueprint 的页边标尺，理由同首屏 */
}
/* 页头下沿一条渐隐金线：深色块与纸白正文的接缝，别用硬边 */
body[data-page="products.html"] .pagehead::after,
body[data-page="gov-solution.html"] .pagehead::after,
body[data-page="pricing.html"] .pagehead::after,
body[data-page="compliance.html"] .pagehead::after,
body[data-page="contact.html"] .pagehead::after,
body[data-page="about.html"] .pagehead::after,
body[data-page="partners.html"] .pagehead::after{
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg,
    rgba(196,154,74,0) 0%, rgba(196,154,74,0.55) 28%,
    rgba(196,154,74,0.55) 72%, rgba(196,154,74,0) 100%);
}

/* 页头里的三层字：面包屑 → 主标 → 一句说明 */
body[data-page="products.html"] .pagehead h1,
body[data-page="gov-solution.html"] .pagehead h1,
body[data-page="pricing.html"] .pagehead h1,
body[data-page="compliance.html"] .pagehead h1,
body[data-page="contact.html"] .pagehead h1,
body[data-page="about.html"] .pagehead h1,
body[data-page="partners.html"] .pagehead h1{
  color: #F6F9FE; text-wrap: balance;
}
body[data-page="products.html"] .pagehead p,
body[data-page="gov-solution.html"] .pagehead p,
body[data-page="pricing.html"] .pagehead p,
body[data-page="compliance.html"] .pagehead p,
body[data-page="contact.html"] .pagehead p,
body[data-page="about.html"] .pagehead p,
body[data-page="partners.html"] .pagehead p{
  color: rgba(237, 243, 251, 0.72);
}
body[data-page="products.html"] .pagehead strong,
body[data-page="gov-solution.html"] .pagehead strong,
body[data-page="pricing.html"] .pagehead strong,
body[data-page="compliance.html"] .pagehead strong,
body[data-page="contact.html"] .pagehead strong,
body[data-page="about.html"] .pagehead strong,
body[data-page="partners.html"] .pagehead strong{
  color: #F5DEA9;
}

/* 面包屑：深底上改成金色小字，等宽字距保留（那是图纸体裁的标记） */
body[data-page="products.html"] .pagehead .crumb,
body[data-page="gov-solution.html"] .pagehead .crumb,
body[data-page="pricing.html"] .pagehead .crumb,
body[data-page="compliance.html"] .pagehead .crumb,
body[data-page="contact.html"] .pagehead .crumb,
body[data-page="about.html"] .pagehead .crumb,
body[data-page="partners.html"] .pagehead .crumb{
  color: rgba(245, 222, 169, 0.82);
}
body[data-page="products.html"] .pagehead .crumb a,
body[data-page="gov-solution.html"] .pagehead .crumb a,
body[data-page="pricing.html"] .pagehead .crumb a,
body[data-page="compliance.html"] .pagehead .crumb a,
body[data-page="contact.html"] .pagehead .crumb a,
body[data-page="about.html"] .pagehead .crumb a,
body[data-page="partners.html"] .pagehead .crumb a{
  color: rgba(245, 222, 169, 0.82);
}
body[data-page="products.html"] .pagehead .crumb a:hover,
body[data-page="gov-solution.html"] .pagehead .crumb a:hover,
body[data-page="pricing.html"] .pagehead .crumb a:hover,
body[data-page="compliance.html"] .pagehead .crumb a:hover,
body[data-page="contact.html"] .pagehead .crumb a:hover,
body[data-page="about.html"] .pagehead .crumb a:hover,
body[data-page="partners.html"] .pagehead .crumb a:hover{
  color: #F5DEA9;
}
/* 纸白正文的第一段紧贴页头时，给一点呼吸（页头收窄了 4px，别让标题顶到线上） */
@media (max-width: 760px){
  body[data-page="products.html"] .pagehead,
  body[data-page="gov-solution.html"] .pagehead,
  body[data-page="pricing.html"] .pagehead,
  body[data-page="compliance.html"] .pagehead,
  body[data-page="contact.html"] .pagehead,
  body[data-page="about.html"] .pagehead,
  body[data-page="partners.html"] .pagehead{ padding: 40px 0 36px; }
}

/* 深色页头里的浅色按钮：blueprint.css 把 .btn--light / .btn--ghost 改成了
   「透明底 + 石墨字」，那是给纸白底用的，放在深蓝上等于隐形（实测：几乎看不见）。
   这里只在点名的那几个营销页的页头内还原成浅色。用 :is() 收一下，别写 14 行选择器。 */
:is(body[data-page="products.html"], body[data-page="gov-solution.html"], body[data-page="pricing.html"],
    body[data-page="compliance.html"], body[data-page="contact.html"], body[data-page="about.html"],
    body[data-page="partners.html"]) .pagehead :is(.btn--light, .btn--ghost){
  background: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.34);
}
:is(body[data-page="products.html"], body[data-page="gov-solution.html"], body[data-page="pricing.html"],
    body[data-page="compliance.html"], body[data-page="contact.html"], body[data-page="about.html"],
    body[data-page="partners.html"]) .pagehead :is(.btn--light, .btn--ghost):hover{
  background: rgba(255, 255, 255, 0.20);
  border-color: rgba(255, 255, 255, 0.55);
}

/* ---------- 七、窄屏下读数格里的中文断行 ----------
   1/3 宽的格子里，「超期（>7 天未更新）」会被撕成「…天未更 / 新）」，
   「数据」被撕成「数 / 据」。text-wrap:balance 让浏览器把两行分匀，
   断点自然落到标点与词组之间。只在窄屏开，桌面本来就一行，不需要。 */
@media (max-width: 760px){
  .hero2__stat .stat__l,
  .hero2__stat .stat__note{ text-wrap: balance; }
}

/* ---------- 八、纸白长文里的「标记」色 ----------
   blueprint.css 把 --gold-050 从 style.css 的 #b98d43 劫持成了 #CC3406
   （图纸制的标记橙）。首屏已改会场体裁，但首屏之后的时间轴标签仍吃着这个橙：
     · 与「深蓝 + 金」不是一套，橙在蓝底下显脏；
     · 实测压 #ECEAE3 只有 4.30:1，13px 小字不达 4.5。
   亮底金是 --gold 的那一档 #7A5C1C（6.22:1，压 #ECEAE3 有 5.17），换掉。
   只作用于首页这两处标签，不动 --gold 令牌本身（它还被线框、边框、深底金字用着）。 */
body[data-page="index.html"] .tl-item__tag{ color: var(--gold-ink); }

/* ---------- 首屏两处整改（2026-11-07 文案整改 §5 第 3、4 项） ----------
   色值沿用本文件既有的首屏金/暖赤配色（rgba(245,222,169,…)），不新增第二套调色板。 */
/* 「演示数据」：接口未回来前，首屏三格摆的是示例值。
   标签必须比数字更显眼一点 —— 让人先看到「这是示例」，再看到数字。 */
.hero2__stat .stat__demo{
  display: inline-block; margin-right: 8px; padding: 1px 6px;
  border: 1px solid rgba(245, 222, 169, 0.45);
  color: rgba(245, 222, 169, 0.92);
  font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: .1em;
}
.hero2__stat .stat__demo[hidden]{ display: none; }
/* 「不需要信用卡」：14 天体验版旁边那一行。
   它要贴着按钮读，又不能用按钮的字重 —— 否则主 CTA 变成两句话。 */
.hero2__acts .btn .hero2__nocard{
  display: block; margin-top: 3px;
  font-size: var(--fs-xs); font-weight: 400; letter-spacing: .04em;
  opacity: .78;
}

/* ============================================================
   锚点落点补偿（2026-11-14 整改新增）
   ------------------------------------------------------------
   .header 是 position:sticky; top:0（style.css:213），实测高 75px。
   页内锚点在全站**早就有了**，只是没人回头量过落点：
     · contact.html → pricing.html#delivery（真锚点，落到 section[id]，未做补偿）
     · demo.html 侧栏 #overview / #leads / …（真锚点）
     · platform.html?act=demo#m1…m6 **不是锚点** —— 那是 platform.js 的 initNav/runEntry
       读 location.hash 切模块（hash 不在 DOM 里，页面也不滚动）。两者别混为一谈。
   所以这条规则不是"为新增锚点破例"，是补一个一直存在但没人量过的洞：
   现在 gov-solution.html#park / #enterprise 与 pricing.html#delivery 的标题都不会再被页头压住。
   实测（headless，1440 与 375 两档）：页头都是 75px，且**两档一样高** ——
   我原来按"移动端会换行变高"写的 68px 是猜的，实测直接把标题压掉 6px。
   改成 84px（75 + 9 余量），两档统一，不再分媒体查询。
   只作用于带 id 的 section，不影响任何没有锚点的区块。
   ============================================================ */
section[id]{ scroll-margin-top: 84px; }

/* 「看详情」类文字链（2026-11-14）：
   首页三端方案原来只有政府版有出口，园区版与企业版读完 60 个字无处可去 ——
   P1 里那条"园区版、企业版两张卡没有任何链接"就是它。补链接时顺手把原来那段
   写在行内、并且只给一张卡用的样式收成一个类，三张卡同一口径。 */
/* 三张卡高度不同，链接各落各的（实测相差 17px），看起来像三行错位的文字。
   把卡片改成纵向 flex，链接用 margin-top:auto 沉到同一条底线上。
   .seg__item 只在首页用（全站 3 处引用都在 index.html），改动面就是这三张卡。 */
.seg__item{ display:flex; flex-direction:column; }
.seg__go{ margin-top:auto; padding-top:12px; }
.seg__go a{ color:var(--navy); text-decoration:none; border-bottom:1px solid var(--gold-070); }
.seg__go a:hover{ border-bottom-color:var(--navy); }
