.page-home {
  --home-rail-w: 196px;
  --home-flow-gap: clamp(40px, 5vw, 72px);
  background: var(--ink-900);
  color: var(--paper);
  font-family: var(--font-mono);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.page-home a {
  color: inherit;
}

.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
}

/* ---------- 封面 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 88vh;
  padding: clamp(120px, 16vh, 180px) 0 clamp(44px, 7vh, 84px);
  overflow: hidden;
}

.page-home .home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-home .home-hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(.55) brightness(.48);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 78% 12%, rgba(53, 224, 214, .16) 0%, rgba(11, 26, 43, 0) 62%),
    linear-gradient(180deg, rgba(11, 26, 43, .94) 0%, rgba(11, 26, 43, .58) 40%, rgba(11, 26, 43, .97) 100%),
    repeating-linear-gradient(0deg, rgba(53, 224, 214, .05) 0 1px, rgba(0, 0, 0, 0) 1px 4px);
  pointer-events: none;
}

.page-home .home-hero-frame {
  width: min(1120px, 92vw);
  margin-inline: auto;
  display: grid;
  gap: clamp(16px, 2.2vw, 26px);
}

.page-home .home-hero-ticks {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 22px;
}

.page-home .home-hero-ticks span {
  flex: 1 1 0;
  height: 5px;
  border-radius: 1px;
  background: rgba(159, 176, 192, .3);
}

.page-home .home-hero-ticks span:nth-child(1),
.page-home .home-hero-ticks span:nth-child(5),
.page-home .home-hero-ticks span:nth-child(10) {
  height: 17px;
  background: rgba(53, 224, 214, .75);
}

.page-home .home-kicker {
  margin: 0;
  font-size: .72rem;
  letter-spacing: .22em;
  color: var(--cyan);
  text-transform: uppercase;
}

.page-home .home-hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 6.6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 2px 30px rgba(11, 26, 43, .7);
}

.page-home .home-lede {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(.9rem, 1.05vw, 1.02rem);
  line-height: 1.9;
  color: var(--mist);
}

.page-home .home-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-version {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(53, 224, 214, .55);
  border-radius: var(--r-sm);
  background: var(--glass);
  backdrop-filter: blur(6px);
}

.page-home .home-version--old {
  border-color: rgba(242, 160, 61, .5);
}

.page-home .home-version-num {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--cyan);
}

.page-home .home-version--old .home-version-num {
  color: var(--amber);
}

.page-home .home-version-cap {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .home-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(35, 64, 92, .7);
}

.page-home .home-index a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  background: rgba(11, 26, 43, .74);
  color: var(--paper);
  text-decoration: none;
  font-size: .9rem;
  letter-spacing: .04em;
  transition: background .24s var(--ease), color .24s var(--ease);
}

.page-home .home-index a:hover,
.page-home .home-index a:focus-visible {
  background: rgba(53, 224, 214, .16);
  color: #fff;
}

.page-home .home-index-num {
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--amber);
}

/* ---------- 长卷主体 ---------- */
.page-home .home-body {
  width: min(1240px, 92vw);
  margin-inline: auto;
  padding: clamp(52px, 8vw, 104px) 0 clamp(64px, 10vw, 128px);
  display: grid;
  gap: var(--home-flow-gap);
}

.page-home .home-rail {
  display: none;
}

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

.page-home .home-rail-link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0 10px 14px;
  border-left: 2px solid var(--line);
  color: var(--mist);
  text-decoration: none;
  font-size: .8rem;
  letter-spacing: .06em;
  transition: color .22s var(--ease), border-color .22s var(--ease), padding-left .22s var(--ease);
}

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

.page-home .home-rail-link.is-current {
  border-left-color: var(--amber);
  color: #fff;
  padding-left: 20px;
}

.page-home .home-rail-num {
  font-size: .66rem;
  letter-spacing: .2em;
  color: var(--brass);
}

.page-home .home-rail-link.is-current .home-rail-num {
  color: var(--amber);
}

.page-home .home-flow {
  display: grid;
  gap: clamp(56px, 9vw, 130px);
  min-width: 0;
}

.page-home .home-chapter {
  --band: var(--cyan);
  position: relative;
  min-width: 0;
  scroll-margin-top: 130px;
}

.page-home .home-chapter--cats { --band: var(--amber); }
.page-home .home-chapter--compare { --band: var(--indigo); }
.page-home .home-chapter--archive { --band: var(--wine); }
.page-home .home-chapter--start { --band: var(--brass); }

.page-home .home-chapter::before {
  content: "";
  display: block;
  width: clamp(46px, 6vw, 76px);
  height: 3px;
  margin-bottom: clamp(16px, 2vw, 24px);
  border-radius: 2px;
  background: var(--band);
}

.page-home .home-chapter-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(24px, 3.4vw, 44px);
}

.page-home .home-chapter-num {
  font-size: .7rem;
  letter-spacing: .3em;
  color: var(--amber);
}

.page-home .home-chapter h2 {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.45rem, 3.2vw, 2.45rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.012em;
  color: #fff;
}

.page-home .home-chapter-lead {
  margin: 0;
  max-width: 62ch;
  font-size: .92rem;
  line-height: 1.9;
  color: var(--mist);
}

/* ---------- 入口主题带 ---------- */
.page-home .home-entry-band {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: rgba(35, 64, 92, .7);
}

.page-home .home-entry {
  display: grid;
  gap: 13px;
  align-content: start;
  justify-items: start;
  padding: clamp(22px, 2.8vw, 34px);
  background: var(--glass-deep);
  transition: background .26s var(--ease);
}

.page-home .home-entry:hover {
  background: rgba(18, 40, 63, .92);
}

.page-home .home-entry--new { border-top: 3px solid var(--cyan); }
.page-home .home-entry--old { border-top: 3px solid var(--amber); }
.page-home .home-entry--log { border-top: 3px solid var(--indigo); }

.page-home .home-entry h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}

.page-home .home-entry p {
  margin: 0;
  font-size: .84rem;
  line-height: 1.9;
  color: var(--mist);
}

.page-home .home-entry .tag {
  font-size: .68rem;
  letter-spacing: .18em;
}

/* ---------- 常用分类 ---------- */
.page-home .home-cat-grid {
  display: grid;
  gap: clamp(22px, 2.8vw, 34px);
  align-items: start;
}

.page-home .home-cat-main {
  min-width: 0;
}

.page-home .home-device-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 26, 43, .72);
}

.page-home .home-device-switch button {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--mist);
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease);
}

.page-home .home-device-switch button:hover {
  color: var(--paper);
}

.page-home .home-device-switch button[aria-pressed="true"] {
  background: var(--amber);
  color: var(--ink-900);
  font-weight: 700;
}

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

.page-home .home-cat-item {
  display: grid;
  gap: 5px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(18, 40, 63, .42);
  transition: border-color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease);
}

.page-home .home-cat-item:hover {
  border-color: rgba(53, 224, 214, .58);
  background: rgba(53, 224, 214, .08);
  transform: translateY(-3px);
}

.page-home .home-cat-num {
  font-size: .66rem;
  letter-spacing: .22em;
  color: var(--brass);
}

.page-home .home-cat-name {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--paper);
}

.page-home .home-cat-note {
  margin: 0;
  font-size: .73rem;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .home-cat-aside {
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--news);
  color: var(--ink-900);
}

.page-home .home-cat-aside img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .home-cat-aside-body {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: clamp(18px, 2.4vw, 28px);
}

.page-home .home-cat-aside h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink-900);
}

.page-home .home-cat-aside p {
  margin: 0;
  font-size: .81rem;
  line-height: 1.9;
  color: #3A4A5C;
}

/* ---------- 版本对照台 ---------- */
.page-home .home-compare-grid {
  display: grid;
  gap: clamp(22px, 2.8vw, 36px);
  align-items: start;
}

.page-home .home-compare-figure {
  margin: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-compare-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  object-fit: cover;
  filter: saturate(.65);
}

.page-home .home-compare-figure figcaption {
  font-size: .74rem;
  line-height: 1.75;
  color: var(--mist);
  padding-left: 12px;
  border-left: 2px solid var(--brass);
}

.page-home .home-compare {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(11, 26, 43, .8);
}

.page-home .home-compare-head {
  display: none;
}

.page-home .home-compare-row {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-bottom: 1px solid rgba(35, 64, 92, .75);
}

.page-home .home-compare-row:last-child {
  border-bottom: 0;
}

.page-home .home-compare-key {
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--amber);
}

.page-home .home-compare-cell p {
  margin: 0;
  font-size: .81rem;
  line-height: 1.85;
  color: var(--mist);
}

.page-home .home-compare-tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: .66rem;
  letter-spacing: .14em;
}

.page-home .home-compare-tag--new {
  color: var(--cyan);
  border: 1px solid rgba(53, 224, 214, .5);
}

.page-home .home-compare-tag--old {
  color: var(--amber);
  border: 1px solid rgba(242, 160, 61, .5);
}

/* ---------- 归档 ---------- */
.page-home .home-archive {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}

.page-home .home-archive-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-home .home-archive-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.7) brightness(.6);
}

.page-home .home-archive::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(140deg, rgba(11, 26, 43, .92) 0%, rgba(110, 42, 60, .58) 100%);
  pointer-events: none;
}

.page-home .home-archive-inner {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
  justify-items: start;
  padding: clamp(26px, 4vw, 52px);
}

.page-home .home-archive-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .home-archive-tags li {
  padding: 6px 14px;
  border: 1px solid rgba(242, 160, 61, .5);
  border-radius: 999px;
  background: rgba(11, 26, 43, .6);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--amber);
}

.page-home .home-archive-stats {
  margin: 0;
  display: grid;
  gap: 18px;
  width: 100%;
}

.page-home .home-archive-stats div {
  display: grid;
  gap: 4px;
}

.page-home .home-archive-stats dt {
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--mist);
}

.page-home .home-archive-stats dd {
  margin: 0;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--cyan);
}

.page-home .home-archive-stats div:first-child dd {
  color: var(--amber);
}

.page-home .home-archive-note {
  margin: 0;
  max-width: 56ch;
  font-size: .82rem;
  line-height: 1.9;
  color: var(--mist);
}

/* ---------- 第一次来 ---------- */
.page-home .home-start-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
  counter-reset: home-start;
}

.page-home .home-start-item {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(18, 40, 63, .38);
  transition: border-color .24s var(--ease), background .24s var(--ease);
}

.page-home .home-start-item:hover {
  border-color: rgba(138, 90, 34, .9);
  background: rgba(18, 40, 63, .58);
}

.page-home .home-start-step {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--brass);
}

.page-home .home-start-item h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.page-home .home-start-item p {
  margin: 0;
  font-size: .83rem;
  line-height: 1.9;
  color: var(--mist);
}

.page-home .home-start-link {
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 224, 214, .45);
  padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.page-home .home-start-link:hover,
.page-home .home-start-link:focus-visible {
  color: #fff;
  border-bottom-color: #fff;
}

.page-home .home-start-note {
  margin: clamp(22px, 3vw, 34px) 0 0;
  max-width: 64ch;
  font-size: .8rem;
  line-height: 1.9;
  color: var(--mist);
}

.page-home .home-start-note a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: rgba(242, 160, 61, .6);
  text-underline-offset: 3px;
}

.page-home .home-start-note a:hover {
  color: var(--amber);
}

/* ---------- 断点 ---------- */
@media (min-width: 720px) {
  .page-home .home-entry-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .home-archive-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .page-home .home-start-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .page-home .home-start-item:nth-child(2) {
    margin-top: 20px;
  }

  .page-home .home-start-item:nth-child(3) {
    margin-top: 40px;
  }
}

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

  .page-home .home-compare-head {
    display: grid;
    grid-template-columns: minmax(130px, .75fr) minmax(0, 1.6fr) minmax(0, 1.6fr);
    gap: 1px;
    background: rgba(35, 64, 92, .6);
  }

  .page-home .home-compare-head span {
    padding: 14px 20px;
    background: rgba(18, 40, 63, .95);
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--mist);
  }

  .page-home .home-compare-head span:nth-child(2) {
    color: var(--cyan);
  }

  .page-home .home-compare-head span:nth-child(3) {
    color: var(--amber);
  }

  .page-home .home-compare-row {
    grid-template-columns: minmax(130px, .75fr) minmax(0, 1.6fr) minmax(0, 1.6fr);
    gap: 1px;
    padding: 0;
    background: rgba(35, 64, 92, .6);
  }

  .page-home .home-compare-key,
  .page-home .home-compare-cell {
    padding: 16px 20px;
    background: rgba(11, 26, 43, .94);
  }

  .page-home .home-compare-key {
    letter-spacing: .14em;
  }

  .page-home .home-compare-tag {
    display: none;
  }
}

@media (min-width: 900px) {
  .page-home .home-cat-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
}

@media (min-width: 980px) {
  .page-home .home-compare-grid {
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.62fr);
  }
}

@media (min-width: 1040px) {
  .page-home .home-body {
    grid-template-columns: var(--home-rail-w) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .home-rail {
    display: block;
  }

  .page-home .home-rail-nav {
    position: sticky;
    top: 118px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-cat-item,
  .page-home .home-start-item,
  .page-home .home-index a,
  .page-home .home-rail-link {
    transition: none;
  }

  .page-home .home-cat-item:hover {
    transform: none;
  }
}
<<<END>>>
