/* ===================== 首页专属样式（作用域 .page-home） ===================== */

.page-home {
  --home-gap: 20px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.page-home figure {
  margin: 0;
}

.page-home > section {
  padding: 52px var(--home-gap);
}

.page-home > section > * {
  max-width: var(--maxw);
  margin-inline: auto;
}

/* ---------- 通用小节标题 ---------- */
.page-home .sec-head {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}

.page-home .sec-head__num {
  font-family: var(--font-mono);
  font-size: clamp(48px, 13vw, 104px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.03em;
  color: var(--blue-soft);
  font-variant-numeric: tabular-nums;
}

@supports (-webkit-text-stroke: 1px #000) {
  .page-home .sec-head__num {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--brand);
  }
}

.page-home .sec-head__title {
  font-size: clamp(26px, 5.4vw, 46px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.page-home .sec-head__lede {
  margin: 0;
  max-width: 42em;
  font-size: clamp(15px, 3.6vw, 17px);
  line-height: 1.78;
  color: var(--steel);
}

.page-home .sec-head--light .sec-head__num {
  color: var(--blue-soft);
}

@supports (-webkit-text-stroke: 1px #000) {
  .page-home .sec-head--light .sec-head__num {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--blue-soft);
  }
}

.page-home .sec-head--light .sec-head__title {
  color: var(--paper);
}

.page-home .sec-head--light .sec-head__lede {
  color: var(--steel-soft);
}

@media (min-width: 860px) {
  .page-home .sec-head {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
  }
  .page-home .sec-head__num {
    padding-top: 4px;
  }
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, rgba(127, 178, 255, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(127, 178, 255, 0.09) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--paper);
  padding-block: 44px 56px;
}

.page-home .home-hero__eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-soft);
}

.page-home .home-hero__title {
  margin: 0 0 20px;
  font-size: clamp(30px, 8.2vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 18em;
}

.page-home .home-hero__lede {
  margin: 0;
  max-width: 40em;
  font-size: clamp(15px, 3.8vw, 18px);
  line-height: 1.8;
  color: var(--steel-soft);
}

/* 首屏大数字 */
.page-home .home-hero__stats {
  list-style: none;
  margin: 36px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
}

.page-home .home-stat {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--brand);
  padding-top: 12px;
}

.page-home .home-stat--amber {
  border-top-color: var(--amber);
}

.page-home .home-stat:nth-child(3) {
  grid-column: 1 / -1;
}

.page-home .home-stat__value {
  font-family: var(--font-mono);
  font-size: clamp(46px, 14vw, 116px);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.05em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.page-home .home-stat--amber .home-stat__value {
  color: var(--amber);
}

.page-home .home-stat__unit {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .home-stat__note {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--steel-soft);
}

/* 首屏索引 */
.page-home .home-index {
  margin: 36px auto 0;
  padding: 0;
  display: grid;
  border-top: 1px solid rgba(243, 238, 228, 0.26);
}

.page-home .home-index__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas:
    "num label"
    "num desc";
  gap: 2px 14px;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(243, 238, 228, 0.26);
  text-decoration: none;
  color: var(--paper);
  transition: background-color 180ms var(--ease), padding-left 180ms var(--ease);
}

.page-home .home-index__item:hover,
.page-home .home-index__item:focus-visible {
  background-color: rgba(47, 109, 224, 0.18);
  padding-left: 12px;
}

.page-home .home-index__num {
  grid-area: num;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--amber-soft);
  padding-top: 3px;
}

.page-home .home-index__label {
  grid-area: label;
  font-size: clamp(16px, 4.2vw, 20px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-home .home-index__desc {
  grid-area: desc;
  font-size: 13px;
  line-height: 1.6;
  color: var(--steel-soft);
}

@media (min-width: 780px) {
  .page-home .home-hero {
    padding-block: 60px 72px;
  }
  .page-home .home-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 32px;
  }
  .page-home .home-stat:nth-child(3) {
    grid-column: auto;
  }
  .page-home .home-index__item {
    grid-template-columns: 48px minmax(140px, 240px) minmax(0, 1fr);
    grid-template-areas: "num label desc";
    align-items: center;
    gap: 0 20px;
  }
  .page-home .home-index__num {
    padding-top: 0;
  }
}

/* ---------- 图片容器 ---------- */
.page-home .ph-media {
  border: 1px solid var(--paper-line);
  background: var(--paper-card);
  overflow: hidden;
}

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

.page-home .ph-media__caption {
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--steel);
  border-top: 1px solid var(--paper-line);
}

/* ---------- 01 档位速查 ---------- */
.page-home .tier {
  background: var(--paper);
}

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

.page-home .tier__table-wrap {
  border: 1px solid var(--paper-line);
  background: var(--paper-card);
  overflow-x: auto;
}

.page-home .tier-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
}

.page-home .tier-table__caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-home .tier-table th {
  background: var(--brand);
  color: var(--paper);
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 12px 14px;
  border-right: 1px solid rgba(243, 238, 228, 0.22);
  white-space: nowrap;
}

.page-home .tier-table th:last-child {
  border-right: 0;
}

.page-home .tier-table td {
  padding: 14px;
  border-bottom: 1px solid var(--paper-line);
  border-right: 1px solid var(--paper-line);
  vertical-align: top;
  line-height: 1.6;
}

.page-home .tier-table td:last-child {
  border-right: 0;
}

.page-home .tier-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .tier-row {
  transition: background-color 160ms var(--ease);
}

.page-home .tier-row:hover {
  background-color: rgba(127, 178, 255, 0.16);
}

.page-home .tier-row__name {
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
}

.page-home .tier-row__price {
  font-weight: 700;
  color: var(--brand);
}

.page-home .tier__figure {
  align-self: start;
}

@media (max-width: 700px) {
  .page-home .tier__table-wrap {
    overflow-x: visible;
    border: 0;
    background: transparent;
  }
  .page-home .tier-table {
    min-width: 0;
    display: block;
    background: transparent;
  }
  .page-home .tier-table thead {
    display: none;
  }
  .page-home .tier-table tbody,
  .page-home .tier-table tr,
  .page-home .tier-table td {
    display: block;
    width: 100%;
  }
  .page-home .tier-table tr {
    background: var(--paper-card);
    border: 1px solid var(--paper-line);
    border-left: 3px solid var(--brand);
    padding: 12px 14px;
    margin-bottom: 14px;
  }
  .page-home .tier-table tbody tr:last-child {
    margin-bottom: 0;
  }
  .page-home .tier-table td {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
    padding: 5px 0;
    border: 0;
  }
  .page-home .tier-table td::before {
    content: attr(data-label);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--steel);
    line-height: 1.9;
  }
}

@media (min-width: 1000px) {
  .page-home .tier__body {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
    gap: 40px;
    align-items: start;
  }
}

/* ---------- 02 城市网络 ---------- */
.page-home .cities {
  background: var(--ink);
  color: var(--paper);
}

.page-home .cities__figure {
  border-color: rgba(226, 217, 200, 0.24);
  background: var(--ink-2);
  margin-bottom: 28px;
}

.page-home .cities__figure .ph-media__caption {
  border-top-color: rgba(226, 217, 200, 0.24);
  color: var(--steel-soft);
}

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

.page-home .city-map {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(226, 217, 200, 0.2);
  background-image:
    linear-gradient(to right, rgba(127, 178, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(127, 178, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
}

.page-home .city-label {
  font-family: var(--font-mono);
  font-size: 19px;
  letter-spacing: 0.08em;
  fill: var(--steel-soft);
  transition: fill 160ms var(--ease);
}

.page-home .city-dot {
  fill: var(--blue-soft);
  transition: fill 160ms var(--ease);
}

.page-home .city-dot--ln {
  fill: var(--ink-2);
  stroke: var(--amber);
  stroke-width: 3;
}

.page-home .city-group:hover .city-dot {
  fill: var(--signal);
}

.page-home .city-group:hover .city-dot--ln {
  fill: var(--amber);
  stroke: var(--amber-soft);
}

.page-home .city-group:hover .city-label {
  fill: var(--amber-soft);
}

.page-home .cities__areas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(226, 217, 200, 0.24);
}

.page-home .cities__area {
  display: grid;
  grid-template-columns: 76px 62px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 12px 2px;
  border-bottom: 1px solid rgba(226, 217, 200, 0.24);
}

.page-home .cities__area-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--paper);
}

.page-home .cities__area-count {
  font-size: 14px;
  font-weight: 700;
  color: var(--amber-soft);
}

.page-home .cities__area-note {
  font-size: 13px;
  line-height: 1.65;
  color: var(--steel-soft);
}

.page-home .cities__hook {
  margin: 26px auto 0;
  max-width: 46em;
  padding: 16px 18px;
  border-left: 3px solid var(--amber);
  background: rgba(232, 121, 43, 0.1);
  font-size: 15px;
  line-height: 1.8;
  color: var(--paper);
}

@media (min-width: 900px) {
  .page-home .cities__panel {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: start;
  }
}

/* ---------- 03 五步流程 ---------- */
.page-home .flow {
  background: var(--paper);
}

.page-home .flow__figure {
  margin-bottom: 32px;
}

.page-home .flow__steps {
  position: relative;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 860px;
}

.page-home .flow__steps::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 26px;
  bottom: 34px;
  width: 2px;
  background: linear-gradient(to bottom, var(--amber), var(--paper-line));
}

.page-home .flow-step {
  position: relative;
  padding: 10px 0 24px 58px;
}

.page-home .flow-step__num {
  position: absolute;
  left: 0;
  top: 6px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  border-radius: 2px;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}

.page-home .flow-step:hover .flow-step__num {
  background: var(--brand);
  color: var(--amber-soft);
}

.page-home .flow-step__title {
  margin: 0 0 6px;
  font-size: clamp(17px, 4.2vw, 21px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .flow-step__text {
  margin: 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--steel);
}

.page-home .flow__rules {
  margin-top: 34px;
  display: grid;
  gap: 16px;
}

.page-home .flow-rule {
  border: 1px solid var(--paper-line);
  border-top: 3px solid var(--brand);
  background: var(--paper-card);
  padding: 18px 18px 16px;
}

.page-home .flow-rule--amber {
  border-top-color: var(--amber);
}

.page-home .flow-rule__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--steel);
  margin-bottom: 8px;
}

.page-home .flow-rule__value {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

.page-home .flow-rule__unit {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-left: 4px;
}

.page-home .flow-rule__text {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
}

@media (min-width: 820px) {
  .page-home .flow__rules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

/* ---------- 04 服务能力 ---------- */
.page-home .support {
  background: var(--paper);
  border-top: 1px solid var(--paper-line);
}

.page-home .support__grid {
  display: grid;
  gap: 18px;
}

.page-home .support__card {
  border: 1px solid var(--paper-line);
  background: var(--paper-card);
  padding: 22px 20px 20px;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}

.page-home .support__card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.page-home .support__card-num {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 10px;
}

.page-home .support__card-title {
  margin: 0 0 10px;
  font-size: clamp(17px, 4.2vw, 20px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.page-home .support__card-text {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--steel);
}

.page-home .support__card-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--signal);
  text-decoration: none;
  border-bottom: 1px solid var(--signal);
  padding-bottom: 1px;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.page-home .support__card-link:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.page-home .support__figure {
  margin-top: 28px;
}

.page-home .support__more {
  margin: 22px auto 0;
  max-width: 44em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--steel);
}

.page-home .support__more a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--blue-soft);
}

.page-home .support__more a:hover {
  color: var(--signal);
  border-color: var(--signal);
}

@media (min-width: 780px) {
  .page-home .support__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

/* ---------- 05 直达入口 ---------- */
.page-home .direct {
  background: var(--ink);
  color: var(--paper);
}

.page-home .direct__grid {
  display: grid;
  gap: 14px;
}

.page-home .direct-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 52px 20px 18px;
  border: 1px solid rgba(226, 217, 200, 0.28);
  background: rgba(34, 48, 63, 0.6);
  color: var(--paper);
  text-decoration: none;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease), transform 180ms var(--ease);
}

.page-home .direct-card:hover,
.page-home .direct-card:focus-visible {
  border-color: var(--blue-soft);
  background: rgba(22, 64, 127, 0.55);
  transform: translateY(-2px);
}

.page-home .direct-card--amber {
  border-color: rgba(232, 121, 43, 0.55);
}

.page-home .direct-card--amber:hover,
.page-home .direct-card--amber:focus-visible {
  border-color: var(--amber);
  background: rgba(232, 121, 43, 0.16);
}

.page-home .direct-card__label {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--steel-soft);
}

.page-home .direct-card--amber .direct-card__label {
  color: var(--amber-soft);
}

.page-home .direct-card__title {
  font-size: clamp(16px, 4vw, 19px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.page-home .direct-card__go {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--blue-soft);
  transition: transform 180ms var(--ease), color 180ms var(--ease);
}

.page-home .direct-card:hover .direct-card__go {
  transform: translateY(-50%) translateX(4px);
  color: var(--amber-soft);
}

.page-home .direct__foot {
  margin: 26px auto 0;
  max-width: 46em;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 217, 200, 0.24);
  font-size: 14px;
  line-height: 1.8;
  color: var(--steel-soft);
}

@media (min-width: 700px) {
  .page-home .direct__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1100px) {
  .page-home .direct__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- 无障碍：减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home * {
    transition-duration: 0.01ms !important;
  }
  .page-home .support__card:hover,
  .page-home .direct-card:hover,
  .page-home .direct-card:focus-visible {
    transform: none;
  }
  .page-home .direct-card:hover .direct-card__go,
  .page-home .home-index__item:hover,
  .page-home .home-index__item:focus-visible {
    transform: none;
    padding-left: 4px;
  }
  .page-home .direct-card__go {
    transform: translateY(-50%);
  }
}
</main>
