.page-home {
  --hp-pad: clamp(46px, 6vw, 100px);
  --hp-gap: clamp(18px, 2.6vw, 34px);
  --hp-serif: var(--font-serif);
  display: block;
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-home .hp-hero {
  position: relative;
  padding-block: clamp(26px, 4.5vw, 56px) clamp(30px, 4vw, 60px);
}

.page-home .hp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(61, 242, 138, .06) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(0deg, rgba(61, 242, 138, .06) 0 1px, transparent 1px 90px);
  pointer-events: none;
}

.page-home .hp-hero__inner {
  position: relative;
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  align-items: end;
}

.page-home .hp-hero__kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
}

.page-home .hp-hero__title {
  margin: 0 0 clamp(14px, 2vw, 22px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 5.6vw, 62px);
  line-height: 1.06;
  letter-spacing: .01em;
  color: var(--text);
  max-width: 18ch;
}

.page-home .hp-hero__lede {
  margin: 0 0 clamp(20px, 2.6vw, 30px);
  max-width: 46ch;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
  color: var(--muted);
}

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

.page-home .hp-hero__figure {
  margin: 0;
  position: relative;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-hard);
  background: var(--panel);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.page-home .hp-hero__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.06);
}

.page-home .hp-hero__preview {
  position: relative;
  margin-top: clamp(30px, 4.5vw, 56px);
  padding-top: 20px;
  border-top: 2px solid var(--line);
}

.page-home .hp-hero__preview-label {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}

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

.page-home .hp-preview a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.page-home .hp-preview a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

.page-home .hp-preview__no {
  font-family: var(--hp-serif);
  font-size: 13px;
  color: var(--green);
}

.page-home .hp-preview__txt {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .04em;
}

/* ---------- 章节通用 ---------- */
.page-home .hp-sec {
  padding-block: var(--hp-pad);
  border-top: 2px solid var(--line);
}

.page-home .hp-sec .plate {
  margin-bottom: clamp(24px, 3vw, 44px);
}

/* ---------- 01 时间轴 ---------- */
.page-home .hp-tl__grid {
  display: grid;
  gap: clamp(26px, 3.4vw, 48px);
}

.page-home .hp-tl__intro {
  margin: 0 0 clamp(20px, 2.6vw, 32px);
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .hp-tl__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 30px;
  position: relative;
}

.page-home .hp-tl__list::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 12px;
  width: 3px;
  background: linear-gradient(180deg, var(--green), rgba(61, 242, 138, .18));
}

.page-home .hp-tl__item {
  position: relative;
  padding-bottom: clamp(14px, 1.8vw, 22px);
}

.page-home .hp-tl__item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 7px;
  width: 12px;
  height: 12px;
  background: var(--green);
  transition: transform .2s var(--ease), background .2s var(--ease);
}

.page-home .hp-tl__item:hover::before {
  transform: scale(1.35);
  background: var(--amber);
}

.page-home .hp-tl__node summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.6vw, 20px);
  letter-spacing: .03em;
  color: var(--text);
  transition: color .2s var(--ease);
}

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

.page-home .hp-tl__node summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--green);
  flex: none;
}

.page-home .hp-tl__node[open] summary::after {
  content: "\2212";
}

.page-home .hp-tl__node summary:hover {
  color: var(--green);
}

.page-home .hp-tl__desc {
  margin: 4px 0 0;
  padding-right: 28px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .hp-tl__figure {
  margin: 0;
  border: 2px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

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

.page-home .hp-tl__figure figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ---------- 02 产品线 ---------- */
.page-home .hp-lines__grid {
  display: grid;
  gap: var(--hp-gap);
}

.page-home .hp-line {
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--panel);
  border: 2px solid var(--line);
  border-top-width: 6px;
  box-shadow: var(--shadow-hard);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}

.page-home .hp-line--a { border-top-color: var(--green); }
.page-home .hp-line--b { border-top-color: var(--amber); }
.page-home .hp-line--c { border-top-color: var(--violet); }

.page-home .hp-line:hover {
  border-color: var(--green);
  border-top-color: var(--green);
  box-shadow: 4px 4px 0 0 var(--line);
  transform: translate(4px, 4px);
}

.page-home .hp-line__tag {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--green);
}

.page-home .hp-line__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.3;
  color: var(--text);
}

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

.page-home .hp-line__link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
}

/* ---------- 03 轮次读法 ---------- */
.page-home .hp-round__grid {
  display: grid;
  gap: clamp(26px, 3.4vw, 48px);
}

.page-home .hp-round__intro {
  margin: 0 0 clamp(20px, 2.4vw, 30px);
  max-width: 50ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

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

.page-home .hp-round__steps li {
  position: relative;
  padding: 16px 0 16px 54px;
  border-top: 1px solid var(--line);
}

.page-home .hp-round__steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.page-home .hp-round__no {
  position: absolute;
  left: 0;
  top: 16px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--indigo);
  border: 2px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  transition: background .2s var(--ease), color .2s var(--ease);
}

.page-home .hp-round__steps li:hover .hp-round__no {
  background: var(--green);
  color: var(--ink);
}

.page-home .hp-round__steps h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .03em;
  color: var(--text);
}

.page-home .hp-round__steps p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .hp-round__figure {
  margin: 0;
  border: 2px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

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

.page-home .hp-round__figure figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ---------- 04 对阵树 ---------- */
.page-home .hp-bracket__grid {
  display: grid;
  gap: clamp(24px, 3.2vw, 44px);
}

.page-home .hp-bracket__copy p {
  margin: 0 0 16px;
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .hp-bracket__btn {
  margin-top: 8px;
}

.page-home .hp-tree {
  display: block;
  width: 100%;
  height: auto;
  padding: 18px;
  box-sizing: border-box;
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.page-home .hp-tree path {
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
}

.page-home .hp-tree rect {
  fill: var(--indigo);
  stroke: var(--line);
  stroke-width: 2;
}

.page-home .hp-tree .hp-tree__node--final {
  fill: var(--green);
  stroke: var(--green);
}

.page-home .hp-tree text {
  fill: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
}

/* ---------- 05 名单与比分 ---------- */
.page-home .hp-squad__grid {
  display: grid;
  gap: clamp(24px, 3.2vw, 44px);
}

.page-home .hp-squad__figure {
  margin: 0;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
  background: var(--panel);
}

.page-home .hp-squad__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-home .hp-squad__body > p {
  margin: 0 0 16px;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .hp-squad__facts {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  border-top: 2px solid var(--line);
}

.page-home .hp-squad__facts li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.page-home .hp-squad__fact-no {
  flex: none;
  min-width: 78px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .04em;
  color: var(--green);
}

.page-home .hp-squad__link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
}

/* ---------- 06 俱乐部编年 ---------- */
.page-home .hp-history__lead p {
  margin: 0 0 clamp(22px, 2.8vw, 32px);
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .hp-history__cards {
  display: grid;
  gap: var(--hp-gap);
}

.page-home .hp-history__card {
  padding: clamp(20px, 2.4vw, 28px);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-hard);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}

.page-home .hp-history__card--teal { background: var(--teal); }
.page-home .hp-history__card--wine { background: var(--wine); }
.page-home .hp-history__card--indigo { background: var(--indigo); }

.page-home .hp-history__card:hover {
  transform: translate(4px, 4px);
  box-shadow: 4px 4px 0 0 var(--line);
}

.page-home .hp-history__card-no {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-variant-numeric: tabular-nums;
  letter-spacing: .03em;
  color: var(--green);
}

.page-home .hp-history__card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.35;
  color: var(--text);
}

.page-home .hp-history__card p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(233, 241, 248, .78);
}

.page-home .hp-history__link {
  display: inline-block;
  margin-top: clamp(22px, 2.8vw, 32px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
}

/* ---------- 07 数据规模 ---------- */
.page-home .hp-scale__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--line);
  border-left: 2px solid var(--line);
}

.page-home .hp-stat {
  padding: clamp(16px, 2vw, 26px);
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  background: var(--panel);
  transition: background .22s var(--ease);
}

.page-home .hp-stat:hover {
  background: var(--ink);
}

.page-home .hp-stat .num {
  display: block;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1;
  letter-spacing: .01em;
  color: var(--green);
}

.page-home .hp-stat .num small {
  font-size: .42em;
  letter-spacing: .04em;
  color: var(--muted);
  margin-left: 4px;
}

.page-home .hp-stat--live .num {
  color: var(--amber);
}

.page-home .hp-stat__label {
  margin: 10px 0 4px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--text);
}

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

.page-home .hp-scale__foot {
  margin: clamp(24px, 3vw, 36px) 0 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  border-left: 3px solid var(--violet);
  padding-left: 16px;
}

/* ---------- 08 下一步 ---------- */
.page-home .hp-next__inner {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
  align-items: center;
}

.page-home .hp-next__copy h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.15;
  color: var(--text);
  max-width: 20ch;
}

.page-home .hp-next__copy p {
  margin: 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

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

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .hp-preview {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .hp-history__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .hp-scale__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .hp-hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    gap: clamp(30px, 4vw, 68px);
  }

  .page-home .hp-hero__figure {
    transform: translateY(-10px);
  }

  .page-home .hp-tl__grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(30px, 4vw, 60px);
    align-items: start;
  }

  .page-home .hp-tl__figure {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .page-home .hp-lines__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .page-home .hp-line:nth-child(2) {
    transform: translateY(28px);
  }

  .page-home .hp-line:nth-child(2):hover {
    transform: translate(4px, 32px);
  }

  .page-home .hp-round__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    align-items: start;
  }

  .page-home .hp-bracket__grid {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: center;
  }

  .page-home .hp-squad__grid {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    align-items: start;
    gap: clamp(30px, 4vw, 56px);
  }

  .page-home .hp-next__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .page-home .hp-next__cta {
    justify-content: flex-end;
  }
}

@media (min-width: 1180px) {
  .page-home .hp-scale__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hp-line,
  .page-home .hp-history__card,
  .page-home .hp-tl__item::before,
  .page-home .hp-round__no,
  .page-home .hp-stat {
    transition: none;
  }
}
