.page-home {
  --hm-gap: 18px;
  --hm-hair: rgba(232, 237, 245, .1);
  --hm-hair-soft: rgba(232, 237, 245, .06);
  --hm-scan: 7s;
  display: block;
  background: var(--eo-void);
}

.page-home [id] {
  scroll-margin-top: 96px;
}

/* ---------- 状态横幅 + Bento 首屏 ---------- */

.page-home .hm-deck {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: 52px;
  background: var(--eo-void);
}

.page-home .hm-deck__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .14;
  filter: saturate(.72) contrast(1.06);
  pointer-events: none;
}

.page-home .hm-deck::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 68% at 10% 0%, rgba(47, 107, 255, .2), transparent 62%),
    linear-gradient(180deg, rgba(5, 7, 12, .34) 0%, rgba(5, 7, 12, .86) 62%, var(--eo-void) 100%);
}

.page-home .hm-rail {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--hm-hair);
  border-bottom: 1px solid var(--hm-hair);
  background: linear-gradient(96deg, rgba(15, 43, 107, .94) 0%, rgba(47, 107, 255, .46) 46%, rgba(56, 245, 168, .14) 100%);
}

.page-home .hm-rail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(242, 245, 250, .16), transparent);
  transform: translateX(-120%);
  animation: hm-scan var(--hm-scan) linear infinite;
}

@keyframes hm-scan {
  from { transform: translateX(-120%); }
  to { transform: translateX(420%); }
}

.page-home .hm-rail__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  min-height: 46px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.page-home .hm-rail__pulse {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--eo-green);
  animation: hm-pulse 30s linear infinite;
}

@keyframes hm-pulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 245, 168, .55); }
  1% { box-shadow: 0 0 0 9px rgba(56, 245, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 245, 168, 0); }
}

.page-home .hm-rail__item {
  font-family: var(--eo-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--eo-paper);
  opacity: .86;
}

.page-home .hm-rail__item--lead {
  font-weight: 700;
  opacity: 1;
}

.page-home .hm-rail__item .eo-mono {
  color: var(--eo-green);
  font-weight: 700;
}

.page-home .hm-rail__sep {
  flex: none;
  width: 1px;
  height: 12px;
  background: rgba(242, 245, 250, .3);
}

.page-home .hm-bento {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 30px;
  padding-top: 40px;
}

@media (min-width: 960px) {
  .page-home .hm-bento {
    grid-template-columns: 5fr 7fr;
    gap: 42px;
    padding-top: 56px;
  }
}

/* 左侧品牌声明 */

.page-home .hm-declare {
  position: relative;
}

@media (min-width: 1100px) {
  .page-home .hm-declare {
    padding-right: 52px;
  }
}

.page-home .hm-h1 {
  margin: 14px 0 0;
  font-size: clamp(30px, 6.4vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--eo-paper);
}

.page-home .hm-declare__lede {
  margin: 18px 0 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--eo-blue-soft);
}

.page-home .hm-index {
  margin-top: 30px;
  max-width: 340px;
  padding-top: 16px;
  border-top: 1px solid var(--hm-hair);
}

.page-home .hm-index__label {
  margin: 0 0 10px;
  font-family: var(--eo-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--eo-grey);
}

.page-home .hm-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-home .hm-index__link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 10px;
  font-size: 14px;
  color: var(--eo-paper);
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: 0 var(--eo-radius) var(--eo-radius) 0;
  transition: background-color .2s var(--eo-ease), border-color .2s var(--eo-ease), transform .2s var(--eo-ease);
}

.page-home .hm-index__link .eo-mono {
  font-size: 11px;
  color: var(--eo-blue-soft);
}

.page-home .hm-index__link:hover,
.page-home .hm-index__link:focus-visible {
  background: var(--eo-blue-14);
  border-left-color: var(--eo-blue);
  transform: translateX(3px);
}

.page-home .hm-declare__vert {
  display: none;
}

@media (min-width: 1100px) {
  .page-home .hm-declare__vert {
    display: block;
    position: absolute;
    top: 8px;
    bottom: 8px;
    right: 0;
    font-size: 11px;
    letter-spacing: .26em;
    color: var(--eo-grey);
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }
}

/* 右侧能力模块 */

.page-home .hm-caps {
  display: grid;
  gap: var(--hm-gap);
}

@media (min-width: 640px) {
  .page-home .hm-caps {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.page-home .hm-cap {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hm-hair);
  border-radius: var(--eo-radius);
  background: linear-gradient(180deg, rgba(13, 22, 38, .96), rgba(10, 17, 32, .96));
  box-shadow: 6px 6px 0 -3px var(--eo-paper-05);
  transition: border-color .22s var(--eo-ease), transform .22s var(--eo-ease), box-shadow .22s var(--eo-ease);
}

.page-home .hm-cap:hover {
  border-color: var(--eo-blue-45);
  transform: translateY(-2px);
  box-shadow: 6px 9px 0 -3px var(--eo-blue-16);
}

.page-home .hm-cap__trigger {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "num icon"
    "title icon"
    "hint icon";
  width: 100%;
  padding: 18px 18px 16px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.page-home .hm-cap__num {
  grid-area: num;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--eo-blue-soft);
}

.page-home .hm-cap__title {
  grid-area: title;
  display: block;
  margin-top: 8px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--eo-paper);
}

.page-home .hm-cap__hint {
  grid-area: hint;
  display: block;
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--eo-grey);
}

.page-home .hm-cap__trigger .eo-accordion__icon {
  grid-area: icon;
  align-self: center;
  margin-left: 14px;
  color: var(--eo-blue-soft);
}

.page-home .hm-cap__trigger[aria-expanded="true"] .eo-accordion__icon {
  color: var(--eo-green);
}

.page-home .hm-cap__panel {
  border-top: 1px solid var(--hm-hair-soft);
  background: rgba(5, 7, 12, .52);
}

.page-home .hm-cap__panel[hidden] {
  display: none;
}

.page-home .hm-cap__body {
  padding: 16px 18px 20px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--eo-blue-soft);
}

.page-home .hm-cap__body p {
  margin: 0;
}

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

.page-home .hm-cap__list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--eo-paper);
  opacity: .86;
}

.page-home .hm-cap__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 7px;
  height: 1px;
  background: var(--eo-blue);
}

.page-home .hm-cap__figure {
  margin: 16px 0 0;
  max-width: 210px;
}

.page-home .hm-cap__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--eo-radius);
  opacity: .92;
}

/* ---------- 覆盖规模 ---------- */

.page-home .hm-scale {
  border-top: 1px solid var(--hm-hair-soft);
}

.page-home .hm-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
}

.page-home .hm-head__main {
  min-width: 0;
}

.page-home .hm-head__title {
  margin: 10px 0 0;
  font-size: clamp(25px, 4.6vw, 40px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--eo-paper);
}

.page-home .hm-head__aside {
  margin: 0;
  max-width: 42ch;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--eo-blue-soft);
}

.page-home .hm-scale__figure {
  margin: 28px 0 0;
  border: 1px solid var(--hm-hair);
  border-radius: var(--eo-radius);
  overflow: hidden;
  background: var(--eo-panel);
}

.page-home .hm-scale__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: .92;
}

.page-home .hm-scale__caption {
  display: block;
  padding: 12px 16px;
  border-top: 1px solid var(--hm-hair-soft);
  font-size: 12px;
  line-height: 1.65;
  color: var(--eo-grey);
}

.page-home .hm-scale__grid {
  display: grid;
  gap: 2px;
  margin-top: 26px;
  border: 1px solid var(--hm-hair-soft);
  border-radius: var(--eo-radius);
  overflow: hidden;
  background: var(--hm-hair-soft);
}

@media (min-width: 560px) {
  .page-home .hm-scale__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .page-home .hm-scale__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.page-home .hm-num {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 20px 22px;
  background: var(--eo-panel);
  transition: background-color .22s var(--eo-ease);
}

.page-home .hm-num:hover {
  background: #101B2E;
}

.page-home .hm-num__value {
  align-self: flex-start;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(127, 168, 255, .42);
  font-size: clamp(36px, 6.6vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--eo-paper);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-num--signal .hm-num__value {
  border-bottom-color: rgba(56, 245, 168, .5);
  color: var(--eo-green);
}

.page-home .hm-num__unit {
  margin-left: 3px;
  font-size: .42em;
  letter-spacing: 0;
}

.page-home .hm-num__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--eo-paper);
}

.page-home .hm-num__note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--eo-grey);
}

.page-home .hm-scale__foot {
  margin: 22px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--eo-grey);
}

/* ---------- 版本滚动 ---------- */

.page-home .hm-releases {
  border-top: 1px solid var(--hm-hair-soft);
}

.page-home .hm-head__cta {
  flex: none;
}

.page-home .hm-rel__list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--hm-hair);
}

.page-home .hm-rel__item {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hm-hair);
  transition: background-color .2s var(--eo-ease);
}

@media (min-width: 820px) {
  .page-home .hm-rel__item {
    grid-template-columns: 84px 132px 1fr;
    align-items: baseline;
    gap: 20px;
    padding: 16px 10px;
  }
}

.page-home .hm-rel__item:hover {
  background: rgba(47, 107, 255, .07);
}

.page-home .hm-rel__seq {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--eo-blue);
}

.page-home .hm-rel__time {
  font-family: var(--eo-mono);
  font-size: 12px;
  color: var(--eo-grey);
}

.page-home .hm-rel__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--eo-paper);
  opacity: .9;
}

/* ---------- 使用路线 ---------- */

.page-home .hm-paths {
  border-top: 1px solid var(--hm-hair-soft);
}

.page-home .hm-paths__grid {
  display: grid;
  gap: 34px;
}

@media (min-width: 960px) {
  .page-home .hm-paths__grid {
    grid-template-columns: 7fr 5fr;
    align-items: start;
    gap: 48px;
  }
}

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

.page-home .hm-step {
  position: relative;
  padding: 0 0 26px 60px;
}

.page-home .hm-step::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 42px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--eo-blue), rgba(47, 107, 255, .08));
}

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

.page-home .hm-step:last-child::before {
  display: none;
}

.page-home .hm-step__num {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--eo-blue-45);
  border-radius: 50%;
  background: var(--eo-blue-14);
  font-size: 13px;
  color: var(--eo-blue-soft);
  transition: background-color .2s var(--eo-ease), color .2s var(--eo-ease), border-color .2s var(--eo-ease);
}

.page-home .hm-step:hover .hm-step__num {
  background: var(--eo-blue-16);
  border-color: var(--eo-blue);
  color: var(--eo-paper);
}

.page-home .hm-step__title {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 900;
  color: var(--eo-paper);
}

.page-home .hm-step__text {
  margin: 0;
  max-width: 48ch;
  font-size: 14px;
  line-height: 1.72;
  color: var(--eo-blue-soft);
}

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

.page-home .hm-paths__figure {
  margin: 0;
  border: 1px solid var(--hm-hair);
  border-radius: var(--eo-radius);
  overflow: hidden;
  background: var(--eo-panel-2);
}

.page-home .hm-paths__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: .9;
}

.page-home .hm-paths__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--hm-hair-soft);
  font-size: 12px;
  line-height: 1.65;
  color: var(--eo-grey);
}

/* ---------- 动效降级 ---------- */

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-rail::after,
  .page-home .hm-rail__pulse {
    animation: none;
  }

  .page-home .hm-rail__pulse {
    box-shadow: none;
  }

  .page-home .hm-cap,
  .page-home .hm-index__link,
  .page-home .hm-step__num {
    transition: none;
  }

  .page-home .hm-cap:hover {
    transform: none;
  }

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