/* ===== 首页 · 官方入口 ===== */

.page-home {
  background: var(--paper);
  color: var(--rock);
  overflow-x: hidden;
}

.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

.page-home [id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* --- 上下文条 --- */
.page-home .ctx-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--ink-a10);
}

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

.page-home .ctx-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--moss);
}

.page-home .ctx-list li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--ink-a40);
}

.page-home .ctx-list a {
  color: var(--ice);
  text-decoration: none;
}

.page-home .ctx-list a:hover {
  color: var(--maple);
}

.page-home .ctx-list [aria-current="page"] {
  color: var(--rock);
  font-weight: 600;
}

.page-home .ctx-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--moss);
}

/* --- 首屏 --- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(34px, 5vw, 76px) 0 clamp(40px, 5vw, 84px);
}

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

.page-home .hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.page-home .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(85% 60% at 12% 4%, rgba(46, 196, 182, 0.30), transparent 62%),
    radial-gradient(70% 70% at 88% 14%, rgba(31, 111, 178, 0.42), transparent 66%),
    linear-gradient(180deg, rgba(14, 22, 33, 0.32) 0%, rgba(14, 22, 33, 0.88) 62%, var(--ink) 100%);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(201, 220, 234, 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(201, 220, 234, 0.10) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

.page-home .hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 36px);
  align-items: start;
}

/* 竖向索引栏：仅桌面 */
.page-home .hero-rail {
  display: none;
}

.page-home .rail-text {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--gold);
  text-transform: uppercase;
}

.page-home .rail-line {
  display: block;
  width: 1px;
  height: 72px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

.page-home .rail-code {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--paper-a45);
}

.page-home .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid rgba(242, 177, 52, 0.45);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.page-home .hero-title {
  margin: 20px 0 0;
  max-width: 15em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-home .hero-lead {
  margin: 22px 0 0;
  max-width: 44em;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.88;
  color: var(--paper-a70);
}

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

.page-home .hero-actions .btn--outline {
  color: var(--paper);
  border-color: var(--paper-a45);
  background: transparent;
}

.page-home .hero-actions .btn--outline:hover,
.page-home .hero-actions .btn--outline:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

/* 章节目录 */
.page-home .chapter-list {
  margin: clamp(28px, 4vw, 42px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--paper-a16);
}

.page-home .chapter-list li {
  border-bottom: 1px solid var(--paper-a16);
}

.page-home .chapter-link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 4px;
  color: var(--paper);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.page-home .chapter-link .idx {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.page-home .chapter-link .label {
  font-weight: 500;
}

.page-home .chapter-link .arrow {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--paper-a45);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.page-home .chapter-link:hover,
.page-home .chapter-link:focus-visible {
  background: rgba(246, 241, 231, 0.07);
  color: var(--white);
}

.page-home .chapter-link:hover .arrow,
.page-home .chapter-link:focus-visible .arrow {
  color: var(--aurora);
  transform: translateY(3px);
}

/* 认证侧卡 */
.page-home .hero-badge {
  border: 1px solid var(--paper-a16);
  background: rgba(246, 241, 231, 0.05);
  padding: 14px;
}

.page-home .hero-badge-figure {
  margin: 0;
}

.page-home .hero-badge-id {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-home .hero-badge-label {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--paper-a70);
}

.page-home .hero-badge-link {
  display: inline-block;
  margin-top: 12px;
  padding-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 220, 234, 0.4);
}

.page-home .hero-badge-link:hover,
.page-home .hero-badge-link:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

/* --- 通用分区骨架 --- */
.page-home .band-timeline,
.page-home .band-library,
.page-home .band-compare,
.page-home .band-trust {
  padding: clamp(56px, 7vw, 104px) 0;
}

.page-home .band-head {
  max-width: 60em;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.page-home .band-head h2 {
  margin: 12px 0 0;
}

.page-home .band-lead {
  margin: 16px 0 0;
  max-width: 48em;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(43, 48, 56, 0.76);
}

.page-home .eyebrow {
  color: var(--ice);
}

/* --- 时间轴带 --- */
.page-home .band-timeline {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.page-home .tl-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .tl-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.page-home .tl-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(246, 241, 231, 0.92) 0%, rgba(246, 241, 231, 0.74) 50%, rgba(246, 241, 231, 0.94) 100%);
}

.page-home .band-timeline .band-body {
  position: relative;
  z-index: 1;
}

.page-home .tl-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--ice) transparent;
}

.page-home .tl-track::-webkit-scrollbar {
  height: 3px;
}

.page-home .tl-track::-webkit-scrollbar-thumb {
  background: var(--ice);
}

.page-home .tl-node {
  flex: 0 0 clamp(200px, 24vw, 252px);
  scroll-snap-align: start;
  position: relative;
  padding: 28px 22px 6px 0;
  border-top: 1px solid rgba(31, 111, 178, 0.35);
}

.page-home .tl-node::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--maple);
  box-shadow: 0 0 0 4px rgba(215, 38, 61, 0.13);
}

.page-home .tl-year {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ice);
}

.page-home .tl-head {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.page-home .tl-desc {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(43, 48, 56, 0.74);
}

.page-home .tl-notes {
  margin: clamp(26px, 3vw, 40px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  border: 1px solid rgba(31, 111, 178, 0.22);
  background: rgba(31, 111, 178, 0.22);
}

.page-home .tl-notes li {
  background: var(--paper);
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--rock);
}

.page-home .tl-notes .mono {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ice);
}

/* --- 资料入口 --- */
.page-home .band-library {
  background: var(--paper);
}

.page-home .library-grid {
  align-items: start;
}

.page-home .entry {
  position: relative;
  display: flex;
  background: var(--white);
  border: 1px solid var(--ink-a10);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-home .entry::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 64px;
  height: 2px;
  background: var(--maple);
}

.page-home .entry:nth-child(2)::before { background: var(--ice); }
.page-home .entry:nth-child(3)::before { background: var(--aurora); }
.page-home .entry:nth-child(4)::before { background: var(--gold); }
.page-home .entry:nth-child(5)::before { background: var(--moss); }

.page-home .entry:hover,
.page-home .entry:focus-within {
  border-color: var(--ice);
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -30px rgba(14, 22, 33, 0.55);
}

.page-home .entry-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: clamp(20px, 2.4vw, 30px);
  text-decoration: none;
  color: inherit;
}

.page-home .entry-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ice);
}

.page-home .entry-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-home .entry-copy {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(43, 48, 56, 0.76);
}

.page-home .entry-latest {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: rgba(107, 127, 110, 0.9);
  transition: color 0.2s var(--ease);
}

.page-home .entry-latest .dot {
  width: 6px;
  height: 6px;
  background: var(--aurora);
  flex: none;
}

.page-home .entry:hover .entry-latest,
.page-home .entry:focus-within .entry-latest {
  color: var(--ice);
}

.page-home .entry-more {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--maple);
}

/* --- 设备对照 --- */
.page-home .band-compare {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.page-home .band-compare::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 50% at 86% 8%, rgba(46, 196, 182, 0.20), transparent 65%),
    radial-gradient(52% 46% at 4% 92%, rgba(31, 111, 178, 0.26), transparent 70%);
}

.page-home .band-compare .band-body {
  position: relative;
  z-index: 1;
}

.page-home .band-compare .eyebrow {
  color: var(--gold);
}

.page-home .band-compare .band-head h2 {
  color: var(--white);
}

.page-home .band-compare .band-lead {
  color: rgba(246, 241, 231, 0.72);
}

.page-home .compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

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

.page-home .compare-figure .figure-caption {
  color: rgba(246, 241, 231, 0.62);
}

.page-home .compare-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-home .compare-card {
  height: 100%;
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid var(--paper-a16);
  background: rgba(246, 241, 231, 0.04);
}

.page-home .compare-card h3 {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--paper-a16);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
}

.page-home .compare-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-home .compare-card li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(246, 241, 231, 0.76);
}

.page-home .compare-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--aurora);
}

.page-home .compare-cols > .compare-card:nth-child(2) li::before {
  background: var(--gold);
}

/* --- 认证与联系 --- */
.page-home .band-trust {
  background: var(--paper);
}

.page-home .trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 3.5vw, 44px);
  align-items: start;
}

.page-home .trust-badges {
  display: grid;
  gap: 1px;
  border: 1px solid var(--ink-a10);
  background: var(--ink-a10);
}

.page-home .cert {
  background: var(--paper);
  padding: clamp(20px, 2.4vw, 28px);
}

.page-home .cert-mark-wrap {
  position: relative;
  display: block;
  width: 44px;
  height: 52px;
  color: var(--maple);
}

.page-home .cert-mark {
  display: block;
  width: 44px;
  height: 52px;
}

.page-home .cert-num {
  position: absolute;
  left: 0;
  right: 0;
  top: 21px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--maple);
}

.page-home .cert h3 {
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.page-home .cert p {
  margin: 0;
  font-size: 14px;
  line-height: 1.76;
  color: rgba(43, 48, 56, 0.74);
}

.page-home .trust-contact {
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid var(--ink-a10);
  background: var(--white);
}

.page-home .tc-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 19px);
  font-weight: 700;
  color: var(--ink);
}

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

.page-home .tc-row {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-a06);
}

.page-home .tc-row:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .tc-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--moss);
}

.page-home .tc-val {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  word-break: break-word;
}

.page-home .tc-val--mono {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

.page-home .tc-note {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.78;
  color: var(--moss);
}

.page-home .trust-contact .btn {
  margin-top: 20px;
}

/* --- 显影 --- */
.page-home [data-reveal] {
  opacity: 1;
}

.page-home.js .page-home [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.page-home.js .page-home [data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .page-home.js .page-home [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .page-home .entry,
  .page-home .chapter-link .arrow {
    transition: none;
  }
}

/* --- 断点 --- */
@media (min-width: 600px) {
  .page-home .compare-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: 72px minmax(0, 1fr) 288px;
    gap: clamp(24px, 3vw, 46px);
  }

  .page-home .hero-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-left: 16px;
    border-left: 1px solid var(--paper-a16);
  }

  .page-home .trust-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }
}

@media (min-width: 960px) {
  .page-home .compare-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(28px, 3vw, 44px);
  }
}

@media (min-width: 861px) {
  .page-home .library-grid > .entry:nth-child(2) {
    margin-top: 44px;
  }
  .page-home .library-grid > .entry:nth-child(3) {
    margin-top: -14px;
  }
  .page-home .library-grid > .entry:nth-child(4) {
    margin-top: 26px;
  }
}

@media (max-width: 520px) {
  .page-home .hero-badge {
    padding: 12px;
  }
  .page-home .ctx-inner {
    align-items: flex-start;
  }
  .page-home .chapter-link {
    font-size: 14px;
  }
}
<<<END>>>
