.page-home {
  --home-gap: 16px;
  --home-pad: 20px;
  display: block;
}

/* ---------- 首屏 ---------- */
.page-home .hero-fold {
  position: relative;
  background: var(--c-butter);
  padding: 40px 0 56px;
  border-bottom: 1px solid var(--line);
}
.page-home .hero-fold__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.page-home .hero-fold__title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: .01em;
  color: var(--c-ink);
  margin: 0 0 18px;
  max-width: 20ch;
}
.page-home .hero-fold__lede {
  font-size: 15px;
  line-height: 1.88;
  color: var(--muted);
  margin: 0 0 30px;
  max-width: 34em;
}
.page-home .hero-fold__label {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--c-gold);
  margin: 0 0 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* 入口卡组 */
.page-home .quick-paths {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.page-home .path-card {
  display: block;
  position: relative;
  padding: 16px 16px 14px 50px;
  background: var(--c-white);
  border: 1px solid var(--line);
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  transition: border-color .28s var(--ease), transform .28s var(--ease), box-shadow .28s var(--ease);
}
.page-home .path-card:hover,
.page-home .path-card:focus-visible {
  border-color: var(--c-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.page-home .path-card__no {
  position: absolute;
  left: 16px;
  top: 17px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--c-gold);
  font-variant-numeric: tabular-nums;
}
.page-home .path-card__ttl {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-ink);
  margin-bottom: 4px;
}
.page-home .path-card__txt {
  display: block;
  font-size: 13px;
  line-height: 1.78;
  color: var(--muted);
}
.page-home .path-card__who {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--c-hemp);
  opacity: .9;
}

/* 首屏右栏视觉 */
.page-home .hero-fold__visual {
  position: relative;
}
.page-home .hero-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  background: var(--c-lapis);
}
.page-home .hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  opacity: .82;
}
.page-home .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 58, 107, .18) 0%, rgba(14, 26, 47, .68) 100%);
  pointer-events: none;
}
.page-home .hero-download {
  position: relative;
  margin: -56px 14px 0;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: var(--c-white);
  border: 1px solid var(--line-gold);
  border-radius: 2px;
  box-shadow: var(--shadow-soft);
}
.page-home .hero-download__asset {
  display: block;
  width: 100%;
  height: 76px;
  object-fit: cover;
  border-radius: 2px;
}
.page-home .hero-download__kicker {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--c-gold);
}
.page-home .hero-download__text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-ink);
}
.page-home .hero-download .btn {
  width: auto;
}

/* ---------- 工具收藏 ---------- */
.page-home .tools-fold {
  overflow: hidden;
}
.page-home .tools-fold__band {
  position: relative;
  height: 96px;
  overflow: hidden;
  margin-bottom: -48px;
}
.page-home .tools-fold__band img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .24;
}
.page-home .tools-fold__band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(235, 226, 210, 0) 0%, var(--c-stone) 100%);
  pointer-events: none;
}
.page-home .tools-fold .section__head {
  position: relative;
}

.page-home .tool-grid {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.page-home .tool-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: var(--home-pad);
  background: var(--c-white);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color .28s var(--ease), transform .28s var(--ease);
}
.page-home .tool-cell:hover {
  border-color: var(--c-gold);
  transform: translateY(-2px);
}
.page-home .tool-cell__no {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--c-gold);
  font-variant-numeric: tabular-nums;
}
.page-home .tool-cell__ttl {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--c-ink);
}
.page-home .tool-cell__txt {
  margin: 0;
  font-size: 14px;
  line-height: 1.82;
  color: var(--muted);
}

/* ---------- 家庭资料库 ---------- */
.page-home .library-fold {
  background: var(--c-butter);
}
.page-home .library-fold__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.page-home .library-fold__aside .lede {
  margin: 14px 0 22px;
  font-size: 15px;
  line-height: 1.88;
  color: var(--muted);
}
.page-home .library-figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 30px 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.page-home .library-figure {
  background: var(--c-butter);
  padding: 14px 10px;
}
.page-home .library-figure dt {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-hemp);
  margin-bottom: 6px;
}
.page-home .library-figure dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  font-variant-numeric: tabular-nums;
}

.page-home .library-fold__caption {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--c-gold);
}
.page-home .cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.page-home .cat-item {
  background: var(--c-butter);
  padding: 14px 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-ink);
  transition: background .24s var(--ease), color .24s var(--ease);
}
.page-home .cat-item:hover {
  background: var(--c-stone);
  color: var(--c-red);
}

/* ---------- 权益流程 ---------- */
.page-home .rights-fold {
  background: var(--c-ink);
  color: var(--on-dark);
}
.page-home .rights-fold__head {
  border-bottom-color: rgba(192, 138, 46, .3);
}
.page-home .rights-fold .section-title {
  color: var(--c-butter);
}
.page-home .rights-fold .lede {
  color: var(--on-dark);
}
.page-home .rights-fold .section-index {
  color: var(--c-gold);
}
.page-home .rights-fold__head .tag {
  display: inline-block;
  margin-top: 4px;
}
.page-home .rights-fold__media {
  margin: 36px 0 0;
  border-color: rgba(192, 138, 46, .3);
}
.page-home .rights-fold__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-home .step-track {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}
.page-home .step-node {
  position: relative;
  padding: 0 0 30px 58px;
}
.page-home .step-node:last-child {
  padding-bottom: 0;
}
.page-home .step-node::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 40px;
  bottom: -2px;
  width: 1px;
  background: linear-gradient(180deg, var(--c-jade), rgba(46, 125, 110, .1));
}
.page-home .step-node:last-child::before {
  display: none;
}
.page-home .step-node__no {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--c-gold);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--c-gold);
  background: var(--c-ink);
}
.page-home .step-node__ttl {
  margin: 6px 0 8px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--c-butter);
}
.page-home .step-node__txt {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--on-dark);
  max-width: 46em;
}

/* ---------- 移动端 ---------- */
.page-home .mobile-fold {
  background: var(--c-stone);
}
.page-home .mobile-fold__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.page-home .mobile-fold__copy .lede {
  margin: 14px 0 22px;
  font-size: 15px;
  line-height: 1.88;
  color: var(--muted);
}
.page-home .dock-demo {
  display: flex;
  gap: 6px;
  padding: 10px;
  background: var(--c-night);
  border-radius: 3px;
  box-shadow: var(--shadow-soft);
  align-self: center;
}
.page-home .dock-demo__item {
  flex: 1;
  text-align: center;
  padding: 14px 6px;
  font-size: 13px;
  letter-spacing: .06em;
  color: rgba(247, 241, 228, .58);
  border-radius: 2px;
}
.page-home .dock-demo__item--on {
  color: var(--c-butter);
  background: rgba(46, 125, 110, .2);
}
.page-home .dock-demo__dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-jade);
  margin: 0 auto 6px;
}

/* ---------- 为什么 ---------- */
.page-home .why-fold {
  background: var(--c-butter);
}
.page-home .why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}
.page-home .why-item {
  background: var(--c-butter);
  padding: 24px 20px;
}
.page-home .why-item__ttl {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-ink);
}
.page-home .why-item__txt {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}
.page-home .why-figures {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 12px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-gold);
}
.page-home .why-fold__note {
  margin: 30px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 62ch;
}
.page-home .link-inline {
  color: var(--c-red);
  text-decoration: none;
  border-bottom: 1px solid rgba(140, 31, 40, .35);
  padding-bottom: 1px;
}
.page-home .link-inline:hover {
  border-bottom-color: var(--c-red);
}

/* ---------- 平板 ---------- */
@media (min-width: 600px) {
  .page-home .quick-paths {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .why-figures {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .hero-fold__title {
    font-size: 40px;
  }
  .page-home .hero-download {
    margin: -64px 24px 0;
    grid-template-columns: 92px 1fr;
    padding: 16px;
  }
  .page-home .hero-download__asset {
    height: 92px;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 1024px) {
  .page-home .hero-fold {
    padding: 64px 0 88px;
  }
  .page-home .hero-fold__grid {
    grid-template-columns: 4fr 7fr;
    gap: 56px;
    align-items: start;
  }
  .page-home .hero-fold__title {
    font-size: 46px;
    line-height: 1.28;
  }
  .page-home .hero-visual img {
    aspect-ratio: 6 / 7;
  }
  .page-home .tool-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .page-home .tool-cell--wide {
    grid-column: span 2;
  }
  .page-home .library-fold__grid {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
    align-items: start;
  }
  .page-home .cat-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .mobile-fold__grid {
    grid-template-columns: 7fr 5fr;
    gap: 56px;
    align-items: center;
  }
  .page-home .rights-fold__media {
    margin-top: 44px;
  }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .path-card,
  .page-home .tool-cell,
  .page-home .cat-item {
    transition: none;
  }
  .page-home .path-card:hover,
  .page-home .path-card:focus-visible,
  .page-home .tool-cell:hover {
    transform: none;
  }
}
</main>
