.page-home {
  --hm-rule: rgba(120, 170, 200, 0.24);
  --hm-rule-strong: rgba(36, 214, 232, 0.32);
  --hm-warm: rgba(255, 106, 42, 0.16);
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
}

/* 上下文提示条 */
.page-home .hm-context {
  background: var(--ink);
  color: var(--cyan-soft);
  border-bottom: 1px solid rgba(120, 170, 200, 0.16);
}
.page-home .hm-context__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.3rem 1.5rem;
  padding-block: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

/* 首屏：7:5 左右分屏 */
.page-home .hm-hero {
  display: grid;
  background: var(--abyss);
  color: var(--white);
  position: relative;
}
.page-home .hm-hero__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(2.4rem, 7vw, 5.2rem) var(--gutter);
}
.page-home .hm-hero__text .eyebrow {
  color: var(--cyan);
}
.page-home .hm-hero__title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(2.55rem, 8.4vw, 6.6rem);
  line-height: 1.0;
  letter-spacing: 0.012em;
  margin: 0.1rem 0 0;
  color: var(--white);
}
.page-home .hm-hero__lead {
  max-width: 33em;
  margin: 0.35rem 0 0;
  font-size: clamp(0.98rem, 1.7vw, 1.08rem);
  line-height: 1.85;
  color: rgba(244, 247, 250, 0.8);
}
.page-home .hm-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin-top: 0.4rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--hm-rule);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--cyan-soft);
}
.page-home .hm-hero__rail {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin-top: auto;
  padding-top: 1.4rem;
  align-self: flex-start;
}
.page-home .hm-hero__rail path {
  stroke: var(--cyan);
}
.page-home .hm-hero__rail circle {
  fill: var(--signal);
}

.page-home .hm-hero__panel {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.6rem) var(--gutter);
  background: linear-gradient(158deg, var(--deep), var(--abyss) 68%);
  border-top: 1px solid var(--hm-rule-strong);
  overflow: hidden;
}
.page-home .hm-hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}
.page-home .hm-index {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 30rem;
  margin-inline: auto;
  padding: 1.1rem 1.1rem 1.25rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--hair-cyan);
  border-radius: var(--radius);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  box-shadow: 0 26px 62px rgba(5, 11, 20, 0.5);
}
.page-home .hm-index__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--mist);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--stone);
}
.page-home .hm-index__state {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--signal);
  color: var(--ink);
}
.page-home .hm-entry {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.12rem;
}
.page-home .hm-entry__link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: start;
  padding: 0.62rem 0.55rem;
  border-left: 2px solid transparent;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.page-home .hm-entry__link:hover,
.page-home .hm-entry__link:focus-visible {
  background: var(--mist);
  border-left-color: var(--signal);
}
.page-home .hm-entry__no {
  padding-top: 0.18rem;
  font-size: 0.7rem;
  color: var(--stone);
}
.page-home .hm-entry__body {
  display: flex;
  flex-direction: column;
  gap: 0.14rem;
  min-width: 0;
}
.page-home .hm-entry__body strong {
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.page-home .hm-entry__body span {
  font-size: 0.79rem;
  line-height: 1.62;
  color: var(--stone);
}
.page-home .hm-entry__arrow {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--deep);
  transition: transform 0.18s var(--ease);
}
.page-home .hm-entry__link:hover .hm-entry__arrow,
.page-home .hm-entry__link:focus-visible .hm-entry__arrow {
  transform: translateX(3px);
}
.page-home .hm-index__cta {
  width: 100%;
  margin-top: 0.9rem;
  text-align: center;
}

/* 三步定位 */
.page-home .hm-paths {
  padding: clamp(2.5rem, 6vw, 4.6rem) 0;
}
.page-home .hm-sec-head {
  max-width: 50rem;
  margin-bottom: 1.5rem;
}
.page-home .hm-sec-head h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.65rem, 3.6vw, 2.6rem);
  line-height: 1.16;
  letter-spacing: 0.01em;
  margin: 0.3rem 0 0.6rem;
}
.page-home .hm-sec-head p {
  margin: 0;
  color: var(--stone);
  line-height: 1.8;
}
.page-home .hm-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.page-home .hm-step {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.page-home .hm-step--now {
  border-color: rgba(255, 106, 42, 0.5);
  box-shadow: inset 0 0 0 1px var(--hm-warm);
}
.page-home .hm-step summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  list-style: none;
}
.page-home .hm-step summary::-webkit-details-marker {
  display: none;
}
.page-home .hm-step summary::after {
  content: "展开";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--deep);
}
.page-home .hm-step details[open] summary::after {
  content: "收起";
  color: var(--stone);
}
.page-home .hm-step__no {
  font-size: 0.7rem;
  padding: 0.16rem 0.4rem;
  border: 1px solid var(--mist);
  border-radius: 5px;
  color: var(--stone);
}
.page-home .hm-step--now .hm-step__no {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--ink);
}
.page-home .hm-step__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.16rem;
  letter-spacing: 0.03em;
}
.page-home .hm-step details p {
  margin: 0.7rem 0 0;
  font-size: 0.87rem;
  line-height: 1.82;
  color: var(--stone);
}

/* 索引与适配 */
.page-home .hm-graph {
  background: var(--white);
  padding: clamp(2.5rem, 6vw, 4.6rem) 0;
}
.page-home .hm-graph__grid {
  display: grid;
  gap: 1.8rem;
}
.page-home .hm-shot {
  margin: 0;
}
.page-home .hm-shot .media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--mist);
}
.page-home .hm-graph__body h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.65rem, 3.6vw, 2.5rem);
  line-height: 1.18;
  margin: 0.3rem 0 0.7rem;
}
.page-home .hm-graph__body > p {
  margin: 0 0 0.9rem;
  color: var(--stone);
  line-height: 1.82;
}
.page-home .hm-cats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
}
.page-home .hm-cats li {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  letter-spacing: 0.04em;
  padding: 0.32rem 0.62rem;
  border: 1px solid var(--mist);
  border-radius: 999px;
  background: var(--paper);
  color: var(--deep);
}
.page-home .hm-status {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.15rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--mist);
}
.page-home .hm-status__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-left: 0.6rem;
  border-left: 2px solid var(--cyan);
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--stone);
}
.page-home .hm-status__item strong {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}
.page-home .hm-status__item--warn {
  border-left-color: var(--signal);
}
.page-home .hm-graph__note {
  margin: 1.1rem 0 1.2rem;
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--stone);
}
.page-home .hm-graph__note a {
  color: var(--deep);
  text-decoration: underline;
  text-decoration-color: var(--hair-cyan);
  text-underline-offset: 3px;
}

/* 资源归档 */
.page-home .hm-res {
  background: var(--deep);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 4.6rem) 0;
}
.page-home .hm-res__head {
  max-width: 52rem;
}
.page-home .hm-res__head .eyebrow {
  color: var(--cyan);
}
.page-home .hm-res__head h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.65rem, 3.6vw, 2.6rem);
  line-height: 1.16;
  margin: 0.3rem 0 0.6rem;
  color: var(--white);
}
.page-home .hm-res__head p {
  margin: 0;
  color: rgba(244, 247, 250, 0.78);
  line-height: 1.8;
}
.page-home .hm-res__grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.6rem;
}
.page-home .hm-res__card {
  background: rgba(5, 11, 20, 0.38);
  border: 1px solid var(--hair-cyan);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.2rem;
}
.page-home .hm-res__type {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--signal);
}
.page-home .hm-res__card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.16rem;
  letter-spacing: 0.03em;
  margin: 0.45rem 0 0.4rem;
  color: var(--white);
}
.page-home .hm-res__card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(244, 247, 250, 0.74);
}
.page-home .hm-res__foot {
  display: grid;
  gap: 1.3rem;
  margin-top: 1.7rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hm-rule);
}
.page-home .hm-res__figure {
  margin: 0;
}
.page-home .hm-res__figure .media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hm-rule);
}
.page-home .hm-res__foot-text p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(244, 247, 250, 0.8);
}

/* 版本沿革 */
.page-home .hm-track {
  padding: clamp(2.5rem, 6vw, 4.6rem) 0;
}
.page-home .hm-track__grid {
  display: grid;
  gap: 1.8rem;
}
.page-home .hm-track__body h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.65rem, 3.6vw, 2.5rem);
  line-height: 1.18;
  margin: 0.3rem 0 0.7rem;
}
.page-home .hm-track__body > p {
  margin: 0;
  color: var(--stone);
  line-height: 1.82;
}
.page-home .hm-timeline {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0 0 0 1.15rem;
  border-left: 1px solid var(--mist);
}
.page-home .hm-timeline li {
  position: relative;
  padding-bottom: 0.85rem;
}
.page-home .hm-timeline li::before {
  content: "";
  position: absolute;
  left: -1.15rem;
  top: 0.45rem;
  width: 7px;
  height: 7px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--stone);
}
.page-home .hm-timeline li.hm-tl--now::before {
  width: 11px;
  height: 11px;
  margin-left: -6px;
  background: var(--signal);
  border-color: var(--signal);
  box-shadow: 0 0 0 4px var(--hm-warm);
}
.page-home .hm-timeline summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.7rem;
  cursor: pointer;
  list-style: none;
}
.page-home .hm-timeline summary::-webkit-details-marker {
  display: none;
}
.page-home .hm-tl__year {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--stone);
}
.page-home .hm-timeline .hm-tl--now .hm-tl__year {
  color: var(--signal);
}
.page-home .hm-tl__name {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.page-home .hm-timeline details {
  padding: 0.1rem 0.5rem 0.35rem 0;
  border-radius: 8px;
  transition: background-color 0.18s var(--ease);
}
.page-home .hm-timeline details[open] {
  background: var(--white);
  padding-left: 0.6rem;
}
.page-home .hm-timeline details p {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--stone);
}
.page-home .hm-track__note {
  margin: 1.1rem 0 0;
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--stone);
}
.page-home .hm-track__note a {
  color: var(--deep);
  text-decoration: underline;
  text-decoration-color: var(--hair-cyan);
  text-underline-offset: 3px;
}
.page-home .hm-track__figure {
  margin: 0;
}
.page-home .hm-track__figure .media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--mist);
  background: var(--abyss);
}

/* 服务支持 */
.page-home .hm-support {
  background: var(--ink);
  color: var(--white);
  padding: clamp(2.4rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--footer-rule);
}
.page-home .hm-support__inner {
  display: grid;
  gap: 1.6rem;
}
.page-home .hm-support__lead .eyebrow {
  color: var(--signal);
}
.page-home .hm-support__lead h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.18;
  margin: 0.3rem 0 0.7rem;
  color: var(--white);
}
.page-home .hm-support__lead p {
  margin: 0;
  max-width: 36em;
  color: rgba(244, 247, 250, 0.8);
  line-height: 1.85;
}
.page-home .hm-support__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
.page-home .hm-support__list {
  margin: 0;
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem;
  border: 1px solid var(--hm-rule);
  border-radius: var(--radius);
  background: rgba(10, 22, 38, 0.7);
}
.page-home .hm-support__list dt {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 0.25rem;
}
.page-home .hm-support__value {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--white);
  word-break: break-word;
}

@media (min-width: 760px) {
  .page-home .hm-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }
  .page-home .hm-res__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .hm-support__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.4rem;
  }
}

@media (min-width: 960px) {
  .page-home .hm-hero {
    grid-template-columns: 7fr 5fr;
    align-items: stretch;
  }
  .page-home .hm-hero__panel {
    border-top: 0;
    border-left: 1px solid var(--hm-rule-strong);
  }
  .page-home .hm-graph__grid {
    grid-template-columns: 5fr 7fr;
    align-items: start;
    gap: 2.6rem;
  }
  .page-home .hm-track__grid {
    grid-template-columns: 7fr 5fr;
    align-items: start;
    gap: 2.4rem;
  }
  .page-home .hm-res__foot {
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: 2rem;
  }
  .page-home .hm-support__inner {
    grid-template-columns: 7fr 5fr;
    align-items: start;
    gap: 2.4rem;
  }
}

@media (min-width: 1180px) {
  .page-home .hm-hero__text {
    padding-right: calc(var(--gutter) + 1.5rem);
  }
  .page-home .hm-sec-head p,
  .page-home .hm-res__head p {
    font-size: 1.02rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-entry__link,
  .page-home .hm-entry__arrow,
  .page-home .hm-step,
  .page-home .hm-timeline details {
    transition: none;
  }
  .page-home .hm-entry__link:hover .hm-entry__arrow,
  .page-home .hm-entry__link:focus-visible .hm-entry__arrow {
    transform: none;
  }
}
