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

.page-home .home-context {
  padding-top: 22px;
}

.page-home .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-2);
}

.page-home .breadcrumb [aria-current="page"] {
  color: var(--blue);
}

/* ---------- 首屏：摊开的目录 ---------- */

.page-home .home-opening {
  position: relative;
  padding: 34px 0 64px;
}

.page-home .home-opening::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(31, 78, 107, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 78, 107, .07) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 82%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 82%);
}

.page-home .home-opening__grid {
  position: relative;
  display: grid;
  gap: 44px;
}

.page-home .home-opening__lede .eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--ink-2);
  text-transform: uppercase;
}

.page-home .home-opening__lede .display {
  margin: 0 0 18px;
  font-size: clamp(30px, 7vw, 46px);
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--ink);
}

.page-home .home-opening__lede .lead {
  margin: 0 0 26px;
  max-width: 46ch;
  color: var(--ink-2);
}

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

.page-home .home-opening__art {
  margin: 0;
}

.page-home .home-opening__art .media__frame {
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
}

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

.page-home .home-opening__art .media__cap {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
}

.page-home .home-index__label {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--mono-ink);
}

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

.page-home .home-index__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid var(--glass-line);
  border-radius: 3px;
  background: var(--glass);
  color: inherit;
  text-decoration: none;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), background 200ms var(--ease);
}

.page-home .home-index__num {
  font-size: 12px;
  line-height: 1.9;
  color: var(--blue);
  letter-spacing: .06em;
}

.page-home .home-index__body {
  display: block;
  min-width: 0;
}

.page-home .home-index__title {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.page-home .home-index__desc {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-2);
}

.page-home .home-index__link:hover,
.page-home .home-index__link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--blue);
  background: rgba(255, 255, 255, .86);
}

.page-home .home-index__link:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* ---------- 通用章节骨架 ---------- */

.page-home .home-chapter {
  padding: clamp(56px, 8vw, 96px) 0;
}

.page-home .home-chapter--tint {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.page-home .home-chapter--last {
  padding-bottom: clamp(72px, 10vw, 128px);
}

.page-home .home-chapter__grid {
  display: grid;
  gap: 30px;
}

.page-home .home-chapter__aside .chapter-num {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--blue);
}

.page-home .home-chapter__aside .h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 5vw, 32px);
  line-height: 1.35;
}

.page-home .home-chapter__aside .muted {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
}

.page-home .home-chapter__more {
  display: inline-block;
  font-size: 14px;
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.page-home .home-chapter__more:hover {
  color: var(--red);
}

.page-home .home-chapter__more:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.page-home .home-chapter__body > .lead {
  margin: 0 0 30px;
  color: var(--ink-2);
}

/* ---------- 图形与图片 ---------- */

.page-home .home-figure {
  margin: 0 0 32px;
}

.page-home .home-figure .media__frame {
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
  background: var(--paper-2);
}

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

.page-home .home-figure .media__cap {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
}

.page-home .media--info .media__frame {
  aspect-ratio: 9 / 7;
}

.page-home .media--wide .media__frame {
  aspect-ratio: 20 / 7;
}

/* ---------- 权益卡片 ---------- */

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

.page-home .benefit-card {
  padding: 22px 20px 24px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.page-home .benefit-card__num {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--red);
}

.page-home .benefit-card .h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.45;
}

.page-home .benefit-card p:last-child {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
}

/* ---------- 栏目对照 ---------- */

.page-home .column-map {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0 0 24px;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.page-home .column-map__item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 16px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--rule);
}

.page-home .column-map__name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.page-home .column-map__tag {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--mono-ink);
}

.page-home .column-map__note {
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid var(--red);
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}

/* ---------- 更新记录时间轴 ---------- */

.page-home .home-updates {
  margin-bottom: 34px;
}

.page-home .home-updates .tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.page-home .home-updates .tabs__tab {
  padding: 9px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.page-home .home-updates .tabs__tab[aria-selected="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--on-dark);
}

.page-home .home-updates .tabs__tab:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.page-home .home-timeline {
  list-style: none;
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.page-home .home-timeline__item {
  position: relative;
  padding-top: 20px;
}

.page-home .home-timeline__item::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
}

.page-home .home-timeline__batch {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--mono-ink);
}

.page-home .home-timeline__title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
}

.page-home .home-timeline__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
}

/* ---------- 平板阅读 ---------- */

.page-home .home-tablet {
  display: grid;
  gap: 22px;
  padding: 22px;
}

.page-home .home-tablet__media {
  margin: 0;
}

.page-home .home-tablet__media .media__frame {
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--rule);
}

.page-home .home-tablet__body .h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.45;
}

.page-home .home-tablet__body > p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}

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

.page-home .home-tablet__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.8;
}

.page-home .home-tablet__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 2px;
  background: var(--blue);
}

/* ---------- 客服通道 ---------- */

.page-home .home-support {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.page-home .home-support__item {
  padding: 20px;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--blue);
  border-radius: 3px;
  background: var(--paper-2);
}

.page-home .home-support__k {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ink-2);
}

.page-home .home-support__item .h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.5;
}

.page-home .home-support__item p:last-child {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
}

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

/* ---------- 响应式 ---------- */

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

  .page-home .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-support {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-tablet {
    padding: 28px;
  }
}

@media (min-width: 900px) {
  .page-home .home-opening {
    padding: 48px 0 88px;
  }

  .page-home .home-opening__grid {
    grid-template-columns: 5fr 7fr;
    gap: 60px;
    align-items: start;
  }

  .page-home .home-opening__lede .display {
    font-size: clamp(34px, 3.4vw, 48px);
  }

  .page-home .home-chapter__grid {
    grid-template-columns: 224px minmax(0, 1fr);
    gap: 56px;
  }

  .page-home .home-chapter__aside {
    position: sticky;
    top: 40px;
    align-self: start;
  }

  .page-home .home-chapter__body > .lead {
    max-width: 62ch;
  }

  .page-home .benefit-card:nth-child(even) {
    transform: translateY(18px);
  }

  .page-home .home-timeline {
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 1fr);
    gap: 24px;
  }

  .page-home .home-tablet {
    grid-template-columns: 5fr 6fr;
    gap: 34px;
    align-items: center;
  }
}

@media (min-width: 1180px) {
  .page-home .home-chapter__grid {
    grid-template-columns: 264px minmax(0, 1fr);
    gap: 72px;
  }

  .page-home .home-index {
    gap: 14px;
  }
}

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

  .page-home .benefit-card:nth-child(even) {
    transform: none;
  }
}
