.page-home {
  --hm-gap: clamp(2.6rem, 5vw, 5rem);
  --hm-panel-line: 1px solid rgba(201, 162, 75, .28);
}

.page-home .breadcrumb {
  margin: 1.4rem 0 1.8rem;
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  padding-top: clamp(1rem, 3vw, 2.4rem);
}

.page-home .hm-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hm-gap);
  align-items: start;
}

.page-home .hm-hero__lead {
  position: relative;
  padding-left: 1.1rem;
  border-left: 2px solid rgba(62, 198, 176, .55);
}

.page-home .hm-hero__title {
  margin: .5rem 0 1rem;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.2rem, 8.4vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--paper);
}

.page-home .hm-hero__lede {
  max-width: 46ch;
  color: rgba(245, 240, 230, .82);
}

.page-home .hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.6rem;
}

.page-home .hm-figures {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 2rem 0 0;
  border-top: var(--hairline);
}

.page-home .hm-figures__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid rgba(74, 90, 90, .45);
}

.page-home .hm-figures__item dt {
  font-size: .84rem;
  letter-spacing: .04em;
  color: rgba(245, 240, 230, .6);
}

.page-home .hm-figures__item dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--gold);
}

/* 首屏右侧速览面板 */
.page-home .hm-hero__panel {
  padding: 1.4rem 1.3rem 1.2rem;
  background: linear-gradient(160deg, rgba(18, 58, 51, .78), rgba(6, 26, 23, .9));
  border: var(--hm-panel-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.page-home .hm-hero__panel-title {
  margin: 0 0 1rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold);
}

.page-home .hm-mini {
  display: grid;
  gap: .7rem;
  margin: 0 0 1.3rem;
  padding: 0;
  list-style: none;
}

.page-home .hm-mini__row {
  display: grid;
  grid-template-columns: 5.4rem 1fr;
  gap: .8rem;
  align-items: start;
  padding: .7rem .8rem;
  background: rgba(11, 43, 38, .6);
  border-left: 2px solid var(--line);
  border-radius: var(--radius);
}

.page-home .hm-mini__row--archive { border-left-color: var(--bronze); }
.page-home .hm-mini__row--stable { border-left-color: var(--gold); }
.page-home .hm-mini__row--coral { border-left-color: var(--coral); }

.page-home .hm-mini__tag {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  padding-top: .2rem;
  color: var(--paper);
}

.page-home .hm-mini__row--archive .hm-mini__tag { color: var(--bronze); }
.page-home .hm-mini__row--stable .hm-mini__tag { color: var(--gold); }
.page-home .hm-mini__row--coral .hm-mini__tag { color: var(--coral); }

.page-home .hm-mini__text {
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(245, 240, 230, .76);
}

.page-home .hm-hero__figure {
  margin: .4rem 0 0;
}

/* 首屏四张入口卡 */
.page-home .hm-entries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: clamp(2.2rem, 4vw, 3.4rem);
}

.page-home .hm-entries .card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.page-home .hm-entries .card--archive {
  border-color: rgba(140, 122, 91, .62);
  box-shadow: var(--shadow-1), inset 0 0 0 1px rgba(140, 122, 91, .12);
}

.page-home .hm-entries .card--stable {
  border-color: rgba(201, 162, 75, .75);
  box-shadow: var(--shadow-1), inset 0 0 22px -8px rgba(201, 162, 75, .45);
}

.page-home .hm-entries .card--link-coral {
  border-color: rgba(226, 114, 91, .42);
}

.page-home .hm-entries .card--link-coral .card__index { color: var(--coral); }

.page-home .hm-entries .card:hover,
.page-home .hm-entries .card:focus-within {
  transform: translateY(-3px);
}

/* ---------- 两条路径 ---------- */
.page-home .hm-paths {
  margin-top: var(--hm-gap);
}

.page-home .hm-paths__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.page-home .hm-panel {
  padding: 1.5rem 1.3rem 1.4rem;
  background: rgba(6, 26, 23, .55);
  border: var(--edge);
  border-radius: var(--radius);
}

.page-home .hm-panel--archive {
  border-left: 3px solid var(--bronze);
  letter-spacing: -.01em;
}

.page-home .hm-panel--stable {
  border-left: 3px solid var(--gold);
  letter-spacing: .03em;
  background: linear-gradient(150deg, rgba(18, 58, 51, .85), rgba(6, 26, 23, .7));
}

.page-home .hm-panel__title {
  margin: .9rem 0 .7rem;
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 4.6vw, 1.6rem);
  font-weight: 800;
  color: var(--paper);
}

.page-home .hm-panel--archive .hm-panel__title { color: #D7C6A8; }
.page-home .hm-panel--stable .hm-panel__title { color: var(--paper); }

.page-home .hm-panel__text {
  margin: 0 0 1rem;
  font-size: .96rem;
  color: rgba(245, 240, 230, .78);
}

.page-home .hm-list {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}

.page-home .hm-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: .9rem;
  color: rgba(245, 240, 230, .74);
}

.page-home .hm-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .5rem;
  height: 1px;
  background: var(--teal);
}

.page-home .hm-panel--archive .hm-list li::before { background: var(--bronze); }
.page-home .hm-panel--stable .hm-list li::before { background: var(--gold); }

.page-home .hm-paths__figure {
  margin: 0;
}

/* ---------- 版本对比 ---------- */
.page-home .hm-compare {
  margin-top: var(--hm-gap);
}

.page-home .hm-compare__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  align-items: start;
}

.page-home .hm-compare__viz {
  order: 2;
}

.page-home .hm-compare__table {
  order: 1;
}

.page-home .hm-compare__table .seg {
  margin-bottom: 1rem;
}

.page-home .hm-table {
  width: 100%;
}

.page-home .hm-table__caption {
  caption-side: top;
  text-align: left;
  padding-bottom: .7rem;
  font-size: .78rem;
  letter-spacing: .08em;
  color: rgba(245, 240, 230, .55);
}

.page-home .hm-table th[scope="col"] {
  padding: .6rem .5rem;
  text-align: left;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--gold);
  border-bottom: 1px solid rgba(201, 162, 75, .38);
}

.page-home .hm-table td,
.page-home .hm-table th[scope="row"] {
  padding: .68rem .5rem;
  font-size: .88rem;
  line-height: 1.55;
  color: rgba(245, 240, 230, .8);
  border-bottom: 1px solid rgba(74, 90, 90, .4);
  vertical-align: top;
}

.page-home .hm-table tbody tr[data-hm-dim] {
  transition: opacity .25s var(--ease);
}

.page-home .hm-table tbody tr[data-hm-dim][data-hm-active="false"] {
  opacity: .34;
}

.page-home .hm-table__hint {
  margin: .8rem 0 0;
  font-size: .78rem;
  letter-spacing: .04em;
  color: rgba(245, 240, 230, .5);
}

/* ---------- 内容与工具 ---------- */
.page-home .hm-recent {
  margin-top: var(--hm-gap);
}

.page-home .hm-recent__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

.page-home .hm-recent__col {
  padding-top: 1rem;
  border-top: 2px solid rgba(140, 122, 91, .5);
}

.page-home .hm-recent__col--tools {
  border-top-color: rgba(62, 198, 176, .55);
}

.page-home .hm-recent__col-title {
  margin: 0 0 1rem;
  font-family: var(--font-head);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(245, 240, 230, .68);
}

.page-home .hm-notes {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.page-home .hm-notes__item + .hm-notes__item {
  border-top: 1px solid rgba(74, 90, 90, .38);
}

.page-home .hm-notes__link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .3rem .9rem;
  padding: .85rem .2rem;
  text-decoration: none;
  color: inherit;
  transition: background .2s var(--ease);
}

.page-home .hm-notes__link:hover,
.page-home .hm-notes__link:focus-visible {
  background: rgba(62, 198, 176, .07);
}

.page-home .hm-notes__tag {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  color: var(--bronze);
}

.page-home .hm-notes__tag--teal { color: var(--teal); }

.page-home .hm-notes__title {
  font-size: .96rem;
  line-height: 1.5;
  color: var(--paper);
}

.page-home .hm-notes__meta {
  font-family: var(--font-mono);
  font-size: .72rem;
  white-space: nowrap;
  color: rgba(245, 240, 230, .48);
  padding-top: .2rem;
}

/* ---------- 反馈通道 ---------- */
.page-home .hm-support {
  margin-top: var(--hm-gap);
  padding-bottom: 2rem;
}

.page-home .hm-support__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  background: linear-gradient(120deg, rgba(28, 22, 20, .72), rgba(6, 26, 23, .9));
  border: 1px solid rgba(226, 114, 91, .38);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.page-home .hm-support__figure {
  margin: 0;
}

.page-home .hm-support__lead {
  margin: .9rem 0 1.1rem;
  font-size: 1rem;
  color: rgba(245, 240, 230, .8);
  max-width: 52ch;
}

.page-home .hm-steps {
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  counter-reset: hm-step;
  display: grid;
  gap: .55rem;
}

.page-home .hm-steps li {
  counter-increment: hm-step;
  display: grid;
  grid-template-columns: 1.9rem 1fr;
  gap: .6rem;
  align-items: baseline;
  font-size: .92rem;
  color: rgba(245, 240, 230, .78);
}

.page-home .hm-steps li::before {
  content: counter(hm-step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--coral);
}

.page-home .hm-support__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.page-home .hm-support__meta {
  margin: 1.2rem 0 0;
  font-family: var(--font-mono);
  font-size: .76rem;
  line-height: 1.9;
  color: rgba(245, 240, 230, .58);
}

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

  .page-home .hm-figures__item {
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    padding: .9rem 1rem .9rem 0;
    border-bottom: none;
    border-right: 1px solid rgba(74, 90, 90, .45);
  }

  .page-home .hm-figures__item:last-child {
    border-right: none;
    padding-right: 0;
  }

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

  .page-home .hm-recent__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2rem;
  }

  .page-home .hm-support__inner {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }

  .page-home .hm-compare__grid {
    grid-template-columns: 5fr 7fr;
    gap: 2rem;
  }

  .page-home .hm-compare__viz { order: 1; }
  .page-home .hm-compare__table { order: 2; }
}

@media (min-width: 1024px) {
  .page-home .hm-hero__grid {
    grid-template-columns: 7fr 5fr;
    gap: clamp(2.4rem, 4vw, 4.2rem);
  }

  .page-home .hm-hero__panel {
    margin-top: 1.6rem;
  }

  .page-home .hm-entries {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .hm-paths__grid {
    grid-template-columns: 6fr 6fr 4fr;
    align-items: start;
  }

  .page-home .hm-panel--archive {
    margin-top: 1.6rem;
  }

  .page-home .hm-paths__figure {
    margin-top: -.6rem;
  }
}
<<<END>>>
