.page-home {
  background: var(--ink);
  color: var(--white);
  overflow-x: hidden;
}

/* ---------- 顶栏上下文 ---------- */
.page-home .home-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
}

.page-home .home-topbar__ctx {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--grid);
  text-transform: uppercase;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(18px, 3vw, 40px) clamp(38px, 5.5vw, 84px);
  border-bottom: 1px solid var(--line-soft);
  background:
    repeating-linear-gradient(104deg, rgba(93, 112, 123, .13) 0 1px, transparent 1px 10px),
    radial-gradient(95% 80% at 82% -10%, rgba(31, 122, 76, .34), transparent 62%),
    radial-gradient(55% 50% at 0% 105%, rgba(255, 106, 43, .13), transparent 70%);
}

.page-home .home-hero__grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 26px);
  align-items: start;
}

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

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 9.5vw, 5rem);
  line-height: .94;
  letter-spacing: -.02em;
  color: var(--white);
}

.page-home .home-hero__accent {
  color: var(--acid);
}

.page-home .home-hero__lede {
  margin: 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(244, 247, 245, .82);
}

.page-home .home-hero__entries {
  display: flex;
  flex-direction: column;
  margin-top: 6px;
}

.page-home .home-entry {
  position: relative;
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  grid-template-areas:
    "idx name"
    "idx meta";
  align-items: center;
  column-gap: 12px;
  padding: 13px 6px 13px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--white);
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.page-home .home-entry:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.page-home .home-entry::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--acid);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 180ms var(--ease);
}

.page-home .home-entry:hover::before,
.page-home .home-entry:focus-visible::before {
  transform: scaleY(1);
}

.page-home .home-entry:hover .home-entry__name,
.page-home .home-entry:focus-visible .home-entry__name {
  color: var(--acid);
}

.page-home .home-entry__idx {
  grid-area: idx;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--grid);
}

.page-home .home-entry__name {
  grid-area: name;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: color 180ms var(--ease);
}

.page-home .home-entry__meta {
  grid-area: meta;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--grid);
}

/* 首屏舞台与倾斜战报卡 */
.page-home .home-hero__stage {
  position: relative;
  margin-top: 8px;
}

.page-home .home-hero__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(1.05) contrast(1.02);
}

.page-home .home-report {
  position: relative;
  z-index: 2;
  margin-top: -clamp(26px, 5vw, 58px);
  margin-left: clamp(0px, 2.5vw, 34px);
  margin-right: clamp(6px, 1.5vw, 18px);
  padding: clamp(15px, 2.2vw, 26px);
  transform: rotate(-3deg);
  transform-origin: left center;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--acid);
  box-shadow: 16px 20px 0 rgba(11, 22, 34, .55);
}

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

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

.page-home .home-report__link {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  color: rgba(244, 247, 245, .9);
  text-decoration: none;
  font-size: 14.5px;
  line-height: 1.55;
  transition: color 160ms var(--ease);
}

.page-home .home-report__link .mono {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--acid);
  padding-top: 3px;
}

.page-home .home-report__link:hover,
.page-home .home-report__link:focus-visible {
  color: var(--acid);
}

.page-home .home-report__more {
  margin-top: 14px;
  padding: 0;
  font-size: 14px;
}

/* ---------- 计分板数据带 ---------- */
.page-home .home-board {
  padding-block: clamp(36px, 5vw, 72px);
  background: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
  background-image: repeating-linear-gradient(96deg, rgba(93, 112, 123, .1) 0 1px, transparent 1px 14px);
}

.page-home .home-board__grid {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
}

.page-home .home-board__title {
  margin: 8px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.015em;
}

.page-home .home-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-stats__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.page-home .home-stats__item .stat-value {
  font-family: var(--font-mono);
  font-size: clamp(26px, 4.2vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--acid);
  font-variant-numeric: tabular-nums;
}

.page-home .home-stats__item .stat-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(244, 247, 245, .7);
}

.page-home .home-board__note {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--orange);
  background: rgba(11, 22, 34, .6);
  font-size: 14px;
  line-height: 1.75;
  color: rgba(244, 247, 245, .85);
}

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

.page-home .home-board__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
}

.page-home .home-board__cap {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .03em;
  line-height: 1.6;
  color: var(--grid);
}

/* ---------- 主路径索引 ---------- */
.page-home .home-index {
  padding-block: clamp(38px, 5.5vw, 80px);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(31, 122, 76, .2), transparent 65%),
    var(--ink);
}

.page-home .home-index__head {
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-home .home-index__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.015em;
}

.page-home .home-index__stack {
  display: grid;
  gap: 14px;
}

.page-home .home-path {
  position: relative;
  display: grid;
  gap: 8px;
  padding: clamp(16px, 2.4vw, 26px);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-top: 2px solid var(--grass);
  color: var(--white);
  text-decoration: none;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}

.page-home .home-path::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 26px;
  height: 1px;
  background: var(--acid);
  transition: width 180ms var(--ease);
}

.page-home .home-path:hover::after,
.page-home .home-path:focus-visible::after {
  width: 34px;
}

.page-home .home-path:hover,
.page-home .home-path:focus-visible {
  border-color: rgba(200, 255, 61, .55);
  background: #172c40;
}

.page-home .home-path__idx {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--acid);
}

.page-home .home-path__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
}

.page-home .home-path__desc {
  margin: 0;
  max-width: 36em;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(244, 247, 245, .78);
}

.page-home .home-path__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .home-path__go {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--acid);
  padding-bottom: 6px;
}

.page-home .home-path--d {
  border-top-color: var(--orange);
  background: linear-gradient(96deg, rgba(14, 59, 39, .75), var(--ink-2) 62%);
}

.page-home .home-index__figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
}

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

.page-home .home-index__figure .home-board__cap {
  margin: 0;
  padding: 10px 12px;
}

/* ---------- 费用速览 ---------- */
.page-home .home-fee {
  padding-block: clamp(38px, 5.5vw, 80px);
  background: var(--grass-deep);
  border-block: 1px solid rgba(200, 255, 61, .18);
}

.page-home .home-fee__grid {
  display: grid;
  gap: clamp(22px, 3vw, 44px);
}

.page-home .home-fee__title {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.015em;
}

.page-home .home-fee__text {
  margin: 0 0 20px;
  max-width: 30em;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(244, 247, 245, .82);
}

.page-home .home-fee__cta {
  align-self: flex-start;
}

.page-home .home-fee__panels {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .home-fee__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .12;
  pointer-events: none;
}

.page-home .home-fee__panel {
  position: relative;
  z-index: 1;
  background: rgba(11, 22, 34, .94);
  border: 1px solid var(--line);
  border-left: 3px solid rgba(200, 255, 61, .5);
}

.page-home .home-fee__panel[open] {
  border-left-color: var(--acid);
}

.page-home .home-fee__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--white);
}

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

.page-home .home-fee__q {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--acid);
}

.page-home .home-fee__mark {
  position: relative;
  flex: 0 0 auto;
  margin-left: auto;
  width: 14px;
  height: 14px;
}

.page-home .home-fee__mark::before,
.page-home .home-fee__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 1px;
  background: var(--acid);
  transform: translateY(-50%);
  transition: transform 180ms var(--ease);
}

.page-home .home-fee__mark::after {
  transform: translateY(-50%) rotate(90deg);
}

.page-home .home-fee__panel[open] .home-fee__mark::after {
  transform: translateY(-50%) rotate(0deg);
}

.page-home .home-fee__body {
  padding: 0 16px 16px;
  border-top: 1px solid var(--line-soft);
}

.page-home .home-fee__body p {
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(244, 247, 245, .84);
}

.page-home .home-fee__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.page-home .home-fee__links a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--acid);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 255, 61, .4);
  padding-bottom: 2px;
}

.page-home .home-fee__links a:hover,
.page-home .home-fee__links a:focus-visible {
  border-bottom-color: var(--acid);
}

/* ---------- 帮助与联系 ---------- */
.page-home .home-help {
  padding-block: clamp(38px, 5.5vw, 80px);
  background: var(--ink);
}

.page-home .home-help__grid {
  display: grid;
  gap: clamp(24px, 3vw, 44px);
}

.page-home .home-help__title {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.015em;
}

.page-home .home-help__text {
  margin: 0 0 20px;
  max-width: 32em;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(244, 247, 245, .82);
}

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

.page-home .home-help__item {
  display: grid;
  gap: 3px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .home-help__item:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.page-home .home-help__label {
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grid);
}

.page-home .home-help__value {
  font-family: var(--font-mono);
  font-size: 15.5px;
  letter-spacing: .02em;
  color: var(--white);
  text-decoration: none;
  word-break: break-word;
}

.page-home .home-help__value:hover,
.page-home .home-help__value:focus-visible {
  color: var(--acid);
}

.page-home .home-help__value--plain {
  font-family: var(--font-body);
  font-size: 15px;
}

.page-home .home-help__meta {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(244, 247, 245, .62);
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-home .home-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .home-help__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(18px, 3vw, 34px);
  }
}

@media (min-width: 960px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    grid-template-areas:
      "eyebrow eyebrow"
      "title   title"
      "lede    stage"
      "entries stage";
    column-gap: clamp(26px, 3.4vw, 56px);
    row-gap: 18px;
  }

  .page-home .home-hero__eyebrow { grid-area: eyebrow; }
  .page-home .home-hero__title { grid-area: title; }
  .page-home .home-hero__lede { grid-area: lede; }
  .page-home .home-hero__entries { grid-area: entries; align-self: start; }
  .page-home .home-hero__stage { grid-area: stage; margin-top: -clamp(12px, 2.4vw, 30px); }

  .page-home .home-board__grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: start;
  }

  .page-home .home-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 26px;
  }

  .page-home .home-index__stack {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .home-path--a { grid-column: 1 / span 7; }
  .page-home .home-path--b { grid-column: 8 / span 5; }
  .page-home .home-path--c { grid-column: 1 / span 5; }
  .page-home .home-index__figure { grid-column: 6 / span 7; align-self: stretch; display: flex; flex-direction: column; }
  .page-home .home-index__figure img { flex: 1 1 auto; height: 100%; }
  .page-home .home-path--d { grid-column: 1 / span 12; }

  .page-home .home-index__figure .home-board__cap { padding: 12px 16px; }

  .page-home .home-fee__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-home .home-help__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero__title {
    font-size: clamp(3.4rem, 5.4vw, 5rem);
  }

  .page-home .home-path--a {
    padding-right: clamp(28px, 4vw, 56px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-entry::before,
  .page-home .home-path::after,
  .page-home .home-fee__mark::before,
  .page-home .home-fee__mark::after,
  .page-home .home-entry__name {
    transition: none;
  }

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