/* ============================================================
   首页 · page-home
   深色高原夜空底 + 经幡五色节奏 · 分屏首屏 · 横向卷轴 · 固定列宽对照
   ============================================================ */

.page-home {
  --home-sec: clamp(56px, 9vw, 110px);
  --home-sec-sm: clamp(38px, 6vw, 68px);
  display: block;
  color: var(--ink);
  background: var(--c-noir);
  overflow-x: clip;
}

/* ---------- 通用区块骨架 ---------- */
.page-home .section {
  position: relative;
  padding-block: var(--home-sec);
}

.page-home .section__head {
  max-width: 62ch;
  margin-bottom: clamp(26px, 4vw, 48px);
}

.page-home .section__title {
  margin: .3em 0 .55em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.8vw, 2.6rem);
  line-height: 1.24;
  letter-spacing: -.015em;
  color: var(--c-cream);
}

.page-home .section__lead {
  margin: 0;
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.88;
  color: var(--ink-soft);
}

/* ============================================================
   01 · 分屏首屏
   ============================================================ */
.page-home .hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(30px, 5vw, 70px) clamp(42px, 7vw, 92px);
  background:
    radial-gradient(112% 82% at 86% 2%, rgba(30, 124, 108, .22), transparent 62%),
    radial-gradient(84% 72% at 2% 100%, rgba(142, 30, 39, .22), transparent 64%),
    linear-gradient(180deg, var(--c-indigo) 0%, var(--c-noir) 70%);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--c-crimson) 0 20%,
    var(--c-turquoise) 20% 40%,
    var(--c-gold) 40% 60%,
    var(--c-indigo) 60% 80%,
    var(--c-clay) 80% 100%);
  opacity: .9;
}

.page-home .hero__grid {
  display: grid;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

.page-home .hero__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .05em;
  color: var(--ink-faint);
}

.page-home .hero__crumb a {
  color: var(--ink-faint);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .24s var(--ease), border-color .24s var(--ease);
}

.page-home .hero__crumb a:hover {
  color: var(--c-bright);
  border-bottom-color: var(--c-bright);
}

.page-home .hero__title {
  display: flex;
  flex-direction: column;
  gap: .28em;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6.2vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--c-cream);
}

.page-home .hero__ver {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(.82rem, 1.6vw, 1.05rem);
  letter-spacing: .16em;
  color: var(--c-gold);
}

.page-home .hero__lead {
  margin: 0 0 28px;
  max-width: 48ch;
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.92;
  color: var(--ink-soft);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.page-home .hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 0;
  padding-top: 22px;
  list-style: none;
  border-top: 1px solid var(--hair-soft);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--ink-faint);
}

.page-home .hero__meta b {
  font-weight: 700;
  color: var(--c-gold);
}

/* --- 右侧视觉区 --- */
.page-home .hero__visual {
  position: relative;
  isolation: isolate;
  min-height: 300px;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(19, 30, 58, .92), rgba(12, 14, 19, .98));
}

.page-home .hero__peaks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: .9;
}

.page-home .hero__media {
  position: absolute;
  inset: clamp(14px, 2vw, 22px);
  z-index: 1;
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-home .hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hero__bands {
  position: absolute;
  z-index: 2;
  inset-block: clamp(14px, 2vw, 22px);
  inset-inline-end: clamp(20px, 2.6vw, 30px);
  width: 6px;
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  gap: 2px;
  border-radius: 999px;
  overflow: hidden;
  opacity: .92;
}

.page-home .hero__bands span {
  display: block;
}

/* ============================================================
   页面索引条
   ============================================================ */
.page-home .home-index {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: rgba(12, 14, 19, .92);
  backdrop-filter: blur(12px);
  border-block: 1px solid var(--hair-soft);
}

.page-home .home-index__list {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 10px var(--gutter);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.page-home .home-index .index-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .84rem;
  color: var(--ink-faint);
  text-decoration: none;
  transition: color .24s var(--ease), border-color .24s var(--ease), background-color .24s var(--ease);
}

.page-home .home-index .index-link:hover {
  color: var(--c-cream);
  border-color: var(--hair);
}

.page-home .home-index .index-link[aria-current] {
  color: var(--c-bright);
  border-color: rgba(73, 183, 158, .5);
  background: rgba(73, 183, 158, .09);
}

.page-home .home-index__num {
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--c-gold);
}

/* ============================================================
   02 · 版本时间轴（非对称 4:7）
   ============================================================ */
.page-home .section--version {
  background: linear-gradient(180deg, rgba(19, 30, 58, .5), rgba(12, 14, 19, 0) 62%);
}

.page-home .version-grid {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
}

.page-home .timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 0;
  list-style: none;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--c-gold), rgba(201, 154, 60, .12));
}

.page-home .timeline__item {
  position: relative;
  padding: 0 0 30px 36px;
}

.page-home .timeline__item:last-child {
  padding-bottom: 0;
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 15px;
  border: 2px solid var(--c-gold);
  border-radius: 50%;
  background: var(--c-noir);
}

.page-home .timeline__item--now::before {
  border-color: var(--c-crimson);
  background: var(--c-crimson);
  box-shadow: 0 0 0 4px rgba(142, 30, 39, .26);
}

.page-home .timeline__meta {
  margin: 0 0 6px;
  font-size: .76rem;
  letter-spacing: .08em;
  color: var(--c-gold);
}

.page-home .timeline__title {
  margin: 0 0 8px;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-cream);
}

.page-home .timeline__body p {
  margin: 0 0 10px;
  max-width: 62ch;
  font-size: .95rem;
  line-height: 1.84;
  color: var(--ink-soft);
}

/* ============================================================
   03 · 注册四步 · 横向卷轴
   ============================================================ */
.page-home .section--steps {
  background:
    linear-gradient(180deg, rgba(19, 30, 58, .58), rgba(12, 14, 19, 0) 58%),
    var(--c-noir);
}

.page-home .rail {
  display: flex;
  gap: 16px;
  padding: 6px var(--gutter) 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline-start: var(--gutter);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.page-home .rail__visual {
  flex: 0 0 min(84vw, 460px);
  scroll-snap-align: start;
  align-self: stretch;
  border-radius: var(--r-md);
  border: 1px solid var(--hair);
  overflow: hidden;
}

.page-home .rail__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .rail__card {
  flex: 0 0 min(80vw, 330px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 26px;
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-md);
  background: var(--panel);
  transition: border-color .28s var(--ease), transform .28s var(--ease);
}

.page-home .rail__card:hover {
  border-color: var(--hair);
  transform: translateY(-3px);
}

.page-home .rail__num {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
}

.page-home .rail__name {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--c-cream);
}

.page-home .rail__text {
  margin: 0;
  flex: 1;
  font-size: .94rem;
  line-height: 1.82;
  color: var(--ink-soft);
}

.page-home .rail__hint {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--hair-soft);
  font-size: .74rem;
  letter-spacing: .08em;
  color: var(--ink-faint);
}

/* ============================================================
   04 · 桌面端登录
   ============================================================ */
.page-home .desktop {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
}

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

.page-home .desktop__states li {
  position: relative;
  padding-left: 24px;
  font-size: .95rem;
  line-height: 1.82;
  color: var(--ink-soft);
}

.page-home .desktop__states li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--c-turquoise);
  transform: rotate(45deg);
}

.page-home .desktop__states strong {
  color: var(--c-cream);
  font-weight: 700;
}

.page-home .desktop__media {
  border-radius: var(--r-md);
  border: 1px solid var(--hair);
  overflow: hidden;
}

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

/* ============================================================
   05 · 新旧对照
   ============================================================ */
.page-home .section--compare {
  background: linear-gradient(180deg, rgba(142, 30, 39, .12), rgba(12, 14, 19, 0) 46%);
}

.page-home .compare__media {
  margin: 0 0 clamp(24px, 3.4vw, 40px);
  border-radius: var(--r-md);
  border: 1px solid var(--hair);
  overflow: hidden;
}

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

.page-home .compare__scroll {
  overflow-x: auto;
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-md);
  background: var(--panel);
  -webkit-overflow-scrolling: touch;
}

.page-home .compare__table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: .9rem;
}

.page-home .compare__caption {
  caption-side: top;
  padding: 16px 18px 6px;
  text-align: left;
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--ink-faint);
}

.page-home .compare__table th,
.page-home .compare__table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
  border-bottom: 1px solid var(--hair-soft);
}

.page-home .compare__table thead th {
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .07em;
  color: var(--c-gold);
  background: rgba(19, 30, 58, .8);
}

.page-home .compare__table tbody th {
  font-weight: 600;
  color: var(--c-cream);
  white-space: nowrap;
}

.page-home .compare__table tbody td {
  color: var(--ink-soft);
}

.page-home .compare__table tbody tr:nth-child(even) {
  background: rgba(19, 30, 58, .34);
}

.page-home .compare__table tbody tr:last-child th,
.page-home .compare__table tbody tr:last-child td {
  border-bottom: 0;
}

/* ============================================================
   06 · 疑问与联系
   ============================================================ */
.page-home .help {
  display: grid;
  gap: clamp(30px, 4vw, 56px);
}

.page-home .faq {
  margin-bottom: 10px;
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-sm);
  background: rgba(19, 30, 58, .42);
  overflow: hidden;
  transition: border-color .24s var(--ease);
}

.page-home .faq:hover {
  border-color: var(--hair);
}

.page-home .faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--c-cream);
  transition: background-color .24s var(--ease);
}

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

.page-home .faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--c-gold);
}

.page-home .faq[open] summary::after {
  content: "–";
}

.page-home .faq[open] summary {
  background: rgba(30, 124, 108, .13);
}

.page-home .faq__body {
  padding: 2px 18px 18px;
}

.page-home .faq__body p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.88;
  color: var(--ink-soft);
}

/* --- 联系卡 --- */
.page-home .help__card {
  padding: 26px 22px 24px;
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  background: linear-gradient(165deg, rgba(142, 30, 39, .24), rgba(19, 30, 58, .72));
}

.page-home .help__card-title {
  margin: .3em 0 .9em;
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--c-cream);
}

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

.page-home .help__list li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--hair-soft);
}

.page-home .help__list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .help__label {
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--c-gold);
}

.page-home .help__list a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-cream);
  text-decoration: none;
  word-break: break-all;
  border-bottom: 1px solid transparent;
  transition: color .24s var(--ease), border-color .24s var(--ease);
}

.page-home .help__list a:hover {
  color: var(--c-bright);
  border-bottom-color: var(--c-bright);
}

.page-home .help__note {
  font-size: .82rem;
  line-height: 1.7;
  color: var(--ink-faint);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 560px) {
  .page-home .hero {
    padding-block: 22px 48px;
  }

  .page-home .hero__visual {
    min-height: 240px;
  }

  .page-home .hero__ver {
    letter-spacing: .1em;
  }

  .page-home .rail__visual {
    flex-basis: 84vw;
    min-height: 180px;
  }

  .page-home .compare__caption {
    padding-inline: 14px;
  }
}

@media (min-width: 940px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    align-items: stretch;
  }

  .page-home .hero__visual {
    min-height: 520px;
  }

  .page-home .version-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-home .version-grid .section__head {
    margin-bottom: 0;
  }

  .page-home .desktop {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }

  .page-home .help {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }
}

@media (min-width: 1180px) {
  .page-home .rail {
    padding-inline: max(var(--gutter), calc((100vw - var(--shell)) / 2));
  }

  .page-home .rail__card {
    flex-basis: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .rail__card,
  .page-home .faq,
  .page-home .home-index .index-link,
  .page-home .help__list a,
  .page-home .hero__crumb a {
    transition: none;
  }

  .page-home .rail {
    scroll-behavior: auto;
  }
}
<<<END>>>
