.page-home {
  --hm-gap: clamp(1rem, 2.2vw, 1.75rem);
  --hm-radius: 16px;
  --hm-edge: 1px solid var(--cv-line-soft);
  overflow-x: clip;
  background:
    radial-gradient(120% 80% at 88% 0%, rgba(47, 107, 255, 0.16), transparent 62%),
    var(--cv-ink);
  color: var(--cv-fog);
  font-family: var(--cv-sans);
}

.page-home .hm-section {
  padding: clamp(2.6rem, 6vw, 5rem) 0;
  border-top: var(--hm-edge);
}

.page-home .hm-head {
  max-width: 62ch;
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}

.page-home .hm-head .cv-title {
  font-size: clamp(1.55rem, 3.4vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-top: 0.5rem;
}

.page-home .hm-head .cv-lede {
  color: var(--cv-steel);
  margin-top: 0.9rem;
  max-width: 60ch;
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(5.5rem, 11vw, 8.5rem) 0 clamp(2.2rem, 5vw, 3.6rem);
  overflow: hidden;
}

.page-home .hm-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: -3;
  -webkit-mask-image: linear-gradient(102deg, #000 0%, rgba(0, 0, 0, 0.6) 52%, transparent 94%);
  mask-image: linear-gradient(102deg, #000 0%, rgba(0, 0, 0, 0.6) 52%, transparent 94%);
}

.page-home .hm-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(7, 19, 31, 0.72), var(--cv-ink) 94%),
    radial-gradient(70% 55% at 20% 30%, rgba(57, 245, 200, 0.1), transparent 70%);
}

.page-home .hm-coords {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  animation: hm-coords-in 1.6s var(--cv-ease) both;
}

@keyframes hm-coords-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.page-home .hm-hero__grid {
  display: grid;
  gap: clamp(1.8rem, 3.5vw, 3.2rem);
  align-items: start;
}

.page-home .hm-hero__narrative {
  animation: hm-rise 0.7s var(--cv-ease) both;
}

.page-home .hm-hero__preview {
  display: grid;
  gap: 0.65rem;
  animation: hm-rise 0.7s var(--cv-ease) 0.12s both;
}

@keyframes hm-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.page-home .hm-hero__title {
  font-family: var(--cv-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0.7rem 0 0;
}

.page-home .hm-hero__title span {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--cv-sans);
  font-weight: 500;
  font-size: clamp(0.95rem, 2.4vw, 1.3rem);
  letter-spacing: 0.01em;
  line-height: 1.5;
  color: var(--cv-mint-soft);
}

.page-home .hm-hero__lede {
  margin-top: 1.1rem;
  max-width: 46ch;
  color: var(--cv-fog);
  opacity: 0.86;
}

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

.page-home .hm-hero__facts {
  list-style: none;
  margin: 1.9rem 0 0;
  padding: 1rem 0 0;
  border-top: var(--hm-edge);
  display: grid;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--cv-steel);
}

.page-home .hm-hero__facts li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}

.page-home .hm-hero__facts .cv-mono {
  color: var(--cv-mint);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  flex: none;
}

.page-home .hm-hero__preview-head {
  font-family: var(--cv-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cv-steel);
  margin: 0 0 0.35rem;
}

.page-home .hm-hero__preview-head .cv-mono {
  color: var(--cv-mint);
}

.page-home .hm-chapter {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 0.95rem;
  border: var(--hm-edge);
  border-radius: 12px;
  background: linear-gradient(158deg, rgba(18, 40, 58, 0.92), rgba(14, 21, 27, 0.9));
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--cv-ease), border-color 0.25s var(--cv-ease),
    background 0.25s var(--cv-ease);
}

.page-home .hm-chapter:nth-child(even) {
  margin-left: clamp(0.5rem, 4vw, 1.5rem);
}

.page-home .hm-chapter:hover,
.page-home .hm-chapter:focus-visible {
  transform: translateY(-3px);
  border-color: var(--cv-line);
}

.page-home .hm-chapter:focus-visible {
  outline: 2px solid var(--cv-mint);
  outline-offset: 3px;
}

.page-home .hm-chapter[aria-current="true"] {
  border-color: rgba(57, 245, 200, 0.55);
  background: linear-gradient(158deg, rgba(57, 245, 200, 0.16), rgba(14, 21, 27, 0.92));
}

.page-home .hm-chapter__num {
  font-family: var(--cv-mono);
  font-size: 1rem;
  color: var(--cv-mint);
  letter-spacing: 0.06em;
  flex: none;
  padding-top: 0.1rem;
}

.page-home .hm-chapter__body {
  display: grid;
  gap: 0.2rem;
}

.page-home .hm-chapter__title {
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.page-home .hm-chapter__text {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--cv-steel);
}

/* ---------- 数据章节 ---------- */
.page-home .hm-data {
  display: grid;
  gap: var(--hm-gap);
}

.page-home .hm-data__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--cv-line-soft);
  border: var(--hm-edge);
  border-radius: var(--hm-radius);
  overflow: hidden;
}

.page-home .hm-metric {
  background: var(--cv-carbon);
  padding: 1.1rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.page-home .hm-metric__id {
  font-family: var(--cv-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--cv-mint);
}

.page-home .hm-metric__name {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.page-home .hm-metric__text {
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--cv-steel);
  margin: 0;
}

.page-home .hm-metric__bar {
  display: flex;
  gap: 3px;
  height: 6px;
  margin: 0.15rem 0;
}

.page-home .hm-metric__bar span {
  height: 100%;
  border-radius: 3px;
}

.page-home .hm-metric__bar span:first-child {
  flex: 62;
  background: linear-gradient(90deg, var(--cv-mint), var(--cv-mint-soft));
}

.page-home .hm-metric__bar span:last-child {
  flex: 38;
  background: rgba(232, 242, 244, 0.22);
}

.page-home .hm-metric__rank {
  font-size: 1.5rem;
  color: var(--cv-mint-soft);
  letter-spacing: 0.04em;
  line-height: 1;
  margin: 0.1rem 0;
}

.page-home .hm-metric__seq {
  display: flex;
  gap: 4px;
  margin: 0.2rem 0;
}

.page-home .hm-metric__seq span {
  width: 14px;
  height: 6px;
  border-radius: 2px;
  background: rgba(57, 245, 200, 0.55);
}

.page-home .hm-metric__seq span:nth-child(2),
.page-home .hm-metric__seq span:nth-child(4) {
  background: rgba(255, 90, 60, 0.6);
}

.page-home .hm-data__aside {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.page-home .hm-figure {
  margin: 0;
  border-radius: var(--hm-radius);
  overflow: hidden;
  border: var(--hm-edge);
  background: var(--cv-panel);
}

.page-home .hm-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.page-home .hm-figure figcaption {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--cv-steel);
  padding: 0.7rem 0.9rem 0.85rem;
  border-top: var(--hm-edge);
}

.page-home .hm-data__note {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--cv-steel);
  margin: 0;
}

.page-home .hm-data__aside .cv-btn {
  justify-self: start;
}

/* ---------- 订阅路径 ---------- */
.page-home .hm-steps {
  display: grid;
  gap: var(--hm-gap);
}

.page-home .hm-step {
  position: relative;
  padding: 1.4rem 1.2rem 1.5rem;
  border: var(--hm-edge);
  border-radius: var(--hm-radius);
  background: linear-gradient(150deg, rgba(18, 40, 58, 0.85), rgba(7, 19, 31, 0.92));
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.page-home .hm-step__num {
  font-family: var(--cv-mono);
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--cv-mint);
  letter-spacing: 0.02em;
}

.page-home .hm-step__title {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.page-home .hm-step__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--cv-steel);
  margin: 0;
}

.page-home .hm-step__tag {
  align-self: end;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--cv-mint);
  border-top: var(--hm-edge);
  padding-top: 0.65rem;
}

.page-home .hm-sub-note {
  display: grid;
  gap: var(--hm-gap);
  margin-top: var(--hm-gap);
  align-items: center;
}

.page-home .hm-sub-note__title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.7rem;
}

.page-home .hm-sub-note__body p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--cv-steel);
  margin: 0;
}

.page-home .hm-checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.5rem;
}

.page-home .hm-checklist li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--cv-fog);
  opacity: 0.9;
}

.page-home .hm-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--cv-mint);
}

/* ---------- 城市节点 ---------- */
.page-home .hm-split {
  display: grid;
  gap: clamp(1.6rem, 3.5vw, 3rem);
  align-items: start;
}

.page-home .hm-split__figure {
  order: -1;
}

.page-home .hm-cities {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-home .hm-cities li {
  font-family: var(--cv-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--cv-line);
  background: rgba(57, 245, 200, 0.06);
  color: var(--cv-mint-soft);
}

.page-home .hm-cities__note {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--cv-steel);
  margin: 0 0 1.3rem;
}

.page-home .hm-split .cv-btn {
  justify-self: start;
}

/* ---------- 频道与更新 ---------- */
.page-home .hm-channels {
  display: grid;
  gap: var(--hm-gap);
}

.page-home .hm-channel-card {
  padding: 1.3rem 1.2rem 1.4rem;
  border: var(--hm-edge);
  border-radius: var(--hm-radius);
  background: linear-gradient(165deg, rgba(18, 40, 58, 0.6), rgba(14, 21, 27, 0.9));
  display: grid;
  gap: 0.55rem;
}

.page-home .hm-channel-card__id {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--cv-mint);
}

.page-home .hm-channel-card__title {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.page-home .hm-channel-card p {
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--cv-steel);
  margin: 0;
}

.page-home .hm-links {
  display: grid;
  gap: 0.7rem;
  margin-top: var(--hm-gap);
}

.page-home .hm-link-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.3rem 1rem;
  align-items: center;
  padding: 1.05rem 1.15rem;
  border: var(--hm-edge);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: rgba(18, 40, 58, 0.42);
  transition: border-color 0.25s var(--cv-ease), background 0.25s var(--cv-ease);
}

.page-home .hm-link-card:hover,
.page-home .hm-link-card:focus-visible {
  border-color: var(--cv-line);
  background: rgba(57, 245, 200, 0.1);
}

.page-home .hm-link-card:focus-visible {
  outline: 2px solid var(--cv-mint);
  outline-offset: 3px;
}

.page-home .hm-link-card__label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--cv-mint);
}

.page-home .hm-link-card__title {
  grid-column: 1;
  font-size: 0.92rem;
  line-height: 1.5;
}

.page-home .hm-link-card__arrow {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--cv-mint-soft);
  font-size: 1.1rem;
}

/* ---------- 服务 ---------- */
.page-home .hm-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--cv-line-soft);
  border: var(--hm-edge);
  border-radius: var(--hm-radius);
  overflow: hidden;
}

.page-home .hm-stat {
  background: var(--cv-carbon);
  padding: 1.15rem 1.1rem 1.25rem;
  display: grid;
  gap: 0.3rem;
}

.page-home .hm-stat__value {
  font-size: clamp(1.45rem, 3.2vw, 1.85rem);
  color: var(--cv-mint);
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.page-home .hm-stat__label {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--cv-steel);
}

.page-home .hm-service {
  display: grid;
  gap: var(--hm-gap);
  margin-top: var(--hm-gap);
}

.page-home .hm-service__contact,
.page-home .hm-service__panel {
  padding: 1.3rem 1.2rem 1.4rem;
  border: var(--hm-edge);
  border-radius: var(--hm-radius);
  background: linear-gradient(160deg, rgba(18, 40, 58, 0.55), rgba(14, 21, 27, 0.92));
}

.page-home .hm-service__title {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 0.9rem;
  letter-spacing: -0.01em;
}

.page-home .hm-contact {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.page-home .hm-contact__row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: baseline;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(232, 242, 244, 0.07);
}

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

.page-home .hm-contact dt {
  font-family: var(--cv-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--cv-steel);
}

.page-home .hm-contact dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--cv-fog);
  word-break: break-word;
}

.page-home .hm-service__panel p {
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--cv-steel);
  margin: 0 0 1.1rem;
}

.page-home .hm-service__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.page-home .hm-service__legal {
  font-family: var(--cv-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--cv-steel);
  margin: 1.2rem 0 0 !important;
}

/* ---------- 结尾行动 ---------- */
.page-home .hm-cta {
  padding: clamp(2rem, 5vw, 3.4rem) 0 clamp(2.4rem, 6vw, 4rem);
  background:
    radial-gradient(90% 120% at 12% 0%, rgba(47, 107, 255, 0.28), transparent 60%),
    radial-gradient(70% 110% at 90% 100%, rgba(57, 245, 200, 0.16), transparent 65%),
    var(--cv-carbon);
  border-top: var(--hm-edge);
}

.page-home .hm-cta__inner {
  display: grid;
  gap: 1.2rem;
  align-items: center;
}

.page-home .hm-cta__title {
  font-size: clamp(1.4rem, 3.6vw, 2.2rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin: 0.45rem 0 0;
}

.page-home .hm-cta .cv-btn {
  justify-self: start;
}

/* ---------- 响应式 ---------- */
@media (min-width: 600px) {
  .page-home .hm-data__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

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

  .page-home .hm-sub-note {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

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

  .page-home .hm-split__figure {
    order: 0;
  }

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

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

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

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

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

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

  .page-home .hm-cta .cv-btn {
    justify-self: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-coords,
  .page-home .hm-hero__narrative,
  .page-home .hm-hero__preview {
    animation: none;
  }

  .page-home .hm-chapter,
  .page-home .hm-link-card {
    transition: none;
  }

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