.page-home {
  --hm-gap: clamp(62px, 9vw, 116px);
  --hm-line: rgba(233, 238, 247, .08);
  --hm-edge: rgba(233, 238, 247, .07);
  display: block;
  padding-bottom: clamp(48px, 8vw, 96px);
}

.page-home img {
  max-width: 100%;
  display: block;
}

.page-home .hm-sec {
  margin-top: var(--hm-gap);
}

/* ---------- 首屏 ---------- */

.page-home .hm-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(44px, 7vw, 92px) 0 clamp(52px, 8vw, 96px);
}

.page-home .hm-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .34;
}

.page-home .hm-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hm-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 9, 18, .6) 0%, rgba(5, 9, 18, .9) 58%, var(--cx-void) 100%);
}

.page-home .hm-hero__glow {
  position: absolute;
  inset: -18% -12%;
  z-index: -1;
  display: block;
  background:
    radial-gradient(46% 40% at 12% 16%, rgba(255, 45, 143, .3), transparent 70%),
    radial-gradient(42% 38% at 88% 24%, rgba(53, 230, 224, .22), transparent 70%),
    radial-gradient(40% 34% at 58% 94%, rgba(124, 77, 255, .22), transparent 72%);
  animation: hm-drift 24s var(--cx-ease) infinite alternate;
}

@keyframes hm-drift {
  from { transform: translate3d(-1.4%, -1%, 0) scale(1.02); }
  to   { transform: translate3d(1.6%, 1.4%, 0) scale(1.07); }
}

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

.page-home .hm-hero__context {
  margin: 0 0 22px;
  font-family: var(--cx-mono);
  font-size: 11.5px;
  letter-spacing: .26em;
  color: var(--cx-dim);
}

.page-home .hm-hero__title {
  margin: 0 0 clamp(20px, 3vw, 30px);
  font-weight: 200;
  font-size: clamp(2.5rem, 8.4vw, 5.9rem);
  line-height: 1.08;
  letter-spacing: .01em;
  color: var(--cx-ink);
}

.page-home .hm-hero__lede {
  margin: 0;
  max-width: 38ch;
  font-size: clamp(15.5px, 1.6vw, 17px);
  line-height: 1.9;
  color: var(--cx-ink-2);
}

.page-home .hm-hero__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.page-home .hm-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(233, 238, 247, .14);
  background: rgba(12, 20, 36, .72);
  color: var(--cx-ink-2);
  font-size: 13px;
  letter-spacing: .05em;
  text-decoration: none;
  transition: color .4s var(--cx-ease), border-color .4s var(--cx-ease),
              background .6s var(--cx-ease), transform .4s var(--cx-ease);
}

.page-home .hm-chip:hover,
.page-home .hm-chip:focus-visible {
  color: var(--cx-ink);
  border-color: rgba(255, 45, 143, .62);
  background: linear-gradient(120deg, rgba(255, 45, 143, .22), rgba(124, 77, 255, .18));
  transform: translateY(-2px);
  outline: none;
}

/* 拼贴卡片 */

.page-home .hm-tiles {
  display: grid;
  gap: 16px;
  margin-top: clamp(34px, 5.5vw, 58px);
}

.page-home .hm-tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: var(--cx-r-lg);
  padding: 24px 22px;
  background: var(--cx-panel);
  border: 1px solid var(--hm-edge);
  transition: transform .55s var(--cx-ease), border-color .55s var(--cx-ease),
              background .8s var(--cx-ease);
}

.page-home .hm-tile::after {
  content: "";
  position: absolute;
  right: -28%;
  bottom: -58%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 230, 224, .2), transparent 68%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s var(--cx-ease);
}

.page-home .hm-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 143, .34);
}

.page-home .hm-tile:hover::after {
  opacity: 1;
}

.page-home .hm-tile--prime {
  justify-content: flex-end;
  min-height: 268px;
  padding: clamp(28px, 4vw, 44px);
  border-color: rgba(255, 45, 143, .26);
  background:
    radial-gradient(118% 86% at 100% 0%, rgba(255, 45, 143, .22), transparent 62%),
    linear-gradient(155deg, rgba(124, 77, 255, .16), rgba(12, 20, 36, .92) 58%);
}

.page-home .hm-tile__kicker {
  margin: 0;
  font-family: var(--cx-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  color: var(--cx-dim);
}

.page-home .hm-tile__num {
  margin: 0;
  font-family: var(--cx-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: clamp(3.1rem, 10.5vw, 5.2rem);
  line-height: .96;
  letter-spacing: -.03em;
  color: var(--cx-gold);
}

.page-home .hm-tile__mid-num {
  margin: 0;
  font-family: var(--cx-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--cx-ink);
}

.page-home .hm-tile--mid .hm-tile__mid-num { color: var(--cx-cyan); }
.page-home .hm-tile--small .hm-tile__mid-num { color: var(--cx-magenta); }

.page-home .hm-tile__unit {
  margin-left: .26em;
  font-size: .2em;
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--cx-dim);
}

.page-home .hm-tile__note {
  margin: 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--cx-ink-2);
}

.page-home .hm-tile--small .hm-tile__note {
  font-size: 13px;
}

.page-home .hm-tile__link {
  align-self: flex-start;
  margin-top: 6px;
}

/* ---------- 通用小节标题 ---------- */

.page-home .hm-sec__head {
  max-width: 64ch;
  margin-bottom: clamp(26px, 4vw, 40px);
}

.page-home .hm-sec__head .cx-eyebrow {
  margin: 0 0 10px;
}

.page-home .hm-sec__title {
  margin: 0 0 12px;
}

.page-home .hm-sec__lead {
  margin: 0;
  max-width: 42ch;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--cx-dim);
}

/* ---------- 六项分类主题带 ---------- */

.page-home .hm-band__art {
  margin: 0 0 22px;
  border-radius: var(--cx-r-lg);
  overflow: hidden;
  border: 1px solid var(--hm-edge);
}

.page-home .hm-band__art img {
  width: 100%;
  height: clamp(88px, 15vw, 152px);
  object-fit: cover;
  opacity: .84;
}

.page-home .hm-band__strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 76%;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 18px;
  margin: 0 -4px;
  scrollbar-width: thin;
}

.page-home .hm-band__strip > * {
  scroll-snap-align: center;
}

.page-home .hm-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 206px;
  padding: 22px 18px 18px;
  border-radius: var(--cx-r-md);
  background: var(--cx-panel);
  border: 1px solid var(--hm-edge);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform .5s var(--cx-ease), border-color .5s var(--cx-ease),
              background .8s var(--cx-ease);
}

.page-home .hm-cat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
}

.page-home .hm-cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(168deg, rgba(255, 45, 143, .14), transparent 56%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s var(--cx-ease);
}

.page-home .hm-cat:hover,
.page-home .hm-cat:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(255, 45, 143, .36);
  outline: none;
}

.page-home .hm-cat:hover::after,
.page-home .hm-cat:focus-visible::after {
  opacity: 1;
}

.page-home .hm-cat:nth-child(1)::before { background: linear-gradient(90deg, var(--cx-magenta), var(--cx-violet)); }
.page-home .hm-cat:nth-child(2)::before { background: linear-gradient(90deg, var(--cx-violet), var(--cx-cyan)); }
.page-home .hm-cat:nth-child(3)::before { background: linear-gradient(90deg, var(--cx-cyan), var(--cx-violet)); }
.page-home .hm-cat:nth-child(4)::before { background: linear-gradient(90deg, var(--cx-gold), var(--cx-magenta)); }
.page-home .hm-cat:nth-child(5)::before { background: linear-gradient(90deg, var(--cx-violet), var(--cx-magenta)); }
.page-home .hm-cat:nth-child(6)::before { background: linear-gradient(90deg, var(--cx-cyan), var(--cx-gold)); }

.page-home .hm-cat__idx {
  font-family: var(--cx-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--cx-dim);
}

.page-home .hm-cat__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--cx-ink);
}

.page-home .hm-cat__desc {
  flex: 1;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--cx-dim);
}

.page-home .hm-cat__num {
  padding-top: 11px;
  border-top: 1px solid var(--hm-line);
  font-family: var(--cx-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--cx-dim);
}

.page-home .hm-cat__num b {
  margin-right: .16em;
  font-size: 21px;
  font-weight: 600;
  color: var(--cx-gold);
}

/* ---------- 双通道 ---------- */

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

.page-home .hm-paths__art {
  margin: 0;
  border-radius: var(--cx-r-lg);
  overflow: hidden;
  border: 1px solid var(--hm-edge);
  min-height: 200px;
}

.page-home .hm-paths__art img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  opacity: .9;
}

.page-home .hm-path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3.4vw, 34px);
  border-radius: var(--cx-r-lg);
  background: var(--cx-panel);
  border: 1px solid var(--hm-edge);
  overflow: hidden;
}

.page-home .hm-path--pc {
  border-left: 2px solid var(--cx-magenta);
  background: linear-gradient(200deg, rgba(255, 45, 143, .1), rgba(12, 20, 36, .96) 52%);
}

.page-home .hm-path--ios {
  border-left: 2px solid var(--cx-cyan);
  background: linear-gradient(200deg, rgba(53, 230, 224, .09), rgba(12, 20, 36, .96) 52%);
}

.page-home .hm-path__tag {
  margin: 0;
  font-family: var(--cx-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--cx-dim);
}

.page-home .hm-path__title {
  margin: 0;
  font-size: clamp(1.28rem, 3.2vw, 1.72rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .01em;
  color: var(--cx-ink);
}

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

.page-home .hm-path__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--cx-ink-2);
}

.page-home .hm-path__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .74em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.page-home .hm-path--pc .hm-path__list li::before { color: var(--cx-magenta); }
.page-home .hm-path--ios .hm-path__list li::before { color: var(--cx-cyan); }

.page-home .hm-path__cta {
  align-self: flex-start;
  margin-top: 4px;
}

/* ---------- 平台规模 ---------- */

.page-home .hm-scale__list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--hm-line);
  border-radius: var(--cx-r-md);
  overflow: hidden;
}

.page-home .hm-scale__item {
  padding: 24px 20px;
  background: var(--cx-panel);
}

.page-home .hm-scale__item dt {
  margin-bottom: 10px;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--cx-dim);
}

.page-home .hm-scale__item dd {
  margin: 0;
  font-family: var(--cx-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: clamp(1.55rem, 4.2vw, 2.15rem);
  letter-spacing: -.02em;
  color: var(--cx-ink);
}

.page-home .hm-scale__more {
  margin: 22px 0 0;
}

.page-home .hm-scale__more a {
  font-size: 13.5px;
  letter-spacing: .05em;
  color: var(--cx-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 230, 224, .34);
  padding-bottom: 2px;
  transition: color .4s var(--cx-ease), border-color .4s var(--cx-ease);
}

.page-home .hm-scale__more a:hover {
  color: var(--cx-ink);
  border-color: var(--cx-ink);
}

/* ---------- 术语 ---------- */

.page-home .hm-terms__grid {
  display: grid;
  gap: 24px;
}

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

.page-home .hm-bar__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.page-home .hm-bar__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--cx-ink);
}

.page-home .hm-bar__val {
  font-family: var(--cx-mono);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--cx-dim);
}

.page-home .hm-bar__track {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--cx-raise);
  overflow: hidden;
}

.page-home .hm-bar__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.page-home .hm-bar__fill--a {
  width: 48.3%;
  background: linear-gradient(90deg, var(--cx-magenta), var(--cx-violet));
}

.page-home .hm-bar__fill--b {
  width: 34.2%;
  background: linear-gradient(90deg, var(--cx-violet), var(--cx-cyan));
}

.page-home .hm-bar__fill--c {
  width: 17.5%;
  background: linear-gradient(90deg, var(--cx-cyan), var(--cx-gold));
}

.page-home .hm-terms__note {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  border-radius: var(--cx-r-lg);
  border: 1px solid rgba(53, 230, 224, .24);
  background: linear-gradient(158deg, rgba(53, 230, 224, .12), rgba(12, 20, 36, .92) 62%);
}

.page-home .hm-terms__note-title {
  margin: 0;
  font-family: var(--cx-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  color: var(--cx-cyan);
}

.page-home .hm-terms__note-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--cx-ink-2);
}

.page-home .hm-terms__note .cx-btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* ---------- 更新动态 ---------- */

.page-home .hm-updates__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--hm-line);
  border-radius: var(--cx-r-lg);
  overflow: hidden;
}

.page-home .hm-upd {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  background: var(--cx-panel);
}

.page-home .hm-upd__idx {
  font-family: var(--cx-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--cx-magenta);
}

.page-home .hm-upd h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--cx-ink);
}

.page-home .hm-upd p {
  margin: 0;
  flex: 1;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--cx-dim);
}

.page-home .hm-upd__link {
  align-self: flex-start;
  font-size: 13.5px;
  letter-spacing: .05em;
  color: var(--cx-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 230, 224, .34);
  padding-bottom: 2px;
  transition: color .4s var(--cx-ease), border-color .4s var(--cx-ease);
}

.page-home .hm-upd__link:hover {
  color: var(--cx-ink);
  border-color: var(--cx-ink);
}

/* ---------- 服务支持 ---------- */

.page-home .hm-support__grid {
  display: grid;
  gap: 28px;
}

.page-home .hm-support__copy .cx-eyebrow {
  margin: 0 0 10px;
}

.page-home .hm-support__copy .hm-sec__title {
  margin: 0 0 14px;
}

.page-home .hm-support__copy > p {
  margin: 0;
  max-width: 44ch;
  font-size: 15.5px;
  line-height: 1.88;
  color: var(--cx-ink-2);
}

.page-home .hm-support__contacts {
  margin: 26px 0 0;
  display: grid;
  gap: 16px;
}

.page-home .hm-support__contacts > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hm-line);
}

.page-home .hm-support__contacts dt {
  min-width: 82px;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--cx-dim);
}

.page-home .hm-support__contacts dd {
  margin: 0;
  font-family: var(--cx-mono);
  font-size: 14.5px;
  letter-spacing: .02em;
  color: var(--cx-ink);
  overflow-wrap: anywhere;
}

.page-home .hm-support__copy p.hm-support__legal {
  margin: 22px 0 0;
  max-width: none;
  font-family: var(--cx-mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--cx-cyan);
}

.page-home .hm-support__copy p.hm-support__more {
  margin: 14px 0 0;
  max-width: none;
}

.page-home .hm-support__more a {
  font-size: 13.5px;
  letter-spacing: .05em;
  color: var(--cx-ink-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(233, 238, 247, .28);
  padding-bottom: 2px;
  transition: color .4s var(--cx-ease), border-color .4s var(--cx-ease);
}

.page-home .hm-support__more a:hover {
  color: var(--cx-ink);
  border-color: var(--cx-ink);
}

.page-home .hm-support__art {
  margin: 0;
  border-radius: var(--cx-r-lg);
  overflow: hidden;
  border: 1px solid var(--hm-edge);
}

.page-home .hm-support__art img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: .92;
}

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

@media (min-width: 720px) {
  .page-home .hm-band__strip {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    gap: 18px;
    padding: 0;
    margin: 0;
  }

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

@media (min-width: 860px) {
  .page-home .hm-tiles {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    align-items: stretch;
  }

  .page-home .hm-tile--prime {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .page-home .hm-tile--mid {
    grid-column: 2;
    grid-row: 1;
  }

  .page-home .hm-tile--small {
    grid-column: 2;
    grid-row: 2;
  }
}

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

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

  .page-home .hm-support__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
  }
}

@media (min-width: 940px) {
  .page-home .hm-paths__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .hm-paths__art {
    grid-column: 1 / 6;
    grid-row: 1 / span 2;
  }

  .page-home .hm-path--pc {
    grid-column: 6 / 13;
    grid-row: 1;
  }

  .page-home .hm-path--ios {
    grid-column: 6 / 13;
    grid-row: 2;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-hero__glow {
    animation: none;
  }

  .page-home .hm-tile,
  .page-home .hm-cat,
  .page-home .hm-chip {
    transition: none;
  }
}
