.page-home {
  --home-line: 1px solid var(--ink-200);
  display: block;
}

/* ── 首屏 ───────────────────────────────── */

.page-home .hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-000);
  border-bottom: var(--home-line);
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-home .hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
}

.page-home .hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--ink-200) 1px, transparent 1px),
    linear-gradient(to bottom, var(--ink-200) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .5;
}

.page-home .hero__shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.page-home .hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--cyan);
  margin: 0 0 18px;
}

.page-home .hero__title {
  font-size: clamp(28px, 6.4vw, 46px);
  line-height: 1.22;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 20px;
}

.page-home .hero__lede {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-dim);
  max-width: 34em;
  margin: 0 0 28px;
}

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

.page-home .hero__anchor {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .hero__anchor .status-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--text-dim);
}

.page-home .hero__anchor .status-light__dot {
  box-shadow: 0 0 12px var(--lime);
  animation: homeGlow 2.6s var(--ease) infinite;
}

.page-home .hero__date {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(58px, 15vw, 128px);
  line-height: .92;
  letter-spacing: .02em;
  color: var(--lime);
  margin: 0;
  animation: homeGlow 3.2s var(--ease) infinite;
}

.page-home .hero__anchor-note {
  margin: 0;
  max-width: 28em;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-dim);
}

@keyframes homeGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: .58; }
}

/* ── 色带 ───────────────────────────────── */

.page-home .band {
  height: 3px;
  background: linear-gradient(90deg, var(--cobalt) 0%, var(--cyan) 100%);
}

.page-home .band--wide { height: 6px; }
.page-home .band--thin { height: 2px; opacity: .75; }

/* ── 章节骨架 ───────────────────────────── */

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

.page-home .chapter__head {
  margin-bottom: 36px;
}

.page-home .chapter__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--cyan);
  margin: 0 0 12px;
}

.page-home .chapter__title {
  font-size: clamp(24px, 5vw, 40px);
  line-height: 1.25;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  max-width: 20ch;
}

.page-home .chapter__intro {
  margin: 18px 0 0;
  max-width: 42em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-dim);
}

.page-home .media {
  margin: 0;
  background: var(--ink-100);
  border: var(--home-line);
  overflow: hidden;
}

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

/* ── 版本对照 ───────────────────────────── */

.page-home .compare-figure {
  margin-bottom: 40px;
}

.page-home .compare-grid {
  row-gap: 1px;
}

.page-home .compare-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 22px 28px;
  background: var(--ink-100);
  border: var(--home-line);
}

.page-home .compare-card--standard { border-top: 2px solid var(--cyan); }
.page-home .compare-card--light { border-top: 2px solid var(--cobalt-lit); }

.page-home .compare-card__name {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--text);
}

.page-home .spec-list {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.page-home .spec-list__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 12px;
  border-top: 1px solid var(--ink-200);
}

.page-home .spec-list__row:first-child { border-top: 0; }

.page-home .spec-list__row dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--text-dim);
}

.page-home .spec-list__row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  text-align: right;
}

.page-home .spec-list__row.is-diff {
  box-shadow: inset 0 0 0 2px var(--orange);
}

/* ── 安装三步 ───────────────────────────── */

.page-home .install-grid {
  row-gap: 32px;
  align-items: start;
}

.page-home .steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .steps__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--ink-200);
}

.page-home .steps__item:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-home .steps__num {
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--cobalt-lit);
}

.page-home .steps__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--text);
}

.page-home .steps__text {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-home .steps__time {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  line-height: 1.7;
  color: var(--cyan);
}

.page-home .install-figure {
  align-self: start;
}

.page-home .section-link {
  margin: 40px 0 0;
  font-size: 15px;
  line-height: 1.8;
}

.page-home .section-link a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 179, 168, .45);
  padding-bottom: 2px;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-home .section-link a:hover,
.page-home .section-link a:focus-visible {
  color: var(--cobalt-lit);
  border-bottom-color: var(--cobalt-lit);
}

/* ── 礼包清单 ───────────────────────────── */

.page-home .gift-grid {
  row-gap: 32px;
  align-items: start;
}

.page-home .gift-panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.page-home .gift-tally {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.page-home .gift-tally__num {
  font-family: var(--font-mono);
  font-size: clamp(72px, 16vw, 118px);
  line-height: .88;
  letter-spacing: .02em;
  color: var(--lime);
}

.page-home .gift-tally__unit {
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: .12em;
  color: var(--text-dim);
}

.page-home .gift-split {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--ink-200);
  border: 1px solid var(--ink-200);
}

.page-home .gift-split__item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 18px;
  background: var(--ink-100);
}

.page-home .gift-split__num {
  font-family: var(--font-mono);
  font-size: 24px;
  line-height: 1.1;
  color: var(--cobalt-lit);
  flex: 0 0 auto;
  min-width: 2.2em;
}

.page-home .gift-split__label {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-home .gift-panel .btn {
  align-self: flex-start;
}

.page-home .gift-figure {
  align-self: start;
}

/* ── 章节导览 ───────────────────────────── */

.page-home .guide-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--ink-200);
  border: 1px solid var(--ink-200);
}

.page-home .guide-tags__cell {
  flex: 1 1 230px;
  display: flex;
}

.page-home .guide-tag {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 24px 22px 26px;
  background: var(--ink-000);
  color: var(--text);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}

.page-home .guide-tag:hover,
.page-home .guide-tag:focus-visible {
  background: var(--ink-100);
  border-left-color: var(--orange);
}

.page-home .guide-tag__key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--cyan);
}

.page-home .guide-tag__name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.page-home .guide-tag__desc {
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-dim);
}

/* ── 快问快答 ───────────────────────────── */

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

.page-home .qa {
  padding: 26px 22px 28px;
  background: var(--ink-100);
}

.page-home .qa__q {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--text);
}

.page-home .qa__a {
  margin: 0;
  font-size: 15px;
  line-height: 1.82;
  color: var(--text-dim);
}

.page-home .contact-line {
  margin: 36px 0 0;
  max-width: 46em;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-dim);
}

.page-home .contact-line a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 255, 77, .4);
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-home .contact-line a:hover,
.page-home .contact-line a:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.page-home .contact-line .num {
  font-family: var(--font-mono);
  letter-spacing: .04em;
  color: var(--text);
}

/* ── 收尾 ───────────────────────────────── */

.page-home .outro {
  border-top: var(--home-line);
  padding: 40px 0 56px;
}

.page-home .outro__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.page-home .outro__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--text-dim);
}

.page-home .outro__link {
  font-size: 15px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 179, 168, .45);
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-home .outro__link:hover,
.page-home .outro__link:focus-visible {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

/* ── 响应式 ─────────────────────────────── */

@media (min-width: 640px) {
  .page-home .chapter { padding: 80px 0; }
  .page-home .chapter__head { margin-bottom: 44px; }
  .page-home .compare-figure { margin-bottom: 48px; }
}

@media (min-width: 900px) {
  .page-home .hero__shell {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: 56px;
    align-items: end;
    padding-top: 80px;
    padding-bottom: 96px;
  }

  .page-home .hero__anchor { align-self: end; }

  .page-home .chapter { padding: 96px 0; }

  .page-home .install-grid { row-gap: 0; }
  .page-home .gift-grid { row-gap: 0; }

  .page-home .guide-tags__cell { flex: 1 1 200px; }
}

@media (min-width: 1200px) {
  .page-home .chapter { padding: 112px 0; }
  .page-home .hero__shell { padding-bottom: 112px; }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__date,
  .page-home .hero__anchor .status-light__dot {
    animation: none;
  }
}
