.page-home {
  --hm-tick: rgba(154, 166, 196, 0.28);
  --hm-glow: 0 14px 32px -20px rgba(123, 77, 255, 0.78);
  position: relative;
  padding-bottom: 96px;
  background:
    radial-gradient(1100px 520px at 84% -6%, rgba(123, 77, 255, 0.20), transparent 62%),
    radial-gradient(820px 420px at 4% 18%, rgba(53, 208, 186, 0.09), transparent 66%);
}

.page-home .hm-crumb {
  padding-top: 28px;
  padding-bottom: 16px;
}

.page-home .hm-eyebrow {
  margin: 0 0 10px;
  color: var(--neon-soft);
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* ---------- 首屏框景 ---------- */

.page-home .hm-hero__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(18, 42, 85, 0.94), rgba(11, 27, 58, 0.98));
  isolation: isolate;
}

.page-home .hm-hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, var(--hm-tick) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(to right, var(--hm-tick) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(to bottom, var(--hm-tick) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(to bottom, var(--hm-tick) 0 1px, transparent 1px 48px);
  background-repeat: no-repeat;
  background-size: 100% 8px, 100% 8px, 8px 100%, 8px 100%;
  background-position: 0 0, 0 100%, 0 0, 100% 0;
}

.page-home .hm-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: 0;
}

.page-home .hm-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(102deg, rgba(11, 27, 58, 0.97) 0%, rgba(11, 27, 58, 0.86) 46%, rgba(11, 27, 58, 0.6) 100%);
}

.page-home .hm-hero__mark {
  position: relative;
  z-index: 3;
  margin: 0;
  padding: 16px 20px 0;
  color: var(--mist);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.page-home .hm-hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 24px;
  padding: 20px 20px 28px;
}

.page-home .hm-hero__narrative h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 7vw, 52px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-home .hm-hero__narrative h1::before {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 16px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--neon), var(--gold));
}

.page-home .hm-hero__lead {
  max-width: 36em;
  margin: 0 0 22px;
  color: rgba(232, 236, 247, 0.82);
  font-size: 16px;
  line-height: 1.85;
}

.page-home .hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hm-hero__channels {
  display: grid;
  gap: 12px;
}

.page-home .hm-chan {
  padding: 14px 16px;
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius-sm);
  background: rgba(18, 42, 85, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-home .hm-chan:hover,
.page-home .hm-chan:focus-within {
  border-color: var(--neon);
  transform: translateY(-2px);
  box-shadow: var(--hm-glow);
}

.page-home .hm-chan__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

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

.page-home .hm-chan__name {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

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

/* ---------- 通用区块节奏 ---------- */

.page-home .hm-block {
  padding-top: 76px;
}

.page-home .hm-block .section-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(24px, 4.6vw, 32px);
  font-weight: 800;
  line-height: 1.24;
  color: var(--ink);
}

.page-home .hm-block .section-head__lead {
  max-width: 40em;
  margin: 0;
  color: var(--mist);
  font-size: 16px;
  line-height: 1.85;
}

/* ---------- 三步动线 ---------- */

.page-home .hm-steps__grid {
  display: grid;
  gap: 30px;
}

.page-home .hm-steps__body h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(24px, 4.6vw, 32px);
  font-weight: 800;
  line-height: 1.24;
  color: var(--ink);
}

.page-home .hm-steps__lead {
  max-width: 34em;
  margin: 0 0 26px;
  color: var(--mist);
  font-size: 16px;
  line-height: 1.85;
}

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

.page-home .hm-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 16px 18px;
  border-left: 2px solid var(--line-strong);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: linear-gradient(90deg, rgba(18, 42, 85, 0.78), rgba(18, 42, 85, 0.18));
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .hm-step:hover {
  border-left-color: var(--neon);
  transform: translateY(-2px);
  background: linear-gradient(90deg, rgba(123, 77, 255, 0.22), rgba(18, 42, 85, 0.16));
}

.page-home .hm-step__num {
  color: var(--neon-soft);
  font-size: 15px;
  font-weight: 500;
  padding-top: 2px;
}

.page-home .hm-step__text h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.page-home .hm-step__text p {
  margin: 0;
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.8;
}

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

.page-home .hm-steps__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius);
  background: var(--deep);
}

.page-home .hm-steps__media figcaption {
  margin-top: 12px;
  color: var(--mist);
  font-size: 13.5px;
  line-height: 1.7;
}

/* ---------- 周三更新 ---------- */

.page-home .hm-week__banner {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 26px 0 22px;
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--deep);
}

.page-home .hm-week__grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--line);
  overflow: hidden;
}

.page-home .hm-week__cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  background: rgba(18, 42, 85, 0.86);
  transition: background var(--dur) var(--ease);
}

.page-home .hm-week__cell:hover {
  background: rgba(123, 77, 255, 0.18);
}

.page-home .hm-week__label {
  margin: 0;
  color: var(--neon-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-home .hm-week__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.page-home .hm-week__brief {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.72;
  opacity: 0.62;
  transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-home .hm-week__cell:hover .hm-week__brief,
.page-home .hm-week__cell:focus-within .hm-week__brief {
  opacity: 1;
  color: var(--glass);
}

/* ---------- 阶梯成长 ---------- */

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

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

.page-home .hm-ladder__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius);
  background: var(--deep);
}

.page-home .hm-ladder__body h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(24px, 4.6vw, 32px);
  font-weight: 800;
  line-height: 1.24;
  color: var(--ink);
}

.page-home .hm-ladder__lead {
  max-width: 34em;
  margin: 0 0 22px;
  color: var(--mist);
  font-size: 16px;
  line-height: 1.85;
}

.page-home .hm-ladder__svg {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  margin-bottom: 24px;
}

.page-home .hm-ladder__step {
  opacity: 0.9;
  transition: opacity var(--dur) var(--ease);
}

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

.page-home .hm-levels {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--line);
}

.page-home .hm-level {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left var(--dur) var(--ease);
}

.page-home .hm-level:hover {
  padding-left: 12px;
}

.page-home .hm-level__code {
  color: var(--neon-soft);
  font-size: 13px;
}

.page-home .hm-level__name {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

/* ---------- 异常自助分流 ---------- */

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

.page-home .hm-triage__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 20px 24px;
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(18, 42, 85, 0.94), rgba(11, 27, 58, 0.94));
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-home .hm-triage__card:hover {
  border-color: var(--coral);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -22px rgba(255, 107, 87, 0.72);
}

.page-home .hm-triage__card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 3.6vw, 24px);
  font-weight: 800;
  line-height: 1.34;
  color: var(--ink);
}

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

/* ---------- 概览数据 ---------- */

.page-home .hm-stats__grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.page-home .hm-stat {
  padding: 20px 18px 22px;
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius-sm);
  background: rgba(11, 27, 58, 0.62);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-home .hm-stat:hover {
  border-color: var(--line-strong);
  box-shadow: var(--hm-glow);
}

.page-home .hm-stat__label {
  margin: 0 0 10px;
  color: var(--mist);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-home .hm-stat__num {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: clamp(30px, 6vw, 40px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--gold);
}

.page-home .hm-stat__unit {
  margin-left: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--glass);
}

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

.page-home .hm-stats__foot {
  margin: 26px 0 0;
}

.page-home .hm-link {
  color: var(--neon-soft);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px dashed var(--line-strong);
  padding-bottom: 3px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .hm-link:hover,
.page-home .hm-link:focus-visible {
  color: var(--glass);
  border-bottom-color: var(--neon);
}

/* ---------- 公告与状态 ---------- */

.page-home .hm-notice__grid {
  display: grid;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.page-home .hm-notice__head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(24px, 4.6vw, 32px);
  font-weight: 800;
  line-height: 1.24;
  color: var(--ink);
}

.page-home .hm-notice__lead {
  max-width: 32em;
  margin: 0 0 22px;
  color: var(--mist);
  font-size: 16px;
  line-height: 1.85;
}

.page-home .hm-notice__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--line);
}

.page-home .hm-notice__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 12px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .hm-notice__item:hover {
  padding-left: 12px;
  border-bottom-color: var(--line-strong);
}

.page-home .hm-notice__time {
  color: var(--neon-soft);
  font-size: 13px;
}

.page-home .hm-notice__text {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--glass);
  font-size: 15px;
  line-height: 1.75;
}

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

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

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

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

@media (min-width: 1024px) {
  .page-home .hm-crumb {
    padding-top: 36px;
  }

  .page-home .hm-mark {
    padding-left: 40px;
  }

  .page-home .hm-hero__mark {
    padding: 20px 40px 0;
  }

  .page-home .hm-hero__grid {
    grid-template-columns: 1.08fr 0.92fr;
    grid-template-rows: auto auto;
    align-items: end;
    gap: 26px 40px;
    min-height: 460px;
    padding: 24px 40px 40px;
  }

  .page-home .hm-hero__narrative {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
  }

  .page-home .hm-hero__channels {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
  }

  .page-home .hm-chan:nth-child(2) {
    margin-left: 18px;
  }

  .page-home .hm-chan:nth-child(3) {
    margin-left: 36px;
  }

  .page-home .hm-steps__grid {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: start;
    gap: 46px;
  }

  .page-home .hm-step:nth-child(2) {
    margin-left: 22px;
  }

  .page-home .hm-step:nth-child(3) {
    margin-left: 44px;
  }

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

  .page-home .hm-ladder__grid {
    grid-template-columns: 0.72fr 1.28fr;
    align-items: start;
    gap: 48px;
  }

  .page-home .hm-ladder__media {
    position: sticky;
    top: 96px;
  }

  .page-home .hm-stats__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    padding-bottom: 44px;
  }

  .page-home .hm-stat:nth-child(2) {
    transform: translateY(14px);
  }

  .page-home .hm-stat:nth-child(3) {
    transform: translateY(28px);
  }

  .page-home .hm-stat:nth-child(4) {
    transform: translateY(42px);
  }

  .page-home .hm-notice__grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-chan,
  .page-home .hm-step,
  .page-home .hm-triage__card,
  .page-home .hm-stat,
  .page-home .hm-link,
  .page-home .hm-week__cell,
  .page-home .hm-week__brief,
  .page-home .hm-level,
  .page-home .hm-notice__item,
  .page-home .hm-ladder__step {
    transition: none;
  }

  .page-home .hm-chan:hover,
  .page-home .hm-step:hover,
  .page-home .hm-triage__card:hover {
    transform: none;
  }

  .page-home .hm-stat:nth-child(n) {
    transform: none;
  }

  .page-home .hm-ladder__media {
    position: static;
  }
}
