.page-home {
  --rail-w: 96px;
  --home-line: 1px solid var(--edge);
}

.page-home .home-body {
  padding-block: clamp(20px, 4vw, 40px) clamp(48px, 8vw, 104px);
}

@media (min-width: 900px) {
  .page-home .home-body {
    display: grid;
    grid-template-columns: var(--rail-w) minmax(0, 1fr);
    column-gap: clamp(24px, 4vw, 60px);
    align-items: start;
  }
}

/* ---------- 轨道栏 ---------- */
.page-home .rail {
  display: none;
}

@media (min-width: 900px) {
  .page-home .rail {
    display: block;
    position: sticky;
    top: 108px;
    align-self: start;
  }
}

.page-home .rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.page-home .rail-list li {
  position: relative;
}

.page-home .rail-list a {
  display: grid;
  gap: 2px;
  padding-left: 14px;
  text-decoration: none;
  color: var(--dust);
  border-left: 1px solid var(--edge);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.page-home .rail-list a:hover,
.page-home .rail-list a:focus-visible {
  color: var(--paper);
  border-left-color: var(--pulse);
}

.page-home .rail-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--violet);
}

.page-home .rail-list a:hover .rail-num,
.page-home .rail-list a:focus-visible .rail-num {
  color: var(--nebula);
}

.page-home .rail-label {
  font-size: 12px;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

/* ---------- 通用 ---------- */
.page-home .home-flow {
  min-width: 0;
}

.page-home .section {
  padding-block: clamp(44px, 7vw, 96px);
  border-top: var(--home-line);
}

.page-home .section:first-of-type {
  border-top: 0;
  padding-top: clamp(24px, 4vw, 40px);
}

.page-home .page-crumbs {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-home h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.5px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.25;
  color: var(--paper);
  margin: 0 0 16px;
}

.page-home h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.4;
  color: var(--paper);
  margin: 0 0 12px;
}

.page-home p {
  margin: 0 0 14px;
}

/* ---------- 01 宣言与星图 ---------- */
.page-home .home-h1 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.5px;
  font-size: clamp(32px, 7vw, 72px);
  line-height: 1.14;
  color: var(--paper);
  margin: 0 0 clamp(16px, 3vw, 28px);
  max-width: 15ch;
}

.page-home .home-h1 em {
  font-style: normal;
  color: var(--nebula);
}

.page-home .home-declare {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
  color: var(--lilac);
  letter-spacing: 1px;
  margin-bottom: clamp(18px, 3vw, 26px);
}

.page-home .home-dir-lede {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.9;
  color: var(--dust);
  max-width: 62ch;
}

.page-home .home-dir-hint {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--dust);
}

.page-home .starmap {
  position: relative;
  margin-top: clamp(28px, 5vw, 56px);
  border: var(--home-line);
  border-radius: var(--radius-l);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 40%, rgba(108, 74, 182, 0.22), transparent 62%),
    var(--cabin);
  padding: clamp(18px, 3vw, 28px);
  isolation: isolate;
}

.page-home .starmap-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  z-index: -1;
  display: block;
}

.page-home .starmap-lines {
  display: none;
}

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

.page-home .node {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--edge);
  border-radius: var(--radius-pill);
  background: rgba(11, 27, 58, 0.86);
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.page-home .node:hover,
.page-home .node:focus-visible {
  border-color: var(--lilac);
  box-shadow: 0 0 0 3px rgba(156, 138, 216, 0.22);
  transform: translateY(-2px);
}

.page-home .node-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--nebula);
  flex: none;
}

.page-home .node-name {
  white-space: nowrap;
}

@media (min-width: 760px) {
  .page-home .starmap {
    aspect-ratio: 16 / 9;
    padding: 0;
  }

  .page-home .starmap-lines {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--edge);
  }

  .page-home .starmap-nodes {
    position: absolute;
    inset: 0;
    display: block;
  }

  .page-home .starmap-nodes li {
    position: absolute;
  }

  .page-home .starmap-nodes li:nth-child(1) { left: 5%; top: 18%; }
  .page-home .starmap-nodes li:nth-child(2) { left: 33%; top: 4%; }
  .page-home .starmap-nodes li:nth-child(3) { left: 62%; top: 26%; }
  .page-home .starmap-nodes li:nth-child(4) { left: 16%; top: 58%; }
  .page-home .starmap-nodes li:nth-child(5) { left: 44%; top: 70%; }
  .page-home .starmap-nodes li:nth-child(6) { left: 74%; top: 62%; }
}

/* ---------- 02 三条路径 ---------- */
.page-home .paths-head {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
}

@media (min-width: 880px) {
  .page-home .paths-head {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
  }
}

.page-home .paths-head-copy p {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.9;
  color: var(--dust);
  max-width: 46ch;
}

.page-home .paths-figure {
  border-radius: var(--radius-m);
  overflow: hidden;
  border: var(--home-line);
  margin: 0;
}

.page-home .paths-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .branches {
  margin-top: clamp(28px, 5vw, 56px);
  display: grid;
  gap: clamp(18px, 3vw, 26px);
}

@media (min-width: 880px) {
  .page-home .branches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .page-home .branches > .branch:nth-child(2) {
    transform: translateY(28px);
  }

  .page-home .branches > .branch:nth-child(3) {
    transform: translateY(14px);
  }
}

.page-home .branch {
  padding: clamp(18px, 2.6vw, 26px);
  border: var(--home-line);
  border-radius: var(--radius-m);
  background: var(--cabin);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.page-home .branch:hover {
  border-color: var(--lilac);
  transform: translateY(-2px);
}

.page-home .branches > .branch:nth-child(2):hover,
.page-home .branches > .branch:nth-child(3):hover {
  transform: translateY(26px);
}

.page-home .branch-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--nebula);
  border: 1px solid rgba(240, 106, 166, 0.45);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  margin: 0 0 14px;
}

.page-home .branch-tag--cyan {
  color: var(--pulse);
  border-color: rgba(62, 214, 196, 0.45);
}

.page-home .branch-tag--violet {
  color: var(--lilac);
  border-color: rgba(156, 138, 216, 0.45);
}

.page-home .steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .steps li {
  counter-increment: step;
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--dust);
}

.page-home .steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.9;
  color: var(--violet);
}

.page-home .branch-end {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--pulse);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.18s ease;
}

.page-home .branch-end:hover,
.page-home .branch-end:focus-visible {
  border-bottom-color: var(--pulse);
}

/* ---------- 03 导航记录 ---------- */
.page-home .navlog-head p {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.9;
  color: var(--dust);
  max-width: 64ch;
}

.page-home .log-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin: clamp(20px, 3vw, 32px) 0 clamp(18px, 3vw, 26px);
  scrollbar-width: none;
}

.page-home .log-tabs::-webkit-scrollbar {
  display: none;
}

.page-home .log-tabs a {
  flex: none;
  padding: 7px 16px;
  font-size: 14px;
  color: var(--dust);
  text-decoration: none;
  border: 1px solid var(--edge);
  border-radius: var(--radius-pill);
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.page-home .log-tabs a:hover,
.page-home .log-tabs a:focus-visible {
  color: var(--paper);
  border-color: var(--lilac);
  background: rgba(108, 74, 182, 0.18);
}

.page-home .log-group {
  margin-bottom: clamp(26px, 4vw, 40px);
  scroll-margin-top: 108px;
}

.page-home .log-group-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--lilac);
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--edge);
}

.page-home .log-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .log-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  grid-template-areas:
    "no name tag"
    "no path path";
  gap: 2px 12px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(34, 64, 111, 0.55);
}

.page-home .log-no {
  grid-area: no;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--violet);
}

.page-home .log-name {
  grid-area: name;
  color: var(--paper);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.6;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.page-home .log-name:hover,
.page-home .log-name:focus-visible {
  color: var(--pulse);
  border-bottom-color: var(--pulse);
}

.page-home .log-path {
  grid-area: path;
  font-size: 13px;
  line-height: 1.7;
  color: var(--dust);
  font-family: var(--font-mono);
}

.page-home .log-row .tag {
  grid-area: tag;
  white-space: nowrap;
}

@media (min-width: 780px) {
  .page-home .log-row {
    grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) auto;
    grid-template-areas: "no name path tag";
    gap: 0 16px;
  }
}

.page-home .home-note {
  margin-top: clamp(16px, 3vw, 26px);
  border: var(--home-line);
  border-radius: var(--radius-m);
  padding: 14px 18px;
  background: rgba(18, 36, 73, 0.7);
}

.page-home .home-note summary {
  cursor: pointer;
  font-size: 14px;
  color: var(--pulse);
  list-style: none;
}

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

.page-home .home-note summary::before {
  content: "＋";
  margin-right: 8px;
  color: var(--violet);
}

.page-home .home-note[open] summary::before {
  content: "－";
}

.page-home .home-note ul {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.page-home .home-note li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--dust);
}

/* ---------- 04 版本 ---------- */
.page-home .versions-head p {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.9;
  color: var(--dust);
  max-width: 58ch;
}

.page-home .version-grid {
  margin-top: clamp(24px, 4vw, 40px);
  display: grid;
  gap: clamp(16px, 2.6vw, 24px);
}

@media (min-width: 900px) {
  .page-home .version-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }

  .page-home .version-card {
    grid-column: 1;
  }

  .page-home .version-card--alt {
    margin-left: clamp(0px, 3vw, 40px);
  }

  .page-home .version-plate {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 40px;
  }
}

.page-home .version-card {
  padding: clamp(20px, 3vw, 30px);
}

.page-home .version-card .plate-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.6px;
  color: var(--nebula);
  margin-bottom: 10px;
}

.page-home .version-card .plate-text {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.9;
  color: var(--dust);
  margin: 0 0 18px;
}

.page-home .version-plate {
  margin: 0;
  border: var(--home-line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--cabin);
}

.page-home .version-plate img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .version-plate .media-caption {
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--dust);
}

/* ---------- 05 维护 ---------- */
.page-home .keepers-grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

@media (min-width: 900px) {
  .page-home .keepers-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }
}

.page-home .keepers-copy p {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.9;
  color: var(--dust);
  max-width: 52ch;
}

.page-home .keepers-btn {
  margin-top: 10px;
}

.page-home .keepers-figure {
  margin: 0;
  border: var(--home-line);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.page-home .keepers-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .keepers-figure .media-caption {
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--dust);
  border-top: 1px solid var(--edge);
}

.page-home .keeper-stats {
  list-style: none;
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding: clamp(18px, 3vw, 26px) 0 0;
  border-top: var(--home-line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (min-width: 760px) {
  .page-home .keeper-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-home .keeper-stats .stat {
  display: grid;
  gap: 4px;
}

.page-home .keeper-stats .stat-num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.1;
  color: var(--nebula);
}

.page-home .keeper-stats .stat-label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--dust);
}

/* ---------- 06 下一步 ---------- */
.page-home .next-links {
  margin: clamp(20px, 3vw, 32px) 0 clamp(20px, 3vw, 30px);
  display: grid;
  gap: 12px;
}

@media (min-width: 700px) {
  .page-home .next-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-home .next-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-areas:
    "num name"
    "num desc";
  gap: 2px 12px;
  padding: 16px 18px;
  text-decoration: none;
  border: 1px solid var(--edge);
  border-radius: var(--radius-m);
  background: var(--cabin);
  transition: border-color 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.page-home .next-link:hover,
.page-home .next-link:focus-visible {
  border-color: var(--lilac);
  transform: translateY(-2px);
  background: rgba(108, 74, 182, 0.16);
}

.page-home .next-link-num {
  grid-area: num;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--violet);
  line-height: 1.7;
}

.page-home .next-link-name {
  grid-area: name;
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.5;
}

.page-home .next-link-desc {
  grid-area: desc;
  font-size: 13px;
  line-height: 1.7;
  color: var(--dust);
}

.page-home .next-contact {
  font-size: 14px;
  line-height: 1.9;
  color: var(--dust);
  border-left: 2px solid var(--pulse);
  padding-left: 14px;
  max-width: 62ch;
}
<<<END>>>
