/* ============================================================
   馨月纪官网首页 · 按角色导览
   视觉沿用 DESIGN.md：冷调中性底、纯白面板、墨色主按钮；玫瑰粉只用于选中态、事实节点与链接；
   标题用自托管的 Noto Serif SC 粗体子集（保证 Windows / 安卓上也是同一款衬线），正文用系统无衬线。
   全部类名以 lp- 开头，避免与 base.css 里三端应用的组件类冲突。
   ============================================================ */

@font-face {
  font-family: 'Xinyue Serif';
  src: url('/assets/fonts/noto-serif-sc-bold-landing.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.lp {
  --lp-ink: #242529;
  --lp-ink-2: #4A4B51;
  --lp-ink-3: #66676D;
  --lp-line: #E2E3E6;
  --lp-line-soft: #ECEDEF;
  --lp-bg: #F6F6F7;
  --lp-paper: #FFFFFF;
  --lp-brand: #E85A78;
  --lp-brand-deep: #C43D62;
  --lp-sage: #1E8A72;
  --lp-night: #1E1F23;
  --lp-on-night: #F3F2F0;
  --lp-on-night-2: #B9BAC1;
  --lp-device: #1E1F23;
  --lp-serif: 'Xinyue Serif', 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'STSong', serif;
  --lp-sans: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --lp-ease: cubic-bezier(.2, .7, .2, 1);
  --lp-shadow-panel: 0 1px 2px rgba(22, 24, 34, .05), 0 12px 32px rgba(22, 24, 34, .08);
  --lp-shadow-float: 0 2px 6px rgba(22, 24, 34, .06), 0 20px 48px rgba(22, 24, 34, .15);
  --lp-shadow-device: 0 4px 12px rgba(22, 24, 34, .08), 0 32px 72px rgba(22, 24, 34, .18);
  --lp-gutter: clamp(20px, 4.4vw, 64px);
  --lp-wrap: 1312px;
  --lp-band-y: clamp(72px, 9vw, 128px);
  min-height: 100vh;
  background: var(--lp-bg);
  color: var(--lp-ink);
  font-family: var(--lp-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
}

/* 低优先级重置：只覆盖 base.css 的元素级默认值，任何 lp- 类都能再覆盖 */
:where(.lp) a { color: inherit; text-decoration: none; }
:where(.lp) img { max-width: 100%; }
:where(.lp) a:focus-visible { outline: 2px solid var(--lp-brand); outline-offset: 3px; border-radius: 8px; }
.lp ::selection { background: #F9D5DF; color: var(--lp-ink); }
.lp [id] { scroll-margin-top: 84px; }

.lp-ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lp-wrap { width: min(var(--lp-wrap), 100% - 2 * var(--lp-gutter)); margin-inline: auto; }

/* 中文标题只在标点、空格与 <wbr> 处换行，避免把「宝宝」「上线」拆到两行；
   正文用 pretty 断行，末行不会只剩一两个字 */
.lp :is(h1, h2, h3, summary, dt, th, .lp-role-name, .lp-note-title) { word-break: keep-all; overflow-wrap: break-word; }
.lp :is(p, li, dd, td, figcaption) { text-wrap: pretty; }
.lp :is(.lp-lede, .lp-note-text, .lp-qa-a p, .lp-checks li span, .lp-specs dd, .lp-moment p, .lp-step p) { text-wrap: balance; }
.lp-nw { white-space: nowrap; }

.lp-skip {
  position: absolute; left: 16px; top: -64px; z-index: 60;
  padding: 10px 16px; border-radius: 10px; background: var(--lp-ink); color: #fff;
  font-size: 14px; font-weight: 600; transition: top .2s var(--lp-ease);
}
.lp-skip:focus { top: 12px; }

/* ---------- 导航 ---------- */
.lp-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--lp-line-soft); }
.lp-nav-in { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); min-height: 68px; }
.lp-brand { display: flex; align-items: center; gap: 12px; flex: none; }
.lp-brand img { display: block; width: 40px; height: 40px; border-radius: 11px; }
.lp-brand-name { display: block; font-family: var(--lp-serif); font-weight: 700; font-size: 19px; line-height: 1.15; letter-spacing: .04em; }
.lp-brand-sub { display: block; margin-top: 4px; font-size: 11px; line-height: 1; letter-spacing: .2em; color: var(--lp-ink-3); }
.lp-nav-links { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); font-size: 15px; color: var(--lp-ink-2); }
.lp-nav-links a { padding: 8px 0; transition: color .18s var(--lp-ease); }
.lp-nav-links a:hover { color: var(--lp-brand-deep); }
.lp-nav-acts { margin-left: auto; display: flex; align-items: center; gap: 10px; position: relative; }
.lp-menu { display: none; }
.lp-menu summary {
  display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px;
  border: 1px solid #D2D3D7; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--lp-ink);
  list-style: none; cursor: pointer;
}
.lp-menu summary::-webkit-details-marker { display: none; }
.lp-menu summary .lp-ic { width: 16px; height: 16px; color: var(--lp-ink-3); transition: transform .2s var(--lp-ease); }
.lp-menu[open] summary .lp-ic { transform: rotate(180deg); }
.lp-menu nav {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 5; display: grid; min-width: 176px; padding: 8px;
  background: var(--lp-paper); border: 1px solid var(--lp-line); border-radius: 14px; box-shadow: var(--lp-shadow-float);
}
.lp-menu nav a { padding: 10px 12px; border-radius: 9px; font-size: 15px; color: var(--lp-ink); }
.lp-menu nav a:hover { background: var(--lp-bg); }

/* ---------- 按钮 ---------- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 10px;
  font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  transition: background-color .18s var(--lp-ease), border-color .18s var(--lp-ease), color .18s var(--lp-ease);
}
.lp-btn .lp-ic { width: 17px; height: 17px; flex: none; }
.lp-btn-pri { background: var(--lp-ink); color: #fff; }
.lp-btn-pri:hover { background: #3A3B40; }
.lp-btn-sec { background: var(--lp-paper); border-color: #D2D3D7; color: var(--lp-ink); }
.lp-btn-sec:hover { border-color: var(--lp-ink); }
.lp-btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* ---------- 首屏 ---------- */
.lp-hero { padding-block: clamp(40px, 5vw, 72px) clamp(64px, 7vw, 104px); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: clamp(40px, 5.5vw, 84px); align-items: start; }
.lp-hero h1 { margin: 0; font-family: var(--lp-serif); font-weight: 700; font-size: clamp(42px, 4.4vw, 64px); line-height: 1.14; letter-spacing: .02em; }
.lp-lede { margin-top: 20px; font-size: 17px; line-height: 1.85; color: var(--lp-ink-2); max-width: 34em; }
.lp-lede b { color: var(--lp-ink); font-weight: 600; }
.lp-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* 角色切换：桌面为纵向列表，选中项是一张白色浮起的卡片 */
.lp-roles { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--lp-line); }
.lp-roles li { border-bottom: 1px solid var(--lp-line); }
.lp-role {
  position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr) 20px; align-items: center; gap: 16px;
  margin: 6px -12px; padding: 12px; border-radius: 14px;
  transition: background-color .2s var(--lp-ease), box-shadow .2s var(--lp-ease);
}
.lp-role img { display: block; width: 60px; height: 60px; object-fit: contain; }
.lp-role-name { display: block; font-family: var(--lp-serif); font-weight: 700; font-size: 20px; line-height: 1.35; transition: color .2s var(--lp-ease); }
.lp-role-desc { display: block; margin-top: 2px; font-size: 15px; line-height: 1.6; color: var(--lp-ink-2); }
.lp-role-go { width: 20px; height: 20px; color: var(--lp-brand-deep); opacity: 0; transform: translateX(-4px); transition: opacity .2s var(--lp-ease), transform .2s var(--lp-ease); }
.lp-role:hover { background: rgba(255, 255, 255, .7); }
.lp-role.is-active { background: var(--lp-paper); box-shadow: var(--lp-shadow-float); }
.lp-role.is-active .lp-role-name { color: var(--lp-brand-deep); }
.lp-role.is-active .lp-role-go { opacity: 1; transform: none; }

/* 舞台：三个面板叠在同一个网格单元里，高度取最高者，切换时页面不跳动 */
.lp-stage { display: grid; }
.lp-panel {
  grid-area: 1 / 1; min-width: 0;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .36s var(--lp-ease), transform .36s var(--lp-ease), visibility 0s linear .36s;
}
.lp-panel.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lp-scene { position: relative; aspect-ratio: 4 / 3; }

.lp-browser {
  position: absolute; top: 0; right: 0; width: 94%; overflow: hidden;
  background: var(--lp-paper); border: 1px solid var(--lp-line); border-radius: 14px; box-shadow: var(--lp-shadow-device);
}
.lp-browser-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-bottom: 1px solid var(--lp-line-soft); font-size: 12.5px; color: var(--lp-ink-3); }
.lp-browser-bar i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #DCDDE0; }
.lp-browser-bar span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-browser img { display: block; width: 100%; height: auto; }

.lp-tablet, .lp-phone { position: absolute; top: 0; height: 100%; background: var(--lp-device); box-shadow: var(--lp-shadow-device); }
.lp-tablet { left: 4%; aspect-ratio: 864 / 1228; padding: 12px; border-radius: 30px; }
.lp-phone { left: 14%; aspect-ratio: 620 / 1318; padding: 10px; border-radius: 40px; }
.lp-tablet img, .lp-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.lp-tablet img { border-radius: 19px; }
.lp-phone img { border-radius: 31px; }

.lp-float { position: absolute; overflow: hidden; background: var(--lp-paper); border-radius: 14px; box-shadow: var(--lp-shadow-float); }
.lp-float img { display: block; width: 100%; height: auto; }
/* 首屏 director 舞台：机构浏览器与家属手机同屏，浅玫瑰连线标出同一条记录的两端 */
.lp-scene--dual .lp-browser { width: 78%; left: 0; right: auto; }
.lp-stage-phone {
  position: absolute; right: 0; bottom: 0; width: 23%; padding: 7px;
  border-radius: 30px; background: var(--lp-device); box-shadow: var(--lp-shadow-device);
}
.lp-stage-phone img { display: block; width: 100%; height: auto; border-radius: 23px; }
.lp-stage-flow {
  position: absolute; left: 0; right: 23%; bottom: 3%;
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
}
.lp-stage-tag {
  padding: 6px 11px; border: 1px solid var(--lp-line); border-radius: 10px;
  background: var(--lp-paper); font-size: 13px; font-weight: 600; line-height: 1.4;
  color: var(--lp-brand-deep); white-space: nowrap;
}
.lp-stage-line { width: 52px; height: 2px; background: #EDB3C1; }
/* 浮层避开主屏上正在操作的位置：护理端压在平板右下的空白处，家属端压在照片卡上，不挡统计数字 */
.lp-panel--nurse .lp-float { right: 0; bottom: 4%; width: 54%; }
.lp-panel--family .lp-float { right: 0; top: 44%; width: 58%; }

.lp-note { margin-top: 24px; max-width: 34em; }
.lp-note-title { font-family: var(--lp-serif); font-weight: 700; font-size: 19px; line-height: 1.45; }
.lp-note-text { margin-top: 4px; font-size: 15px; line-height: 1.75; color: var(--lp-ink-2); }
.lp-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--lp-brand-deep); }
.lp-more .lp-ic { width: 16px; height: 16px; transition: transform .2s var(--lp-ease); }
.lp-more:hover .lp-ic { transform: translateY(2px); }
.lp-stage-cap { display: flex; align-items: center; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--lp-line); font-size: 13px; color: var(--lp-ink-3); }
.lp-stage-cap .lp-ic { flex: none; width: 16px; height: 16px; }

/* ---------- 通用章节 ---------- */
/* --lp-band-bg 让时间轴节点的描边缝隙始终与所在章节的底色一致 */
.lp-band { --lp-band-bg: var(--lp-bg); --lp-surface: var(--lp-paper); padding-block: var(--lp-band-y); }
.lp-band--paper { --lp-band-bg: var(--lp-paper); --lp-surface: var(--lp-bg); background: var(--lp-paper); }
.lp-band--night { background: var(--lp-night); color: var(--lp-on-night); }
.lp-h2 { margin: 0; font-family: var(--lp-serif); font-weight: 700; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.3; letter-spacing: .01em; text-wrap: balance; }
.lp-head { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 28px; align-items: center; max-width: 940px; margin-bottom: clamp(48px, 6vw, 88px); }
.lp-head > img { width: 112px; height: 112px; object-fit: contain; }
.lp-head .lp-lede { margin-top: 12px; }

.lp-shot { margin: 0; }
.lp-shot img { display: block; width: 100%; height: auto; background: var(--lp-paper); border: 1px solid var(--lp-line); border-radius: 14px; box-shadow: var(--lp-shadow-panel); }
.lp-shot figcaption { margin-top: 12px; font-size: 13px; color: var(--lp-ink-3); }
.lp-shot--narrow { max-width: 460px; }
/* 机构端弹窗圆角 24px，裁切半径取 26px，不让截图四角露出遮罩的深色 */
.lp-shot--dialog img { border: 0; border-radius: 26px; box-shadow: var(--lp-shadow-float); }

/* 一天的时间轴：实心节点 = 已发生的事实，与家属端时间轴同一语言 */
.lp-day { --lp-day-gap: clamp(56px, 7vw, 104px); list-style: none; margin: 0; padding: 0; display: grid; gap: var(--lp-day-gap); }
.lp-moment { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.lp-moment:not(:last-child)::before { content: ''; position: absolute; left: 7px; top: 26px; bottom: calc(-1 * var(--lp-day-gap) + 4px); width: 2px; background: var(--lp-line); }
.lp-moment-text { position: relative; padding-left: 40px; }
.lp-moment-text::before { content: ''; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--lp-ink); box-shadow: 0 0 0 4px var(--lp-band-bg), 0 0 0 6px var(--lp-brand); }
.lp-moment h3 { margin: 0; font-family: var(--lp-serif); font-weight: 700; font-size: 22px; line-height: 1.5; }
.lp-slot { display: inline-block; margin-right: 10px; font-family: var(--lp-sans); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--lp-brand-deep); vertical-align: 2px; }
.lp-moment p { margin-top: 10px; font-size: 16px; line-height: 1.85; color: var(--lp-ink-2); max-width: 30em; }

/* 护理师：三步，三块平板屏 */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.lp-step-device { padding: 10px; border-radius: 26px; background: var(--lp-device); box-shadow: var(--lp-shadow-device); }
.lp-step-device img { display: block; width: 100%; height: auto; border-radius: 17px; }
.lp-step h3 { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; font-family: var(--lp-serif); font-weight: 700; font-size: 21px; line-height: 1.4; }
.lp-step-no {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  border: 1.5px solid currentColor; border-radius: 50%; color: var(--lp-ink);
  font-family: var(--lp-sans); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.lp-step p { margin-top: 8px; font-size: 15.5px; line-height: 1.8; color: var(--lp-ink-2); }
.lp-aside { display: flex; align-items: flex-start; gap: 14px; max-width: 54em; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--lp-line); font-size: 15.5px; line-height: 1.8; color: var(--lp-ink-2); }
.lp-aside .lp-ic { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--lp-ink-2); }
.lp-aside b { color: var(--lp-ink); font-weight: 600; }

/* 家属：三部手机，中间一部略抬高 */
.lp-family { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.lp-family-ip { display: block; width: 120px; height: 120px; margin-top: 28px; object-fit: contain; }
.lp-phones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.lp-phones li:nth-child(2) { transform: translateY(-36px); }
.lp-phones figure { margin: 0; }
.lp-phone-sm { padding: 8px; border-radius: 34px; background: var(--lp-device); box-shadow: var(--lp-shadow-device); }
.lp-phone-sm img { display: block; width: 100%; height: auto; border-radius: 27px; }
.lp-phones figcaption { margin-top: 18px; font-size: 14.5px; line-height: 1.75; color: var(--lp-ink-2); }
.lp-phones figcaption b { display: block; margin-bottom: 2px; font-family: var(--lp-serif); font-weight: 700; font-size: 19px; color: var(--lp-ink); }

/* 一条记录：横向时间轴，节点与上面一致 */
.lp-intro { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.lp-loop-wrap { position: relative; }
.lp-walker { position: absolute; left: 70%; top: -92px; width: 96px; height: 96px; object-fit: contain; }
.lp-loop { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.lp-loop::before { content: ''; position: absolute; left: 8px; right: 0; top: 7px; height: 2px; background: #EDB3C1; }
.lp-loop li { position: relative; padding-top: 38px; }
.lp-loop li::before { content: ''; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--lp-ink); box-shadow: 0 0 0 4px var(--lp-band-bg), 0 0 0 6px var(--lp-brand); }
.lp-loop-who { display: block; font-size: 15px; line-height: 1.5; }
.lp-loop-who .lp-slot { margin-right: 8px; vertical-align: 0; }
.lp-loop-who b { font-weight: 600; }
.lp-loop p { margin-top: 6px; font-size: 15.5px; line-height: 1.75; color: var(--lp-ink-2); }

/* 安全与合规：深色章 */
.lp-band--night .lp-h2 { color: #fff; }
.lp-band--night .lp-lede { color: var(--lp-on-night-2); }
.lp-trust { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
.lp-rules { list-style: none; margin: 36px 0 0; padding: 0; }
.lp-rules li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.lp-rules .lp-ic { width: 24px; height: 24px; margin-top: 3px; color: var(--lp-on-night-2); }
.lp-rules h3 { margin: 0; font-family: var(--lp-serif); font-weight: 700; font-size: 19px; line-height: 1.5; color: #fff; }
.lp-rules p { margin-top: 4px; font-size: 15px; line-height: 1.8; color: var(--lp-on-night-2); }
.lp-trust-foot { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 15px; line-height: 1.8; color: var(--lp-on-night); }
.lp-band--night .lp-shot img { border-color: rgba(255, 255, 255, .08); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.lp-band--night .lp-shot figcaption { color: var(--lp-on-night-2); }

/* 投资人：已做到 / 上线前要完成 */
.lp-invest { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
.lp-invest h3 { margin: 40px 0 0; font-family: var(--lp-serif); font-weight: 700; font-size: 21px; line-height: 1.4; }
.lp-invest h3:first-child { margin-top: 0; }
.lp-checks { list-style: none; margin: 14px 0 0; padding: 0; }
.lp-checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--lp-line); font-size: 15.5px; line-height: 1.8; color: var(--lp-ink-2); }
.lp-checks li b { color: var(--lp-ink); font-weight: 600; }
.lp-checks .lp-ic { width: 20px; height: 20px; margin-top: 4px; }
.lp-checks--done .lp-ic { color: var(--lp-sage); }
.lp-checks--todo .lp-ic { color: var(--lp-ink-3); }
.lp-invest-side { position: sticky; top: 100px; }

/* 体验与联系 */
.lp-try { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.lp-entries { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--lp-line); }
.lp-entries a { display: grid; grid-template-columns: minmax(0, 1fr) 20px; align-items: center; gap: 2px 16px; padding: 16px 4px; border-bottom: 1px solid var(--lp-line); transition: background-color .18s var(--lp-ease); }
.lp-entries a:hover { background: var(--lp-surface); }
.lp-entries b { font-family: var(--lp-serif); font-weight: 700; font-size: 19px; line-height: 1.4; }
.lp-entries code { margin-left: 10px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13px; color: var(--lp-ink-3); }
.lp-entries span { grid-column: 1; font-size: 14.5px; line-height: 1.6; color: var(--lp-ink-3); }
.lp-entries .lp-ic { grid-row: 1 / span 2; grid-column: 2; width: 20px; height: 20px; color: var(--lp-ink-3); transition: transform .2s var(--lp-ease), color .2s var(--lp-ease); }
.lp-entries a:hover .lp-ic { transform: translate(2px, -2px); color: var(--lp-brand-deep); }
.lp-mail { margin-top: 14px; font-size: 14.5px; color: var(--lp-ink-3); }
.lp-mail a { color: var(--lp-brand-deep); text-decoration: underline; text-decoration-color: rgba(196, 61, 98, .35); text-underline-offset: 4px; }
.lp-mail a:hover { text-decoration-color: currentColor; }
.lp-art { margin: 0; overflow: hidden; border-radius: 20px; }
.lp-art img { display: block; width: 100%; height: auto; }

/* 五件事对照表：右列换一层底色（随章节反色），一眼分清常见做法与馨月纪里的做法 */
.lp-cmp { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 16px; line-height: 1.8; }
.lp-cmp th, .lp-cmp td { padding: 20px 24px; text-align: left; vertical-align: top; border-top: 1px solid var(--lp-line); }
.lp-cmp thead th { padding-block: 14px; border-top: 0; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--lp-ink-3); }
.lp-cmp th:first-child, .lp-cmp td:first-child { padding-left: 0; }
.lp-cmp tbody th { font-family: var(--lp-serif); font-weight: 700; font-size: 18px; line-height: 1.6; color: var(--lp-ink); }
.lp-cmp thead th:first-child { width: 24%; }
.lp-cmp thead th:last-child { width: 40%; }
.lp-cmp td { color: var(--lp-ink-3); }
.lp-cmp :is(th, td):last-child { background: var(--lp-surface); color: var(--lp-ink); }
.lp-cmp thead th:last-child { border-radius: 14px 14px 0 0; color: var(--lp-brand-deep); }
.lp-cmp tbody td:last-child { border-top-color: var(--lp-line-soft); }
.lp-cmp tbody tr:last-child td:last-child { border-radius: 0 0 14px 14px; }

/* 模块清单的入场：标题与说明分列在一条墨线下，与其它章节的「月亮 + 标题」区分开 */
.lp-index-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: baseline; padding-top: 22px; border-top: 2px solid var(--lp-ink); margin-bottom: clamp(40px, 5vw, 64px); }
.lp-index-head .lp-lede { margin-top: 0; max-width: 38em; }

/* 三端模块清单：每端一栏，顶上一道墨线；模块名与各端导航一致 */
.lp-mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.6vw, 56px); }
.lp-mod { padding-top: 22px; border-top: 2px solid var(--lp-ink); }
.lp-mod h3 { margin: 0; font-family: var(--lp-serif); font-weight: 700; font-size: 22px; line-height: 1.4; }
.lp-mod header p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--lp-ink-3); }
.lp-mod code { margin-right: 10px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13px; color: var(--lp-ink-2); }
.lp-mod dl { margin: 18px 0 0; }
.lp-mod dl > div { padding: 14px 0; border-top: 1px solid var(--lp-line); }
.lp-mod dt { font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--lp-ink); }
.lp-mod dd { margin: 4px 0 0; font-size: 15px; line-height: 1.75; color: var(--lp-ink-2); }

/* 开通四步：左边步骤，右边三张实拍错位叠放（首登引导 → 建档第一步 → 家属邀请码） */
.lp-start { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
.lp-start-steps { list-style: none; margin: 0; padding: 0; }
.lp-start-steps li { padding: 22px 0; border-top: 1px solid var(--lp-line); }
.lp-start-steps li:first-child { padding-top: 0; border-top: 0; }
.lp-start-steps h3 { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--lp-serif); font-weight: 700; font-size: 20px; line-height: 1.45; }
.lp-start-steps p { margin-top: 8px; padding-left: 40px; font-size: 15.5px; line-height: 1.8; color: var(--lp-ink-2); }
.lp-start-shots { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin: 0; }
.lp-start-shots picture { display: contents; }
.lp-start-shot { display: block; width: 100%; height: auto; background: var(--lp-paper); border: 1px solid var(--lp-line); border-radius: 14px; box-shadow: var(--lp-shadow-panel); }
.lp-start-shot--welcome { grid-column: 3 / -1; grid-row: 1; }
.lp-start-shot--form { grid-column: 1 / span 10; grid-row: 2; margin-top: 20px; }
.lp-start-shot--invite { position: relative; grid-column: 5 / -1; grid-row: 3; margin-top: 20px; box-shadow: var(--lp-shadow-float); }
.lp-start-shots figcaption { grid-column: 1 / -1; grid-row: 4; margin-top: 14px; font-size: 13px; color: var(--lp-ink-3); }

/* 投资人：生产架构四行规格 */
.lp-specs { margin: 14px 0 0; }
.lp-specs > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--lp-line); font-size: 15.5px; line-height: 1.8; }
.lp-specs dt { font-weight: 600; color: var(--lp-ink); }
.lp-specs dd { margin: 0; color: var(--lp-ink-2); }

/* 常见问题：左侧标题吸顶，右侧原生 details，键盘可直接展开 */
.lp-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
.lp-faq-side { position: sticky; top: 100px; }
.lp-faq-side .lp-lede a { color: var(--lp-brand-deep); text-decoration: underline; text-decoration-color: rgba(196, 61, 98, .35); text-underline-offset: 4px; }
.lp-faq-side .lp-lede a:hover { text-decoration-color: currentColor; }
.lp-faq-list { border-top: 1px solid var(--lp-line); }
.lp-qa { border-bottom: 1px solid var(--lp-line); }
.lp-qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0;
  list-style: none; cursor: pointer; font-family: var(--lp-serif); font-weight: 700; font-size: 19px; line-height: 1.5;
  transition: color .18s var(--lp-ease);
}
.lp-qa summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .lp-qa summary:hover { color: var(--lp-brand-deep); } }
.lp-qa summary:focus-visible { outline: 2px solid var(--lp-brand); outline-offset: 4px; border-radius: 6px; }
.lp-qa summary .lp-ic { flex: none; width: 20px; height: 20px; color: var(--lp-ink-3); transition: transform .25s var(--lp-ease), color .25s var(--lp-ease); }
.lp-qa[open] summary .lp-ic { transform: rotate(45deg); color: var(--lp-brand-deep); }
.lp-qa-a { padding: 0 44px 24px 0; }
.lp-qa-a p { font-size: 16px; line-height: 1.85; color: var(--lp-ink-2); max-width: 42em; }
@keyframes lp-qa-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .lp-qa[open] .lp-qa-a { animation: lp-qa-in .28s var(--lp-ease); }
}

/* ---------- 页脚 ---------- */
.lp-foot { padding-block: 44px 52px; border-top: 1px solid var(--lp-line); font-size: 14px; line-height: 1.9; color: var(--lp-ink-3); }
.lp-foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 32px; align-items: start; }
.lp-foot .lp-brand { margin-bottom: 10px; color: var(--lp-ink); }
.lp-foot-t { color: var(--lp-ink); font-weight: 600; }
.lp-foot ul { list-style: none; margin: 0; padding: 0; }
.lp-foot a:hover { color: var(--lp-brand-deep); }
.lp-foot-ip { display: block; width: 88px; height: 88px; object-fit: contain; }

/* ---------- 入场：首屏一次编排，之后不再给每节加同样的动画 ---------- */
@keyframes lp-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .lp-hero-text > * { animation: lp-rise .4s var(--lp-ease) both; }
  .lp-hero-text > :nth-child(2) { animation-delay: .06s; }
  .lp-hero-text > :nth-child(3) { animation-delay: .12s; }
  .lp-hero-text > :nth-child(n + 4) { animation-delay: .18s; }
  .lp-stage-wrap { animation: lp-rise .4s var(--lp-ease) .14s both; }
}
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .lp-nav-links { display: none; }
  .lp-menu { display: block; }
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-hero-text { max-width: 680px; }
  .lp-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 32px; border-top: 0; }
  .lp-roles li { display: flex; border-bottom: 0; }
  .lp-role { flex: 1; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; gap: 6px; margin: 0; padding: 14px 10px; border: 1px solid var(--lp-line); background: rgba(255, 255, 255, .55); text-align: center; }
  .lp-role.is-active { border-color: transparent; }
  .lp-role-go { display: none; }
  /* 单栏时不再给未选中的面板预留高度 */
  .js .lp-panel:not(.is-active) { display: none; }
  .lp-invest-side { position: static; }
}

@media (max-width: 900px) {
  .lp-head { grid-template-columns: 84px minmax(0, 1fr); gap: 20px; }
  .lp-head > img { width: 84px; height: 84px; }
  .lp-moment { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .lp-moment .lp-shot { margin-left: 40px; }
  .lp-family, .lp-trust, .lp-invest, .lp-try, .lp-start, .lp-faq { grid-template-columns: minmax(0, 1fr); }
  .lp-family-ip { display: none; }
  .lp-faq-side { position: static; }
  .lp-mods { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lp-index-head { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lp-index-head .lp-lede { margin-top: 0; }
  .lp-mod dl > div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 16px; }
  .lp-mod dd { margin: 0; }

  /* 平板屏与手机屏改为横向滑动，页面本身不出现横向滚动 */
  .lp-steps, .lp-phones {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(76%, 340px);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--lp-gutter)); padding: 4px var(--lp-gutter) 20px; scroll-padding-inline: var(--lp-gutter);
  }
  .lp-steps > li, .lp-phones > li { scroll-snap-align: start; }
  .lp-phones li:nth-child(2) { transform: none; }

  .lp-walker { display: none; }
  .lp-loop { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .lp-loop::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .lp-loop li { padding: 0 0 0 40px; }
  .lp-loop li::before { top: 4px; }

  .lp-foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lp-foot-ip { display: none; }
}

@media (max-width: 640px) {
  .lp { font-size: 15.5px; }
  .lp-nav-in { min-height: 60px; }
  .lp-nav-acts .lp-btn-sec { display: none; }
  .lp-hero h1 { font-size: clamp(36px, 10.5vw, 44px); }
  .lp-lede { font-size: 16px; }
  .lp-acts .lp-btn { flex: 1 1 auto; }
  .lp-role { padding: 12px 6px; }
  .lp-role img { width: 48px; height: 48px; }
  .lp-role-name { font-size: 15px; }
  .lp-role-desc { display: none; }

  /* 小屏把设备与浮层改为顺排，浮层压住设备下沿 */
  .lp-scene { aspect-ratio: auto; }
  .lp-browser, .lp-tablet, .lp-phone, .lp-float { position: relative; top: auto; right: auto; bottom: auto; left: auto; }
  .lp-browser { width: 100%; }
  .lp-tablet { width: 78%; height: auto; margin-inline: auto; }
  .lp-phone { width: 64%; height: auto; margin-inline: auto; }
  .lp-panel--director .lp-float, .lp-panel--nurse .lp-float, .lp-panel--family .lp-float { width: 90%; margin: -36px 0 0 auto; }

  .lp-head { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; }
  .lp-head > img { width: 64px; height: 64px; }
  .lp-moment-text { padding-left: 34px; }
  .lp-moment .lp-shot { margin-left: 34px; }
  .lp-moment h3 { font-size: 20px; }
  .lp-foot-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }

  .lp-mod dl > div { display: block; }
  .lp-mod dd { margin-top: 4px; }
  .lp-specs > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .lp-start-steps p { padding-left: 0; }
  .lp-qa summary { font-size: 17px; padding-block: 18px; }
  .lp-qa-a { padding-right: 0; }

  /* 双端舞台在小屏顺排：手机压住浏览器下沿，时间戳条回到文档流 */
  .lp-scene--dual .lp-browser { width: 100%; }
  .lp-stage-phone { position: relative; right: auto; bottom: auto; width: 52%; margin: -36px 0 0 auto; }
  .lp-stage-flow { position: relative; left: auto; right: auto; bottom: auto; justify-content: flex-start; margin-top: 16px; flex-wrap: wrap; }
  .lp-stage-line { width: 36px; }
  /* 手机上的截图：整幅单列，不再错位叠压 */
  .lp-start-shots { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .lp-start-shot, .lp-start-shot--welcome, .lp-start-shot--form, .lp-start-shot--invite { grid-column: 1; grid-row: auto; margin: 0; box-shadow: var(--lp-shadow-panel); }
  .lp-start-shots figcaption { grid-column: 1; grid-row: auto; margin-top: 4px; }
}

/* 对照表在窄屏改为逐条卡片：表头视觉隐藏但保留给读屏，单元格前补上列名 */
@media (max-width: 760px) {
  .lp-cmp, .lp-cmp tbody, .lp-cmp tr, .lp-cmp th, .lp-cmp td { display: block; }
  .lp-cmp :is(th, td), .lp-cmp :is(th, td):last-child, .lp-cmp thead th:first-child, .lp-cmp thead th:last-child { width: auto; }
  .lp-cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .lp-cmp tbody tr { padding: 18px 0 20px; border-top: 1px solid var(--lp-line); }
  .lp-cmp th, .lp-cmp td { padding: 0; border-top: 0; }
  .lp-cmp tbody th { margin-bottom: 10px; }
  .lp-cmp td { font-size: 15.5px; }
  .lp-cmp td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 13px; font-weight: 600; color: var(--lp-ink-3); }
  .lp-cmp td + td { margin-top: 10px; }
  .lp-cmp td:last-child, .lp-cmp tbody tr:last-child td:last-child { padding: 12px 14px; border-radius: 12px; }
  .lp-cmp td:last-child::before { color: var(--lp-brand-deep); }
}
