.page-home {
  --hm-line-accent: var(--brand);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  padding: calc(var(--header-h) + 40px) 0 52px;
  background:
    radial-gradient(120% 88% at 84% 0%, rgba(31, 78, 140, .58) 0%, rgba(14, 27, 51, 0) 62%),
    var(--ink);
  color: var(--white);
  overflow: hidden;
}

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

.page-home .hm-hero__crumb {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--gold);
}

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

.page-home .hm-hero__crumbItem + .hm-hero__crumbItem::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, .35);
}

.page-home .hm-hero__kicker {
  margin: 0 0 14px;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .6);
}

.page-home .hm-hero__title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: .95;
  color: var(--white);
}

.page-home .hm-hero__titleMain {
  font-size: clamp(58px, 17vw, 128px);
  line-height: .9;
  color: var(--white);
}

.page-home .hm-hero__titleSub {
  font-size: clamp(17px, 4.4vw, 30px);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.25;
  color: var(--gold-tint);
}

.page-home .hm-hero__desc {
  max-width: 48ch;
  margin: 0 0 28px;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .78);
}

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

.page-home .hm-hero__login {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 700;
}

.page-home .hm-hero__ghost {
  border-color: rgba(240, 223, 184, .45);
  color: var(--gold-tint);
}

.page-home .hm-hero__side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-home .hm-hero__note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--gold);
}

.page-home .hm-hero__figure {
  margin: 0;
  border-radius: var(--r-lg);
  border: 1px solid rgba(200, 149, 47, .3);
  overflow: hidden;
  background: var(--deep);
}

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

/* 数据条 */
.page-home .hm-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(200, 149, 47, .38);
}

.page-home .hm-stats__item + .hm-stats__item {
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.page-home .hm-stats__link {
  display: grid;
  gap: 5px;
  padding: 20px 18px;
  color: inherit;
  text-decoration: none;
  transition: background .3s var(--ease);
}

.page-home .hm-stats__link:hover {
  background: rgba(255, 255, 255, .07);
}

.page-home .hm-stats__num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: clamp(32px, 8.4vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--gold);
}

.page-home .hm-stats__unit {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--gold-tint);
}

.page-home .hm-stats__label {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--white);
}

.page-home .hm-stats__note {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .55);
}

/* ---------- 三条主线 ---------- */
.page-home .hm-lines {
  background: var(--paper);
}

.page-home .hm-lines__head {
  max-width: 760px;
  margin-bottom: 34px;
}

.page-home .hm-lines__grid {
  display: grid;
  gap: 16px;
}

.page-home .hm-line {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 22px 22px;
  background: var(--white);
  border: 1px solid var(--mist);
  border-top: 4px solid var(--brand);
  border-radius: var(--r-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .hm-line--gold {
  border-top-color: var(--gold);
}

.page-home .hm-line--deep {
  border-top-color: var(--deep);
}

.page-home .hm-line:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.page-home .hm-line__code {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  color: var(--slate);
}

.page-home .hm-line__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

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

.page-home .hm-line__facts {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
}

.page-home .hm-line__facts li {
  position: relative;
  padding-left: 16px;
}

.page-home .hm-line__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--brand);
}

.page-home .hm-line--gold .hm-line__facts li::before {
  background: var(--gold);
}

.page-home .hm-line--deep .hm-line__facts li::before {
  background: var(--celadon);
}

.page-home .hm-line__link {
  margin-top: auto;
  align-self: flex-start;
  padding-bottom: 3px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 2px solid var(--gold-tint);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}

.page-home .hm-line__link:hover {
  color: var(--deep);
  border-bottom-color: var(--gold);
}

/* ---------- 政策版本 ---------- */
.page-home .hm-policy {
  background: var(--paper);
}

.page-home .hm-policy__head {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}

.page-home .hm-policy__aside {
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--gold-tint);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.9;
  color: var(--slate);
}

.page-home .hm-timeline {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(86px, 1fr);
  gap: 0;
  margin: 0 0 36px;
  padding: 6px 0 10px;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-home .hm-timeline__node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 6px;
}

.page-home .hm-timeline__node::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--mist);
}

.page-home .hm-timeline__node:first-child::before {
  left: 50%;
}

.page-home .hm-timeline__node:last-child::before {
  right: 50%;
}

.page-home .hm-timeline__dot {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--paper);
}

.page-home .hm-timeline__node--current .hm-timeline__dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px rgba(200, 149, 47, .22);
}

.page-home .hm-timeline__ver {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.page-home .hm-timeline__node--current .hm-timeline__ver {
  color: var(--gold);
}

.page-home .hm-timeline__year {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--slate);
}

.page-home .hm-policy__figure {
  margin: 0 0 26px;
  border: 1px solid var(--mist);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
}

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

.page-home .hm-policy__caption {
  padding: 12px 18px;
  border-top: 1px solid var(--mist);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--slate);
}

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

/* ---------- 城市覆盖 ---------- */
.page-home .hm-cities {
  background: var(--white);
}

.page-home .hm-cities__inner {
  display: grid;
  gap: 26px;
}

.page-home .hm-cities__figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
}

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

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

.page-home .hm-city {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--mist);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-md);
  background: var(--paper);
}

.page-home .hm-city--south {
  border-left-color: var(--deep);
}

.page-home .hm-city--north {
  border-left-color: var(--gold);
}

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

.page-home .hm-city__count {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.page-home .hm-city__suffix {
  margin-left: 5px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--slate);
}

.page-home .hm-cities__note {
  margin: 18px 0 22px;
  padding-left: 14px;
  border-left: 2px solid var(--gold);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--slate);
}

/* ---------- 数据看板 ---------- */
.page-home .hm-board {
  background: linear-gradient(165deg, var(--deep) 0%, var(--ink) 74%);
  color: var(--white);
}

.page-home .hm-board__head {
  max-width: 720px;
  margin-bottom: 30px;
}

.page-home .hm-board__eyebrow {
  color: var(--gold);
}

.page-home .hm-board__title {
  color: var(--white);
}

.page-home .hm-board__lead {
  color: rgba(255, 255, 255, .74);
}

.page-home .hm-board__figure {
  margin: 0 0 24px;
  border: 1px solid rgba(200, 149, 47, .3);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--deep);
}

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

.page-home .hm-board__dims {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.page-home .hm-board__dims li {
  padding: 8px 18px;
  border: 1px solid rgba(240, 223, 184, .38);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--gold-tint);
}

/* ---------- 合作流程 ---------- */
.page-home .hm-start {
  background: var(--paper);
}

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

.page-home .hm-start__head {
  max-width: 640px;
}

.page-home .hm-start__more {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 2px solid var(--gold-tint);
  transition: border-color .25s var(--ease);
}

.page-home .hm-start__more:hover {
  border-bottom-color: var(--gold);
}

.page-home .hm-start__steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: hmstep;
}

.page-home .hm-step {
  counter-increment: hmstep;
  position: relative;
  padding: 22px 20px 22px 66px;
  border: 1px solid var(--mist);
  border-radius: var(--r-md);
  background: var(--white);
}

.page-home .hm-step::before {
  content: counter(hmstep, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 22px;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

.page-home .hm-step__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

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

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

/* ---------- 回到顶部 ---------- */
.page-home .hm-top {
  position: fixed;
  right: 14px;
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  border: 1px solid rgba(200, 149, 47, .42);
  border-radius: var(--r-pill);
  background: var(--ink);
  box-shadow: var(--shadow-card);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--gold-tint);
  text-decoration: none;
  transition: transform .25s var(--ease), background .25s var(--ease);
}

.page-home .hm-top:hover {
  transform: translateY(-2px);
  background: var(--deep);
}

.page-home .hm-top__arrow {
  font-family: var(--font-mono);
  color: var(--gold);
}

/* ---------- 平板 ---------- */
@media (min-width: 720px) {
  .page-home .hm-hero {
    padding: calc(var(--header-h) + 56px) 0 64px;
  }

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

  .page-home .hm-stats__item:nth-child(2n) {
    border-left: 1px solid rgba(255, 255, 255, .1);
  }

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

  .page-home .hm-hero__desc {
    font-size: 16.5px;
  }

  .page-home .hm-step {
    padding-right: 26px;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 900px) {
  .page-home .hm-hero__inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0 40px;
    align-items: start;
  }

  .page-home .hm-hero__lead {
    grid-column: 1 / 9;
    padding-right: 20px;
  }

  .page-home .hm-hero__side {
    grid-column: 9 / 13;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }

  .page-home .hm-hero__note {
    writing-mode: vertical-rl;
    letter-spacing: .3em;
    padding-top: 4px;
  }

  .page-home .hm-stats {
    grid-column: 1 / 13;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 22px;
  }

  .page-home .hm-stats__item + .hm-stats__item {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, .1);
  }

  .page-home .hm-stats__link {
    padding: 24px 22px;
  }

  .page-home .hm-lines__head {
    max-width: 720px;
  }

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

  .page-home .hm-policy__head {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: 40px;
    align-items: start;
  }

  .page-home .hm-timeline {
    grid-auto-columns: minmax(0, 1fr);
    overflow-x: visible;
  }

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

  .page-home .hm-board__head {
    max-width: 760px;
  }

  .page-home .hm-start__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: start;
  }

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

  .page-home .hm-top {
    right: 28px;
    bottom: 28px;
  }
}

@media (min-width: 1180px) {
  .page-home .hm-hero__lead {
    padding-right: 48px;
  }

  .page-home .hm-line {
    padding: 30px 28px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-line,
  .page-home .hm-top,
  .page-home .hm-stats__link,
  .page-home .hm-line__link,
  .page-home .hm-start__more {
    transition: none;
  }

  .page-home .hm-line:hover,
  .page-home .hm-top:hover {
    transform: none;
  }
}
