/* P2-03 遗留组件待删（CSSOM 核查：当前首页 DOM 均无命中）：
   .hero-section / .hero-bg / .hero-inner / .hero-summary、.scenario-grid / .scenario-card、
   .pilot-section / .pilot-panel / .pilot-details、.process-list / .process-step、
   .contact-section / .contact-card / .contact-grid / .qr-panel、.site-footer、
   .materials-fold / .materials-fold-inline。
   本层仍有命中的全局文字、section、按钮及运行时浮层规则，不能整文件卸载。
   命中明细与反向探针见 .work/stage3-verification/audit-before.json；
   待后续独立清理时按组件移除，本轮只标记，避免删除共享/运行时选择器。 */
/* Homepage UX/UI refresh: customer-led copy, five blocks.
   配色（2026-11-15 收口）：一律继承 rockcent-tokens.css 的「深海蓝 + 品牌金」。
   本文件不再自带配色体系 —— 乐总已裁定此前的深紫为历史遗留错误。 */

html { background:var(--bg); }
body { background:var(--bg); color:var(--text); font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; }
body::before { display:none; }
.site-nav { background:var(--surface); border-bottom-color:var(--line); box-shadow:0 12px 30px rgba(0,0,0,.22); }
.nav-inner { width:min(1200px,calc(100% - 40px)); min-height:72px; }
.nav-links { color:var(--muted); gap:16px; }
.nav-links a:hover,.site-footer a:hover { color:var(--text); }
/* 2026-11-15 改造 v2：color:#fff → var(--on-accent)。白字在品牌金底上仅 2.67:1，
   低于 WCAG AA 4.5:1；深字约 6.2:1 达标。同时清掉上一批遗留的双分号 ;; */
.nav-cta { background:#8a6d3f; border-color:var(--accent); color:var(--on-accent); box-shadow:none; border-radius: var(--r-card); }
.icon-button { background:var(--surface); border-color:var(--line); border-radius: var(--r-card); }
.rc-brand-logo { display: block; width: 137px; height: auto; max-width: 100%; object-fit: contain; flex-shrink: 0; }
@media (max-width: 640px) { .rc-brand-logo { width: 112px; } }
.hero-section { min-height:680px; padding:136px 0 72px; background:var(--bg); }
.hero-section::before,.hero-section::after,.grid-lines { display:none; }
.hero-bg { background:var(--bg); }
.hero-bg::before { display:none; }
.hero-bg-overlay { background:radial-gradient(circle at 76% 28%,rgba(176,141,87,.16),transparent 30rem); }
.hero-inner { width:min(1200px,calc(100% - 40px)); min-height:500px; grid-template-columns:minmax(0,1.15fr) minmax(300px,.7fr); gap:72px; }
.eyebrow { margin-bottom:18px; padding:0; border:0; background:transparent; color:var(--accent-strong); font-size: var(--fs-caption); letter-spacing:.12em; }
h1,h2,h3,h4,strong,b { letter-spacing:0; }
h1 { max-width:700px; color:#fff; background:none; -webkit-text-fill-color:initial; font-size:clamp(2.25rem,5vw,3.5rem); line-height:1.12; text-shadow:none; }
h2 { color:#fff; font-size:clamp(2rem,4vw,3rem); line-height:1.18; text-shadow:none; }
.hero-lede,.section-heading p,.contact-card p { max-width:640px; color:var(--muted); font-size: var(--fs-body-sm); line-height:1.8; }
.hero-lede { margin-top:24px; color:var(--muted); }
.hero-actions { gap:12px; margin-top:30px; }
.btn-primary,.btn-secondary { min-height:44px; border-radius: var(--r-card); box-shadow:none; }
.btn-primary { border-color:#8a6d3f; background:#8a6d3f; color:var(--on-accent); }
/* 2026-11-15 改造 v2：hover 由变暗(#6e5730)改为变亮 —— Vercel 要求交互态对比度递增，
   深字按钮在变暗的底上对比度会下降。 */
.btn-primary:hover,.btn-primary:focus-visible { background:var(--accent-strong); border-color:var(--accent-strong); }
.btn-secondary { border-color:var(--line); background:transparent; color:var(--text); }
.btn-secondary:hover,.btn-secondary:focus-visible { border-color:var(--accent); background:var(--surface); }
.hero-actions .btn-secondary.btn-quiet { min-height:44px; padding:0 4px; border-color:transparent; background:transparent; color:var(--accent-strong); text-decoration:underline; text-decoration-color:rgba(201,162,106,.55); text-underline-offset:5px; }
.hero-note { margin-top:18px; color:var(--muted); font-size: var(--fs-label); }
.hero-summary,.pilot-panel,.contact-card,.qr-panel,.scenario-card,.process-step { border:1px solid var(--line); border-radius: var(--r-panel); background:var(--surface); box-shadow:none; }
.hero-summary { align-self:center; padding:28px; }
.hero-summary .summary-label { display:block; margin-bottom:28px; color:var(--accent); font-size: var(--fs-caption); letter-spacing:.1em; }
.hero-summary strong { display:block; color:#fff; font-size: var(--fs-h4); line-height:1.3; }
.hero-summary p { margin:16px 0 24px; color:var(--muted); line-height:1.8; }
.summary-link,.text-link,.secondary-links a { color:var(--accent-strong); text-decoration:underline; text-underline-offset:4px; }
.section-block,.contact-section,.site-footer { width:min(1200px,calc(100% - 40px)); }
.section-block,.contact-section { padding:88px 0; }
.section-heading { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.8fr); gap:32px; align-items:end; margin-bottom:40px; }
.section-heading .eyebrow { grid-column:1 / -1; margin-bottom:-18px; }
.section-heading p { justify-self:end; }
.scenario-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.scenario-card { min-height:260px; padding:24px; }
.scenario-card .card-index { display:block; margin-bottom:54px; color:var(--accent); font-size: var(--fs-caption); letter-spacing:.12em; }
.scenario-card h3 { margin-bottom:12px; color:#fff; font-size: var(--fs-h8); }
.scenario-card p { color:var(--muted); line-height:1.8; }
.section-note { margin-top:20px; color:var(--muted); font-size: var(--fs-label); line-height:1.7; }
.pilot-section { padding-top:40px; }
.pilot-panel { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,.55fr); gap:40px; padding:36px; }
.pilot-panel .section-heading { display:block; margin:0; }
.pilot-panel .section-heading p { margin-top:20px; }
.pilot-details { align-self:center; padding-left:32px; border-left:1px solid var(--line); }
.pilot-details strong { display:block; margin-bottom:18px; color:#fff; font-size: var(--fs-4xl); }
.pilot-details p { margin-bottom:18px; color:var(--muted); font-size: var(--fs-xs); line-height:1.8; }
.process-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:0; padding:0; list-style:none; }
.process-step { display:flex; gap:20px; min-height:160px; padding:24px; }
.process-step > span { color:var(--accent); font-size: var(--fs-caption); letter-spacing:.1em; }
.process-step h3 { margin-bottom:12px; color:#fff; font-size: var(--fs-lead); }
.process-step p { color:var(--muted); line-height:1.75; }
.secondary-links { display:flex; flex-wrap:wrap; gap:24px; margin-top:24px; font-size: var(--fs-xs); }
.contact-section { display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,.45fr); gap:16px; padding-top:48px; padding-bottom:96px; }
.contact-card,.qr-panel { padding:32px; }
.contact-card h2 { margin-bottom:16px; }
.contact-cta { margin-top:24px; }
.contact-disclaimer { margin-top:14px; color:var(--muted) !important; font-size: var(--fs-label) !important; }
.contact-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 24px; margin-top:32px; padding-top:24px; border-top:1px solid var(--line); }
.contact-grid div { display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.contact-grid span,.qr-panel span { color:var(--muted); font-size: var(--fs-label); }
.contact-grid b { color:var(--text); font-size: var(--fs-xs); font-weight:500; }
.qr-panel { display:flex; flex-direction:column; align-items:flex-start; gap:12px; }
.qr-panel img { width:148px; height:148px; object-fit:contain; border-radius: var(--r-card); background:#fff; }
.qr-panel strong { color:#fff; font-size: var(--fs-lead); }
.site-footer { border-top-color:var(--line); }
.site-footer p,.site-footer a { color:var(--muted); }
.site-footer h4 { color:var(--text); }
.skip-link { border-color:var(--accent); background:var(--surface); }
.skip-link:focus,.skip-link:focus-visible { outline-color:var(--accent-strong); }
body .rc-cta-container { opacity:0; visibility:hidden; transform:translateY(12px); pointer-events:none; transition:opacity 220ms ease,transform 220ms ease,visibility 220ms ease; }
body.ux-cta-visible .rc-cta-container:not(.rc-cta-hidden) { opacity:1; visibility:visible; transform:translateY(0); pointer-events:auto; }
/* These widgets are retained in the DOM for existing integrations/tests, but the homepage has one clear floating entry. */
body .rc-cta-container .rc-cta-secondary, body .share-toggle, body .share-panel { display:none !important; }
  body .rc-cta-container .rc-cta-primary { background:var(--accent) !important; border-radius: var(--r-card); }
/* 2026-11-20 品牌化：AI 客服入口改用小乐吉祥物头像（圆形），
   替换原先的「AI」文字方块。图片由 chat-widget.js 的 CONFIG.avatarUrl 提供。 */
body #lechen-chat-button { background:linear-gradient(135deg,#FDBA3B 0%,#F59E0B 100%) !important; border-color:#fff !important; border-radius:50% !important; }
body #lechen-chat-button img { display:block !important; }
body #lechen-chat-button::after { content:none !important; }
@media (max-width:640px) {
  .nav-inner,.hero-inner,.section-block,.contact-section,.site-footer { width:min(100% - 32px,1200px); }
  .hero-section { min-height:620px; padding:120px 0 56px; }
  .hero-inner { display:block; min-height:0; }
  .hero-summary { margin-top:40px; }
  .section-block,.contact-section { padding:56px 0; }
  .section-heading { display:block; margin-bottom:28px; }
  .section-heading .eyebrow { margin-bottom:16px; }
  .section-heading p { margin-top:18px; }
  .scenario-grid,.process-list,.contact-section,.pilot-panel { grid-template-columns:1fr; }
  .scenario-card { min-height:0; padding:20px; }
  .scenario-card .card-index { margin-bottom:30px; }
  .pilot-panel { gap:24px; padding:24px 20px; }
  .pilot-details { padding:24px 0 0; border-top:1px solid var(--line); border-left:0; }
  .contact-section { gap:12px; padding-bottom:72px; }
  .contact-card,.qr-panel { padding:24px 20px; }
  .contact-grid { grid-template-columns:1fr; }
  body .rc-cta-container { left:0; right:0; bottom:0; width:auto; flex-direction:row; padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px)); border-top:1px solid rgba(176,141,87,.30); background:rgba(10,10,15,.96); }
  /* The shared lead-capture stylesheet hides all CTA labels on narrow screens.
     Homepage UX uses this as the sole bottom entry, so keep its plain-language
     label visible and give the button a full-width target. */
  body .rc-cta-container .rc-cta-primary { flex:1 1 100%; width:100%; min-height:44px; }
  body .rc-cta-container .rc-cta-primary .rc-cta-text { display:inline !important; }
  body.ux-cta-visible #lechen-chat-button { opacity:0 !important; visibility:hidden !important; pointer-events:none !important; }
  body.ux-cta-visible #lechen-chat-button { bottom:calc(76px + env(safe-area-inset-bottom,0px)) !important; }
  body.ux-cta-visible .site-footer { padding-bottom:calc(76px + env(safe-area-inset-bottom,0px)); }
}


/* 材料区折叠：只露一行 summary，点击展开 3 条链接。复用现网 token。 */
.materials-fold { border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); }
.materials-fold > summary {
  cursor: pointer; padding: 16px 20px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--accent);
  list-style: none; user-select: none;
}
.materials-fold > summary::-webkit-details-marker { display: none; }
.materials-fold > summary::after {
  content: '+'; float: right; font-size: var(--fs-h8); line-height: 1; color: var(--muted);
}
.materials-fold[open] > summary::after { content: '\2212'; }
.materials-fold .materials-links {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  padding: 0 20px 18px;
}
.materials-fold .materials-links a {
  color: var(--text); text-decoration: none; font-size: var(--fs-sm);
  border-bottom: 1px solid var(--line); padding-bottom: 2px;
}
.materials-fold .materials-links a:hover { border-bottom-color: var(--accent); color: var(--accent); }

/* 正文内回指链接（报价区 → /offer/） */
.text-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion:reduce) { .reveal,.reveal.is-visible { transition:none !important; transform:none !important; } }

/* 试点区内的「材料」折叠入口
   2026-11-15 收口：本段曾保留一整套深紫值（var(--line) / #14141b / #817c90 / #d8b4fe），
   并在注释里自称「不引入生产 brass 金色」——这实际上是漏改，不是设计选择。
   乐总已裁定「紫色是历史遗留错误」，故此处一并归一到 token 体系。 */
.materials-fold-inline { margin-top:18px; border-color:var(--line); background:var(--surface); }
.materials-fold-inline > summary { color:var(--accent-strong); font-weight:500; }
.materials-fold-inline > summary::after { color:var(--muted-2); }
.materials-fold-inline > summary:hover { color:var(--accent); }
.materials-fold-inline .materials-links a { color:var(--muted); border-bottom-color:var(--line); }
.materials-fold-inline .materials-links a:hover { color:var(--accent-strong); border-bottom-color:var(--accent); }
