.page-home {
  background: var(--paper);
  color: var(--ink);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0 44px;
  background:
    radial-gradient(115% 85% at 100% 0%, rgba(142, 198, 63, 0.26), transparent 62%),
    linear-gradient(180deg, var(--paper-deep) 0%, var(--paper) 80%);
}
.page-home .hero__inner {
  display: grid;
  gap: 30px;
  align-items: center;
}
.page-home .hero__lead {
  position: relative;
  z-index: 1;
}
.page-home .hero .breadcrumb {
  margin: 0 0 16px;
  font-size: var(--fs-12);
}
.page-home .hero .kicker {
  margin: 0 0 12px;
}
.page-home h1 {
  margin: 0;
  font-size: clamp(2.6rem, 12vw, var(--fs-96));
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 900;
}
.page-home h1 span {
  display: block;
  color: var(--flesh-deep);
}
.page-home .hero__lede {
  max-width: 32em;
  margin: 18px 0 0;
  font-size: var(--fs-17);
  line-height: 1.75;
  color: var(--ink);
}
.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 26px;
}
.page-home .hero__subs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: var(--fs-14);
  font-weight: 700;
}
.page-home .hero__subs a {
  color: var(--flesh-deep);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid rgba(62, 122, 34, 0.32);
}
.page-home .hero__subs a:hover,
.page-home .hero__subs a:focus-visible {
  border-bottom-color: var(--flesh-deep);
}
.page-home .hero__visual {
  position: relative;
}
.page-home .hero__media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 94%);
  background: linear-gradient(140deg, var(--night-2), var(--night));
  box-shadow: var(--shadow-lift);
}
.page-home .hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.92);
}
.page-home .hero__aside {
  position: absolute;
  top: 12px;
  right: 12px;
  writing-mode: vertical-rl;
  padding: 10px 6px;
  border-radius: var(--r-pill);
  background: rgba(246, 247, 236, 0.92);
  color: var(--ink);
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.28em;
}

/* ---------- 三条主线跑道 ---------- */
.page-home .lanes {
  position: relative;
  overflow: hidden;
  padding-block: 44px 52px;
}
.page-home .lanes__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.page-home .lanes__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.13;
}
.page-home .lanes__inner {
  position: relative;
  z-index: 1;
}
.page-home .lanes__rails {
  display: block;
  width: 100%;
  height: 20px;
  margin: 4px 0 18px;
}
.page-home .lanes__rails line {
  stroke: var(--flesh-deep);
  stroke-width: 1.5;
  opacity: 0.5;
  vector-effect: non-scaling-stroke;
}
.page-home .lanes__grid {
  display: grid;
  gap: 14px;
}
.page-home .lane {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out);
}
.page-home .lane:hover,
.page-home .lane:focus-within {
  transform: translateY(-4px);
  border-color: var(--flesh);
  box-shadow: var(--shadow-lift);
}
.page-home .lane__num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-26);
  font-weight: 700;
  line-height: 1;
  color: var(--flesh-deep);
}
.page-home .lane__title {
  margin: 0;
  font-size: var(--fs-21);
  font-weight: 800;
}
.page-home .lane__text {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--slate);
}
.page-home .lane__link {
  margin-top: auto;
  padding-top: 6px;
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--flesh-deep);
  text-decoration: none;
}
.page-home .lane__link:hover,
.page-home .lane__link:focus-visible {
  color: var(--ink);
}

/* ---------- 深夜蓝榜单速览 ---------- */
.page-home .board-wrap {
  padding-block: 0 12px;
}
.page-home .board {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 100% at 15% 0%, var(--night-2) 0%, var(--night) 68%);
  color: var(--paper);
}
.page-home .board__banner {
  position: relative;
  height: 130px;
  overflow: hidden;
}
.page-home .board__banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.page-home .board__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.15), var(--night) 96%);
}
.page-home .board__body {
  padding: 20px 18px 24px;
}
.page-home .board__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 18px;
}
.page-home .board__head .label-caps {
  margin: 0 0 6px;
  color: var(--flesh-soft);
}
.page-home .board__title {
  margin: 0;
  font-size: var(--fs-26);
  font-weight: 900;
  letter-spacing: -0.01em;
}
.page-home .board__meta {
  margin: 0;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(246, 247, 236, 0.1);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: rgba(246, 247, 236, 0.86);
}
.page-home .board__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.page-home .board__grid {
  display: grid;
  gap: 14px;
}
.page-home .board-card {
  padding: 18px;
  border: 1px solid rgba(246, 247, 236, 0.12);
  border-radius: var(--r-card);
  background: rgba(27, 46, 69, 0.82);
}
.page-home .board-card .label-caps {
  margin: 0 0 8px;
  color: rgba(246, 247, 236, 0.62);
}
.page-home .board-card__value {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 10vw, var(--fs-58));
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.page-home .board-card__unit {
  margin: 6px 0 0;
  font-size: var(--fs-14);
  color: rgba(246, 247, 236, 0.78);
}
.page-home .board-rows {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: var(--fs-14);
}
.page-home .board-rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(246, 247, 236, 0.1);
  color: rgba(246, 247, 236, 0.82);
}
.page-home .board-rows .num {
  font-family: var(--font-mono);
  font-size: var(--fs-17);
  font-weight: 700;
  color: var(--yellow);
}
.page-home .board-card__split {
  display: grid;
  gap: 14px;
}
.page-home .board-card__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.page-home .board-card__stat .num {
  font-family: var(--font-mono);
  font-size: var(--fs-34);
  font-weight: 700;
  line-height: 1;
}
.page-home .board-card__stat--yellow .num {
  color: var(--yellow);
}
.page-home .board-card__stat--red .num {
  color: var(--red);
}
.page-home .board-card__stat-label {
  font-size: var(--fs-12);
  color: rgba(246, 247, 236, 0.7);
}
.page-home .board-card__note {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.65;
  color: rgba(246, 247, 236, 0.78);
}
.page-home .board-card__media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--night);
}
.page-home .board-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.page-home .board__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  margin-top: 18px;
  font-size: var(--fs-14);
  color: rgba(246, 247, 236, 0.72);
}
.page-home .board__foot a {
  font-weight: 700;
  color: var(--flesh-soft);
  text-decoration: none;
}
.page-home .board__foot a:hover,
.page-home .board__foot a:focus-visible {
  text-decoration: underline;
}

/* ---------- 窄幅停顿带 ---------- */
.page-home .breather {
  margin: 34px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-14);
  color: var(--slate);
}

/* ---------- 信任节奏 ---------- */
.page-home .keep {
  padding-block: 8px 48px;
}
.page-home .keep__inner {
  display: grid;
  gap: 26px;
}
.page-home .keep__lead .section-title {
  margin: 6px 0 12px;
  font-size: clamp(1.7rem, 6.5vw, var(--fs-44));
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.page-home .keep__text {
  margin: 0;
  max-width: 30em;
  font-size: var(--fs-17);
  line-height: 1.75;
  color: var(--slate);
}
.page-home .keep__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.page-home .keep-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px;
  border-radius: var(--r-card);
  background: var(--mist);
}
.page-home .keep-item__num {
  font-family: var(--font-mono);
  font-size: var(--fs-21);
  font-weight: 700;
  line-height: 1.1;
  color: var(--flesh-deep);
}
.page-home .keep-item__title {
  margin: 0 0 6px;
  font-size: var(--fs-17);
  font-weight: 800;
}
.page-home .keep-item__text {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--ink);
}

/* ---------- 上手路径 ---------- */
.page-home .start {
  padding-block: 40px 48px;
  background: var(--paper-deep);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.page-home .start__inner {
  display: grid;
  gap: 24px;
}
.page-home .start__lead .section-title {
  margin: 6px 0 10px;
  font-size: clamp(1.6rem, 6vw, var(--fs-34));
  line-height: 1.2;
  font-weight: 900;
}
.page-home .start__text {
  margin: 0;
  max-width: 28em;
  font-size: var(--fs-17);
  line-height: 1.75;
  color: var(--slate);
}
.page-home .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.page-home .step {
  position: relative;
  padding: 18px 18px 18px 58px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
}
.page-home .step__num {
  position: absolute;
  left: 16px;
  top: 16px;
  font-family: var(--font-mono);
  font-size: var(--fs-21);
  font-weight: 700;
  line-height: 1;
  color: var(--flesh);
}
.page-home .step__title {
  margin: 0 0 6px;
  font-size: var(--fs-17);
  font-weight: 800;
}
.page-home .step__text {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--slate);
}
.page-home .returning {
  padding: 22px;
  border-radius: var(--r-card);
  background: linear-gradient(150deg, var(--skin) 0%, var(--skin-deep) 100%);
  color: var(--paper);
}
.page-home .returning .label-caps {
  margin: 0 0 8px;
  color: rgba(246, 247, 236, 0.72);
}
.page-home .returning__title {
  margin: 0 0 8px;
  font-size: var(--fs-21);
  font-weight: 800;
}
.page-home .returning__text {
  margin: 0 0 14px;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: rgba(246, 247, 236, 0.9);
}
.page-home .returning__link {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--flesh);
  color: var(--ink);
  font-size: var(--fs-14);
  font-weight: 700;
  text-decoration: none;
}
.page-home .returning__link:hover,
.page-home .returning__link:focus-visible {
  background: var(--flesh-soft);
}

/* ---------- 目录索引 ---------- */
.page-home .index {
  padding-block: 56px 64px;
}
.page-home .index__inner {
  display: grid;
  gap: 22px;
}
.page-home .index__head .section-title {
  margin: 6px 0 10px;
  font-size: clamp(1.7rem, 6.5vw, var(--fs-44));
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.page-home .index__text {
  margin: 0;
  max-width: 26em;
  font-size: var(--fs-17);
  line-height: 1.75;
  color: var(--slate);
}
.page-home .index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.page-home .index-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.page-home .index-item__num {
  font-family: var(--font-mono);
  font-size: var(--fs-34);
  font-weight: 700;
  line-height: 0.9;
  color: var(--flesh);
}
.page-home .index-item__title {
  margin: 0 0 6px;
  font-size: var(--fs-17);
  font-weight: 800;
}
.page-home .index-item__text {
  margin: 0 0 10px;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--slate);
}
.page-home .index-item__link {
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--flesh-deep);
  text-decoration: none;
}
.page-home .index-item__link:hover,
.page-home .index-item__link:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}
.page-home .index__foot {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-14);
  color: var(--slate);
}
.page-home .index__foot a {
  color: var(--flesh-deep);
  font-weight: 700;
  text-decoration: none;
}
.page-home .index__foot a:hover,
.page-home .index__foot a:focus-visible {
  text-decoration: underline;
}

/* ---------- 平板 ---------- */
@media (min-width: 700px) {
  .page-home .hero {
    padding: 34px 0 56px;
  }
  .page-home .hero__media {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%);
  }
  .page-home .lanes__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .board__body {
    padding: 24px 24px 28px;
  }
  .page-home .board__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .board-card--cards {
    grid-column: 1 / -1;
  }
  .page-home .board-card__split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .board-card__split .label-caps,
  .page-home .board-card__note {
    grid-column: 1 / -1;
  }
  .page-home .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .index__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 960px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 44px;
  }
  .page-home .hero__media {
    clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
  }
  .page-home .lanes {
    padding-block: 60px 68px;
  }
  .page-home .board__banner {
    height: 170px;
  }
  .page-home .board-card--cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 24px;
    align-items: center;
  }
  .page-home .board-card__media img {
    aspect-ratio: 1 / 1;
  }
  .page-home .keep__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: start;
  }
  .page-home .keep__lead {
    margin-top: 56px;
  }
  .page-home .start__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: 40px;
    align-items: start;
  }
  .page-home .start__lead {
    grid-column: 1;
    grid-row: 1;
  }
  .page-home .steps {
    grid-column: 1;
    grid-row: 2;
  }
  .page-home .returning {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    padding: 30px;
  }
  .page-home .index__inner {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: 48px;
    align-items: start;
  }
  .page-home .index__head {
    position: sticky;
    top: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .lane,
  .page-home .lane:hover,
  .page-home .lane:focus-within {
    transition: none;
    transform: none;
  }
}
