.page-home {
  --hm-hair: rgba(30, 76, 122, 0.34);
  --hm-hair-soft: rgba(30, 76, 122, 0.16);
  --hm-on-dark: rgba(246, 244, 239, 0.74);
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(44px, 8vw, 88px) 0 clamp(56px, 9vw, 104px);
  background:
    radial-gradient(120% 95% at 88% 6%, rgba(46, 196, 182, 0.24) 0%, rgba(46, 196, 182, 0) 58%),
    linear-gradient(158deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--paper);
}

.page-home .hm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(30, 76, 122, 0.65) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 76, 122, 0.65) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.42;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.12));
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.page-home .hm-hero::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -28%;
  width: 80%;
  height: 155%;
  z-index: 0;
  background: linear-gradient(150deg, rgba(255, 107, 53, 0.22) 0%, rgba(123, 97, 255, 0.14) 55%, rgba(46, 196, 182, 0.06) 100%);
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-home .hm-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-home .hm-hero__copy {
  min-width: 0;
}

.page-home .hm-hero__kicker {
  display: inline-block;
  margin: 0 0 16px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--orange-soft);
  border: 1px solid rgba(255, 160, 122, 0.5);
  background: rgba(255, 107, 53, 0.1);
}

.page-home .hm-hero__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(29px, 6.4vw, 52px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.page-home .hm-hero__lede {
  margin: 18px 0 0;
  max-width: 34em;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.78;
  color: var(--hm-on-dark);
}

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

.page-home .hm-hero__meta {
  margin: 20px 0 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  line-height: 1.7;
  color: rgba(246, 244, 239, 0.5);
}

.page-home .hm-hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.page-home .hm-phone {
  position: relative;
  width: 100%;
  max-width: 278px;
  margin: 0;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(46, 196, 182, 0.5);
  border-radius: var(--radius);
  box-shadow: 0 34px 74px -28px rgba(2, 10, 20, 0.85);
}

.page-home .hm-phone__frame {
  overflow: hidden;
  background: var(--navy-deep);
  border: 1px solid rgba(30, 76, 122, 0.6);
}

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

.page-home .hm-phone__cap {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: center;
  color: rgba(246, 244, 239, 0.58);
}

.page-home .hm-hero__badge {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 0;
  padding: 10px 18px;
  background: var(--orange);
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.8);
}

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

.page-home .hm-hero__badge-txt {
  font-size: 12.5px;
}

/* ---------- 通用分区 ---------- */
.page-home .hm-block {
  position: relative;
  padding: clamp(56px, 7.5vw, 96px) 0;
}

.page-home .hm-block--pillars {
  background: var(--paper);
}

.page-home .hm-block--versus {
  background: linear-gradient(180deg, rgba(228, 237, 245, 0.9) 0%, rgba(246, 244, 239, 0.7) 100%);
}

.page-home .hm-block--local {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(46, 196, 182, 0.12) 0%, rgba(46, 196, 182, 0) 60%),
    var(--paper);
}

.page-home .hm-block--next {
  background: linear-gradient(152deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--paper);
}

.page-home .hm-block--next .sec-head__no {
  color: var(--orange);
}

.page-home .hm-block--next .sec-head__title {
  color: var(--paper);
}

.page-home .hm-block--next .sec-head__lede {
  color: var(--hm-on-dark);
}

/* ---------- 三支点卡片 ---------- */
.page-home .hm-cards {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.page-home .hm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px 24px;
  background: var(--card-bg);
  border: 1px solid var(--hm-hair);
  border-radius: var(--radius);
  box-shadow: 0 18px 34px -30px rgba(11, 42, 74, 0.65);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.page-home .hm-card:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  box-shadow: 0 24px 40px -30px rgba(11, 42, 74, 0.7);
}

.page-home .hm-card__no {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

.page-home .hm-card__no span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 18px;
  background: var(--orange);
  color: #ffffff;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.page-home .hm-card__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(18px, 2.1vw, 21px);
  line-height: 1.38;
  color: var(--ink-1);
}

.page-home .hm-card__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-3);
}

.page-home .hm-card__link {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--hm-hair);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-home .hm-card__link:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* ---------- 版本对照 ---------- */
.page-home .hm-versus {
  display: grid;
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--hm-hair);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .hm-versus__col {
  padding: 28px 24px;
}

.page-home .hm-versus__col + .hm-versus__col {
  border-top: 1px solid var(--violet);
}

.page-home .hm-ver-tag {
  display: inline-block;
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  background: var(--mist);
  border: 1px solid var(--hm-hair);
}

.page-home .hm-versus__col--now .hm-ver-tag {
  color: #ffffff;
  background: var(--orange);
  border-color: var(--orange);
}

.page-home .hm-versus__title {
  margin: 18px 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.4;
  color: var(--ink-1);
}

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

.page-home .hm-versus__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--ink-2);
}

.page-home .hm-versus__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 1px;
  background: var(--violet);
}

.page-home .hm-versus__figure {
  margin: 32px 0 0;
}

.page-home .hm-versus__more {
  margin: 26px 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-3);
}

.page-home .hm-versus__more a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--orange);
}

.page-home .hm-versus__more a:hover {
  color: var(--orange);
}

/* ---------- 本地服务节奏 ---------- */
.page-home .hm-slots {
  display: grid;
  gap: 16px;
  margin-top: 38px;
}

.page-home .hm-slot {
  padding: 24px 22px 22px;
  background: var(--card-bg);
  border: 1px solid var(--hm-hair);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-home .hm-slot:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  border-top-color: var(--orange);
}

.page-home .hm-slot__time {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(17px, 2.2vw, 20px);
  letter-spacing: -0.01em;
  color: var(--ink-1);
}

.page-home .hm-slot__label {
  display: block;
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--teal);
}

.page-home .hm-slot__text {
  margin: 13px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-3);
}

.page-home .hm-local__grid {
  display: grid;
  gap: 32px;
  margin-top: 40px;
}

.page-home .hm-local__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.82;
  color: var(--ink-2);
}

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

.page-home .hm-facts li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hm-hair-soft);
}

.page-home .hm-facts li:first-child {
  border-top: 1px solid var(--hm-hair-soft);
}

.page-home .hm-facts__num {
  flex: none;
  min-width: 2.2em;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 26px;
  line-height: 1;
  color: var(--orange);
}

.page-home .hm-facts__txt {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.page-home .hm-local__mark {
  display: none;
  width: 120px;
  height: auto;
  margin: 0 auto;
  color: var(--teal);
  opacity: 0.9;
}

.page-home .hm-local__skyline {
  margin: 40px 0 0;
}

/* ---------- 页尾去向 ---------- */
.page-home .hm-next__figure {
  margin: 36px 0 0;
}

.page-home .hm-next__grid {
  display: grid;
  gap: 1px;
  margin-top: 36px;
  background: rgba(30, 76, 122, 0.55);
  border: 1px solid rgba(30, 76, 122, 0.55);
}

.page-home .hm-next__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px;
  background: linear-gradient(160deg, rgba(11, 42, 74, 0.92) 0%, rgba(7, 27, 49, 0.96) 100%);
  text-decoration: none;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-home .hm-next__card:hover {
  background: linear-gradient(160deg, rgba(15, 55, 94, 0.96) 0%, rgba(11, 42, 74, 0.98) 100%);
}

.page-home .hm-next__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.page-home .hm-next__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.42;
  color: var(--paper);
}

.page-home .hm-next__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--hm-on-dark);
}

.page-home .hm-next__go {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--teal);
}

.page-home .hm-next__card:hover .hm-next__go {
  color: var(--orange-soft);
}

.page-home .hm-block--next .rule-end {
  border-color: rgba(30, 76, 122, 0.9);
}

.page-home .hm-block--next .rule-end__tag {
  color: rgba(246, 244, 239, 0.45);
}

/* ---------- 收口线间距 ---------- */
.page-home .rule-end {
  margin-top: 40px;
}

/* ---------- 平板与桌面 ---------- */
@media (min-width: 760px) {
  .page-home .hm-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (min-width: 900px) {
  .page-home .hm-hero__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
  }

  .page-home .hm-hero__visual {
    justify-content: center;
  }

  .page-home .hm-phone {
    max-width: 320px;
    transform: translateY(-14px);
  }

  .page-home .hm-hero__badge {
    position: absolute;
    left: 0;
    bottom: 6px;
  }

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

  .page-home .hm-versus__col + .hm-versus__col {
    border-top: 0;
    border-left: 1px solid var(--violet);
  }

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

  .page-home .hm-local__mark {
    display: block;
    margin-top: 8px;
  }
}

@media (min-width: 1080px) {
  .page-home .hm-card:nth-child(2) {
    margin-top: 24px;
  }

  .page-home .hm-card:nth-child(3) {
    margin-top: 48px;
  }

  .page-home .hm-cards {
    margin-bottom: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-card,
  .page-home .hm-slot,
  .page-home .hm-next__card {
    transition: opacity 0.2s linear;
  }

  .page-home .hm-card:hover,
  .page-home .hm-slot:hover,
  .page-home .hm-phone {
    transform: none;
  }
}
