.page-home {
  --hm-pad: clamp(18px, 3.2vw, 30px);
  --hm-gap: clamp(14px, 2vw, 20px);
  --hm-card: linear-gradient(158deg, rgba(24, 32, 81, .92), rgba(15, 22, 54, .96));
  --hm-line: rgba(43, 52, 112, .7);
  color: var(--paper);
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .hm-crumb-row {
  padding-top: clamp(14px, 2.4vw, 24px);
}

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

/* ---------- 首屏拼贴 ---------- */
.page-home .hm-hero {
  padding: clamp(18px, 3vw, 30px) 0 clamp(34px, 5vw, 60px);
}

.page-home .hm-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hm-gap);
}

.page-home .hm-hero-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--hm-card);
  border: 1px solid var(--hm-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-panel);
}

.page-home .hm-hero-media {
  position: relative;
  overflow: hidden;
}

.page-home .hm-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hm-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 120% at 80% 0%, rgba(123, 92, 255, .38), transparent 62%),
    radial-gradient(70% 100% at 0% 100%, rgba(61, 240, 214, .22), transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.page-home .hm-hero-body {
  padding: var(--hm-pad);
}

.page-home .hm-hero-body h1 {
  margin: .45em 0 .55em;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5.4vw, 3.3rem);
  font-weight: 900;
  font-stretch: 92%;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--paper);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .page-home .hm-hero-body h1 {
    background: linear-gradient(102deg, #EEF1FF 26%, #3DF0D6 72%, #7B5CFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.page-home .hm-hero-lede {
  margin: 0 0 18px;
  max-width: 56ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  color: var(--mist);
}

.page-home .hm-hero-tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--hm-pad);
  background: var(--hm-card);
  border: 1px solid var(--hm-line);
  border-radius: var(--radius-lg);
  transition: transform 240ms var(--ease), border-color 240ms var(--ease);
}

.page-home .hm-hero-tile:hover,
.page-home .hm-hero-tile:focus-within {
  transform: translateY(-4px);
  border-color: rgba(123, 92, 255, .62);
}

.page-home .hm-tile-tag {
  margin: 0;
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: .08em;
}

.page-home .hm-tile-more {
  margin-top: auto;
  color: var(--paper);
  font-size: 12px;
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 240, 214, .5);
  align-self: flex-start;
  padding-bottom: 2px;
}

.page-home .hm-tile-more:hover {
  color: var(--cyan);
}

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

.page-home .hm-topic-list a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: var(--paper);
  font-size: 15px;
  text-decoration: none;
  line-height: 1.5;
}

.page-home .hm-topic-list a:hover {
  color: var(--cyan);
}

.page-home .hm-topic-list .mono {
  color: var(--violet);
  font-size: 12px;
}

.page-home .hm-mini-rows {
  display: grid;
  gap: 10px;
}

.page-home .hm-mini-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 10px;
}

.page-home .hm-mini-row .mono {
  font-size: 11px;
  color: var(--mist);
}

.page-home .hm-mini-bar {
  display: block;
  width: var(--v, 50%);
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.page-home .hm-tile-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--mist);
}

.page-home .hm-tile-big {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  line-height: 1;
  color: var(--cyan);
  font-weight: 700;
}

/* ---------- 订阅轨 + 内容流 ---------- */
.page-home .hm-ws-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.4vw, 36px);
}

.page-home .hm-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: var(--hm-pad);
  background: linear-gradient(170deg, rgba(24, 32, 81, .86), rgba(7, 11, 30, .92));
  border: 1px solid var(--hm-line);
  border-radius: var(--radius-lg);
}

.page-home .hm-track-head h2 {
  margin: 6px 0 4px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 800;
  font-stretch: 92%;
  letter-spacing: -.01em;
}

.page-home .hm-track-meta {
  margin: 0;
  font-size: 12px;
  color: var(--cyan);
}

.page-home .hm-sub-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--hm-line);
  background: rgba(7, 11, 30, .6);
}

.page-home .hm-sub-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hm-sub-body {
  padding: 12px 14px 14px;
}

.page-home .hm-sub-id {
  display: block;
  font-size: 11px;
  color: var(--mist);
  letter-spacing: .04em;
}

.page-home .hm-sub-title {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--paper);
}

.page-home .hm-sub-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hm-line);
  background: rgba(15, 22, 54, .72);
}

.page-home .hm-sub-state {
  font-size: 11px;
  color: var(--cyan);
  white-space: nowrap;
}

.page-home .hm-track-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .hm-switch {
  border-top: 1px dashed var(--hm-line);
  padding-top: 14px;
}

.page-home .hm-switch summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-home .hm-switch summary::-webkit-details-marker {
  display: none;
}

.page-home .hm-switch[open] summary {
  box-shadow: 0 0 0 2px rgba(255, 139, 61, .4);
}

.page-home .hm-switch-steps {
  margin: 14px 0 0;
  padding: 0 0 0 4px;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-home .hm-switch-steps li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--paper);
}

.page-home .hm-switch-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.page-home .hm-switch-steps .mono {
  display: inline-block;
  margin-right: 6px;
  font-size: 11px;
  color: var(--mist);
}

.page-home .hm-switch-tail {
  margin: 12px 0 0;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .hm-switch-tail a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 240, 214, .45);
}

.page-home .hm-stream {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hm-gap);
  align-content: start;
}

.page-home .hm-stream-head {
  display: block;
}

.page-home .hm-stream-lede {
  margin: 10px 0 0;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .hm-card {
  position: relative;
  padding: calc(var(--hm-pad) + 4px) var(--hm-pad) var(--hm-pad);
  border-radius: var(--radius-lg);
  border: 1px solid var(--hm-line);
  background: var(--hm-card);
  overflow: hidden;
  transition: transform 240ms var(--ease), border-color 240ms var(--ease);
}

.page-home .hm-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--violet), var(--cyan));
}

.page-home .hm-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 240, 214, .5);
}

.page-home .hm-card-num {
  display: inline-block;
  font-size: 12px;
  color: var(--violet);
  letter-spacing: .1em;
}

.page-home .hm-card h3 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 800;
  font-stretch: 92%;
  line-height: 1.25;
  letter-spacing: -.01em;
}

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

.page-home .hm-card-link {
  font-size: 12px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 240, 214, .45);
  padding-bottom: 2px;
}

.page-home .hm-card-link:hover {
  color: var(--paper);
}

/* ---------- 目录地图 ---------- */
.page-home .hm-map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hm-gap);
}

.page-home .hm-map-block {
  padding: var(--hm-pad);
  border-radius: var(--radius-md);
  border: 1px solid var(--hm-line);
  background: rgba(15, 22, 54, .78);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .hm-map-block:nth-child(1) { border-top: 3px solid var(--violet); }
.page-home .hm-map-block:nth-child(2) { border-top: 3px solid var(--cyan); }
.page-home .hm-map-block:nth-child(3) { border-top: 3px solid var(--orange); }
.page-home .hm-map-block:nth-child(4) { border-top: 3px solid var(--deep-violet); }

.page-home .hm-map-num {
  font-size: 12px;
  color: var(--mist);
  letter-spacing: .1em;
}

.page-home .hm-map-block h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  font-stretch: 92%;
}

.page-home .hm-map-block p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--mist);
}

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

.page-home .hm-map-list a {
  display: block;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  background: rgba(7, 11, 30, .6);
  border: 1px solid transparent;
  color: var(--paper);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}

.page-home .hm-map-list a:hover {
  border-color: rgba(61, 240, 214, .55);
  color: var(--cyan);
}

/* ---------- 对比条带 ---------- */
.page-home .hm-cmp-strip {
  position: relative;
  overflow: hidden;
  margin: clamp(34px, 5vw, 68px) 0;
  padding: clamp(38px, 6vw, 76px) 0;
  background:
    radial-gradient(120% 150% at 15% 0%, rgba(74, 47, 184, .6), transparent 62%),
    radial-gradient(90% 120% at 90% 100%, rgba(61, 240, 214, .16), transparent 66%),
    var(--ink-800);
  border-top: 1px solid var(--hm-line);
  border-bottom: 1px solid var(--hm-line);
}

.page-home .hm-strip-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
  mix-blend-mode: screen;
  pointer-events: none;
}

.page-home .hm-strip-inner {
  position: relative;
  z-index: 1;
}

.page-home .hm-strip-inner h2 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.2vw, 2.7rem);
  font-weight: 900;
  font-stretch: 92%;
  line-height: 1.1;
  letter-spacing: -.02em;
  max-width: 22ch;
}

.page-home .hm-strip-lede {
  margin: 0 0 clamp(20px, 3vw, 30px);
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .hm-cmp-legend,
.page-home .hm-cmp-row {
  display: grid;
  grid-template-columns: minmax(52px, 76px) repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}

.page-home .hm-cmp-legend {
  padding-bottom: 8px;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--mist);
}

.page-home .hm-cmp-row {
  padding: 12px 0;
  border-top: 1px solid rgba(43, 52, 112, .8);
}

.page-home .hm-cmp-team {
  font-size: 12px;
  color: var(--paper);
}

.page-home .hm-cmp-bar {
  display: block;
  height: 12px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--deep-violet), var(--violet));
  width: var(--v, 50%);
  min-width: 12px;
  transition: width 320ms var(--ease);
}

.page-home .hm-cmp-row .hm-cmp-bar:nth-child(3) {
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.page-home .hm-cmp-row .hm-cmp-bar:nth-child(4) {
  background: linear-gradient(90deg, #2a7f8e, var(--cyan));
}

.page-home .hm-strip-cta {
  margin-top: clamp(22px, 3vw, 30px);
}

/* ---------- 时间线 ---------- */
.page-home .hm-tl-lede {
  margin: 10px 0 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .hm-tl-list {
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0 0 0 22px;
  list-style: none;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.page-home .hm-tl-item {
  position: relative;
}

.page-home .hm-tl-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 16px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 2px solid var(--cyan);
}

.page-home .hm-tl-node {
  border-radius: var(--radius-md);
  border: 1px solid var(--hm-line);
  background: rgba(15, 22, 54, .76);
  overflow: hidden;
}

.page-home .hm-tl-node summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  padding: 14px 16px;
}

.page-home .hm-tl-node summary::-webkit-details-marker {
  display: none;
}

.page-home .hm-tl-node[open] {
  border-color: rgba(123, 92, 255, .6);
}

.page-home .hm-tl-year {
  font-size: 16px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: .04em;
}

.page-home .hm-tl-name {
  font-size: 15px;
  line-height: 1.5;
  color: var(--paper);
}

.page-home .hm-tl-node p {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .hm-tl-tail {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--mist);
}

.page-home .hm-tl-tail a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 240, 214, .45);
}

/* ---------- 多端 ---------- */
.page-home .hm-multi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
}

.page-home .hm-multi-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hm-line);
}

.page-home .hm-multi-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hm-multi-body h2 {
  margin: 8px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 900;
  font-stretch: 92%;
  line-height: 1.14;
  letter-spacing: -.02em;
}

.page-home .hm-multi-body p {
  margin: 0 0 16px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .hm-platforms {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .hm-platforms li {
  padding: 7px 13px;
  border-radius: 99px;
  border: 1px solid var(--hm-line);
  background: rgba(24, 32, 81, .7);
  font-size: 12px;
  color: var(--paper);
  letter-spacing: .04em;
}

.page-home .hm-multi-meta {
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: .04em;
}

/* ---------- 支持 ---------- */
.page-home .hm-support-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 34px);
  padding: clamp(22px, 3.6vw, 38px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--hm-line);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255, 139, 61, .14), transparent 60%),
    var(--hm-card);
}

.page-home .hm-support-main h2 {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 900;
  font-stretch: 92%;
  line-height: 1.16;
  letter-spacing: -.02em;
}

.page-home .hm-support-main p {
  margin: 0 0 18px;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .hm-support-facts {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  align-content: start;
}

.page-home .hm-support-facts div {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hm-line);
  background: rgba(7, 11, 30, .55);
}

.page-home .hm-support-facts dt {
  font-size: 11px;
  color: var(--mist);
  letter-spacing: .06em;
}

.page-home .hm-support-facts dd {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--cyan);
}

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

  .page-home .hm-support-card {
    grid-template-columns: 1fr;
  }
}

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

  .page-home .hm-stream-head,
  .page-home .hm-card--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .page-home .hm-hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: min-content;
  }

  .page-home .hm-hero-main {
    grid-column: 1 / 8;
    grid-row: 1 / 4;
  }

  .page-home .hm-hero-tile {
    grid-column: 8 / 13;
  }

  .page-home .hm-multi-grid {
    grid-template-columns: 1.05fr .95fr;
  }

  .page-home .hm-support-card {
    grid-template-columns: 1.4fr .9fr;
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-home .hm-ws-grid {
    grid-template-columns: minmax(280px, 4fr) 8fr;
    align-items: start;
  }

  .page-home .hm-track {
    position: sticky;
    top: 88px;
  }

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

@media (min-width: 1100px) {
  .page-home .hm-cmp-legend,
  .page-home .hm-cmp-row {
    grid-template-columns: 96px repeat(3, minmax(0, 1fr));
  }

  .page-home .hm-cmp-bar {
    height: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-hero-tile,
  .page-home .hm-card,
  .page-home .hm-cmp-bar {
    transition: none;
  }

  .page-home .hm-hero-tile:hover,
  .page-home .hm-hero-tile:focus-within,
  .page-home .hm-card:hover {
    transform: none;
  }
}

.page-home {
  --v: 1rem;
}
