.page-home {
  --home-radius: 18px;
  --home-hair: rgba(207, 198, 224, .22);
  --home-ink-soft: rgba(26, 26, 36, .74);
  --home-gold-ink: #8A6520;
  background: var(--royal-900);
}

.page-home .cover,
.page-home .entry,
.page-home .updates,
.page-home .migrate,
.page-home .catalog,
.page-home .why {
  scroll-margin-top: 88px;
}

.page-home h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 4.6vw, 2.7rem);
  line-height: 1.16;
  letter-spacing: .01em;
  margin: 0 0 .8rem;
}

.page-home .eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--crimson);
  margin: 0 0 .65rem;
}

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

/* ── 封面 ───────────────────────────────── */
.page-home .cover {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 6vw, 3.4rem) 0 clamp(2.4rem, 7vw, 4.4rem);
  background:
    radial-gradient(95% 62% at 88% 4%, rgba(59, 36, 95, .95) 0%, rgba(27, 16, 48, 0) 62%),
    radial-gradient(70% 48% at 2% 98%, rgba(179, 58, 58, .20) 0%, rgba(27, 16, 48, 0) 62%),
    var(--royal-900);
  color: var(--ivory);
}

.page-home .cover__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin: 0;
  padding-bottom: 1.05rem;
  border-bottom: var(--line-gold);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--mist);
}

.page-home .cover__mark {
  color: var(--gold);
  letter-spacing: .28em;
}

.page-home .cover__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--crimson);
}

.page-home .cover__grid {
  display: grid;
  gap: clamp(1.6rem, 5vw, 2.8rem);
  margin-top: clamp(1.6rem, 4.5vw, 2.6rem);
}

.page-home .cover__title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(2.6rem, 12vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--ivory);
  margin: 0 0 1.1rem;
}

.page-home .cover__title em {
  display: block;
  font-style: normal;
  font-weight: 900;
  color: var(--gold);
}

.page-home .cover__lede {
  font-size: clamp(1rem, 2.4vw, 1.08rem);
  line-height: 1.85;
  color: var(--mist);
  max-width: 40rem;
  margin: 0 0 .7rem;
}

.page-home .cover__note {
  font-size: .92rem;
  line-height: 1.8;
  color: rgba(207, 198, 224, .78);
  max-width: 38rem;
  margin: 0;
  padding-left: .9rem;
  border-left: 2px solid var(--crimson);
}

.page-home .cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.5rem;
}

.page-home .cover__figure {
  margin: 0;
  border: var(--line-gold);
  border-radius: var(--home-radius);
  overflow: hidden;
  background: var(--royal-800);
  box-shadow: var(--glass-shadow);
}

.page-home .cover__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.page-home .cover__index {
  list-style: none;
  margin: clamp(2rem, 5.5vw, 3.2rem) 0 0;
  padding: clamp(1rem, 3vw, 1.5rem) 0 0;
  border-top: var(--line-gold);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.4rem;
}

.page-home .cover__stat-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.35rem, 4.2vw, 1.9rem);
  letter-spacing: .02em;
  color: var(--gold-hi);
}

.page-home .cover__stat-cap {
  display: block;
  margin-top: .35rem;
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--mist);
}

/* ── 常用入口 ────────────────────────────── */
.page-home .entry {
  padding: clamp(3rem, 8vw, 5.2rem) 0;
  background: var(--ivory);
  color: var(--ink);
}

.page-home .entry__head {
  max-width: 44rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.4rem);
}

.page-home .entry h2 {
  color: var(--royal-900);
}

.page-home .entry .lede {
  color: var(--home-ink-soft);
  margin: 0;
}

.page-home .entry__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.page-home .entry__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.35rem 1.25rem 1.5rem;
  background: var(--parchment);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--home-radius) var(--home-radius);
  text-decoration: none;
  color: var(--ink);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}

.page-home .entry__card:hover,
.page-home .entry__card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -26px rgba(27, 16, 48, .9);
}

.page-home .entry__num {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--home-gold-ink);
}

.page-home .entry__title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--royal-900);
}

.page-home .entry__text {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--home-ink-soft);
}

.page-home .entry__arrow {
  margin-top: .3rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--crimson);
}

/* ── 更新摘要 ────────────────────────────── */
.page-home .updates {
  padding: clamp(3rem, 8vw, 5.2rem) 0;
  background: linear-gradient(180deg, var(--royal-800) 0%, var(--royal-900) 100%);
  color: var(--ivory);
}

.page-home .updates__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.6rem, 4.5vw, 2.6rem);
  align-items: start;
}

.page-home .updates__panel {
  padding: clamp(1.25rem, 3.6vw, 2rem);
  background: var(--glass-bg);
  border: var(--line-gold);
  border-radius: var(--home-radius);
  box-shadow: var(--glass-shadow);
}

.page-home .updates h2 {
  color: var(--ivory);
}

.page-home .updates .prose {
  margin: 0;
  color: var(--mist);
  font-size: .96rem;
  line-height: 1.85;
}

.page-home .tl {
  display: block;
  width: 100%;
  height: auto;
  margin: 1.6rem 0 .4rem;
  overflow: visible;
}

.page-home .tl__axis {
  stroke: rgba(207, 198, 224, .26);
  stroke-width: 2;
}

.page-home .tl__rule {
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
}

.page-home .tl__dot {
  fill: var(--royal-900);
  stroke: var(--gold);
  stroke-width: 2;
}

.page-home .tl__dot--on {
  fill: var(--gold-hi);
  stroke: var(--gold-hi);
}

.page-home .tl__label {
  fill: var(--mist);
  font-family: var(--font-mono);
  font-size: 26px;
  letter-spacing: .06em;
}

.page-home .tl__label--on {
  fill: var(--gold-hi);
}

.page-home .updates__list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  border-top: 1px solid var(--home-hair);
}

.page-home .updates__item {
  display: grid;
  grid-template-columns: auto auto;
  gap: .4rem .8rem;
  align-items: center;
  justify-content: start;
  padding: .85rem 0;
  border-bottom: 1px solid var(--home-hair);
}

.page-home .updates__month {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--gold);
}

.page-home .updates__desc {
  grid-column: 1 / -1;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .updates__more {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: .9rem;
  color: var(--gold-hi);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 201, 76, .45);
  padding-bottom: .15rem;
}

.page-home .updates__figure {
  margin: 0;
  border: var(--line-gold);
  border-radius: var(--home-radius);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

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

/* ── 换机两步 ────────────────────────────── */
.page-home .migrate {
  padding: clamp(3rem, 8vw, 5.2rem) 0;
  background: var(--ivory);
  color: var(--ink);
}

.page-home .migrate__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.6rem, 4.5vw, 2.8rem);
  align-items: center;
}

.page-home .migrate h2 {
  color: var(--royal-900);
}

.page-home .migrate .prose {
  margin: 0;
  max-width: 40rem;
  font-size: .98rem;
  line-height: 1.85;
  color: var(--home-ink-soft);
}

.page-home .migrate__figure {
  margin: 0;
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid rgba(27, 16, 48, .12);
}

.page-home .migrate__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-home .steps {
  list-style: none;
  margin: 1.4rem 0 1.6rem;
  padding: 0;
  display: grid;
  gap: .9rem;
}

.page-home .steps__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.1rem 1.05rem;
  background: var(--parchment);
  border-left: 3px solid var(--jade);
  border-radius: 0 var(--home-radius) var(--home-radius) 0;
}

.page-home .steps__num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--jade);
}

.page-home .steps__title {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--royal-900);
  margin: 0 0 .3rem;
}

.page-home .steps__body p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.72;
  color: var(--home-ink-soft);
}

/* ── 分类总览 ────────────────────────────── */
.page-home .catalog {
  padding: clamp(3rem, 8vw, 5.2rem) 0;
  background: var(--parchment);
  color: var(--ink);
}

.page-home .catalog__head {
  max-width: 46rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.4rem);
}

.page-home .catalog h2 {
  color: var(--royal-900);
}

.page-home .catalog .lede {
  margin: 0;
  color: var(--home-ink-soft);
}

.page-home .catalog__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 2.6rem);
  align-items: start;
}

.page-home .catalog__figure {
  margin: 0;
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid rgba(27, 16, 48, .12);
}

.page-home .catalog__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.page-home .catalog__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .catalog__item {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  padding: .72rem 0;
  border-bottom: 1px solid rgba(27, 16, 48, .16);
}

.page-home .catalog__num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--home-gold-ink);
}

.page-home .catalog__name {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--royal-900);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .catalog__name:hover,
.page-home .catalog__name:focus-visible {
  color: var(--crimson);
  border-bottom-color: currentColor;
}

.page-home .catalog__chan {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  color: rgba(26, 26, 36, .5);
}

.page-home .catalog__foot {
  margin: clamp(1.4rem, 4vw, 2rem) 0 0;
  padding-left: .9rem;
  border-left: 2px solid var(--gold);
  font-size: .9rem;
  line-height: 1.75;
  color: var(--home-ink-soft);
}

/* ── 固定回访 ────────────────────────────── */
.page-home .why {
  padding: clamp(3rem, 8vw, 5.4rem) 0;
  background:
    radial-gradient(80% 60% at 12% 0%, rgba(59, 36, 95, .8) 0%, rgba(27, 16, 48, 0) 64%),
    var(--royal-900);
  color: var(--ivory);
}

.page-home .why__head {
  max-width: 44rem;
}

.page-home .why h2 {
  color: var(--ivory);
}

.page-home .why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-top: clamp(1.4rem, 4vw, 2.2rem);
}

.page-home .why__card {
  padding: 1.35rem 1.25rem 1.5rem;
  background: rgba(59, 36, 95, .44);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--home-radius) var(--home-radius);
}

.page-home .why__card h3 {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--gold-hi);
  margin: 0 0 .55rem;
}

.page-home .why__card p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .why__stats {
  list-style: none;
  margin: clamp(1.8rem, 5vw, 2.6rem) 0 0;
  padding: clamp(1.2rem, 3.4vw, 1.7rem) 0 0;
  border-top: var(--line-gold);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.page-home .why__num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.25rem, 4.4vw, 1.9rem);
  color: var(--gold-hi);
}

.page-home .why__cap {
  display: block;
  margin-top: .35rem;
  font-size: .76rem;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .why__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: clamp(1.5rem, 4vw, 2.1rem);
}

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

  .page-home .catalog__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1rem, 3vw, 2rem);
  }
}

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

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

@media (min-width: 900px) {
  .page-home .cover__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: end;
  }

  .page-home .cover__figure img {
    aspect-ratio: 4 / 6;
  }

  .page-home .updates__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  }

  .page-home .migrate__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  }
}

@media (min-width: 960px) {
  .page-home .catalog__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .entry__card {
    transition: none;
  }

  .page-home .entry__card:hover,
  .page-home .entry__card:focus-visible {
    transform: none;
  }
}
