.page-home {
  display: block;
  background: var(--night);
}

/* ===================== 首屏 ===================== */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(120% 92% at 84% 4%, rgba(28, 78, 128, 0.55) 0%, transparent 58%),
    linear-gradient(180deg, var(--night) 0%, #061223 100%);
  padding: calc(var(--header-h) + 30px) 0 56px;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(74deg, rgba(159, 176, 194, 0.06) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(-106deg, rgba(159, 176, 194, 0.045) 0 1px, transparent 1px 148px),
    repeating-linear-gradient(18deg, rgba(217, 169, 74, 0.05) 0 1px, transparent 1px 224px);
}

.page-home .home-hero .breadcrumbs {
  margin-bottom: 22px;
}

.page-home .home-hero-inner {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home .home-hero-copy .eyebrow {
  color: var(--gold-soft);
}

.page-home .home-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 8.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  color: var(--paper);
  margin: 14px 0 20px;
  max-width: 16ch;
}

.page-home .home-hero-lead {
  max-width: 36ch;
  margin: 0 0 26px;
  font-size: 1.02rem;
  line-height: 1.82;
  color: var(--steel);
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.page-home .home-hero-meta {
  margin: 22px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(159, 176, 194, 0.78);
}

.page-home .home-hero-figure {
  margin: 0;
  border-color: var(--gold);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

.page-home .home-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04);
}

.page-home .home-hero-figure .media-caption {
  padding: 10px 4px 30px;
  color: var(--steel);
  font-size: 0.82rem;
}

/* --------- 首屏三块错位卡片 --------- */
.page-home .home-hero-cards {
  position: relative;
  margin-top: 44px;
  display: grid;
  gap: 16px;
}

.page-home .route-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 24px;
  background: linear-gradient(162deg, rgba(14, 42, 74, 0.96) 0%, rgba(7, 22, 43, 0.97) 100%);
  border: 2px solid rgba(159, 176, 194, 0.24);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-hard);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.page-home .route-card-num {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.page-home .route-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  line-height: 1.28;
  color: var(--paper);
}

.page-home .route-card-text {
  flex: 1;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--steel);
}

.page-home .route-card .btn {
  align-self: flex-start;
}

/* ===================== 费用区 ===================== */
.page-home .home-fees {
  padding: 62px 0 70px;
}

.page-home .home-fees-grid {
  display: grid;
  gap: 34px;
}

.page-home .home-fees .eyebrow {
  color: #8a6a1c;
}

.page-home .home-fees .section-lead {
  color: #414a58;
}

.page-home .fee-list {
  margin-top: 28px;
  border-top: 2px solid var(--ink);
}

.page-home .fee-item {
  border-bottom: 1px solid rgba(17, 22, 28, 0.18);
}

.page-home .fee-trigger {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 17px 4px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1.4;
}

.page-home .fee-trigger:hover .fee-name,
.page-home .fee-trigger:focus-visible .fee-name {
  color: #8a6a1c;
}

.page-home .fee-trigger .index-num {
  font-size: 0.76rem;
}

.page-home .fee-item .disclosure-panel {
  padding: 0 4px 20px 44px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #3c4450;
}

.page-home .fee-item .disclosure-panel p {
  margin: 0;
}

.page-home .fee-note {
  margin: 22px 0 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #59606c;
}

.page-home .home-fee-figure {
  margin: 0 0 18px;
}

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

.page-home .home-fees .callout {
  background: rgba(255, 138, 31, 0.08);
}

.page-home .home-fees .callout p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--ink);
}

/* ===================== 常用入口 ===================== */
.page-home .home-entries {
  padding: 66px 0;
}

.page-home .home-entries-grid {
  display: grid;
  gap: 34px;
}

.page-home .home-entries-figure {
  margin: 0;
}

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

.page-home .home-entries-figure .media-caption {
  color: var(--steel);
  font-size: 0.82rem;
}

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

.page-home .entry-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 6px;
  border-bottom: 1px solid var(--line);
  transition: background-color 200ms ease, padding-left 200ms ease;
}

.page-home .entry-row:hover,
.page-home .entry-row:focus-within {
  background: rgba(217, 169, 74, 0.09);
  padding-left: 14px;
}

.page-home .entry-num {
  display: grid;
  place-items: center;
  align-self: start;
  width: 36px;
  height: 36px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-size: 0.74rem;
  color: var(--gold-soft);
  transform: rotate(-6deg);
}

.page-home .entry-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.page-home .entry-link:hover,
.page-home .entry-link:focus-visible {
  color: var(--gold-soft);
  border-bottom-color: var(--gold-soft);
}

.page-home .entry-note {
  margin: 7px 0 0;
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--steel);
}

/* ===================== 客户端版本 ===================== */
.page-home .home-version {
  padding: 66px 0;
}

.page-home .version-head {
  display: grid;
  gap: 28px;
}

.page-home .home-version .section-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
}

.page-home .version-badge {
  display: inline-block;
  padding: 3px 14px 6px;
  border: 2px solid var(--gold);
  background: rgba(217, 169, 74, 0.1);
  color: var(--gold-soft);
  font-size: clamp(1.5rem, 5vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: 0.05em;
}

.page-home .version-shot {
  margin: 0;
}

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

.page-home .version-shot .media-caption {
  color: var(--steel);
  font-size: 0.82rem;
}

.page-home .version-grid {
  margin-top: 34px;
  display: grid;
  gap: 16px;
}

.page-home .platform-card {
  padding: 22px 22px 24px;
  background: rgba(14, 42, 74, 0.72);
  border: 2px solid rgba(159, 176, 194, 0.2);
  border-left: 5px solid var(--jewel);
  box-shadow: 6px 6px 0 rgba(4, 12, 24, 0.5);
}

.page-home .platform-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
}

.page-home .platform-ver {
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
}

.page-home .platform-lead {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--steel);
}

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

.page-home .platform-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.93rem;
  line-height: 1.72;
  color: rgba(237, 232, 222, 0.86);
}

.page-home .platform-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

.page-home .version-stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin: 30px 0 0;
  padding: 18px 20px;
  border: 2px dashed rgba(159, 176, 194, 0.34);
}

.page-home .version-stat .stat-value {
  font-size: 1.7rem;
  color: var(--gold-soft);
}

.page-home .version-stat .stat-label {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--steel);
}

.page-home .version-actions {
  margin-top: 26px;
}

/* ===================== 更新节奏 ===================== */
.page-home .home-updates {
  padding: 64px 0;
}

.page-home .update-head {
  display: grid;
  gap: 22px;
}

.page-home .home-updates .eyebrow {
  color: var(--gold-soft);
}

.page-home .home-updates .section-lead {
  color: rgba(237, 232, 222, 0.82);
}

.page-home .update-cadence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.78rem;
}

.page-home .update-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid rgba(237, 232, 222, 0.24);
}

.page-home .update-row {
  display: grid;
  gap: 6px 18px;
  padding: 16px 6px;
  border-bottom: 1px solid rgba(237, 232, 222, 0.18);
  transition: background-color 200ms ease;
}

.page-home .update-row:hover,
.page-home .update-row:focus-visible {
  background: rgba(7, 22, 43, 0.3);
  outline: none;
}

.page-home .update-day {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
}

.page-home .update-title {
  font-size: 1rem;
  line-height: 1.62;
  color: var(--paper);
}

.page-home .update-row .tag {
  justify-self: start;
}

.page-home .update-next {
  grid-column: 1 / -1;
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(159, 176, 194, 0.6);
  opacity: 0.62;
  transition: opacity 200ms ease, color 200ms ease;
}

.page-home .update-row:hover .update-next,
.page-home .update-row:focus-visible .update-next {
  opacity: 1;
  color: var(--gold-soft);
}

.page-home .update-actions {
  margin-top: 28px;
}

/* ===================== 下一步 ===================== */
.page-home .home-next {
  padding: 64px 0 86px;
  background:
    radial-gradient(100% 80% at 8% 0%, rgba(28, 78, 128, 0.4) 0%, transparent 60%),
    var(--royal);
}

.page-home .next-grid {
  margin-top: 30px;
  display: grid;
  gap: 16px;
}

.page-home .next-path {
  padding: 24px 22px 26px;
  background: rgba(7, 22, 43, 0.6);
  border: 2px solid var(--line);
  transition: border-color 220ms ease, transform 220ms ease;
}

.page-home .next-path:hover {
  border-color: var(--gold-soft);
  transform: translateY(-4px);
}

.page-home .next-path h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--paper);
}

.page-home .next-path p {
  margin: 0 0 18px;
  font-size: 0.94rem;
  line-height: 1.78;
  color: var(--steel);
}

.page-home .next-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.page-home .next-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--steel);
}

.page-home .next-note a {
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 200, 105, 0.5);
}

.page-home .next-note a:hover,
.page-home .next-note a:focus-visible {
  border-bottom-color: var(--gold-soft);
}

/* ===================== 断点 ===================== */
@media (min-width: 780px) {
  .page-home .home-hero-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 60px;
    padding-bottom: 76px;
  }

  .page-home .home-hero-cards::before {
    content: "";
    position: absolute;
    left: 1%;
    right: 14%;
    top: -20px;
    height: 2px;
    transform: rotate(-1.6deg);
    background: repeating-linear-gradient(90deg, rgba(217, 169, 74, 0.5) 0 14px, transparent 14px 28px);
    pointer-events: none;
  }

  .page-home .route-card {
    transform: translateY(var(--off, 0px));
  }

  .page-home .route-card:nth-child(1) { --off: 0px; }
  .page-home .route-card:nth-child(2) { --off: 34px; }
  .page-home .route-card:nth-child(3) { --off: 68px; }

  .page-home .route-card:hover,
  .page-home .route-card:focus-within {
    transform: translateY(calc(var(--off, 0px) - 6px));
    border-color: var(--gold-soft);
    box-shadow: 12px 14px 0 rgba(4, 12, 24, 0.62);
  }

  .page-home .version-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .page-home .next-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero {
    padding: calc(var(--header-h) + 44px) 0 64px;
  }

  .page-home .home-hero-inner {
    grid-template-columns: minmax(0, 1.26fr) minmax(0, 0.96fr);
    gap: 48px;
  }

  .page-home .home-fees-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 52px;
    align-items: start;
  }

  .page-home .home-entries-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 52px;
    align-items: start;
  }

  .page-home .home-entries-figure {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .page-home .version-head {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 44px;
    align-items: end;
  }

  .page-home .update-head {
    grid-template-columns: minmax(0, 1.3fr) auto;
    align-items: end;
    gap: 40px;
  }

  .page-home .update-row {
    grid-template-columns: 92px minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 6px 20px;
  }
}

@media (min-width: 1120px) {
  .page-home .home-hero h1 {
    font-size: 4.7rem;
  }

  .page-home .home-fee-figure img {
    aspect-ratio: 4 / 5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .route-card,
  .page-home .entry-row,
  .page-home .update-row,
  .page-home .update-next,
  .page-home .next-path,
  .page-home .entry-link {
    transition: none;
  }

  .page-home .home-hero-cards::before {
    display: none;
  }
}
</main>
