.page-home {
  --hm-cut: 20px;
  --hm-ink: rgba(6, 21, 46, .86);
  display: block;
}

.page-home .hm-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(2.25rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(115% 85% at 88% 2%, rgba(0, 229, 255, .16), transparent 58%),
    radial-gradient(90% 70% at -5% 100%, rgba(255, 107, 26, .12), transparent 62%),
    linear-gradient(155deg, var(--tx-night) 0%, var(--tx-blue) 54%, var(--tx-teal) 100%);
}

.page-home .hm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(rgba(30, 74, 122, .45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 74, 122, .45) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(85% 75% at 74% 20%, #000 0%, transparent 78%);
  mask-image: radial-gradient(85% 75% at 74% 20%, #000 0%, transparent 78%);
}

.page-home .hm-hero__deco {
  position: absolute;
  top: -14%;
  right: -20%;
  z-index: -1;
  width: min(72vw, 780px);
  aspect-ratio: 1 / 1.25;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(0, 229, 255, .2), rgba(36, 20, 71, .62) 62%, transparent 88%);
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 84%);
}

.page-home .hm-hero__inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

.page-home .hm-hero__crumb {
  grid-column: 1 / -1;
}

.page-home .hm-hero__eyebrow {
  margin: .35rem 0 0;
}

.page-home .hm-hero__title {
  margin: .75rem 0 0;
  font-family: var(--tx-display);
  font-weight: 200;
  font-size: clamp(2.45rem, 10.5vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.04em;
  color: var(--tx-ice);
  text-shadow: 0 0 46px rgba(0, 229, 255, .2);
}

.page-home .hm-mark {
  background: linear-gradient(100deg, var(--tx-cyan), var(--tx-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hm-hero__lead {
  margin: 1.25rem 0 0;
  max-width: 48ch;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.85;
  color: var(--tx-steel);
}

.page-home .hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

.page-home .hm-hero__visual {
  position: relative;
  margin: 0;
}

.page-home .hm-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(0, 229, 255, .28);
  clip-path: polygon(7% 0, 100% 0, 100% 86%, 93% 100%, 0 100%, 0 14%);
}

.page-home .hm-hero__badge {
  position: absolute;
  right: clamp(.5rem, 2vw, 1.35rem);
  bottom: -1rem;
  display: flex;
  align-items: baseline;
  gap: .5rem;
  padding: .6rem 1.05rem;
  background: rgba(6, 21, 46, .94);
  border-left: 2px solid var(--tx-orange);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.page-home .hm-hero__badge-num {
  font-size: 1.35rem;
  color: var(--tx-orange);
}

.page-home .hm-hero__badge-txt {
  font-size: .8rem;
  letter-spacing: .14em;
  color: var(--tx-ice);
}

/* ---------- 章节索引条 ---------- */

.page-home .hm-rail {
  border-block: 1px solid var(--tx-line);
  background: linear-gradient(90deg, var(--tx-teal), var(--tx-blue) 55%, var(--tx-violet));
}

.page-home .hm-rail__list {
  display: flex;
  gap: .5rem;
  margin: 0;
  padding: .7rem var(--tx-gutter);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .hm-rail__list::-webkit-scrollbar {
  display: none;
}

.page-home .hm-rail__link {
  display: inline-block;
  white-space: nowrap;
  padding: .4rem .9rem;
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--tx-ice);
  text-decoration: none;
  border: 1px solid rgba(0, 229, 255, .26);
  border-radius: 999px;
  transition: background .3s var(--tx-ease), color .3s var(--tx-ease), border-color .3s var(--tx-ease);
}

.page-home .hm-rail__link:hover,
.page-home .hm-rail__link:focus-visible {
  background: rgba(0, 229, 255, .15);
  color: var(--tx-cyan);
}

.page-home .hm-rail__link[aria-current="location"] {
  background: var(--tx-cyan);
  border-color: var(--tx-cyan);
  color: var(--tx-night);
}

/* ---------- 区块骨架 ---------- */

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

.page-home .hm-sec__head {
  display: grid;
  gap: .5rem 1.75rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.page-home .hm-sec__no {
  font-family: var(--tx-display);
  font-weight: 200;
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  line-height: .82;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 229, 255, .5);
}

.page-home .hm-sec__title {
  margin: .4rem 0 0;
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -.02em;
  color: var(--tx-ice);
}

.page-home .hm-sec__desc {
  margin: .75rem 0 0;
  max-width: 64ch;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--tx-steel);
}

.page-home .hm-sec__more {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: clamp(1.5rem, 3.5vw, 2.25rem) 0 0;
}

/* ---------- 01 仪表盘 ---------- */

.page-home .hm-stats {
  display: grid;
  gap: clamp(.75rem, 1.6vw, 1.1rem);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.page-home .hm-stat {
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  background: linear-gradient(155deg, rgba(10, 42, 92, .9), rgba(6, 21, 46, .76));
  border: 1px solid var(--tx-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--hm-cut)), calc(100% - var(--hm-cut)) 100%, 0 100%);
  transition: transform .35s var(--tx-ease), border-color .35s var(--tx-ease);
}

.page-home .hm-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, .5);
}

.page-home .hm-stat__line {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  margin: 0;
}

.page-home .hm-stat .hm-stat__num {
  font-size: clamp(1.9rem, 4.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--tx-cyan);
}

.page-home .hm-stat__unit {
  font-size: .88rem;
  letter-spacing: .1em;
  color: var(--tx-orange);
}

.page-home .hm-stat__label {
  margin: .7rem 0 0;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--tx-steel);
}

/* ---------- 02 半场速览 ---------- */

.page-home .hm-scrollrow {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(15rem, 78%);
  gap: clamp(.75rem, 2vw, 1.1rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .85rem;
  scrollbar-color: var(--tx-line) transparent;
}

.page-home .hm-tile {
  scroll-snap-align: start;
  padding: 1.1rem 1.15rem 1.3rem;
  background: linear-gradient(165deg, rgba(14, 59, 58, .82), rgba(6, 21, 46, .9));
  border: 1px solid var(--tx-line);
  border-left: 2px solid var(--tx-cyan);
}

.page-home .hm-tile__tag {
  margin: 0;
  font-size: .82rem;
  letter-spacing: .16em;
  color: var(--tx-orange);
}

.page-home .hm-tile__desc {
  margin: .7rem 0 0;
  font-size: .95rem;
  line-height: 1.78;
  color: var(--tx-steel);
}

.page-home .hm-figure {
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
}

.page-home .hm-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border: 1px solid var(--tx-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.page-home .hm-figure figcaption {
  margin-top: .85rem;
  font-size: .85rem;
  line-height: 1.7;
  letter-spacing: .02em;
  color: var(--tx-steel);
}

/* ---------- 03 指标对比 ---------- */

.page-home .hm-split {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}

.page-home .hm-split + .hm-split {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.page-home .hm-sub {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--tx-ice);
}

.page-home .hm-body {
  margin: .9rem 0 0;
  font-size: .98rem;
  line-height: 1.85;
  color: var(--tx-steel);
}

.page-home .hm-list {
  display: grid;
  gap: .6rem;
  margin: 1.1rem 0 1.4rem;
  padding: 0;
  list-style: none;
}

.page-home .hm-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: .94rem;
  line-height: 1.75;
  color: var(--tx-steel);
}

.page-home .hm-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: .7rem;
  height: 2px;
  background: var(--tx-cyan);
}

.page-home .hm-split__fig {
  margin: 0;
}

.page-home .hm-split__fig img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--tx-line);
}

.page-home .hm-split__fig--map img {
  aspect-ratio: 3 / 2;
  clip-path: polygon(0 6%, 8% 0, 100% 0, 100% 94%, 92% 100%, 0 100%);
}

.page-home .hm-split__fig--ring img {
  aspect-ratio: 1 / 1;
  max-width: 400px;
  margin-inline: auto;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, .28), 0 0 60px rgba(0, 229, 255, .12);
}

/* ---------- 04 订阅核对 ---------- */

.page-home .hm-steps {
  display: grid;
  gap: clamp(.85rem, 2vw, 1.25rem);
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .hm-step {
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  background: rgba(6, 21, 46, .55);
  border: 1px solid rgba(0, 229, 255, .22);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-home .hm-step__no {
  display: block;
  font-size: 1.1rem;
  letter-spacing: .1em;
  color: var(--tx-orange);
}

.page-home .hm-step__title {
  margin: .6rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--tx-ice);
}

.page-home .hm-step__desc {
  margin: .6rem 0 0;
  font-size: .92rem;
  line-height: 1.78;
  color: var(--tx-steel);
}

/* ---------- 05 版本时间轴 ---------- */

.page-home .hm-timeline {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin: 0;
  padding: 0 0 0 1.6rem;
  list-style: none;
  border-left: 1px solid var(--tx-line);
}

.page-home .hm-timeline__item {
  position: relative;
  display: grid;
  gap: .35rem;
}

.page-home .hm-timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1.6rem - 5px);
  top: .5rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tx-night);
  border: 2px solid var(--tx-cyan);
  box-shadow: 0 0 14px rgba(0, 229, 255, .6);
}

.page-home .hm-timeline__ver {
  font-size: 1.05rem;
  letter-spacing: .08em;
  color: var(--tx-orange);
}

.page-home .hm-timeline__title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--tx-ice);
}

.page-home .hm-timeline__desc {
  margin: .45rem 0 0;
  max-width: 62ch;
  font-size: .95rem;
  line-height: 1.8;
  color: var(--tx-steel);
}

.page-home .hm-band-note {
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
  padding: 1rem 1.2rem;
  font-size: .95rem;
  line-height: 1.8;
  color: var(--tx-ice);
  background: linear-gradient(90deg, rgba(0, 229, 255, .14), rgba(255, 107, 26, .1));
  border-left: 2px solid var(--tx-cyan);
}

/* ---------- 06 数据项目 ---------- */

.page-home .hm-projects {
  display: grid;
  gap: clamp(.75rem, 1.8vw, 1.1rem);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.page-home .hm-proj {
  padding: 1.15rem 1.2rem 1.35rem;
  background: rgba(10, 42, 92, .5);
  border: 1px solid var(--tx-line);
  transition: background .3s var(--tx-ease), border-color .3s var(--tx-ease);
}

.page-home .hm-proj:hover {
  background: rgba(14, 59, 58, .62);
  border-color: rgba(0, 229, 255, .45);
}

.page-home .hm-proj__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--tx-ice);
}

.page-home .hm-proj__desc {
  margin: .6rem 0 0;
  font-size: .9rem;
  line-height: 1.78;
  color: var(--tx-steel);
}

.page-home .hm-deliver {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding: clamp(1.25rem, 3vw, 1.9rem);
  background: linear-gradient(150deg, rgba(36, 20, 71, .72), rgba(6, 21, 46, .85));
  border: 1px solid var(--tx-line);
  border-top: 2px solid var(--tx-orange);
}

.page-home .hm-deliver__label {
  margin: 0;
  font-size: .78rem;
  letter-spacing: .18em;
  color: var(--tx-orange);
}

.page-home .hm-deliver__note {
  margin: 1rem 0 0;
  max-width: 60ch;
  font-size: .95rem;
  line-height: 1.8;
  color: var(--tx-steel);
}

/* ---------- 07 团队与生态 ---------- */

.page-home .hm-trust-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  grid-template-columns: 1fr;
}

.page-home .hm-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(160deg, rgba(36, 20, 71, .68), rgba(6, 21, 46, .86));
  border: 1px solid var(--tx-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.page-home .hm-card__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--tx-ice);
}

.page-home .hm-card__subtitle {
  margin: clamp(1.25rem, 3vw, 1.75rem) 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--tx-cyan);
}

.page-home .hm-card__body {
  margin: .85rem 0 0;
  font-size: .95rem;
  line-height: 1.85;
  color: var(--tx-steel);
}

.page-home .hm-card__note {
  margin: 1rem 0 0;
  font-size: .85rem;
  line-height: 1.7;
  color: var(--tx-steel);
}

.page-home .hm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .hm-chips li {
  padding: .3rem .75rem;
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--tx-ice);
  border: 1px solid rgba(0, 229, 255, .3);
  border-radius: 999px;
}

.page-home .hm-contact {
  display: grid;
  gap: .55rem;
  margin: .85rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .hm-contact li {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--tx-ice);
}

.page-home .hm-contact__key {
  min-width: 5rem;
  color: var(--tx-steel);
  font-size: .85rem;
  letter-spacing: .08em;
}

.page-home .hm-contact a {
  color: var(--tx-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, .4);
}

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

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

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

@media (min-width: 900px) {
  .page-home .hm-sec__head {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .page-home .hm-scrollrow {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .page-home .hm-projects {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .hm-trust-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  }
}

@media (min-width: 960px) {
  .page-home .hm-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  }

  .page-home .hm-hero__visual {
    transform: translateY(1.15rem);
  }

  .page-home .hm-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  }

  .page-home .hm-split--rev {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  }

  .page-home .hm-split--rev .hm-split__text {
    order: 2;
  }

  .page-home .hm-split--rev .hm-split__fig {
    order: 1;
  }

  .page-home .hm-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .page-home .hm-scrollrow {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-stat,
  .page-home .hm-proj,
  .page-home .hm-rail__link {
    transition: none;
  }

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