/* 页面布局：从上到下的轻量叙事，区块间距充足，不是每块都套大卡片。 */
@font-face {
  font-family: "Soulever Rounded Title";
  src: url("fonts/soulever-rounded-title.woff2?v=20261018-faq") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Soulever Rounded Title";
  src: url("fonts/soulever-rounded-body.woff2?v=20261018-faq") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

/* 顶部导航：居中、轻盈的奶油白圆角底板。左侧留品牌位，右侧留少量导航位与一个按钮。 */
.nav-shell { padding-top: 28px; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 24px;
  border-radius: 999px;
}

.nav-brand { width: 132px; height: 26px; }           /* 品牌位，留空 */
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--site-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-links > a:hover { color: var(--site-leaf-deep); }
.nav-links > a:focus-visible { outline: 2px solid var(--site-leaf-deep); outline-offset: 3px; border-radius: 6px; }

/* 首屏：左侧标题与按钮位，右侧主展示窗口。 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  padding-block: 96px var(--gap-block);
}

.hero-copy { display: grid; gap: 28px; }
.hero-titles { display: grid; gap: 14px; }
.hero-headline {
  margin: 0;
  color: var(--site-ink);
  font-size: clamp(30px, 4vw, 52px);
  font-family: "Soulever Rounded Title", "Yuanti SC", "PingFang SC", sans-serif;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .02em;
}
.hero-headline > span { display: block; white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

/* 主窗口与小原始照片卡的主次关系。 */
.hero-stage { position: relative; }
.hero-stage > .paper { padding: 20px; }
.hero-window { aspect-ratio: 16 / 10; }

.hero-thumb {
  position: absolute;
  left: -40px;
  bottom: -36px;
  width: 182px;
  padding: 12px;
  border-radius: var(--r-card);
}

.hero-thumb .media { aspect-ratio: 4 / 3; }

/* 区块通用 */
.section { padding-block: 0 var(--gap-block); scroll-margin-top: 24px; }
.section-title { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 600; line-height: 1.4; }
.section-head { display: grid; gap: 14px; max-width: 520px; margin-bottom: 40px; }

/* 原始照片与展示效果：前后错位放置，间距明确。 */
.compare {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.compare-before { padding: 16px; }
.compare-before .media { aspect-ratio: 3 / 4; }
.compare-after { margin-top: 56px; }
.compare-after .media { aspect-ratio: 16 / 10; }
.compare-caption { margin-top: 18px; display: grid; gap: 10px; }

/* 沉浸式陪伴展示：较大的纸白容器承载画面，周围装饰减少。 */
.stay { display: grid; gap: 32px; justify-items: center; }
.stay-window { width: 100%; aspect-ratio: 16 / 9; border-radius: 48px; }
.stay-foot { display: flex; align-items: center; gap: 20px; }
.stay-foot .ph-lines { flex: 1; max-width: 420px; }

/* 简短流程：三个步骤，轻量排列，无连接线。 */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.step { display: grid; gap: 18px; }
.step-figure {
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-card);
  background: var(--site-mint);
}
/* 创建说明与扩展卡片延续标题的圆体和暖棕色。 */
@font-face { font-family: "Soulever Guide"; src: url("fonts/soulever-guide-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Soulever Guide"; src: url("fonts/soulever-guide-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
#how, #extras { font-family: "Soulever Guide", "Yuanti SC", "PingFang SC", sans-serif; color: var(--site-ink); }
#how .section-title { font-weight: 700; }
.step { align-content: start; }
.step-head { display: flex; align-items: flex-start; gap: 10px; }
.step-number { display: inline-grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--site-mint); color: var(--site-leaf-deep); font-size: 14px; font-weight: 700; }
.step-head h3 { margin: 0; font-size: 21px; line-height: 1.5; font-weight: 700; }
.step-description { margin: 0; font-size: 16px; line-height: 1.85; font-weight: 500; }
.extension-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; column-gap: 32px; row-gap: 18px; padding: 32px; }
.extension-preview { grid-row: 1 / 3; align-self: center; min-width: 0; overflow: hidden; border-radius: 24px; background: var(--site-paper); border: 1px solid rgb(103 83 63 / .1); }
.extension-preview img { display: block; width: 100%; height: auto; }
.extension-copy { flex: 1; min-width: 0; }
.extension-label { font-size: 14px; font-weight: 500; }
.extension-copy h2 { margin: 4px 0 10px; font-size: 28px; line-height: 1.4; font-weight: 700; }
.extension-copy p { margin: 0; font-size: 16px; line-height: 1.8; font-weight: 500; }
.extension-copy .extension-note { margin-top: 8px; font-size: 13px; }
.extension-card > .btn { justify-self: start; gap: 8px; font-weight: 700; }
/* 使用真实端内截图，完整展示控件，避免裁掉操作内容。 */
.step-screen { aspect-ratio: 16 / 10; overflow: hidden; background: #f7f3df; border: 1px solid rgb(103 83 63 / .1); }
.step-screen img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.step:nth-child(3) .step-screen { background: var(--site-bg); }
@media(max-width:760px) {
  .extension-card { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px; }
  .extension-preview { grid-row: auto; }
  .extension-card > .btn { width: 100%; }
}

/* 收尾：留白较多，一段短文字与一个主按钮。 */
.closing { display: grid; gap: 30px; justify-items: center; text-align: center; padding-block: 76px; }
@font-face { font-family: "Soulever Closing"; src: url("fonts/soulever-closing-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
.closing-headline { margin: 0; max-width: 100%; color: var(--site-ink); font-family: "Soulever Closing", "Yuanti SC", "PingFang SC", sans-serif; font-weight: 700; font-size: clamp(24px, 3vw, 36px); line-height: 1.6; }
.closing-headline span { display: block; }
@media(max-width:760px) { .closing-headline { font-size: clamp(20px, 5.6vw, 26px); } }

/* FAQ 沿用圆体、暖棕色与奶油白圆角卡片。 */
#faq { font-family: "Soulever Rounded Title", "Yuanti SC", "PingFang SC", sans-serif; color: var(--site-ink); }
#faq .section-title { font-weight: 700; }
.faq { display: grid; gap: 14px; }
.faq-item { background: var(--site-paper); border-radius: 24px; border: 1px solid rgb(103 83 63 / .1); }
.faq-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 20px 26px; border-radius: 24px; font-size: clamp(18px, 2vw, 22px); font-weight: 700; line-height: 1.5; list-style: none; cursor: pointer; }
.faq-row::-webkit-details-marker { display: none; }
.faq-row:focus-visible { outline: 3px solid var(--site-leaf-deep); outline-offset: 3px; }
.faq-chevron { flex: 0 0 20px; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-body { padding: 0 26px 24px; font-size: 16px; font-weight: 500; line-height: 1.9; }
.faq-body::before { content: ""; display: block; height: 1px; margin-bottom: 18px; background: rgb(103 83 63 / .18); }
.faq-body p { margin: 0; max-width: 58em; }
@media(max-width:600px) { .faq-row { padding: 18px 20px; } .faq-body { padding: 0 20px 20px; } }

/* 层 2：底部自然景物剪影，静止，与内容保持距离。 */
.layer-skyline {
  height: 130px;
  margin-top: 64px;
  background: url("assets/skyline.svg") repeat-x bottom center;
  background-size: 1440px 130px;
}

/* ---------- 移动端 390px ---------- */
@media (max-width: 760px) {
  :root {
    --r-shell: 40px;
    --r-card: 22px;
    --gap-block: 72px;
    --pad-shell: 24px;
  }

  .wrap { padding-inline: 22px; }
  .paper--shell { border-radius: 44px 40px 42px 38px / 38px 42px 40px 44px; }

  .nav-shell { padding-top: 18px; }
  .nav { gap: 14px; padding: 10px 14px; }
  .nav-brand { width: 92px; height: 22px; }
  .nav-links { gap: 14px; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding-block: 36px var(--gap-block);
  }
  .hero-headline { font-size: clamp(30px, 8.2vw, 42px); }

  /* 手机也保留横向大画面与左下原照片的叠放关系。 */
  .hero-stage { padding-left: 6%; padding-bottom: 6%; }
  .hero-stage > .paper { padding: 3%; }
  .hero-window { aspect-ratio: 16 / 10; }
  .hero-window > video, .hero-window > img { object-fit: contain; }

  .hero-thumb {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30%;
    padding: 2%;
    margin: 0;
    border-radius: clamp(18px, 5vw, 32px);
  }

  .compare { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .compare-after { margin-top: 0; }
  .compare-before .media { aspect-ratio: 4 / 3; }

  .stay-window { aspect-ratio: 4 / 3; border-radius: 28px; }
  .stay-window > video { object-fit: contain; }
  .stay-foot { flex-direction: column; align-items: stretch; gap: 16px; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .step-figure { aspect-ratio: 16 / 9; }

  .closing { padding-block: 44px; }

  /* 背景纹样保持接近原来的物理尺寸，不随画板缩放。 */
  .layer-pattern { background-size: 240px 128px; }
  /* 移动端减少景物数量，图形尺寸与呼吸感不变。 */
  .layer-skyline {
    margin-top: 40px;
    background-image: url("assets/skyline-mobile.svg");
    background-size: 390px 130px;
  }
}

/* Preserve the full body of the generated ragdoll in the existing frames. */
.media[data-ragdoll-generated]{background:#f8f3ea}
.media[data-ragdoll-generated]>video{object-fit:contain}
