.page-home {
  --hm-max: 1200px;
  --hm-pad: 20px;
  --hm-violet-soft: #A98CFF;
  background-color: var(--sd-obsidian);
  color: var(--sd-ink);
}

.page-home .hm-wrap {
  width: 100%;
  max-width: var(--hm-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--hm-pad);
  padding-right: var(--hm-pad);
}

@media (min-width: 900px) {
  .page-home { --hm-pad: 32px; }
}

/* ---------- 通用排版件 ---------- */
.page-home .hm-eyebrow {
  font-family: var(--sd-font-mono);
  font-size: .6875rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sd-gold);
  margin: 0;
}

.page-home .hm-eyebrow--lava { color: var(--sd-lava); }

.page-home .hm-h2 {
  font-family: var(--sd-font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 5.4vw, 2.5rem);
  line-height: 1.24;
  letter-spacing: .04em;
  color: var(--sd-bone);
  margin: 14px 0 16px;
}

.page-home .hm-lede {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--sd-ink);
  max-width: 58ch;
  margin: 0;
}

.page-home .hm-note {
  margin: 18px 0 0;
  font-size: .875rem;
  line-height: 1.8;
  color: var(--sd-ink-dim);
  max-width: 58ch;
}

.page-home .hm-link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--sd-gold-bright);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 208, 122, .4);
  padding-bottom: 3px;
}

.page-home .hm-link-more::after {
  content: "→";
  transition: transform .24s var(--sd-ease);
}

.page-home .hm-link-more:hover::after { transform: translateX(4px); }

/* ---------- 按钮与复制 ---------- */
.page-home .sd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .24s var(--sd-ease), background-color .24s var(--sd-ease),
    border-color .24s var(--sd-ease), color .24s var(--sd-ease);
}

.page-home .sd-btn--gold {
  background: linear-gradient(135deg, var(--sd-gold-bright), var(--sd-gold));
  color: #1A1508;
}

.page-home .sd-btn--gold:hover {
  background: var(--sd-gold-bright);
  transform: translateY(-2px);
}

.page-home .sd-btn--ghost {
  border-color: rgba(200, 162, 74, .42);
  background: rgba(242, 237, 228, .04);
  color: var(--sd-bone);
}

.page-home .sd-btn--ghost:hover {
  border-color: var(--sd-gold-bright);
  color: var(--sd-gold-bright);
  transform: translateY(-2px);
}

.page-home .sd-copy {
  margin-left: auto;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--sd-line);
  background: transparent;
  color: var(--sd-gold-bright);
  font-size: .75rem;
  letter-spacing: .1em;
  cursor: pointer;
  transition: border-color .2s var(--sd-ease), color .2s var(--sd-ease);
}

.page-home .sd-copy:hover { border-color: var(--sd-gold-bright); }
.page-home .sd-copy.is-done { color: var(--sd-jade); border-color: var(--sd-jade); }

/* ---------- 封面 ---------- */
.hm-cover {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88vh;
  overflow: hidden;
  padding: calc(var(--sd-header-h) + 56px) 0 64px;
  background:
    radial-gradient(122% 80% at 50% -8%, rgba(200, 162, 74, .22) 0%, rgba(123, 77, 255, .10) 38%, transparent 70%),
    var(--sd-obsidian);
}

.hm-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: radial-gradient(rgba(242, 237, 228, .06) 1px, transparent 1.4px);
  background-size: 20px 20px;
  opacity: .65;
}

.hm-cover__bg { position: absolute; inset: 0; z-index: 0; }

.hm-cover__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 24%;
  opacity: .38;
}

.hm-cover__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--sd-obsidian) 6%, rgba(11, 11, 16, .88) 38%, rgba(11, 11, 16, .44) 74%, rgba(11, 11, 16, .72) 100%),
    linear-gradient(0deg, var(--sd-obsidian) 1%, transparent 34%);
}

.hm-cover__arch {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  width: min(720px, 88vw);
  height: 84%;
  transform: translateX(-50%);
  border: 1px solid rgba(200, 162, 74, .3);
  border-bottom: none;
  border-radius: 50% 50% 0 0 / 46% 46% 0 0;
  background: linear-gradient(180deg, rgba(240, 208, 122, .08), transparent 66%);
  pointer-events: none;
}

.hm-beam {
  position: absolute;
  top: -12%;
  z-index: 1;
  width: 12%;
  height: 124%;
  background: linear-gradient(180deg, rgba(240, 208, 122, .22), rgba(123, 77, 255, .08) 46%, transparent 78%);
  filter: blur(14px);
  pointer-events: none;
  animation: hm-breathe 12s ease-in-out infinite;
}

.hm-beam--a { left: 15%; animation-delay: -1s; }
.hm-beam--b { left: 43%; width: 14%; animation-delay: -5s; }
.hm-beam--c { left: 71%; animation-delay: -9s; }

@keyframes hm-breathe {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}

.hm-cover__grid {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 44px;
}

.hm-cover__title {
  font-family: var(--sd-font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 8.8vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: .06em;
  color: var(--sd-bone);
  margin: 18px 0 24px;
  text-shadow: 0 12px 46px rgba(0, 0, 0, .62);
}

.hm-cover__title span {
  display: block;
  color: var(--sd-gold-bright);
}

.hm-cover__lede {
  max-width: 46ch;
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--sd-ink);
}

.hm-cover__lede--sub {
  margin-top: 14px;
  font-size: 1rem;
  color: var(--sd-ink-dim);
}

.hm-cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hm-cover__index {
  border-top: 1px solid var(--sd-line);
  padding-top: 6px;
}

.hm-cover__index-title {
  margin: 0;
  padding: 10px 0 8px;
  font-family: var(--sd-font-mono);
  font-size: .6875rem;
  letter-spacing: .28em;
  color: var(--sd-ash);
}

.hm-cover__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--sd-line-soft);
  text-decoration: none;
  color: inherit;
  transition: border-color .24s var(--sd-ease);
}

.hm-cover__item:hover { border-bottom-color: var(--sd-gold); }

.hm-cover__no {
  font-family: var(--sd-font-mono);
  font-size: .75rem;
  letter-spacing: .16em;
  color: var(--sd-gold);
  padding-top: 4px;
}

.hm-cover__label {
  display: block;
  font-family: var(--sd-font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--sd-bone);
  transition: color .24s var(--sd-ease);
}

.hm-cover__item:hover .hm-cover__label { color: var(--sd-gold-bright); }

.hm-cover__desc {
  display: block;
  margin-top: 6px;
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--sd-ink-dim);
}

@media (min-width: 960px) {
  .hm-cover__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
    gap: 72px;
    align-items: end;
  }
}

/* ---------- 吸顶章节索引 ---------- */
.hm-spine {
  position: sticky;
  top: var(--sd-header-h);
  z-index: 40;
  background: rgba(11, 11, 16, .94);
  border-top: 1px solid var(--sd-line-soft);
  border-bottom: 1px solid var(--sd-line-soft);
  backdrop-filter: blur(12px);
}

.hm-spine__track {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.hm-spine__track::-webkit-scrollbar { display: none; }

.hm-spine__link {
  flex: 0 0 auto;
  padding: 14px 14px 12px;
  font-size: .8125rem;
  letter-spacing: .08em;
  color: var(--sd-ink-dim);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .2s var(--sd-ease), border-color .2s var(--sd-ease);
}

.hm-spine__link:hover { color: var(--sd-bone); }

.page-home .hm-spine__link[aria-current] {
  color: var(--sd-gold-bright);
  border-bottom-color: var(--sd-violet);
}

/* ---------- 纵向章节 ---------- */
.hm-stage {
  position: relative;
  padding: 68px 0;
}

@media (min-width: 900px) {
  .hm-stage { padding: 104px 0; }
}

/* ---------- 三步通道 ---------- */
.hm-channel__grid { display: grid; gap: 40px; }
.hm-channel__grid > * { min-width: 0; }

@media (min-width: 960px) {
  .hm-channel__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .78fr);
    gap: 72px;
    align-items: center;
  }
}

.hm-steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.hm-step {
  padding: 22px 22px 22px 26px;
  border-left: 2px solid var(--sd-line);
  border-radius: 0 var(--sd-radius) var(--sd-radius) 0;
  background: linear-gradient(90deg, rgba(29, 32, 41, .94), rgba(22, 24, 33, .12));
  transition: border-color .24s var(--sd-ease), transform .24s var(--sd-ease);
}

.hm-step:hover {
  border-left-color: var(--sd-gold-bright);
  transform: translateX(4px);
}

.hm-step__no {
  font-family: var(--sd-font-mono);
  font-size: .6875rem;
  letter-spacing: .24em;
  color: var(--sd-gold);
}

.hm-step h3 {
  margin: 8px 0;
  font-family: var(--sd-font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--sd-bone);
}

.hm-step p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.8;
  color: var(--sd-ink);
}

@media (min-width: 760px) {
  .hm-step--2 { margin-left: 40px; }
  .hm-step--3 { margin-left: 80px; }
}

.hm-figure { margin: 0; }

.hm-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 1px solid var(--sd-line);
  border-radius: var(--sd-radius-lg);
  box-shadow: var(--sd-shadow);
}

.hm-figure--arch img {
  border-radius: 44% 44% var(--sd-radius-lg) var(--sd-radius-lg) / 18% 18% var(--sd-radius-lg) var(--sd-radius-lg);
}

.hm-figure figcaption {
  margin-top: 14px;
  font-size: .8125rem;
  letter-spacing: .06em;
  color: var(--sd-ash);
  text-align: center;
}

/* ---------- 横向主题带 ---------- */
.hm-band {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  border-top: 1px solid var(--sd-line-soft);
  border-bottom: 1px solid var(--sd-line-soft);
}

.hm-band__bg { position: absolute; inset: 0; z-index: 0; }

.hm-band__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
}

.hm-band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    var(--sd-obsidian) 0%,
    rgba(11, 11, 16, .58) 34%,
    rgba(11, 11, 16, .62) 66%,
    var(--sd-obsidian) 100%);
}

.hm-band__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 30px;
}

@media (min-width: 900px) {
  .hm-band__inner {
    grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }
}

.hm-band__num {
  margin: 0;
  font-family: var(--sd-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(3.4rem, 14vw, 5.6rem);
  line-height: .94;
  letter-spacing: -.02em;
  color: var(--sd-gold-bright);
}

.hm-band__unit {
  margin: 12px 0 0;
  font-size: .8125rem;
  letter-spacing: .16em;
  color: var(--sd-ink-dim);
}

.hm-band__track {
  margin-top: 28px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(228px, 78%);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.hm-band__track::-webkit-scrollbar { display: none; }

.hm-chip {
  scroll-snap-align: start;
  padding: 18px;
  border: 1px solid var(--sd-line-soft);
  border-radius: var(--sd-radius);
  background: rgba(22, 24, 33, .74);
}

.hm-chip__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 10px;
}

.hm-chip__name {
  font-family: var(--sd-font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--sd-gold-bright);
}

.hm-chip__count {
  font-family: var(--sd-font-mono);
  font-size: .75rem;
  color: var(--sd-jade);
}

.hm-chip__note {
  margin: 0;
  font-size: .875rem;
  line-height: 1.75;
  color: var(--sd-ink-dim);
}

@media (min-width: 900px) {
  .hm-band__track {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    padding-bottom: 0;
  }
}

/* ---------- 站内检索 ---------- */
.hm-search {
  background: var(--sd-rock);
  border-top: 1px solid var(--sd-line-soft);
  border-bottom: 1px solid var(--sd-line-soft);
}

.hm-search__grid { display: grid; gap: 36px; }

@media (min-width: 900px) {
  .hm-search__grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
    gap: 72px;
    align-items: center;
  }
}

.hm-search__box {
  position: relative;
  padding: 24px 24px 26px;
  border: 1px solid rgba(123, 77, 255, .42);
  border-radius: var(--sd-radius-lg);
  background: linear-gradient(150deg, rgba(123, 77, 255, .16), rgba(11, 11, 16, .88));
  box-shadow: var(--sd-shadow);
}

.hm-search__caret {
  display: block;
  width: 2px;
  height: 24px;
  background: var(--sd-violet);
  animation: hm-caret 1.1s steps(2, end) infinite;
}

@keyframes hm-caret {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hm-search__hint {
  margin: 18px 0 0;
  font-family: var(--sd-font-mono);
  font-size: .8125rem;
  line-height: 1.8;
  letter-spacing: .06em;
  color: var(--sd-ink-dim);
}

.hm-terms {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid var(--sd-line-soft);
}

.hm-term {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--sd-line-soft);
}

.hm-term__word {
  font-family: var(--sd-font-mono);
  font-size: .875rem;
  letter-spacing: .06em;
  color: var(--hm-violet-soft);
}

.hm-term__arrow { display: none; color: var(--sd-ash); }

.hm-term__res {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--sd-ink);
}

.hm-term__go {
  justify-self: start;
  font-size: .8125rem;
  letter-spacing: .08em;
  color: var(--sd-gold-bright);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 208, 122, .4);
  padding-bottom: 2px;
}

@media (min-width: 640px) {
  .hm-term {
    grid-template-columns: 128px 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }
  .hm-term__arrow { display: block; }
  .hm-term__go { justify-self: end; }
}

/* ---------- 规则核对 ---------- */
.hm-rules__panel {
  position: relative;
  overflow: hidden;
  padding: 30px 22px 28px;
  border: 1px solid rgba(242, 118, 46, .42);
  border-radius: var(--sd-radius-lg);
  background:
    radial-gradient(120% 92% at 6% 0%, rgba(242, 118, 46, .22), transparent 58%),
    linear-gradient(160deg, rgba(22, 24, 33, .96), rgba(11, 11, 16, .97));
  box-shadow: var(--sd-shadow);
}

@media (min-width: 760px) {
  .hm-rules__panel { padding: 48px 56px 44px; }
}

.hm-check {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.hm-check__label {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--sd-line-soft);
  border-radius: var(--sd-radius);
  background: rgba(11, 11, 16, .56);
  cursor: pointer;
  transition: border-color .24s var(--sd-ease), background-color .24s var(--sd-ease);
}

.hm-check__label:hover { border-color: rgba(242, 118, 46, .5); }

.hm-check__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.hm-check__mark {
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border: 1.5px solid rgba(242, 118, 46, .66);
  border-radius: 6px;
  background: rgba(242, 118, 46, .08);
  transition: background-color .2s var(--sd-ease), border-color .2s var(--sd-ease);
}

.hm-check__mark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border-right: 2px solid #10130F;
  border-bottom: 2px solid #10130F;
  transform: rotate(45deg) scale(0);
  transition: transform .2s var(--sd-ease);
}

.hm-check__input:checked + .hm-check__mark {
  background: var(--sd-jade);
  border-color: var(--sd-jade);
}

.hm-check__input:checked + .hm-check__mark::after { transform: rotate(45deg) scale(1); }

.hm-check__input:focus-visible + .hm-check__mark {
  outline: 2px solid var(--hm-violet-soft);
  outline-offset: 2px;
}

.hm-check__text {
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--sd-ink);
}

.hm-check__text strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--sd-font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--sd-bone);
}

.hm-rules__action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 28px;
}

.hm-rules__hint {
  margin: 0;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--sd-ink-dim);
}

/* ---------- 本地支持 ---------- */
.hm-local__grid { display: grid; gap: 36px; }

@media (min-width: 960px) {
  .hm-local__grid {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
  }
}

.hm-local__figure { margin: 0; }

.hm-local__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 1px solid var(--sd-line);
  border-radius: var(--sd-radius-lg);
}

.hm-local__figure figcaption {
  margin-top: 12px;
  font-size: .8125rem;
  line-height: 1.7;
  letter-spacing: .03em;
  color: var(--sd-ash);
}

.hm-facts {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--sd-line-soft);
}

.hm-facts li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--sd-line-soft);
}

.hm-facts__k {
  flex: 0 0 80px;
  font-size: .8125rem;
  letter-spacing: .1em;
  color: var(--sd-ash);
}

.hm-facts__v {
  font-family: var(--sd-font-mono);
  font-size: .9375rem;
  color: var(--sd-bone);
  word-break: break-all;
}

/* ---------- 下一页入口 ---------- */
.hm-next {
  padding: 64px 0 84px;
  background: var(--sd-rock);
  border-top: 1px solid var(--sd-line-soft);
}

.hm-next__list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

@media (min-width: 820px) {
  .hm-next__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
  }
}

.hm-next__link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 18px 20px;
  border: 1px solid var(--sd-line-soft);
  border-radius: var(--sd-radius);
  background: rgba(11, 11, 16, .52);
  text-decoration: none;
  transition: border-color .24s var(--sd-ease), transform .24s var(--sd-ease);
}

.hm-next__link:hover {
  border-color: var(--sd-gold);
  transform: translateY(-3px);
}

.hm-next__no {
  font-family: var(--sd-font-mono);
  font-size: .75rem;
  letter-spacing: .16em;
  color: var(--sd-gold);
  padding-top: 4px;
}

.hm-next__name {
  font-family: var(--sd-font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--sd-bone);
}

.hm-next__desc {
  grid-column: 2;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--sd-ink-dim);
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .hm-beam,
  .page-home .hm-search__caret { animation: none; }

  .page-home .hm-step:hover,
  .page-home .hm-next__link:hover,
  .page-home .sd-btn:hover { transform: none; }

  .page-home .hm-link-more::after { transition: none; }
}
<<<END>>>
