.page-home {
  --hm-glass: rgba(255, 255, 255, .055);
  --hm-line-soft: rgba(243, 235, 221, .12);
  --hm-paper-lift: #FBF6EC;
  --hm-cinnabar-deep: #A83A24;
}

.page-home .home-topbar {
  background: var(--ink-deep);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .home-topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.page-home .home-crumb-sep {
  margin: 0 6px;
  color: var(--text-faint);
}

.page-home .home-topbar-note {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text-dim);
}

.page-home .home-topbar-ver {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 7px;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(32px, 5.5vw, 72px) 0 clamp(40px, 6vw, 88px);
  background:
    radial-gradient(760px 480px at 88% 8%, rgba(200, 162, 74, .18), transparent 64%),
    radial-gradient(620px 420px at 4% 94%, rgba(94, 117, 99, .16), transparent 62%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
}

.page-home .home-hero-grid {
  display: grid;
  gap: clamp(26px, 3.6vw, 46px);
}

.page-home .home-hero-copy h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 6.6vw, 74px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .04em;
  color: var(--text);
}

.page-home .home-h1-accent {
  display: block;
  margin-top: 6px;
  color: var(--gold-bright);
}

.page-home .home-hero-copy .lede {
  margin: 20px 0 0;
  max-width: 48ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: var(--text-soft);
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .home-hero-index {
  list-style: none;
  margin: clamp(28px, 4vw, 42px) 0 0;
  padding: 0;
  max-width: 520px;
  border-top: 1px solid var(--hm-line-soft);
}

.page-home .home-hero-index li {
  border-bottom: 1px solid var(--hm-line-soft);
}

.page-home .home-hero-index a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 11px 2px;
  font-size: 14px;
  color: var(--text-soft);
  text-decoration: none;
  transition: color var(--ease), padding-left var(--ease);
}

.page-home .home-hero-index a:hover,
.page-home .home-hero-index a:focus-visible {
  color: var(--gold-bright);
  padding-left: 8px;
}

.page-home .home-hero-index .mono {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gold);
}

.page-home .home-idx-arrow {
  font-size: 13px;
  color: var(--text-faint);
}

/* 版本状态卡 */
.page-home .home-version {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .03) 46%, rgba(8, 19, 31, .74));
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.page-home .home-version:hover,
.page-home .home-version:focus-within {
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .4);
}

.page-home .home-version-media {
  position: relative;
}

.page-home .home-version-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: .82;
}

.page-home .home-version-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 27, 43, .18) 0%, rgba(8, 19, 31, .88) 100%);
}

.page-home .home-version-body {
  padding: 18px clamp(16px, 2.4vw, 24px) clamp(18px, 2.4vw, 24px);
}

.page-home .home-version-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-home .home-version-code {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4.6vw, 40px);
  line-height: 1;
  letter-spacing: .05em;
  color: var(--gold-bright);
}

.page-home .home-version-title {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text-soft);
}

.page-home .home-version-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--hm-line-soft);
}

.page-home .home-version-meta dt {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--text-dim);
}

.page-home .home-version-meta dd {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text);
}

/* ---------- 栏目轨道 ---------- */
.page-home .home-rail-section {
  background: var(--ink-2);
  border-top: 1px solid var(--hm-line-soft);
  border-bottom: 1px solid var(--hm-line-soft);
  padding: clamp(26px, 3.8vw, 44px) 0 clamp(20px, 3vw, 34px);
}

.page-home .home-rail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 18px;
  margin-bottom: 16px;
}

.page-home .home-rail-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .06em;
  color: var(--text);
}

.page-home .home-rail-hint {
  margin: 0;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text-dim);
}

.page-home .home-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-color: var(--gold) transparent;
  scrollbar-width: thin;
}

.page-home .home-rail-card {
  flex: 0 0 min(272px, 78vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 18px;
  border: 1px solid var(--hm-line-soft);
  border-radius: var(--r-md);
  background: var(--hm-glass);
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}

.page-home .home-rail-card:hover,
.page-home .home-rail-card:focus-visible {
  border-color: var(--gold);
  background: rgba(200, 162, 74, .1);
  transform: translateY(-2px);
}

.page-home .home-rail-card .mono {
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--gold);
}

.page-home .home-rail-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.45;
}

.page-home .home-rail-desc {
  font-size: 13px;
  line-height: 1.68;
  color: var(--text-dim);
}

/* ---------- 章节通用 ---------- */
.page-home .home-chapter {
  position: relative;
  padding: clamp(44px, 6vw, 86px) 0;
  background: var(--ink);
  scroll-margin-top: 96px;
}

.page-home .home-chapter--alt {
  background: var(--ink-deep);
}

.page-home .home-chapter--paper {
  background: var(--paper);
  color: var(--ink);
}

.page-home .home-chapter-head {
  margin-bottom: clamp(22px, 3.2vw, 40px);
}

.page-home .home-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  letter-spacing: .16em;
  color: var(--gold);
}

.page-home .home-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--gold);
  transition: color var(--ease), border-color var(--ease);
}

.page-home .home-chapter.is-active .home-num {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

.page-home .home-chapter--paper .home-mark {
  color: var(--clay);
}

.page-home .home-chapter--paper .home-num {
  color: var(--clay);
  border-color: rgba(169, 104, 75, .45);
}

.page-home .home-chapter--paper .home-chapter-lede {
  color: var(--rock);
}

.page-home .home-chapter h2 {
  margin: 14px 0 0;
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.9vw, 38px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .035em;
  color: var(--text);
}

.page-home .home-chapter--paper h2 {
  color: var(--ink);
}

.page-home .home-chapter-lede {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--text-soft);
}

.page-home .home-figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.65;
  letter-spacing: .04em;
  color: var(--text-dim);
}

/* ---------- 01 入口迁移 ---------- */
.page-home .home-entry-grid {
  display: grid;
  gap: clamp(24px, 3.4vw, 40px);
}

.page-home .home-map-svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .home-cat-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-cat-list li {
  padding: 12px 14px;
  border: 1px solid var(--hm-line-soft);
  border-radius: var(--r-sm);
  background: var(--hm-glass);
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--text-soft);
}

.page-home .home-cat-list strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14.5px;
  letter-spacing: .06em;
  color: var(--text);
}

.page-home .home-entry-note {
  margin: 20px 0 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-soft);
}

.page-home .home-entry-note .link-arrow,
.page-home .home-vs-more .link-arrow {
  color: var(--gold-bright);
}

.page-home .home-entry-figure {
  margin: 0;
}

.page-home .home-entry-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

/* ---------- 02 跨端对照 ---------- */
.page-home .home-vs {
  display: grid;
  gap: 16px;
}

.page-home .home-vs-card {
  padding: 18px 20px 20px;
  border: 1px solid var(--hm-line-soft);
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .02));
  transition: border-color var(--ease), transform var(--ease);
}

.page-home .home-vs-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.page-home .home-vs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hm-line-soft);
}

.page-home .home-vs-ver {
  font-family: var(--font-mono);
  font-size: 22px;
  letter-spacing: .06em;
  color: var(--gold-bright);
}

.page-home .home-vs-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-vs-list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-soft);
}

.page-home .home-vs-key {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--text-dim);
}

.page-home .home-vs-figure {
  margin: clamp(24px, 3.4vw, 38px) 0 0;
}

.page-home .home-vs-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  object-fit: cover;
  aspect-ratio: 10 / 7;
}

.page-home .home-vs-more {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-soft);
}

/* ---------- 03 记录查询 ---------- */
.page-home .home-steps {
  display: grid;
  gap: 12px;
  max-width: 780px;
}

.page-home .home-step {
  border: 1px solid rgba(11, 27, 43, .13);
  border-radius: var(--r-md);
  background: var(--hm-paper-lift);
  overflow: hidden;
  transition: border-color var(--ease);
}

.page-home .home-step:hover {
  border-color: rgba(200, 162, 74, .6);
}

.page-home .home-step > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

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

.page-home .home-step > summary::marker {
  content: "";
}

.page-home .home-step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  padding: 3px 7px;
  border: 1px solid rgba(169, 104, 75, .5);
  border-radius: 4px;
  color: var(--clay);
}

.page-home .home-step--focus .home-step-num {
  color: #fff;
  background: var(--cinnabar);
  border-color: var(--cinnabar);
}

.page-home .home-step-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink);
}

.page-home .home-step-sign {
  position: relative;
  width: 14px;
  height: 14px;
}

.page-home .home-step-sign::before,
.page-home .home-step-sign::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--clay);
  border-radius: 2px;
}

.page-home .home-step-sign::before {
  width: 14px;
  height: 2px;
}

.page-home .home-step-sign::after {
  width: 2px;
  height: 14px;
  transition: transform var(--ease), opacity var(--ease);
}

.page-home .home-step[open] .home-step-sign::after {
  transform: scaleY(0);
  opacity: 0;
}

.page-home .home-step-body {
  padding: 0 16px 16px;
}

.page-home .home-step-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.82;
  color: var(--rock);
}

/* ---------- 04 反馈通道 ---------- */
.page-home .home-feedback-grid {
  display: grid;
  gap: clamp(24px, 3.4vw, 44px);
}

.page-home .home-feedback-copy h2 {
  max-width: 20ch;
}

.page-home .home-feedback-note {
  margin: 16px 0 0;
  max-width: 56ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-soft);
}

.page-home .home-feedback-copy .btn {
  margin-top: 22px;
}

.page-home .home-feedback-figure {
  margin: 0;
  align-self: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(255, 255, 255, .08), rgba(11, 27, 43, .5));
  backdrop-filter: blur(8px);
}

.page-home .home-feedback-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  object-fit: cover;
  aspect-ratio: 5 / 3;
}

/* ---------- 05 专栏与问答 ---------- */
.page-home .home-read-grid {
  display: grid;
  gap: clamp(24px, 3.4vw, 42px);
}

.page-home .home-read-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .06em;
  color: var(--gold-bright);
}

.page-home .home-read-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  border-top: 1px solid var(--hm-line-soft);
}

.page-home .home-read-list li {
  border-bottom: 1px solid var(--hm-line-soft);
}

.page-home .home-read-list a {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 13px 2px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-soft);
  text-decoration: none;
  transition: color var(--ease), padding-left var(--ease);
}

.page-home .home-read-list a:hover,
.page-home .home-read-list a:focus-visible {
  color: var(--gold-bright);
  padding-left: 6px;
}

.page-home .home-read-time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--text-dim);
}

/* ---------- 06 联系收束 ---------- */
.page-home .home-reach {
  background:
    radial-gradient(620px 360px at 86% 10%, rgba(200, 162, 74, .16), transparent 66%),
    var(--ink);
  border-top: 1px solid var(--line);
}

.page-home .home-reach-grid {
  display: grid;
  gap: clamp(26px, 3.6vw, 48px);
}

.page-home .home-reach-copy h2 {
  max-width: 18ch;
}

.page-home .home-reach-copy .btn {
  margin-top: 24px;
}

.page-home .home-reach-contact {
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--hm-line-soft);
  border-radius: var(--r-md);
  background: var(--hm-glass);
}

.page-home .home-reach-contact .contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-reach-contact .contact-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hm-line-soft);
}

.page-home .home-reach-contact .contact-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .home-reach-contact .contact-key {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--text-dim);
}

.page-home .home-reach-contact .contact-value {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
  color: var(--text);
}

.page-home .home-reach-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-home .home-reach-legal {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-home .home-reach-legal a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--ease);
}

.page-home .home-reach-legal a:hover {
  color: var(--gold-bright);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .home-cat-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .page-home .home-vs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    align-items: start;
  }

  .page-home .home-vs-card--offset {
    margin-top: 38px;
  }

  .page-home .home-read-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .page-home .home-hero-grid {
    grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
    align-items: start;
  }

  .page-home .home-entry-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: start;
  }

  .page-home .home-feedback-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    align-items: center;
  }

  .page-home .home-reach-grid {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: start;
  }
}

@media (max-width: 520px) {
  .page-home .home-rail-card {
    flex-basis: 84vw;
  }

  .page-home .home-read-list a {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .page-home .home-vs-list li,
  .page-home .home-reach-contact .contact-item {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
<<<END>>>
