/* ==========================================================================
   site.css —— 2026-09-24 方案 A「一封长信」改版的全站组件
   --------------------------------------------------------------------------
   叠在 style.css + sixianghui.css 之上用（页面 body 都带 .sh，复用私享会页那套
   Eden 版式：sh-hero / sh-band / sh-sec / sh-h2 / sh-prose / sh-quote …）。
   这里只放私享会页没有的：产品行、章节进度条、抽屉 / 弹窗、关于我时间线、
   私享会收尾卡、板块页、产品详情页（.pd）。类名一律 st- 前缀。
   ========================================================================== */

/* ------------------------------------------------------------ 导航补丁 */
.sh .nav__links a.is-cur { color: var(--text-primary); }

/* 章节进度条：挂在导航下沿，四段，读到哪段亮哪段（只在首页四章之间出现） */
.st-prog {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  max-width: calc(var(--container-w) + var(--gutter) * 2); margin: 0 auto;
  padding: 0 var(--gutter) 8px;
  opacity: 0; height: 0; overflow: hidden; transition: opacity .3s;
}
.st-prog.is-on { opacity: 1; height: auto; }
.st-prog a { position: relative; display: block; padding-top: 7px; font-size: 11.5px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.st-prog a::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: rgba(255,248,240,.12); }
.st-prog a i { position: absolute; left: 0; top: 0; height: 2px; border-radius: 2px; background: var(--accent); width: var(--f, 0%); }
.st-prog a.is-cur { color: var(--text-primary); }

/* ------------------------------------------------------------ 章 */
.st-need { font-family: var(--font-display-cn); font-size: clamp(1.12rem, 2vw, 1.32rem); line-height: 1.6; color: var(--text-muted); margin: 4px 0 24px; }
.st-dc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0 0; }
.st-dc > div { padding: 14px 16px; border-radius: 14px; border: 1px dashed rgba(255,248,240,.16); }
.st-dc b { display: block; font: 500 15px var(--font-heading); color: var(--text-primary); margin-bottom: 4px; }
.st-dc span { font-size: 13.5px; line-height: 1.6; color: var(--text-muted); }
@media (max-width: 480px) { .st-dc { grid-template-columns: 1fr; } }

.st-items { display: grid; gap: 10px; margin: 26px 0 0; }
.st-item {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 16px; align-items: start;
  width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer;
  padding: 18px 20px; border-radius: 16px; background: #191612; border: 1px solid var(--border);
  transition: border-color .25s, background .25s, transform .25s;
}
.st-item:hover { border-color: rgba(255,248,240,.22); background: #1C1915; transform: translateY(-2px); }
.st-item:focus-visible { outline: 2px solid #FFF8F0; outline-offset: 3px; }
.st-item__n { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; border: 1px solid rgba(248,242,233,.3); background: rgba(248,242,233,.07); font: 500 12.5px var(--font-heading); color: var(--text-primary); }
.st-item__t { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 1.08rem; font-weight: 500; color: var(--text-primary); margin: 5px 0 6px; }
.st-item__d { font-size: 14.5px; line-height: 1.7; color: #BEB5A9; margin: 0; }
.st-item__p { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; padding-top: 6px; white-space: nowrap; }
.st-item__p b { font: 500 1.05rem var(--font-heading); color: var(--text-primary); }
.st-item__p small { font-size: 12px; color: var(--text-faint); }
@media (max-width: 560px) {
  .st-item { grid-template-columns: 1fr; gap: 6px; padding: 18px 16px; }
  .st-item__n { display: none; }
  .st-item__p { flex-direction: row; align-items: baseline; gap: 10px; padding-top: 4px; }
}
.st-tag { display: inline-flex; font-size: 11.5px; font-weight: 400; padding: 2px 8px; border-radius: 999px; color: var(--text-muted); border: 1px dashed rgba(255,248,240,.22); }
.st-fit { font-size: 14px; line-height: 1.75; color: var(--text-faint); margin: 22px 0 0; padding-top: 16px; border-top: 1px dashed rgba(255,248,240,.1); }
.st-more { display: inline-flex; margin-top: 22px; font-size: 14.5px; color: var(--text-muted); border-bottom: 1px solid rgba(255,248,240,.2); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.st-more:hover { color: var(--text-primary); border-color: #FFF8F0; }

/* ------------------------------------------------------------ 关于我：时间线（作者选的方案 3） */
.st-about { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; margin-top: 30px; }
@media (max-width: 900px) { .st-about { grid-template-columns: 1fr; gap: 26px; } }
.st-rail { position: relative; padding-left: 28px; }
.st-rail::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 1px; background: rgba(255,248,240,.14); }
.st-rail p { position: relative; font-size: var(--sh-body); line-height: 1.85; color: #D3CCC0; margin: 0 0 22px; }
.st-rail p:last-child { margin-bottom: 0; }
.st-rail p::before { content: ""; position: absolute; left: -27px; top: .62em; width: 11px; height: 11px; border-radius: 50%; border: 2px solid #F8F2E9; background: #0E0C0A; }
.st-about .wx-card { padding: 18px; border-radius: 16px; background: #191612; border: 1px solid var(--border-strong); margin: 0; }
@media (min-width: 901px) { .st-about__side { position: sticky; top: 90px; } }

/* ------------------------------------------------------------ 私享会收尾 */
.st-core { margin-top: 30px; padding: 26px; border-radius: 22px; background: #191612; border: 1px solid var(--border-strong); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.st-core__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.st-core__top b { font: 500 clamp(2rem, 5vw, 2.6rem) var(--font-heading); letter-spacing: -.03em; color: var(--text-primary); }
.st-core__top span { font-size: 13px; color: var(--text-faint); }
.st-core p { font-size: 15.5px; line-height: 1.8; color: #CFC7BB; margin: 0 0 18px; }
.st-bridge { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; margin-top: 12px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--border); background: #161310; cursor: pointer; width: 100%; text-align: left; color: inherit; font: inherit; transition: border-color .2s; }
.st-bridge:hover { border-color: rgba(255,248,240,.24); }
.st-bridge b { font-weight: 500; color: var(--text-primary); font-size: 1.05rem; }
.st-bridge span { font-size: 13.5px; line-height: 1.6; color: var(--text-muted); grid-column: 1; }
.st-bridge i { font-style: normal; font: 500 1.05rem var(--font-heading); color: var(--text-primary); grid-row: 1 / 3; grid-column: 2; }

/* ------------------------------------------------------------ 弹层：抽屉 / 加微信 / 看大图 */
.st-layer { position: fixed; inset: 0; z-index: 200; display: none; }
.st-layer.is-open { display: block; }
.st-layer__bg { position: absolute; inset: 0; background: rgba(0,0,0,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s ease; }
.st-layer.is-shown .st-layer__bg { opacity: 1; }
.st-layer__panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; max-height: 88dvh; overflow: auto;
  background: #171410; border-top: 1px solid var(--border-strong); border-radius: 22px 22px 0 0;
  padding: 10px 22px 34px; transform: translateY(100%);
  transition: transform .42s cubic-bezier(.22,.68,.35,1); -webkit-overflow-scrolling: touch;
}
.st-layer.is-shown .st-layer__panel { transform: none; }
.st-layer__handle { width: 40px; height: 4px; border-radius: 4px; background: rgba(255,248,240,.2); margin: 0 auto 18px; }
.st-layer__x { position: absolute; top: 14px; right: 16px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,248,240,.16); background: rgba(255,248,240,.06); color: #FFF8F0; display: grid; place-items: center; font-size: 15px; cursor: pointer; }
.st-layer__x:hover { background: rgba(255,248,240,.14); }
@media (min-width: 860px) {
  .st-sheet .st-layer__panel { left: auto; top: 0; width: 460px; max-height: none; border-radius: 0; border-top: 0; border-left: 1px solid var(--border-strong); padding: 30px 30px 40px; transform: translateX(100%); }
  .st-join .st-layer__panel { left: 50%; right: auto; bottom: auto; top: 50%; width: 460px; border-radius: 22px; border: 1px solid var(--border-strong); padding: 30px 28px; transform: translate(-50%, -46%) scale(.98); opacity: 0; transition: transform .3s cubic-bezier(.22,.68,.35,1), opacity .25s; }
  .st-join.is-shown .st-layer__panel { transform: translate(-50%, -50%); opacity: 1; }
  .st-layer__handle { display: none; }
}
.st-k { font-size: 12.5px; color: var(--text-faint); margin: 0; }
.st-h { font-family: var(--font-display-cn); font-weight: 400; font-size: 1.75rem; line-height: 1.25; color: var(--text-primary); margin: 4px 44px 10px 0; }
.st-lead { font-size: 16px; line-height: 1.75; color: #D3CCC0; margin: 0 0 20px; }
.st-opts { display: grid; gap: 8px; margin: 0 0 22px; }
.st-opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #1F1C17; border: 1px solid rgba(255,248,240,.12); color: var(--text-primary); font-size: 15px; transition: border-color .2s, background .2s; }
.st-opt:hover { border-color: rgba(255,248,240,.3); background: #24201C; }
.st-opt b { font: 500 1.1rem var(--font-heading); white-space: nowrap; }
.st-facts { margin: 0 0 24px; border-top: 1px solid var(--border); }
.st-facts > div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.st-facts dt { font-size: 12.5px; color: var(--text-faint); padding-top: 2px; }
.st-facts dd { margin: 0; font-size: 14.5px; line-height: 1.7; color: #D3CCC0; }
.st-layer .wx-card { padding: 16px; border-radius: 14px; background: #1D1A15; border: 1px solid var(--border); margin: 0; }

.st-lb { display: none; }
.st-lb.is-open { display: flex; align-items: center; justify-content: center; padding: 60px 14px 24px; }
.st-lb__fig { position: relative; margin: 0; max-width: min(620px, 100%); opacity: 0; transform: scale(.96); transition: opacity .3s, transform .32s cubic-bezier(.22,.68,.35,1); }
.st-lb.is-shown .st-lb__fig { opacity: 1; transform: none; }
.st-lb img { display: block; max-width: 100%; max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); border-radius: 12px; margin: 0 auto; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.st-lb figcaption { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 12px; }
html.st-lock, html.st-lock body { overflow: hidden; }

/* ------------------------------------------------------------ 首页 / 板块页补丁 */
.sh .sh-results .sh-shot--bill { cursor: zoom-in; }
.st-other { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
@media (max-width: 640px) { .st-other { grid-template-columns: 1fr; } }
.st-other a { display: block; padding: 18px; border-radius: 16px; background: #191612; border: 1px solid var(--border); transition: border-color .2s, transform .2s; }
.st-other a:hover { border-color: rgba(255,248,240,.24); transform: translateY(-2px); }
.st-other b { display: block; font-family: var(--font-display-cn); font-weight: 400; font-size: 1.3rem; color: var(--text-primary); margin-bottom: 6px; }
.st-other span { font-size: 13.5px; line-height: 1.6; color: var(--text-muted); }

/* ==========================================================================
   产品详情页（body.pd）—— 首屏给价格和购买入口，下面每块一屏，手机底部常驻购买栏
   内容还是 detail.js 渲染的那一套，这里只换皮 + 加首屏按钮和购买栏
   ========================================================================== */
.pd .breadcrumb { margin-bottom: 0; font-size: 12.5px; }
.pd .hero { padding: clamp(40px, 7vh, 80px) 0 clamp(2rem, 4vw, 3rem) !important; position: relative; }
.pd .hero::before { content: ""; position: absolute; inset: -80px 0 0 0; pointer-events: none; background: radial-gradient(60% 70% at 25% 0%, rgba(255,248,240,.045), transparent 65%); }
.pd .hero .narrative { position: relative; }
.pd .hero h1 { font-family: var(--font-display-cn) !important; font-weight: 400; font-size: clamp(2rem, 5vw, 3.2rem) !important; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 18px; text-wrap: balance; }
.pd .hero h1 .dim { color: var(--text-muted); }
.pd .hero .lede, .pd .st-pd-lead { font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.75; color: var(--text-muted); margin: 0 0 26px; max-width: 640px; }
.pd .hero .detail-price { display: none; }
.st-pd-eb { font: 12.5px var(--font-heading); letter-spacing: .02em; color: var(--text-faint); margin: 0 0 16px; }
.st-pd-eb a:hover { color: var(--text-primary); }
.st-pd-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.st-pd-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.st-pd-price b { font: 500 clamp(2rem, 5vw, 2.6rem) var(--font-heading); letter-spacing: -.035em; color: var(--text-primary); line-height: 1; }
.st-pd-price span { font-size: 13.5px; color: var(--text-faint); }
.st-pd-btns { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; margin-top: 6px; }
.st-pd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.st-pd-chips li { font-size: 13px; padding: 5px 12px; border-radius: 999px; color: var(--text-muted); background: rgba(255,248,240,.04); border: 1px solid rgba(255,248,240,.1); }
.st-pd-chips li b { color: var(--text-primary); font-weight: 500; margin-right: 6px; }

/* 下面各块：每块像私享会页的一屏，标题换东方大楷 */
.pd [data-slot=detail] .dt-block { padding: clamp(2.4rem, 5vw, 3.6rem) 0; border-top: 1px solid var(--border); }
.pd [data-slot=detail] .dt-block:first-child { border-top: 1px solid var(--border); padding-top: clamp(2.4rem, 5vw, 3.6rem); }
.pd .dt-h2 { font-family: var(--font-display-cn) !important; font-weight: 400 !important; font-size: clamp(1.5rem, 3vw, 2.1rem) !important; line-height: 1.25; color: var(--text-primary); margin: 0 0 18px !important; }
.pd .dt-block > .eyebrow { font-size: 12.5px; color: var(--text-faint); margin-bottom: 12px; }
.pd .dt-problem { font-size: var(--sh-body) !important; line-height: 1.85 !important; color: var(--text-body); }
.pd .dt-h3 { font-size: 1rem; color: var(--text-primary); }
.pd .dt-col { border-radius: 16px; background: #191612; border: 1px solid var(--border); padding: 20px; }
.pd .dt-col--yes { border-color: var(--border-strong); }
.pd .dt-deliver li, .pd .dt-case { border-radius: 14px; background: #191612; border: 1px solid var(--border); }
.pd .dt-toc li, .pd .dt-rhythm li, .pd .dt-steps li, .pd .dt-list li { font-size: 15.5px; line-height: 1.75; }
.pd .dt-meta { border-radius: 999px; }
.pd .dt-sample { cursor: zoom-in; }
.pd .dt-sample__box { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); transition: transform .4s cubic-bezier(.22,.68,.35,1); }
.pd .dt-sample:hover .dt-sample__box { transform: translateY(-2px); }
.pd .dt-faq__item > summary { font-size: 1.02rem; padding: 18px 0; }
.pd .dt-contact { border-radius: 22px; background: #191612; border: 1px solid var(--border-strong); padding: clamp(22px, 4vw, 32px) !important; margin: clamp(2.4rem, 5vw, 3.6rem) 0; }
.pd .dt-next { font-size: 15px; }
/* 没填的块整块不显示（原来会留一个写着「整理中」的空块）。
   detail.js 仍然会把「整理中」写进 DOM，只是看不见 —— 本地排查时查源码就能看到哪块缺内容 */
.pd .dt-block--empty { display: none !important; }
.pd .dt-lb { border-radius: 16px; }
.pd .dt-lb::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(8px); }

/* 手机底部购买栏：首屏的购买按钮滚出视口后才出现 */
.st-bar {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 18px;
  background: rgba(23,20,16,.86); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255,248,240,.14); box-shadow: 0 16px 40px rgba(0,0,0,.55);
  transform: translateY(140%); transition: transform .4s cubic-bezier(.22,.68,.35,1);
}
.st-bar.is-on { transform: none; }
.st-bar__t { min-width: 0; }
.st-bar__t span { display: block; font-size: 12px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-bar__t b { font: 500 1.2rem var(--font-heading); color: var(--text-primary); letter-spacing: -.02em; }
.st-bar .btn-pill { flex: none; }
@media (min-width: 861px) { .st-bar { left: auto; right: 24px; bottom: 24px; width: 380px; } }
.pd .footer { padding-bottom: 110px; }

/* 板块页首屏：第一行是板块名（大），第二行是作者那句说服段（长句），用 H2 的字号，
   否则「先跑通一条真实的收入路径，」十几个字塞不进 680 栏，只能从词中间折 */
body[data-cat] .sh-h1 > span:not(.dim) { font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.32; margin-top: 10px; }
