.page-home {
  --home-hero-min: clamp(600px, 84vh, 820px);
  --home-gap: clamp(16px, 2.4vw, 28px);
}

.page-home .section {
  padding-block: clamp(48px, 6vw, 88px);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  min-height: var(--home-hero-min);
  padding: clamp(88px, 12vh, 124px) 0 0;
  background: var(--night);
  isolation: isolate;
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-home .hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  opacity: .52;
  filter: saturate(.85) contrast(1.06);
}

.page-home .hero__halftone {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 78%, rgba(10, 18, 48, .96) 0%, rgba(10, 18, 48, .55) 45%, rgba(10, 18, 48, .1) 72%),
    linear-gradient(180deg, rgba(10, 18, 48, .8) 0%, rgba(10, 18, 48, .25) 42%, rgba(10, 18, 48, .95) 96%);
}

.page-home .hero__inner {
  position: relative;
}

.page-home .hero .breadcrumb {
  margin-bottom: clamp(24px, 4vw, 40px);
}

.page-home .hero .breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--mist);
}

.page-home .hero .breadcrumb__list a {
  color: var(--paper);
  text-decoration: none;
}

.page-home .hero .breadcrumb__list a:hover {
  color: var(--lime);
}

.page-home .hero__title {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 8.4vw, 5.6rem);
  line-height: .94;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-home .hero__title-sub {
  display: block;
  color: var(--lime);
  margin-top: .12em;
}

.page-home .hero__lead {
  max-width: 44ch;
  margin-top: clamp(18px, 2.4vw, 26px);
  color: rgba(245, 241, 230, .82);
}

.page-home .hero__steps {
  position: relative;
  margin-top: clamp(28px, 4vw, 46px);
}

/* ---------- 三步路径 ---------- */
.page-home .steps {
  position: relative;
}

.page-home .steps__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .steps__grid {
  display: grid;
  gap: 10px;
}

.page-home .steps__card {
  position: relative;
  display: block;
  cursor: pointer;
  padding: 20px 18px 22px;
  border-radius: var(--r-md);
  border: 1px solid rgba(198, 255, 61, .18);
  background: linear-gradient(158deg, var(--indigo) 0%, var(--night-2) 100%);
  color: var(--paper);
  transform: skewY(-3deg);
  transition: transform .32s var(--ease), background .32s var(--ease), color .32s var(--ease);
}

.page-home .steps__card > span {
  display: block;
  transform: skewY(3deg);
}

.page-home .steps__card:hover {
  transform: skewY(-3deg) translateY(-3px);
  border-color: rgba(198, 255, 61, .5);
}

.page-home .steps__no {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
  letter-spacing: -.02em;
}

.page-home .steps__title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.18rem;
  letter-spacing: -.01em;
}

.page-home .steps__desc {
  margin-top: 6px;
  font-size: .875rem;
  line-height: 1.62;
  color: var(--mist);
}

.page-home #step-1:checked ~ .steps__grid > :nth-child(1),
.page-home #step-2:checked ~ .steps__grid > :nth-child(2),
.page-home #step-3:checked ~ .steps__grid > :nth-child(3) {
  background: var(--lime);
  color: var(--black);
  border-color: transparent;
  transform: skewY(-3deg) translateY(-4px) scale(1.015);
}

.page-home #step-1:checked ~ .steps__grid > :nth-child(1) .steps__no,
.page-home #step-2:checked ~ .steps__grid > :nth-child(2) .steps__no,
.page-home #step-3:checked ~ .steps__grid > :nth-child(3) .steps__no,
.page-home #step-1:checked ~ .steps__grid > :nth-child(1) .steps__desc,
.page-home #step-2:checked ~ .steps__grid > :nth-child(2) .steps__desc,
.page-home #step-3:checked ~ .steps__grid > :nth-child(3) .steps__desc {
  color: rgba(20, 22, 28, .78);
}

.page-home #step-1:checked ~ .steps__grid > :nth-child(1) .steps__no,
.page-home #step-2:checked ~ .steps__grid > :nth-child(2) .steps__no,
.page-home #step-3:checked ~ .steps__grid > :nth-child(3) .steps__no {
  color: var(--black);
}

.page-home #step-1:focus-visible ~ .steps__grid > :nth-child(1),
.page-home #step-2:focus-visible ~ .steps__grid > :nth-child(2),
.page-home #step-3:focus-visible ~ .steps__grid > :nth-child(3) {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

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

.page-home .steps__panel {
  display: none;
  padding: 16px 18px 18px;
  border-radius: var(--r-md);
  background: rgba(245, 241, 230, .07);
  border-left: 3px solid var(--lime);
}

.page-home .steps__panel p {
  margin: 0 0 14px;
  font-size: .9375rem;
  line-height: 1.7;
  color: rgba(245, 241, 230, .86);
}

.page-home .steps__panel .btn {
  justify-self: start;
}

.page-home #step-1:checked ~ .steps__panels > :nth-child(1),
.page-home #step-2:checked ~ .steps__panels > :nth-child(2),
.page-home #step-3:checked ~ .steps__panels > :nth-child(3) {
  display: block;
}

/* ---------- 下一屏切片 ---------- */
.page-home .hero__peek {
  margin-top: clamp(26px, 3.6vw, 40px);
}

.page-home .peek {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 92px;
  overflow: hidden;
  padding-top: 12px;
  border-top: 1px solid rgba(245, 241, 230, .16);
  background: linear-gradient(to bottom, rgba(10, 18, 48, 0) 0%, rgba(10, 18, 48, .88) 100%);
}

.page-home .peek__cell {
  flex: 0 0 auto;
  min-width: 78px;
  padding: 10px 12px;
  border-radius: 8px 8px 0 0;
  background: rgba(245, 241, 230, .08);
  text-align: center;
}

.page-home .peek__day {
  display: block;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--mist);
}

.page-home .peek__num {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--paper);
}

.page-home .peek__hint {
  margin: 0 0 6px auto;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
  text-align: right;
}

/* ---------- 章节头 ---------- */
.page-home .sec-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-home .sec-head .plate {
  justify-self: start;
}

.page-home .sec-head .h2,
.page-home .sec-head__lead {
  margin: 0;
}

.page-home .sec-head__lead {
  max-width: 52ch;
}

/* ---------- 时间表 ---------- */
.page-home .league-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 12px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.page-home .league-bar:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.page-home .league {
  flex: 0 0 auto;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(245, 241, 230, .22);
  font-size: 13px;
  letter-spacing: .06em;
  color: rgba(245, 241, 230, .78);
  white-space: nowrap;
}

.page-home .league--on {
  background: var(--lime);
  border-color: transparent;
  color: var(--black);
  font-weight: 700;
}

.page-home .league--more {
  color: var(--mist);
  border-style: dashed;
}

.page-home .week {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(78px, 1fr);
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-top: 8px;
}

.page-home .day {
  display: grid;
  gap: 6px;
  padding: 12px 8px 0;
  border-radius: var(--r-sm);
  background: rgba(245, 241, 230, .035);
}

.page-home .day--peak {
  background: rgba(255, 122, 47, .12);
}

.page-home .day__name {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--mist);
}

.page-home .day__cnt {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--paper);
}

.page-home .day--peak .day__cnt {
  color: var(--orange);
}

.page-home .day__track {
  display: flex;
  align-items: flex-end;
  height: 104px;
  margin-top: 6px;
}

.page-home .day__bar {
  display: block;
  width: 100%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(56, 225, 208, .18) 0%, var(--cyan) 100%);
}

.page-home .day--peak .day__bar {
  background: linear-gradient(to top, rgba(255, 122, 47, .2) 0%, var(--orange) 100%);
}

.page-home .day__bar--l1 { height: 34%; }
.page-home .day__bar--l2 { height: 52%; }
.page-home .day__bar--l3 { height: 68%; }
.page-home .day__bar--l4 { height: 84%; }
.page-home .day__bar--l5 { height: 100%; }

.page-home .week__note {
  margin: clamp(16px, 2.4vw, 24px) 0 0;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--mist);
  max-width: 56ch;
}

/* ---------- 粘性步骤指示 ---------- */
.page-home .step-rail {
  display: none;
  position: sticky;
  top: calc(var(--header-h-sm) + 8px);
  z-index: 6;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  margin: 0 auto;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(16, 27, 69, .92);
  border: 1px solid rgba(198, 255, 61, .22);
  backdrop-filter: blur(6px);
}

.page-home .step-rail__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(245, 241, 230, .8);
  text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease);
}

.page-home .step-rail__item .num {
  font-size: 12px;
  color: var(--lime);
}

.page-home .step-rail__item:hover,
.page-home .step-rail__item:focus-visible {
  background: var(--lime);
  color: var(--black);
}

.page-home .step-rail__item:hover .num,
.page-home .step-rail__item:focus-visible .num {
  color: var(--black);
}

/* ---------- 比分 ---------- */
.page-home .scores {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
}

.page-home .scores__main .plate {
  justify-self: start;
  display: inline-block;
}

.page-home .scores__main .h2 {
  margin: 14px 0 0;
}

.page-home .scores__main .lead {
  margin-top: 14px;
  max-width: 46ch;
}

.page-home .scoreboard {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-top: clamp(22px, 3vw, 34px);
  padding: 10px 22px 14px;
  border-radius: var(--r-md);
  background: var(--orange);
  color: var(--black);
  transform: skewY(-3deg);
  box-shadow: var(--shadow-poster);
}

.page-home .scoreboard > * {
  transform: skewY(3deg);
}

.page-home .scoreboard__num {
  font-family: var(--font-mono);
  font-size: clamp(3.4rem, 13vw, 6rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.04em;
}

.page-home .scoreboard__sep {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 700;
  opacity: .55;
}

.page-home .scoreboard__meta {
  flex: 1 1 100%;
  font-size: .8125rem;
  letter-spacing: .06em;
  color: rgba(20, 22, 28, .72);
}

.page-home .dist {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: clamp(24px, 3.4vw, 38px);
  max-width: 520px;
  border-radius: var(--r-sm);
}

.page-home .dist:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 6px;
}

.page-home .dist__col {
  display: grid;
  grid-template-rows: 108px auto;
  gap: 6px;
  align-items: end;
}

.page-home .dist__bar {
  display: block;
  width: 100%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(255, 122, 47, .28) 0%, var(--orange) 100%);
  transform: scaleY(.56);
  transform-origin: bottom;
  transition: transform .38s var(--ease);
}

.page-home .dist:hover .dist__bar,
.page-home .dist:focus-within .dist__bar {
  transform: scaleY(1);
}

.page-home .dist__bar--a { height: 40%; }
.page-home .dist__bar--b { height: 58%; }
.page-home .dist__bar--c { height: 72%; }
.page-home .dist__bar--d { height: 66%; }
.page-home .dist__bar--e { height: 92%; }

.page-home .dist__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .04em;
  text-align: center;
  color: var(--mist);
}

.page-home .scores__note {
  margin: 14px 0 0;
  font-size: .8125rem;
  color: var(--mist);
}

.page-home .scores__side .media-frame {
  margin: 0;
}

.page-home .scores__link {
  margin: 16px 0 0;
}

/* ---------- 价格 ---------- */
.page-home .plan__grid {
  display: grid;
  gap: 12px;
}

.page-home .plan__card {
  padding: 22px 20px 24px;
  border-radius: var(--r-md);
  background: var(--paper);
  border-top: 4px solid var(--night-2);
  box-shadow: 0 14px 34px -28px rgba(20, 22, 28, .9);
}

.page-home .plan__card--hot {
  border-top-color: var(--orange);
  background: #FFFBF0;
}

.page-home .plan__tag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--night);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: .14em;
}

.page-home .plan__card--hot .plan__tag {
  background: var(--orange);
  color: var(--black);
}

.page-home .plan__card .h3 {
  margin: 0 0 8px;
  color: var(--black);
}

.page-home .plan__card p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-home .plan__files {
  display: grid;
  gap: 18px;
  margin-top: clamp(22px, 3vw, 32px);
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--r-md);
  background: var(--paper-2);
}

.page-home .plan__files .h3 {
  margin: 0 0 8px;
  color: var(--black);
}

.page-home .plan__files p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 60ch;
}

.page-home .plan__files .btn {
  justify-self: start;
}

/* ---------- V3 ---------- */
.page-home .v3__inner {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.page-home .v3__main .plate {
  justify-self: start;
  display: inline-block;
}

.page-home .v3__main .h2 {
  margin: 14px 0 0;
}

.page-home .v3__main > .lead {
  margin-top: 14px;
  max-width: 48ch;
}

.page-home .v3__list {
  display: grid;
  gap: 12px;
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .v3__item {
  padding: 16px 18px;
  border-radius: var(--r-sm);
  background: rgba(245, 241, 230, .05);
  border-left: 3px solid var(--cyan);
}

.page-home .v3__num {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--paper);
  letter-spacing: -.02em;
}

.page-home .v3__unit {
  margin-left: 3px;
  font-size: .8125rem;
  letter-spacing: .08em;
  color: var(--lime);
}

.page-home .v3__item p {
  margin: 6px 0 0;
  font-size: .875rem;
  line-height: 1.66;
  color: var(--mist);
}

.page-home .v3__more {
  margin: clamp(20px, 3vw, 28px) 0 0;
  font-size: .875rem;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .v3__more a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 255, 61, .45);
}

.page-home .v3__more a:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

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

/* ---------- 常见问题 ---------- */
.page-home .faq__list {
  display: grid;
  gap: 10px;
}

.page-home .qa {
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(20, 22, 28, .05);
}

.page-home .qa[open] {
  background: rgba(198, 255, 61, .2);
}

.page-home .qa__q {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding-right: 32px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--black);
}

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

.page-home .qa__q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-family: var(--font-mono);
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--ink-soft);
}

.page-home .qa[open] .qa__q::after {
  content: "–";
  color: var(--black);
}

.page-home .qa__q:focus-visible {
  outline: 2px solid var(--night);
  outline-offset: 4px;
}

.page-home .qa__a p {
  margin: 12px 0 0;
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ---------- 收口 ---------- */
.page-home .cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 104px);
  background: var(--night);
  isolation: isolate;
}

.page-home .cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
  filter: saturate(.8);
}

.page-home .cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 18, 48, .9) 0%, rgba(10, 18, 48, .55) 55%, rgba(10, 18, 48, .95) 100%);
}

.page-home .cta__inner .h2 {
  margin: 0;
  max-width: 18ch;
}

.page-home .cta__inner .lead {
  margin-top: 14px;
  max-width: 48ch;
}

.page-home .cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(22px, 3vw, 32px);
}

.page-home .cta__note {
  margin: 18px 0 0;
  font-size: .875rem;
  color: var(--mist);
}

.page-home .cta__note a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 255, 61, .45);
}

.page-home .cta__note a:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .steps__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

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

  .page-home .plan__files {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

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

@media (min-width: 900px) {
  .page-home .hero {
    padding-top: clamp(108px, 13vh, 140px);
  }

  .page-home .hero__lead {
    font-size: 1.0625rem;
  }

  .page-home .step-rail {
    display: flex;
    top: calc(var(--header-h) + 10px);
  }

  .page-home .scores {
    grid-template-columns: 1.32fr .82fr;
    align-items: start;
  }

  .page-home .scores__side {
    margin-top: clamp(20px, 3vw, 56px);
  }

  .page-home .v3__inner {
    grid-template-columns: 1.4fr .8fr;
    align-items: start;
  }

  .page-home .v3__figure {
    margin-top: 32px;
  }

  .page-home .week {
    grid-auto-columns: 1fr;
  }

  .page-home .dist {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .steps__card,
  .page-home .dist__bar,
  .page-home .step-rail__item {
    transition: none;
  }

  .page-home .steps__card,
  .page-home .steps__card:hover,
  .page-home #step-1:checked ~ .steps__grid > :nth-child(1),
  .page-home #step-2:checked ~ .steps__grid > :nth-child(2),
  .page-home #step-3:checked ~ .steps__grid > :nth-child(3) {
    transform: none;
  }

  .page-home .steps__card > span,
  .page-home .scoreboard > * {
    transform: none;
  }

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

  .page-home .dist__bar,
  .page-home .dist:hover .dist__bar,
  .page-home .dist:focus-within .dist__bar {
    transform: none;
  }
}
