.page-home {
  --hm-gutter: clamp(1rem, 3vw, 2.4rem);
  --hm-max: 1140px;
  background-color: var(--sand);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  overflow-x: clip;
}

.page-home img {
  max-width: 100%;
  display: block;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-sans);
  margin: 0;
}

.page-home .mono {
  font-family: var(--font-mono);
}

/* ---------- 首屏框景 ---------- */
.hm-hero {
  position: relative;
  padding: clamp(1.4rem, 4vw, 3rem) var(--hm-gutter) clamp(2rem, 5vw, 3.4rem);
  background:
    radial-gradient(90% 70% at 92% 4%, rgba(0, 168, 150, 0.12), transparent 62%),
    linear-gradient(180deg, var(--paper) 0%, var(--sand) 78%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hm-hero__frame {
  position: absolute;
  inset: 10px;
  border: 1px solid var(--line);
  pointer-events: none;
}

.hm-hero__frame::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 16px);
}

.hm-hero__frame::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -1px;
  width: 58px;
  height: 6px;
  background: var(--red);
}

.hm-hero__orbit {
  position: absolute;
  right: -14%;
  top: -12%;
  width: min(660px, 82vw);
  color: var(--red);
  opacity: 0.28;
  pointer-events: none;
}

.hm-hero__grid {
  position: relative;
  z-index: 1;
  max-width: var(--hm-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 2.6rem);
}

.hm-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.hm-crumb .breadcrumb__sep {
  color: var(--line);
}

.hm-hero__title {
  margin: 0.7rem 0 1rem;
  font-size: clamp(2.55rem, 9.4vw, 5.6rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hm-hero__title-mark {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 0.04em 0.16em 0.12em;
}

.hm-hero__lead {
  max-width: 34em;
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--slate);
}

.hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
  margin-top: 1.6rem;
}

.hm-link {
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 16, 46, 0.4);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.hm-link:hover,
.hm-link:focus-visible {
  color: var(--red-deep);
  border-bottom-color: var(--red-deep);
}

.hm-link--light {
  color: var(--sand);
  border-bottom-color: rgba(244, 233, 218, 0.5);
}

.hm-link--light:hover,
.hm-link--light:focus-visible {
  color: #fff;
  border-bottom-color: #fff;
}

.hm-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.3rem;
  margin: 2rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.hm-stat dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--slate);
}

.hm-stat dd {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--slate);
}

.hm-stat__num {
  font-family: var(--font-mono);
  font-size: 1.44rem;
  font-weight: 700;
  color: var(--ink);
  margin-right: 0.18rem;
}

.hm-hero__figure {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--ink);
  background: var(--ink);
  overflow: hidden;
}

.hm-hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm-hero__figure::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 8px;
  background: var(--red);
}

/* ---------- 主体布局与索引轨道 ---------- */
.hm-body {
  max-width: var(--hm-max);
  margin: 0 auto;
  padding: clamp(1.6rem, 4vw, 3.2rem) var(--hm-gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 2.2rem);
}

.hm-rail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.hm-rail__title {
  display: none;
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--slate);
}

.hm-rail .toc__list {
  display: flex;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-rail .toc__link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--slate);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.hm-rail .toc__link .mono {
  font-size: 0.68rem;
  color: var(--red);
}

.hm-rail .toc__link:hover,
.hm-rail .toc__link[aria-current="true"] {
  color: var(--ink);
  border-color: var(--red);
  background: var(--paper);
}

.hm-body__main {
  display: grid;
  gap: clamp(1.2rem, 3vw, 1.8rem);
  min-width: 0;
}

/* ---------- 章节通用 ---------- */
.hm-sec {
  padding: clamp(1.4rem, 3.6vw, 2.6rem);
  border-radius: var(--radius);
}

.hm-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.6rem 1.5rem;
  margin-bottom: 1.4rem;
}

.hm-head__title {
  margin-top: 0.4rem;
  font-size: clamp(1.42rem, 3.4vw, 2rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.hm-head__note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--slate);
}

/* ---------- 产品线扫描 ---------- */
.hm-sec--scan {
  background: var(--paper);
  border: 1px solid var(--line);
}

.hm-scan__figure {
  position: relative;
  margin: 0 0 1.3rem;
  aspect-ratio: 12 / 5;
  border: 1px solid var(--line);
  background: var(--sand);
  overflow: hidden;
}

.hm-scan__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm-scan__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
  padding: 0.45rem 0.8rem;
  background: var(--glass);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--glass-edge);
  border-right: 1px solid var(--glass-edge);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.hm-tracks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-track {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 0.5rem 0.8rem;
  padding: 0.9rem 0.6rem 0.9rem 0;
  border-top: 1px solid var(--line);
  border-left: 3px solid transparent;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.hm-track:last-child {
  border-bottom: 1px solid var(--line);
}

.hm-track:hover,
.hm-track:focus-within {
  background: #fff;
  border-left-color: var(--red);
  padding-left: 0.6rem;
}

.hm-track__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--red);
  padding-top: 0.3rem;
}

.hm-track__name {
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--ink);
}

.hm-track__desc {
  margin: 0.3rem 0 0.5rem;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--slate);
}

.hm-track:hover .hm-track__desc {
  color: var(--ink-soft);
}

.hm-track__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-track__tags li {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  padding: 0.16rem 0.5rem;
}

.hm-scan__more {
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--slate);
}

/* ---------- 新老用户分流 ---------- */
.hm-sec--paths {
  position: relative;
  background: var(--ink);
  color: var(--sand);
  overflow: hidden;
}

.hm-sec--paths::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--red);
}

.page-home .hm-sec--paths .hm-head__title {
  color: #fff;
}

.page-home .hm-sec--paths .hm-head__note {
  color: #C9BBA8;
}

.hm-eyebrow--light {
  color: var(--amber);
}

.hm-paths {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.hm-path {
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: var(--radius);
}

.hm-path--old {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(244, 233, 218, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hm-path--new {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  box-shadow: var(--shadow-1);
}

.hm-path__tag {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.hm-path__tag--teal {
  color: var(--teal-ink);
}

.hm-path__title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
}

.page-home .hm-path--new .hm-path__title {
  color: var(--ink);
}

.hm-path__text {
  margin: 0 0 1rem;
  font-size: 0.87rem;
  line-height: 1.8;
  color: #D9CBB6;
}

.page-home .hm-path--new .hm-path__text {
  color: var(--slate);
  margin-bottom: 1rem;
}

.hm-path__text--tight {
  margin-top: 0.9rem;
  font-size: 0.83rem;
}

.hm-diff {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.hm-diff li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(244, 233, 218, 0.22);
  font-size: 0.83rem;
  color: #D9CBB6;
}

.hm-diff .mono {
  color: #fff;
  font-size: 0.78rem;
}

.hm-steps {
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
}

.hm-steps li {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: baseline;
  padding: 0.38rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.hm-steps li:last-child {
  border-bottom: 0;
}

.hm-steps .n {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--teal-ink);
}

.hm-path__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin: 0.9rem 0 0;
}

/* ---------- 月度档案 ---------- */
.hm-sec--archive {
  background: var(--paper);
  border: 1px solid var(--line);
}

.hm-archive {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem;
}

.hm-archive__figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--sand);
  overflow: hidden;
}

.hm-archive__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm-archive__figure::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 64px;
  background: var(--red);
}

.hm-archive__meta {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--slate);
}

.hm-issues {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.hm-issue {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.25rem 0.9rem;
  align-items: baseline;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
}

.hm-issue__no {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--red);
  white-space: nowrap;
}

.hm-issue__title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}

.hm-issue__desc {
  grid-column: 2;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.72;
  color: var(--slate);
}

.hm-archive__more {
  margin: 1rem 0 0;
}

/* ---------- 本地入口与支持 ---------- */
.hm-sec--local {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper), var(--sand));
}

.hm-local {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem;
}

.hm-local__text {
  margin: 0.8rem 0 0;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--slate);
}

.hm-local__more {
  margin: 1rem 0 0;
}

.hm-local__figure {
  margin: 0;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}

.hm-local__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm-ledger {
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.hm-ledger__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem 1rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border-top: 1px solid var(--line);
}

.hm-ledger__row:first-child {
  border-top: 0;
}

.hm-ledger__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--slate);
}

.hm-ledger__value {
  margin: 0.2rem 0 0;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ink);
  word-break: break-word;
}

.page-home .copy-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--slate);
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.page-home .copy-btn:hover,
.page-home .copy-btn:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--sand);
}

.page-home .copy-btn[data-copied] {
  color: var(--teal-ink);
  border-color: var(--teal);
}

/* ---------- 收尾 ---------- */
.hm-close {
  margin: 0.4rem 0 clamp(2rem, 5vw, 3.4rem);
  padding: clamp(1.4rem, 3.6vw, 2.4rem);
  border: 1px solid var(--ink);
  border-left: 4px solid var(--red);
  background: var(--paper);
}

.hm-close__meta {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--slate);
}

.hm-close__title {
  margin: 0.7rem 0 0.8rem;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.hm-close__text {
  margin: 0;
  max-width: 44em;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--slate);
}

.hm-close__links {
  margin: 1.2rem 0 0;
}

/* ---------- 响应式 ---------- */
@media (min-width: 48rem) {
  .hm-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hm-head {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: end;
  }

  .hm-track {
    grid-template-columns: 3.6rem minmax(0, 1fr);
  }

  .hm-ledger__row {
    padding: 0.8rem 1.1rem;
  }
}

@media (min-width: 56rem) {
  .hm-archive {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 1.8rem;
    align-items: start;
  }

  .hm-local {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1.8rem;
    align-items: center;
  }
}

@media (min-width: 60rem) {
  .hm-paths {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.3rem;
    align-items: start;
  }

  .hm-path--new {
    margin-top: 1.6rem;
  }
}

@media (min-width: 62rem) {
  .hm-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: end;
  }

  .hm-hero__figure {
    aspect-ratio: 4 / 3.4;
  }
}

@media (min-width: 64rem) {
  .hm-body {
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 2.6rem;
  }

  .hm-rail {
    display: block;
    position: sticky;
    top: 1.6rem;
    align-self: start;
    padding: 0 0 0 0.2rem;
    border-bottom: 0;
    overflow: visible;
  }

  .hm-rail__title {
    display: block;
    margin-bottom: 0.7rem;
  }

  .hm-rail .toc__list {
    display: block;
  }

  .hm-rail .toc__link {
    display: flex;
    padding: 0.45rem 0 0.45rem 0.8rem;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    white-space: normal;
    line-height: 1.5;
  }

  .hm-rail .toc__link:hover,
  .hm-rail .toc__link[aria-current="true"] {
    background: transparent;
    border-left-color: var(--red);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
<<<END>>>
