.page-home {
  --home-card-bg: linear-gradient(180deg, rgba(232, 223, 204, 0.07), rgba(232, 223, 204, 0.02));
  --home-shadow: 10px 12px 0 rgba(5, 10, 20, 0.5);
  --home-shadow-hover: 12px 16px 0 rgba(5, 10, 20, 0.62);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  padding: 40px 0 96px;
}

.page-home .hero__top {
  display: grid;
  gap: 32px;
  align-items: end;
}

.page-home .hero__copy h1 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 8vw, 58px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--warm-white);
}

.page-home .hero__lead {
  margin: 20px 0 0;
  max-width: 34em;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--text-soft);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .hero__media {
  margin: 0;
  max-width: 480px;
}

.page-home .media-frame {
  display: block;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(232, 223, 204, 0.04);
}

.page-home .media-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .media-frame__caption {
  display: block;
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--text-mute);
  border-top: 1px solid var(--line-soft);
  background: rgba(10, 23, 48, 0.55);
}

.page-home .hero__media img {
  aspect-ratio: 3 / 2;
}

/* ---------- 首屏章节预览 ---------- */
.page-home .hero__preview {
  margin-top: 72px;
}

.page-home .preview-label {
  position: relative;
  margin: 0 0 24px;
  padding-top: 16px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  border-top: 1px solid var(--line-soft);
}

.page-home .chapter-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .chapter-list > li {
  display: flex;
}

.page-home .chapter-card {
  display: flex;
  flex: 1 1 auto;
  gap: 18px;
  width: 100%;
  padding: 22px 22px 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--home-card-bg);
  box-shadow: var(--home-shadow);
  color: var(--warm-white);
  text-decoration: none;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.page-home .chapter-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--home-shadow-hover);
}

.page-home .chapter-card:focus-visible {
  outline: 2px solid var(--gold-lit);
  outline-offset: 3px;
}

.page-home .chapter-card__num {
  flex: 0 0 auto;
  min-width: 46px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  padding-top: 4px;
  letter-spacing: 0.02em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.page-home .chapter-card__body {
  display: block;
  min-width: 0;
}

.page-home .chapter-card__cat {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--jade);
}

.page-home .chapter-card__title {
  display: block;
  margin: 8px 0 8px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
  color: var(--warm-white);
}

.page-home .chapter-card__desc {
  display: block;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-soft);
}

.page-home .chapter-card__go {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gold-lit);
  border-bottom: 1px solid var(--line-strong);
}

/* ---------- 通用章节 ---------- */
.page-home .section {
  padding: 72px 0;
}

.page-home .home-head {
  margin-bottom: 32px;
}

.page-home .home-head h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(25px, 5vw, 40px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--warm-white);
}

.page-home .home-head__note {
  margin: 14px 0 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
}

/* ---------- 通道对照速览 ---------- */
.page-home .glance__grid {
  display: grid;
  gap: 32px;
}

.page-home .lane-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .lane {
  padding: 20px 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .lane:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.page-home .lane__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
}

.page-home .lane__name {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--warm-white);
}

.page-home .lane__for {
  margin: 8px 0 0;
  max-width: 34em;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-soft);
}

.page-home .lane-hint {
  margin: 26px 0 0;
  padding: 16px 18px;
  border-left: 2px solid var(--gold);
  background: rgba(217, 169, 76, 0.06);
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-soft);
}

.page-home .glance__media img {
  aspect-ratio: 3 / 2;
}

/* ---------- 登录自检 ---------- */
.page-home .check {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .check__grid {
  display: grid;
  gap: 32px;
}

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

.page-home .check__media img {
  aspect-ratio: 4 / 3;
}

.page-home .check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .check-step {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(243, 237, 226, 0.14);
}

.page-home .check-step__num {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-size: 14px;
  color: var(--gold-lit);
  font-variant-numeric: tabular-nums;
}

.page-home .check-step__text {
  min-width: 0;
}

.page-home .check-step__case {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--warm-white);
}

.page-home .check-step__act {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-soft);
}

.page-home .check__body .btn {
  margin-top: 28px;
}

/* ---------- 版本摘要 ---------- */
.page-home .accordion__item h3 {
  margin: 0;
}

.page-home .accordion__trigger {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
  width: 100%;
  padding: 18px 4px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--warm-white);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms var(--ease);
}

.page-home .accordion__trigger:hover {
  background: rgba(217, 169, 76, 0.06);
}

.page-home .accordion__trigger:focus-visible {
  outline: 2px solid var(--gold-lit);
  outline-offset: 2px;
}

.page-home .upd__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.page-home .upd__time {
  justify-self: end;
  font-size: 12.5px;
  white-space: nowrap;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
}

.page-home .accordion__panel {
  padding: 14px 4px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .accordion__panel p {
  margin: 0;
  max-width: 44em;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-soft);
}

.page-home .updates__foot {
  margin: 32px 0 0;
}

/* ---------- 信任与服务信息条 ---------- */
.page-home .trust__media {
  margin: 0 0 40px;
}

.page-home .trust__media img {
  aspect-ratio: 16 / 5;
}

.page-home .trust__title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 900;
  line-height: 1.3;
  color: var(--warm-white);
}

.page-home .trust-band {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 32px 0 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.page-home .trust-band__num {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.page-home .trust-band__lbl {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.page-home .trust__note {
  margin: 34px 0 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-mute);
}

.page-home .trust__note a {
  color: var(--gold-lit);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.page-home .trust__note a:focus-visible {
  outline: 2px solid var(--gold-lit);
  outline-offset: 2px;
}

/* ---------- 桌面端 ---------- */
@media (min-width: 900px) {
  .page-home .hero {
    padding: 64px 0 120px;
  }

  .page-home .hero__top {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
  }

  .page-home .hero__media {
    justify-self: end;
    width: 100%;
  }

  .page-home .hero__preview {
    margin-top: 104px;
  }

  .page-home .chapter-list {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .chapter-list > li:nth-child(1) {
    grid-column: span 7;
  }

  .page-home .chapter-list > li:nth-child(2) {
    grid-column: span 5;
  }

  .page-home .chapter-list > li:nth-child(3) {
    grid-column: span 5;
  }

  .page-home .chapter-list > li:nth-child(4) {
    grid-column: span 7;
  }

  .page-home .chapter-list > li:nth-child(5) {
    grid-column: span 12;
  }

  .page-home .section {
    padding: 104px 0;
  }

  .page-home .glance__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .check__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
    align-items: center;
  }

  .page-home .trust-band {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }
}

/* ---------- 窄屏 ---------- */
@media (max-width: 719px) {
  .page-home .accordion__trigger {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 6px;
  }

  .page-home .upd__time {
    justify-self: start;
  }

  .page-home .chapter-card {
    gap: 14px;
    padding: 20px 18px 22px;
  }

  .page-home .chapter-card__num {
    min-width: 38px;
    font-size: 24px;
  }

  .page-home .trust__media img {
    aspect-ratio: 3 / 2;
  }
}
