.page-home {
  --home-gold-ink: #8A6512;
  --home-num-gap: clamp(12px, 2vw, 18px);
}

/* ============ 首屏 ============ */
.page-home .home-hero {
  position: relative;
  background:
    radial-gradient(120% 88% at 84% 6%, rgba(231, 178, 74, .16), transparent 58%),
    linear-gradient(158deg, #062A32 0%, #0E4450 62%, #0A3540 100%);
  color: var(--paper);
  padding: clamp(28px, 4vw, 52px) 0 clamp(48px, 7vw, 88px);
  overflow: hidden;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 14px, transparent 14px 28px);
  opacity: .5;
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
}

.page-home .home-hero__kicker {
  font-size: 11.5px;
  letter-spacing: .2em;
  color: var(--gold);
  margin: 0 0 16px;
}

.page-home .home-hero__titlerow {
  display: flex;
  align-items: flex-start;
  gap: clamp(10px, 1.6vw, 18px);
}

.page-home .home-hero__title {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(29px, 4.3vw, 50px);
  line-height: 1.16;
  letter-spacing: .01em;
  color: var(--paper);
  margin: 0 0 16px;
}

.page-home .home-hero__note {
  flex: 0 0 auto;
  color: rgba(231, 178, 74, .78);
  margin-top: 6px;
}

.page-home .home-hero__lead {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.85;
  color: rgba(247, 242, 231, .78);
  margin: 0 0 clamp(24px, 3vw, 34px);
  max-width: 48ch;
}

/* 四类索引 */
.page-home .home-index {
  border-top: 1px solid var(--light-line);
}

.page-home .home-index__title {
  font-size: 12.5px;
  letter-spacing: .1em;
  color: rgba(247, 242, 231, .6);
  margin: 0;
  padding: 14px 0 8px;
}

.page-home .home-index__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 var(--home-num-gap);
  align-items: baseline;
  padding: 13px 10px 14px 8px;
  margin-left: -8px;
  border-bottom: 1px solid var(--light-line);
  text-decoration: none;
  color: inherit;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}

.page-home .home-index__item:hover,
.page-home .home-index__item:focus-visible {
  background: rgba(231, 178, 74, .1);
  box-shadow: inset 2px 0 0 var(--gold);
}

.page-home .home-index__num {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.6;
}

.page-home .home-index__name {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .02em;
  margin-bottom: 3px;
}

.page-home .home-index__desc {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(247, 242, 231, .64);
}

/* 反馈入口 */
.page-home .home-feedback {
  position: relative;
  margin-top: clamp(22px, 3vw, 30px);
  padding: 20px 18px 20px;
  background: rgba(247, 242, 231, .07);
  border: 1px solid rgba(231, 178, 74, .5);
  box-shadow: inset 0 0 0 1px rgba(231, 178, 74, .12), 0 16px 32px -26px rgba(0, 0, 0, .9);
}

.page-home .home-feedback__badge {
  position: absolute;
  top: -10px;
  left: 14px;
  font-size: 10px;
  letter-spacing: .18em;
  background: var(--coral);
  color: #fff;
  padding: 3px 9px;
}

.page-home .home-feedback__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  margin: 4px 0 8px;
  color: var(--paper);
}

.page-home .home-feedback__text {
  font-size: 13.5px;
  line-height: 1.78;
  color: rgba(247, 242, 231, .74);
  margin: 0 0 10px;
}

.page-home .home-feedback__fold {
  border-top: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
  margin: 0 0 14px;
}

.page-home .home-feedback__fold > summary {
  list-style: none;
  cursor: pointer;
  padding: 11px 0;
  font-size: 13px;
  color: var(--paper-gold);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.page-home .home-feedback__fold > summary::-webkit-details-marker {
  display: none;
}

.page-home .home-feedback__fold > summary::after {
  content: "＋";
  color: var(--gold);
}

.page-home .home-feedback__fold[open] > summary::after {
  content: "－";
}

.page-home .home-feedback__fold .fold__body ul {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(247, 242, 231, .72);
}

/* 首屏右栏 */
.page-home .home-hero__photo {
  margin: 0 0 clamp(16px, 2.2vw, 22px);
}

.page-home .home-hero__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-home .home-compare {
  position: relative;
  background: var(--card-paper);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: clamp(18px, 2.6vw, 26px);
  box-shadow: 8px 8px 0 0 rgba(231, 178, 74, .34), 0 28px 52px -36px rgba(0, 0, 0, .8);
}

.page-home .home-compare__eyebrow {
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--muted);
  margin: 0 0 7px;
}

.page-home .home-compare__title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.36;
  margin: 0 0 16px;
  color: var(--ink);
}

.page-home .home-compare__tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.page-home .home-compare .tab {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 8px 20px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.page-home .home-compare .tab.is-on {
  background: var(--ink-deep);
  color: var(--paper);
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(231, 178, 74, .45);
}

.page-home .home-compare .tab-panel {
  display: none;
}

.page-home .home-compare .tab-panel.is-on {
  display: block;
}

.page-home .home-compare__list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.page-home .home-compare__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink);
}

.page-home .home-compare__list li:last-child {
  border-bottom: 0;
}

.page-home .home-compare__list .mono {
  font-size: 12px;
  font-weight: 600;
  color: var(--home-gold-ink);
  padding-top: 3px;
}

.page-home .home-compare__foot {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.page-home .home-compare__foot a {
  color: var(--ink-deep);
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
  border-bottom: 2px solid var(--gold);
}

.page-home .home-hero__device {
  display: flex;
  justify-content: flex-end;
  margin: clamp(16px, 2.2vw, 22px) 0 0;
}

.page-home .home-hero__device img {
  display: block;
  width: min(100%, 250px);
  height: auto;
  border: 1px solid rgba(231, 178, 74, .34);
}

/* ============ 通用章节头 ============ */
.page-home .home-sec-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 16px;
  align-items: start;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-home .home-sec-head__num {
  grid-row: span 2;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1;
  padding-top: 6px;
  color: var(--brick);
}

.page-home .home-sec-head__title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(23px, 3.1vw, 36px);
  line-height: 1.26;
  letter-spacing: .01em;
  margin: 0;
  color: var(--ink);
}

.page-home .home-sec-head__lead {
  grid-column: 2;
  font-size: 15px;
  line-height: 1.82;
  color: var(--muted);
  margin: 0;
  max-width: 64ch;
}

.page-home .section--deep .home-sec-head__num {
  color: var(--gold);
}

.page-home .section--deep .home-sec-head__title {
  color: var(--paper);
}

.page-home .section--deep .home-sec-head__lead {
  color: rgba(247, 242, 231, .74);
}

/* ============ 两端落点卡片流 ============ */
.page-home .home-lanes__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(248px, 76vw);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px var(--pad) 22px;
  scrollbar-width: none;
}

.page-home .home-lanes__track::-webkit-scrollbar {
  display: none;
}

.page-home .home-lane {
  scroll-snap-align: start;
  padding: 20px 18px 22px;
  border: 1px solid var(--line-strong);
  background: var(--card-paper);
  box-shadow: 0 18px 34px -30px rgba(6, 42, 50, .7);
}

.page-home .home-lane__num {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--home-gold-ink);
  margin-bottom: 8px;
}

.page-home .home-lane .card__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 14px;
  color: var(--ink);
}

.page-home .home-lane__side {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ink);
  margin: 0;
  padding: 9px 0;
  border-top: 1px dashed var(--line);
}

.page-home .home-lanes__hint {
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--muted);
  margin: 0;
}

/* ============ 四类权益折叠 ============ */
.page-home .home-rights__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3.6vw, 46px);
}

.page-home .home-rights__photo {
  margin: clamp(20px, 3vw, 28px) 0 0;
  opacity: .45;
}

.page-home .home-rights__photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--light-line);
}

.page-home .home-fold {
  border: 1px solid var(--light-line);
  border-left: 3px solid transparent;
  background: rgba(247, 242, 231, .04);
  margin-bottom: 12px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}

.page-home .home-fold[open] {
  border-left-color: var(--gold);
  background: rgba(247, 242, 231, .07);
}

.page-home .home-fold > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  list-style: none;
  cursor: pointer;
  padding: 15px 18px;
  color: var(--paper);
}

.page-home .home-fold > summary::-webkit-details-marker {
  display: none;
}

.page-home .home-fold__num {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}

.page-home .home-fold__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(17px, 1.8vw, 20px);
  letter-spacing: .02em;
}

.page-home .home-fold__count {
  font-size: 11.5px;
  letter-spacing: .06em;
  color: rgba(247, 242, 231, .62);
  border: 1px solid var(--light-line);
  padding: 3px 9px;
  white-space: nowrap;
}

.page-home .home-fold .fold__body {
  padding: 0 18px 18px;
}

.page-home .home-fold__list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-home .home-fold__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(247, 242, 231, .82);
}

.page-home .home-fold__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 2px;
  background: var(--turquoise);
}

.page-home .home-fold__note {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(247, 242, 231, .62);
  margin: 0 0 16px;
  padding-left: 12px;
  border-left: 2px solid rgba(231, 178, 74, .5);
}

/* ============ 更新与资源 ============ */
.page-home .home-update__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.page-home .home-update__doc,
.page-home .home-update__res {
  background: var(--card-paper);
  border: 1px solid var(--line-strong);
  padding: clamp(18px, 2.6vw, 26px);
  box-shadow: 0 18px 34px -30px rgba(6, 42, 50, .7);
}

.page-home .home-update__h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.4;
  margin: 0 0 14px;
  color: var(--ink);
}

.page-home .home-update__stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0 0 14px;
  padding: 0 0 14px;
  border-bottom: 1px dashed var(--line);
}

.page-home .home-update__stats li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.page-home .home-update__stats .mono {
  font-family: var(--mono);
  font-size: 25px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

.page-home .home-update__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 18px;
}

.page-home .home-res-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .home-res-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 11px 6px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: background-color .18s var(--ease), padding-left .18s var(--ease);
}

.page-home .home-res-list a:hover,
.page-home .home-res-list a:focus-visible {
  background: var(--paper-gold);
  padding-left: 14px;
}

.page-home .home-res-list .mono {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

.page-home .home-update__photo {
  margin: 0;
}

.page-home .home-update__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}

/* ============ 为什么更短 ============ */
.page-home .home-why__list {
  list-style: none;
  margin: 0 0 clamp(28px, 4vw, 44px);
  padding: 0;
  display: grid;
  gap: clamp(14px, 2.2vw, 24px);
}

.page-home .home-why__list li {
  padding: 20px;
  background: rgba(247, 242, 231, .05);
  border-top: 2px solid var(--gold);
}

.page-home .home-why__list .mono {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}

.page-home .home-why__list h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--paper);
}

.page-home .home-why__list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(247, 242, 231, .72);
}

.page-home .home-why__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--light-line);
  border: 1px solid var(--light-line);
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-home .home-why__fact {
  background: var(--ink-deep);
  padding: 20px 18px;
}

.page-home .home-why__fact .mono {
  display: block;
  font-family: var(--mono);
  font-weight: 600;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.1;
  color: var(--gold);
}

.page-home .home-why__fact p {
  margin: 7px 0 0;
  font-size: 13px;
  color: rgba(247, 242, 231, .66);
}

.page-home .home-why__text {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(247, 242, 231, .76);
  margin: 0 0 12px;
  max-width: 68ch;
}

.page-home .home-why__text a {
  color: var(--paper-gold);
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
  border-bottom: 2px solid rgba(231, 178, 74, .55);
}

.page-home .home-why__legal {
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(247, 242, 231, .5);
  margin: 0;
}

.page-home .home-why__stamp {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--gold);
  border: 1.5px solid rgba(231, 178, 74, .8);
  border-radius: 50%;
  transform: rotate(-8deg);
  opacity: .85;
}

/* ============ 响应式 ============ */
@media (max-width: 620px) {
  .page-home .home-sec-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .page-home .home-sec-head__num {
    grid-row: auto;
    padding-top: 0;
  }

  .page-home .home-sec-head__lead {
    grid-column: 1;
  }

  .page-home .home-hero__note {
    display: none;
  }

  .page-home .home-fold > summary {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
  }

  .page-home .home-fold__count {
    grid-column: 2;
    justify-self: start;
  }
}

@media (min-width: 900px) {
  .page-home .home-lanes__track {
    grid-auto-columns: minmax(280px, 340px);
    padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2));
  }

  .page-home .home-rights__grid {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: start;
  }

  .page-home .home-why__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .home-update__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-areas:
      "doc res"
      "photo res";
    gap: 24px 32px;
    align-items: start;
  }

  .page-home .home-update__doc {
    grid-area: doc;
  }

  .page-home .home-update__res {
    grid-area: res;
  }

  .page-home .home-update__photo {
    grid-area: photo;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    align-items: start;
  }
}

@media (min-width: 760px) {
  .page-home .home-why__facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-index__item,
  .page-home .home-compare .tab,
  .page-home .home-res-list a,
  .page-home .home-fold {
    transition: none;
  }

  .page-home .home-why__stamp {
    transform: none;
  }
}
