.page-home {
  --home-rail-w: 200px;
  background: var(--paper);
  color: var(--ink);
}

.page-home img {
  max-width: 100%;
}

/* ---------- 首屏分屏 ---------- */
.page-home .hero {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--paper);
}

.page-home .hero__lead {
  position: relative;
  background: var(--snow);
  padding: clamp(56px, 8vw, 92px) var(--gutter) clamp(34px, 5vw, 58px);
}

.page-home .hero__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 8.4vw, 68px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 14px 0 18px;
  color: var(--ink);
}

.page-home .hero__lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  max-width: 34em;
  color: var(--ink-soft);
}

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

.page-home .hero__note {
  margin: 20px 0 0;
  padding-left: 11px;
  border-left: 2px solid var(--flare);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-home .hero__board {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 4vw, 44px) var(--gutter) clamp(32px, 5vw, 56px);
  background: var(--paper);
}

.page-home .board__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
}

.page-home .board__label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-home .board__hint {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

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

.page-home .board__item {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-organic);
  padding: 14px 16px;
  box-shadow: 0 1px 0 var(--line);
}

.page-home .board__item--visual {
  padding: 0;
  overflow: hidden;
}

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

.page-home .board__item--visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  background: linear-gradient(to top, rgba(18, 33, 43, 0.74), rgba(18, 33, 43, 0));
  pointer-events: none;
}

.page-home .board__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--white);
}

.page-home .board__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.page-home .board__time {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--snow-deep);
}

.page-home .board__match {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.page-home .board__sub {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

@media (min-width: 920px) {
  .page-home .hero {
    grid-template-columns: 38fr 62fr;
    align-items: stretch;
  }

  .page-home .hero__lead {
    clip-path: polygon(0 0, 100% 0, 100% 84%, 91% 100%, 0 100%);
    padding-right: calc(var(--gutter) + 52px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-home .hero__board {
    max-height: 668px;
    overflow-y: auto;
    padding-right: calc(var(--gutter) - 8px);
  }
}

/* ---------- 入口说明 ---------- */
.page-home .entry__grid {
  display: grid;
  gap: 34px;
}

.page-home .entry__copy p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 16px 0 0;
  max-width: 36em;
}

.page-home .entry__spec {
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
}

.page-home .entry__row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .entry__row dt {
  font-size: 14px;
  font-weight: 700;
  color: var(--snow-deep);
}

.page-home .entry__row dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-home .entry__tail {
  margin-top: 22px;
  padding-left: 12px;
  border-left: 3px solid var(--flare);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink) !important;
}

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

.page-home .entry__figure img {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-organic);
  background: var(--white);
}

.page-home .entry__figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

@media (min-width: 860px) {
  .page-home .entry__grid {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 64px;
    align-items: center;
  }
}

/* ---------- 联赛锚点与瀑布 ---------- */
.page-home .board-layout {
  display: grid;
  gap: 30px;
  margin-top: 34px;
}

.page-home .rail__figure {
  margin: 0 0 12px;
}

.page-home .rail__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-soft);
}

.page-home .rail__caption {
  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin: 0 0 14px;
  height: 76px;
}

.page-home .rail__list {
  list-style: none;
  margin: 0;
  padding: 0 0 2px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-home .rail__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-left: 3px solid transparent;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.page-home .rail__link:hover,
.page-home .rail__link:focus-visible,
.page-home .rail__link[aria-current="true"] {
  background: rgba(159, 216, 220, 0.3);
  border-left-color: var(--flare);
  color: var(--ink);
}

.page-home .rail__count {
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.page-home .zone {
  padding-top: 6px;
  margin-bottom: 46px;
}

.page-home .zone:last-child {
  margin-bottom: 0;
}

.page-home .zone__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-home .zone__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

.page-home .zone__dot--blue { background: var(--league-blue); }
.page-home .zone__dot--green { background: var(--league-green); }
.page-home .zone__dot--brick { background: var(--league-brick); }

.page-home .match-feature {
  position: relative;
  overflow: hidden;
  margin: 0 0 18px;
  background: var(--white);
  border-radius: var(--radius-organic);
  box-shadow: 0 2px 0 rgba(18, 33, 43, 0.05);
}

.page-home .match-feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  z-index: 2;
  background: var(--flare);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.page-home .match-feature:hover::before,
.page-home .match-feature:focus-within::before {
  transform: scaleX(1);
}

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

.page-home .match__body {
  padding: 16px 18px 20px;
}

.page-home .match__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.page-home .match__time {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--snow-deep);
}

.page-home .match__match {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.page-home .match__sub {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

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

.page-home .match {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 13px 2px;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}

.page-home .match__place {
  font-size: 13px;
  color: var(--muted);
}

@media (min-width: 720px) {
  .page-home .match {
    grid-template-columns: 78px minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 980px) {
  .page-home .board-layout {
    grid-template-columns: var(--home-rail-w) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }

  .page-home .rail {
    position: sticky;
    top: 96px;
  }

  .page-home .rail__list {
    flex-direction: column;
    overflow: visible;
  }

  .page-home .match-feature {
    max-width: 640px;
  }
}

/* ---------- 通勤导出 ---------- */
.page-home .commute__grid {
  display: grid;
  gap: 34px;
}

.page-home .commute__copy p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  max-width: 36em;
}

.page-home .commute__list {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
  display: grid;
  gap: 11px;
}

.page-home .commute__list li {
  position: relative;
  padding-left: 17px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-home .commute__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--flare);
}

.page-home .commute__list strong {
  margin-right: 8px;
  color: var(--ink);
}

.page-home .commute__aside {
  background: var(--paper);
  border-radius: var(--radius-organic);
  padding: 26px 24px;
}

.page-home .commute__stat {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.page-home .commute__num {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--snow-deep);
}

.page-home .commute__unit {
  font-size: 13px;
  color: var(--ink-soft);
}

.page-home .commute__statnote {
  margin: 6px 0 22px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .commute__statnote:last-child {
  margin-bottom: 0;
}

@media (min-width: 880px) {
  .page-home .commute__grid {
    grid-template-columns: 1.35fr 0.65fr;
    gap: 60px;
    align-items: start;
  }
}

/* ---------- 三步路径 ---------- */
.page-home .trail {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

.page-home .trail__step {
  position: relative;
  padding: 22px 0;
  border-top: 2px solid var(--line-strong);
}

.page-home .trail__step:first-child {
  border-top-color: var(--flare);
}

.page-home .trail__num {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--flare);
}

.page-home .trail__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.page-home .trail__step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-home .trail__link {
  display: inline-block;
  margin-top: 12px;
  padding-bottom: 2px;
  font-size: 14px;
  color: var(--snow-deep);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

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

.page-home .trail__more a {
  color: var(--snow-deep);
}

@media (min-width: 820px) {
  .page-home .trail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .trail__step {
    padding: 24px 30px 24px 0;
  }
}

/* ---------- 改版对比 ---------- */
.page-home .compare__grid {
  display: grid;
  gap: 36px;
}

.page-home .compare__copy p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 34em;
}

.page-home .compare__copy a {
  color: var(--snow-deep);
  font-weight: 600;
}

.page-home .compare__chart {
  display: grid;
  gap: 16px;
  padding: 26px 22px;
  background: var(--white);
  border-radius: var(--radius-organic);
}

.page-home .compare__row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 12px;
}

.page-home .compare__label {
  font-size: 13px;
  color: var(--muted);
}

.page-home .compare__bar {
  display: block;
  height: 16px;
  border-radius: var(--radius-pill);
}

.page-home .compare__bar--old {
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    rgba(18, 33, 43, 0.2) 0 8px,
    rgba(18, 33, 43, 0.07) 8px 16px
  );
}

.page-home .compare__bar--new {
  width: 44%;
  background: var(--flare);
}

.page-home .compare__val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.page-home .compare__note {
  margin: 4px 0 0;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

@media (min-width: 880px) {
  .page-home .compare__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }
}

/* ---------- 收尾 ---------- */
.page-home .cta {
  color: var(--paper);
}

.page-home .cta__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.page-home .cta__text {
  margin: 0 0 26px;
  max-width: 40em;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(246, 241, 231, 0.78);
}

.page-home .cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .cta .btn--ghost {
  color: var(--paper);
  border-color: rgba(246, 241, 231, 0.5);
}

.page-home .cta .btn--ghost:hover,
.page-home .cta .btn--ghost:focus-visible {
  border-color: var(--paper);
  background: rgba(246, 241, 231, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .page-home .match-feature::before {
    transition: none;
  }
  .page-home .rail__link {
    transition: none;
  }
}
