.page-home h1,
.page-home h2 {
  font-family: var(--font-sans);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.page-home .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  background: var(--sea-deep);
  color: var(--sand);
  padding-bottom: 88px;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 56px;
  background: var(--sand);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}

.page-home .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
}

.page-home .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(14, 42, 71, 0.3) 0%, rgba(14, 42, 71, 0.88) 62%, rgba(14, 42, 71, 0.98) 100%);
}

.page-home .hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  padding-top: 40px;
}

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

.page-home h1 {
  margin: 14px 0 0;
  font-size: clamp(34px, 8.4vw, 76px);
  line-height: 1.04;
  color: var(--shell);
}

.page-home .hero-lead {
  margin: 18px 0 0;
  max-width: 30ch;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(247, 243, 234, 0.88);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.page-home .hero-cards {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .hero-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--shell);
  color: var(--sea-deep);
  border-radius: var(--r-lg);
  padding: 20px 22px 18px;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.page-home .hero-card:hover,
.page-home .hero-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.page-home .hero-card-tag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--coral-soft);
  color: var(--coral-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-home .hero-card-tag--palm {
  background: rgba(46, 139, 107, 0.14);
  color: var(--palm);
}

.page-home .hero-card-figure {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.page-home .hero-card-num {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--coral);
}

.page-home .hero-card-unit {
  font-size: 13px;
  color: var(--sea-mid);
}

.page-home .hero-card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--sea-mid);
}

.page-home .hero-card-go {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--coral-deep);
}

/* ---------- 三条路索引 ---------- */
.page-home .rail {
  background: var(--sand);
}

.page-home h2 {
  margin: 12px 0 0;
  font-size: clamp(26px, 4.4vw, 44px);
  line-height: 1.14;
  color: var(--sea-deep);
}

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

.page-home .rail-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num name"
    "num desc"
    "num go";
  gap: 4px 16px;
  padding: 20px 22px;
  background: var(--shell);
  border-left: 4px solid var(--coral);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--sea-deep);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.page-home .rail-item:hover,
.page-home .rail-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.page-home .rail-num {
  grid-area: num;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--coral);
}

.page-home .rail-name {
  grid-area: name;
  font-size: 20px;
  font-weight: 900;
}

.page-home .rail-desc {
  grid-area: desc;
  font-size: 14px;
  line-height: 1.7;
  color: var(--sea-mid);
}

.page-home .rail-go {
  grid-area: go;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--coral-deep);
}

/* ---------- 三步路径 ---------- */
.page-home .steps {
  background: var(--shell);
}

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

.page-home .step-list {
  position: relative;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.page-home .step-list::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--coral) 0 8px, transparent 8px 15px);
}

.page-home .step {
  position: relative;
  padding-left: 52px;
}

.page-home .step + .step {
  margin-top: 14px;
}

.page-home .step summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 16px 18px;
  background: var(--sand);
  border-radius: var(--r-md);
  cursor: pointer;
  list-style: none;
  box-shadow: var(--shadow-card);
  transition: background 0.18s var(--ease);
}

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

.page-home .step summary:hover {
  background: var(--coral-soft);
}

.page-home .step summary:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.page-home .step-num {
  position: absolute;
  left: 0;
  top: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: var(--shell);
  font-size: 13px;
  font-weight: 700;
}

.page-home .step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--sea-deep);
}

.page-home .step-time {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--palm);
  font-weight: 700;
}

.page-home .step-body {
  padding: 12px 18px 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--sea-mid);
}

.page-home .step-body p {
  margin: 0 0 10px;
}

.page-home .step-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--coral-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--coral);
  padding-bottom: 2px;
}

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

.page-home .steps-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
}

.page-home .steps-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sea-mid);
  border-left: 3px solid var(--coral);
  padding-left: 10px;
}

/* ---------- 价格区间带 ---------- */
.page-home .price {
  background: var(--sand);
}

.page-home .price-figure {
  margin: 26px 0 0;
  border-radius: var(--r-xl);
  overflow: hidden;
}

.page-home .price-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .tiers {
  list-style: none;
  margin: 18px 0 0;
  padding: 18px;
  display: grid;
  gap: 12px;
  border-radius: var(--r-xl);
  background: linear-gradient(100deg, var(--coral-soft) 0%, #ff9c7e 42%, var(--coral) 68%, var(--coral-deep) 100%);
}

.page-home .tier a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 16px 16px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.92);
  color: var(--sea-deep);
  text-decoration: none;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease);
}

.page-home .tier a:hover,
.page-home .tier a:focus-visible {
  transform: translateY(-4px);
  background: var(--shell);
}

.page-home .tier-idx {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--coral-deep);
}

.page-home .tier-name {
  font-size: 20px;
  font-weight: 900;
}

.page-home .tier-keys {
  font-size: 13px;
  line-height: 1.7;
  color: var(--sea-mid);
}

.page-home .price-actions {
  margin-top: 22px;
}

/* ---------- 最近两期 ---------- */
.page-home .updates {
  background: var(--sea-deep);
  color: var(--sand);
}

.page-home .updates h2 {
  color: var(--shell);
}

.page-home .updates .lead {
  color: rgba(247, 243, 234, 0.82);
}

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

.page-home .update-cards {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.page-home .update-card {
  background: var(--shell);
  color: var(--sea-deep);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
}

.page-home .update-issue {
  margin: 10px 0 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--sea-deep);
}

.page-home .update-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .update-card li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--sea-mid);
}

.page-home .update-card li + li {
  margin-top: 6px;
}

.page-home .update-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.page-home .updates-actions {
  margin-top: 22px;
}

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

.page-home .updates-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
}

.page-home .updates-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(247, 243, 234, 0.7);
}

/* ---------- 深度查阅 ---------- */
.page-home .deep {
  background: var(--shell);
}

.page-home .deep-inner {
  display: grid;
  gap: 28px;
}

.page-home .deep-copy p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--sea-mid);
  max-width: 40ch;
}

.page-home .deep-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

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

.page-home .deep-list li {
  padding: 16px 18px;
  background: var(--sand);
  border-left: 4px solid var(--palm);
  border-radius: var(--r-md);
  font-size: 14px;
  line-height: 1.75;
  color: var(--sea-deep);
}

/* ---------- 收尾 ---------- */
.page-home .closing {
  background: var(--coral);
  color: var(--ink);
  padding: 52px 0 60px;
}

.page-home .closing h2 {
  color: var(--ink);
  font-size: clamp(26px, 5vw, 48px);
}

.page-home .closing p {
  margin: 14px 0 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(17, 21, 26, 0.84);
}

.page-home .closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-home .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.page-home .btn-line:hover,
.page-home .btn-line:focus-visible {
  background: var(--ink);
  color: var(--sand);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .hero-cards {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .page-home .update-cards {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .tiers {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 920px) {
  .page-home .hero {
    padding-bottom: 112px;
  }

  .page-home .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    padding-top: 56px;
  }

  .page-home .hero-cards {
    grid-template-columns: 1fr;
  }

  .page-home .hero-cards .hero-card + .hero-card {
    margin-top: 44px;
  }

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

  .page-home .steps-inner {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: start;
    gap: 48px;
  }

  .page-home .tiers {
    grid-template-columns: repeat(4, 1fr);
    padding: 22px;
  }

  .page-home .updates-inner {
    grid-template-columns: 1.35fr 0.65fr;
    align-items: start;
    gap: 44px;
  }

  .page-home .deep-inner {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 48px;
  }
}

@media (min-width: 1200px) {
  .page-home .hero-media img {
    opacity: 0.32;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-card,
  .page-home .rail-item,
  .page-home .tier a,
  .page-home .btn-line,
  .page-home .step summary {
    transition: none;
  }

  .page-home .hero-card:hover,
  .page-home .hero-card:focus-visible,
  .page-home .rail-item:hover,
  .page-home .rail-item:focus-visible,
  .page-home .tier a:hover,
  .page-home .tier a:focus-visible {
    transform: none;
  }
}
