.page-home {
  --home-grid-line: rgba(143, 166, 196, .13);
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font-sans);
  line-height: 1.75;
  overflow-x: hidden;
}

.page-home .section {
  padding: 52px 0;
}

.page-home .section--navy {
  background: var(--midnight);
  color: var(--paper);
}

.page-home .section--ice {
  background: var(--ice);
}

.page-home .section-head {
  max-width: 760px;
  margin: 0 0 32px;
}

.page-home .eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--maple);
  margin: 0 0 10px;
}

.page-home .section--navy .eyebrow {
  color: var(--amber);
}

.page-home .section-title {
  font-size: clamp(1.42rem, 4.6vw, 2.05rem);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -.015em;
  margin: 0 0 12px;
}

.page-home .lede {
  font-size: 1rem;
  line-height: 1.78;
  color: #46586d;
  margin: 0;
}

.page-home .section--navy .lede {
  color: #b8c8dc;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  background: var(--midnight);
  color: var(--paper);
  padding: 26px 0 54px;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--home-grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  top: -14%;
  right: -30%;
  width: 82%;
  height: 132%;
  background: linear-gradient(140deg, var(--maple) 0%, var(--maple-deep) 58%, rgba(7, 20, 38, 0) 88%);
  clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .9;
  pointer-events: none;
}

.page-home .hero__grid {
  position: relative;
  display: grid;
  gap: 30px;
}

.page-home .hero__copy,
.page-home .hero__panel {
  position: relative;
  z-index: 2;
}

.page-home .hero .breadcrumb__link,
.page-home .hero .breadcrumb__sep {
  color: var(--mist);
}

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

.page-home .hero .breadcrumb__link:hover {
  color: var(--paper);
}

.page-home .hero h1 {
  font-size: clamp(1.75rem, 5.4vw, 2.9rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 12px 0 0;
  max-width: 15em;
}

.page-home .hero .lede {
  color: #c6d5e8;
  margin-top: 16px;
  max-width: 34em;
}

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

.page-home .hero__figure {
  margin: 0;
  border: 1px solid rgba(220, 230, 242, .22);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(7, 20, 38, .55);
}

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

.page-home .hero__version {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(242, 184, 75, .34);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  background: rgba(7, 20, 38, .74);
}

.page-home .hero__version-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .hero__version-value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 7vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--amber);
}

.page-home .hero__copy {
  appearance: none;
  cursor: pointer;
  margin-left: auto;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(220, 230, 242, .36);
  border-radius: 999px;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.page-home .hero__copy:hover,
.page-home .hero__copy:focus-visible {
  background: rgba(46, 230, 166, .14);
  border-color: var(--aurora);
  color: #eafff7;
}

/* ---------- 章节索引 ---------- */
.page-home .home-toc {
  position: relative;
  z-index: 3;
  background: var(--navy);
  border-top: 1px solid rgba(220, 230, 242, .14);
  border-bottom: 1px solid rgba(220, 230, 242, .14);
}

.page-home .home-toc__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 11px;
  padding-bottom: 11px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.page-home .home-toc__label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}

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

.page-home .home-toc__link {
  display: block;
  white-space: nowrap;
  padding: 6px 13px;
  font-size: 13px;
  text-decoration: none;
  color: var(--ice);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

.page-home .home-toc__link:hover,
.page-home .home-toc__link:focus-visible {
  border-color: rgba(220, 230, 242, .34);
  color: var(--paper);
}

.page-home .home-toc__link.is-current {
  color: var(--paper);
  background: rgba(200, 16, 46, .24);
  border-color: var(--maple);
}

/* ---------- 内容目录轨道 ---------- */
.page-home .catalog__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(232px, 76%);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-color: var(--maple) rgba(143, 166, 196, .24);
}

.page-home .catalog__card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
  background: #ffffff;
  border: 1px solid rgba(143, 166, 196, .36);
  border-top: 3px solid var(--maple);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.page-home .catalog__idx {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--maple);
}

.page-home .catalog__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--navy);
}

.page-home .catalog__text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.72;
  color: #4a5c70;
}

.page-home .catalog__hint {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--mist);
}

.page-home .catalog__figure {
  margin: 26px 0 0;
  border: 1px solid rgba(143, 166, 196, .36);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ice);
}

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

.page-home .catalog__caption {
  padding: 12px 16px;
  font-size: .82rem;
  line-height: 1.7;
  color: #4a5c70;
  background: rgba(255, 255, 255, .78);
  border-top: 1px solid rgba(143, 166, 196, .3);
}

/* ---------- 使用记录 ---------- */
.page-home .records__grid {
  display: grid;
  gap: 28px;
}

.page-home .records__timeline {
  margin: 0;
  padding: 0 0 0 4px;
  list-style: none;
  border-left: 1px solid rgba(220, 230, 242, .24);
}

.page-home .records__item {
  position: relative;
  padding: 0 0 22px 22px;
}

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

.page-home .records__item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--aurora);
  box-shadow: 0 0 0 3px rgba(46, 230, 166, .16);
}

.page-home .records__when {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--amber);
}

.page-home .records__what {
  margin: 4px 0 9px;
  font-size: .93rem;
  color: #dbe6f4;
}

.page-home .records__bar {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(220, 230, 242, .12);
  overflow: hidden;
}

.page-home .records__bar > span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--maple), var(--signal));
}

.page-home .records__item:nth-child(1) .records__bar > span { width: 84%; }
.page-home .records__item:nth-child(2) .records__bar > span { width: 62%; }
.page-home .records__item:nth-child(3) .records__bar > span { width: 71%; }
.page-home .records__item:nth-child(4) .records__bar > span { width: 48%; }

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

.page-home .records__fields li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--ice);
  padding: 4px 12px;
  border: 1px solid rgba(220, 230, 242, .28);
  border-radius: 999px;
}

.page-home .records__figure {
  margin: 0;
  border: 1px solid rgba(220, 230, 242, .2);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(7, 20, 38, .6);
}

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

.page-home .records__caption {
  padding: 12px 16px;
  font-size: .82rem;
  line-height: 1.7;
  color: #b8c8dc;
  border-top: 1px solid rgba(220, 230, 242, .16);
}

/* ---------- 问题快查 ---------- */
.page-home .help__grid {
  display: grid;
  gap: 28px;
}

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

.page-home .help__step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 17px 18px 18px 14px;
  background: #ffffff;
  border: 1px solid rgba(143, 166, 196, .36);
  border-left: 3px solid var(--signal);
  border-radius: var(--radius);
}

.page-home .help__num {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .04em;
  color: var(--maple);
}

.page-home .help__title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.page-home .help__text {
  margin: 0;
  font-size: .88rem;
  line-height: 1.74;
  color: #4a5c70;
}

.page-home .help__figure {
  margin: 0;
  border: 1px solid rgba(143, 166, 196, .36);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ice);
}

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

.page-home .help__caption {
  padding: 12px 16px;
  font-size: .82rem;
  line-height: 1.7;
  color: #4a5c70;
  background: rgba(255, 255, 255, .78);
  border-top: 1px solid rgba(143, 166, 196, .3);
}

.page-home .help__more {
  margin: 26px 0 0;
}

/* ---------- 服务与动态 ---------- */
.page-home .service__grid {
  gap: 14px;
}

.page-home .service__item {
  padding: 20px 18px 22px;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(11, 31, 58, .14);
  border-bottom: 3px solid var(--navy);
  border-radius: var(--radius);
}

.page-home .service__title {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
}

.page-home .service__text {
  margin: 0;
  font-size: .89rem;
  line-height: 1.72;
  color: #414f60;
}

.page-home .newsline {
  margin: 28px 0 0;
  padding: 1px;
  list-style: none;
  display: grid;
  gap: 1px;
  background: rgba(11, 31, 58, .16);
  border: 1px solid rgba(11, 31, 58, .16);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .newsline li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 13px 16px;
  background: var(--paper);
}

.page-home .newsline__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--maple);
}

.page-home .newsline__text {
  font-size: .91rem;
  color: var(--graphite);
}

.page-home .newsline__time {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--mist);
}

.page-home .lane {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .page-home .catalog__track {
    grid-auto-columns: minmax(250px, 46%);
  }

  .page-home .section {
    padding: 64px 0;
  }
}

@media (min-width: 900px) {
  .page-home .hero {
    padding: 34px 0 72px;
  }

  .page-home .hero__grid {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 48px;
  }

  .page-home .hero__panel {
    margin-top: 0;
  }

  .page-home .catalog__track {
    grid-auto-columns: minmax(266px, 24.2%);
  }

  .page-home .records__grid {
    grid-template-columns: 1.02fr .98fr;
    align-items: start;
    gap: 42px;
  }

  .page-home .help__grid {
    grid-template-columns: 1fr .82fr;
    align-items: center;
    gap: 40px;
  }

  .page-home .service__grid {
    gap: 18px;
  }
}

@media (min-width: 1100px) {
  .page-home .hero__grid {
    gap: 60px;
  }

  .page-home .catalog__track {
    grid-auto-columns: minmax(280px, 23.8%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__copy,
  .page-home .home-toc__link,
  .page-home .catalog__card {
    transition: none;
  }

  .page-home .catalog__track {
    scroll-behavior: auto;
  }
}
