.page-home {
  --hm-pad: 20px;
  --hm-dash: rgba(35, 230, 200, .22);
  overflow-x: clip;
  background: var(--ab-deep);
  color: var(--ab-cream);
}

.page-home .hm-crumb-wrap {
  padding-top: 14px;
  padding-bottom: 0;
}

.page-home .hm-crumb {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ab-font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--ab-mist);
}

.page-home .hm-crumb__item {
  padding-left: 12px;
  border-left: 2px solid var(--ab-cyan);
  color: var(--ab-cream);
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  padding: 28px 0 72px;
  overflow: hidden;
}

.page-home .hm-hero::before {
  content: "";
  position: absolute;
  top: -26%;
  right: -14%;
  width: 720px;
  height: 720px;
  max-width: 120vw;
  background: radial-gradient(circle at 55% 45%, rgba(11, 59, 74, .92) 0%, rgba(6, 19, 33, 0) 66%);
  pointer-events: none;
}

.page-home .hm-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: var(--ab-tactical);
  clip-path: polygon(0 100%, 100% 34%, 100% 100%);
  pointer-events: none;
}

.page-home .hm-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.page-home .hm-hero__kicker {
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--ab-cyan);
  text-transform: uppercase;
}

.page-home .hm-hero__title {
  margin: 0 0 16px;
  font-family: var(--ab-font-sans);
  font-weight: 900;
  font-size: clamp(38px, 9vw, 64px);
  line-height: 1.06;
  letter-spacing: .06em;
  color: var(--ab-cream);
}

.page-home .hm-hero__sub {
  margin: 0 0 26px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ab-mist);
  max-width: 22em;
}

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

.page-home .hm-hero__card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background: var(--ab-tactical);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}

.page-home .hm-hero__card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .38;
}

.page-home .hm-hero__card-bg::after {
  content: "";
}

.page-home .hm-hero__card-body {
  position: relative;
  z-index: 1;
  padding: 26px 22px 24px;
}

.page-home .hm-hero__card-label {
  margin: 0;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--ab-mist);
}

.page-home .hm-hero__card-ver {
  margin: 6px 0 20px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--ab-cyan);
}

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

.page-home .hm-hero__card-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(143, 166, 184, .18);
  font-size: 15px;
}

.page-home .hm-hero__card-list span {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ab-mist);
}

.page-home .hm-hero__card-list strong {
  font-weight: 500;
  color: var(--ab-cream);
}

.page-home .hm-hero__card-link {
  display: inline-block;
  font-family: var(--ab-font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--ab-amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 162, 58, .45);
  padding-bottom: 3px;
}

.page-home .hm-hero__card-link:hover,
.page-home .hm-hero__card-link:focus-visible {
  border-bottom-color: var(--ab-amber);
}

/* ---------- 通用章节头 ---------- */
.page-home .hm-head {
  max-width: 46ch;
  margin-bottom: 30px;
}

.page-home .hm-head__lead {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ab-mist);
}

.page-home .hm-head--row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.page-home .hm-band__more {
  flex: 0 0 auto;
}

/* ---------- 三步路径 ---------- */
.page-home .hm-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.page-home .hm-steps__idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--ab-cyan);
  background: var(--ab-deep);
  border: 1px solid var(--ab-cyan-14);
  clip-path: var(--ab-cut-sm);
}

.page-home .hm-steps__title {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ab-cream);
}

.page-home .hm-steps__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ab-mist);
}

/* ---------- 版本卡带 ---------- */
.page-home .hm-band {
  position: relative;
  padding: 56px 0 24px;
}

.page-home .hm-band__stage {
  position: relative;
  overflow: hidden;
  padding: 6px 0 0;
}

.page-home .hm-band__glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
  pointer-events: none;
}

.page-home .hm-band__track {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 6px var(--hm-pad) 20px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.page-home .hm-band__card {
  flex: 0 0 76%;
  max-width: 320px;
  scroll-snap-align: start;
  padding: 24px 20px 22px;
  background: rgba(14, 42, 69, .9);
  border-top: 2px solid var(--ab-cyan);
  clip-path: var(--ab-cut);
}

.page-home .hm-band__card:nth-child(even) {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  border-top-color: var(--ab-line-strong);
}

.page-home .hm-band__tag {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--ab-cyan);
}

.page-home .hm-band__name {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--ab-cream);
}

.page-home .hm-band__desc {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ab-mist);
}

.page-home .hm-band__fit {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--ab-dash);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ab-cream);
  opacity: .86;
}

/* ---------- 更新速览 ---------- */
.page-home .hm-feed__axis {
  display: block;
  width: 100%;
  height: 72px;
  object-fit: cover;
  opacity: .45;
  margin-bottom: 24px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 24px 100%);
}

.page-home .hm-feed__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}

.page-home .hm-feed__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--ab-line-faint);
}

.page-home .hm-feed__item:last-child {
  border-bottom: 1px solid var(--ab-line-faint);
}

.page-home .hm-feed__idx {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--ab-mist);
  transition: color .25s var(--ab-ease);
}

.page-home .hm-feed__item:hover .hm-feed__idx,
.page-home .hm-feed__item:focus-within .hm-feed__idx {
  color: var(--ab-cyan);
}

.page-home .hm-feed__meta {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ab-amber);
}

.page-home .hm-feed__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ab-cream);
}

.page-home .hm-feed__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ab-mist);
}

/* ---------- 数据看板 ---------- */
.page-home .hm-board__grid {
  display: grid;
  grid-template-columns: 1fr;
  border-left: 1px dashed var(--hm-dash);
}

.page-home .hm-board__cell {
  padding: 22px 18px;
  border-top: 1px dashed var(--hm-dash);
}

.page-home .hm-board__cell:last-child {
  border-bottom: 1px dashed var(--hm-dash);
}

.page-home .hm-board__img {
  display: block;
  width: 100%;
  height: 130px;
  object-fit: cover;
  opacity: .6;
  margin-bottom: 18px;
  clip-path: var(--ab-cut-sm);
}

.page-home .hm-board__num {
  margin: 0 0 8px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--ab-cyan);
}

.page-home .hm-board__cap {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ab-mist);
}

/* ---------- 订阅分流 ---------- */
.page-home .hm-plan__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .hm-plan__item {
  padding: 22px 20px;
  background: var(--ab-tactical);
  border-left: 2px solid var(--ab-amber);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.page-home .hm-plan__name {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ab-cream);
}

.page-home .hm-plan__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ab-mist);
}

.page-home .hm-plan__note {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ab-mist);
}

.page-home .hm-plan__note a {
  color: var(--ab-cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--ab-cyan-14);
  padding-bottom: 2px;
}

/* ---------- 收口 ---------- */
.page-home .hm-end {
  padding-bottom: 84px;
}

.page-home .hm-end__inner {
  display: grid;
  gap: 28px;
  padding-top: 34px;
  border-top: 1px solid var(--ab-line);
}

.page-home .hm-end__lead {
  margin: 16px 0 24px;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ab-mist);
}

.page-home .hm-end__dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

.page-home .hm-end__row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(143, 166, 184, .16);
}

.page-home .hm-end__row dt {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ab-mist);
}

.page-home .hm-end__row dd {
  margin: 0;
  font-size: 15px;
  color: var(--ab-cream);
  word-break: break-word;
}

.page-home .hm-end__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home {
    --hm-pad: 32px;
  }

  .page-home .hm-hero {
    padding-top: 44px;
    padding-bottom: 96px;
  }

  .page-home .hm-hero__inner {
    grid-template-columns: 1.05fr .95fr;
    gap: 42px;
    align-items: end;
  }

  .page-home .hm-hero__card {
    min-height: 340px;
  }

  .page-home .hm-steps__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
  }

  .page-home .hm-steps__list::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 18px;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--ab-cyan-14) 0 6px, transparent 6px 13px);
    transform: rotate(-1.8deg);
    transform-origin: left center;
    pointer-events: none;
  }

  .page-home .hm-steps__item {
    position: relative;
    padding-top: 4px;
  }

  .page-home .hm-band__card {
    flex: 0 0 320px;
  }

  .page-home .hm-feed__axis {
    height: 96px;
  }

  .page-home .hm-feed__item {
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: 22px 0;
  }

  .page-home .hm-board__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-areas:
      "lead a b"
      "lead c c";
  }

  .page-home .hm-board__cell {
    border-top: 0;
    border-left: 1px dashed var(--hm-dash);
  }

  .page-home .hm-board__cell:nth-child(1) {
    grid-area: lead;
    border-left: 0;
    padding-right: 24px;
  }

  .page-home .hm-board__cell:nth-child(2) {
    grid-area: a;
    border-top: 1px dashed var(--hm-dash);
  }

  .page-home .hm-board__cell:nth-child(3) {
    grid-area: b;
    border-top: 1px dashed var(--hm-dash);
  }

  .page-home .hm-board__cell:nth-child(4) {
    grid-area: c;
    border-bottom: 1px dashed var(--hm-dash);
  }

  .page-home .hm-board__cell:last-child {
    border-bottom: 0;
  }

  .page-home .hm-board__cell:nth-child(4) {
    border-bottom: 1px dashed var(--hm-dash);
  }

  .page-home .hm-board__img {
    height: 168px;
  }

  .page-home .hm-plan__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .page-home .hm-end__inner {
    grid-template-columns: 1.4fr .6fr;
    align-items: end;
    gap: 40px;
  }

  .page-home .hm-end__links {
    justify-content: flex-end;
  }
}

@media (min-width: 1080px) {
  .page-home .hm-hero__title {
    letter-spacing: .08em;
  }

  .page-home .hm-board__num {
    font-size: 40px;
  }

  .page-home .hm-band__track {
    padding-bottom: 26px;
  }
}

.page-home {
  --ab-dash: currentColor;
}
