.page-home {
  --ph: clamp(52px, 8vw, 112px);
  --shadow-card: 8px 8px 0 var(--orbit);
  display: block;
  overflow-x: hidden;
  background: var(--deep);
  color: var(--cream);
  font-family: var(--sans);
}

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

.page-home .sec-num {
  display: block;
  font-family: var(--mono);
  font-weight: 800;
  font-size: var(--fs-num);
  line-height: .82;
  letter-spacing: -.02em;
  color: rgba(167, 178, 217, .22);
  -webkit-text-stroke: 2px rgba(52, 69, 127, .9);
  margin: 0 0 10px;
  transition: color .5s var(--ease), -webkit-text-stroke-color .5s var(--ease);
}

.page-home [data-chapter].is-lit .sec-num,
.page-home .sec-num.is-lit {
  color: rgba(255, 194, 75, .92);
  -webkit-text-stroke-color: rgba(255, 231, 176, .55);
}

.page-home .sec-head {
  position: relative;
  z-index: 1;
  max-width: 44em;
  margin-bottom: clamp(26px, 4vw, 48px);
}

.page-home .sec-head .lead {
  color: var(--mist);
  max-width: 34em;
}

/* ---------- 01 首屏 ---------- */

.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--bar-h) + clamp(26px, 6vw, 62px)) 0 clamp(46px, 7vw, 92px);
  border-bottom: 3px solid var(--orbit);
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(23, 16, 67, .95) 0%, rgba(6, 10, 28, 0) 62%),
    radial-gradient(85% 70% at 6% 96%, rgba(52, 69, 127, .42) 0%, rgba(6, 10, 28, 0) 66%),
    var(--deep);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(245, 238, 224, .3) 1px, transparent 1.6px);
  background-size: 52px 52px;
  opacity: .5;
  pointer-events: none;
}

.page-home .hero__art {
  position: absolute;
  right: -14%;
  bottom: -16%;
  z-index: 0;
  width: min(92vw, 620px);
  opacity: .52;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 52%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 52%, transparent 100%);
}

.page-home .hero__art img {
  display: block;
  width: 100%;
}

.page-home .hero__inner {
  position: relative;
  z-index: 1;
}

.page-home .hero__ctx {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(20px, 4vw, 40px);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--mist);
}

.page-home .hero__title {
  font-size: clamp(30px, 5.4vw, 62px);
  line-height: 1.1;
  letter-spacing: .01em;
  font-weight: 900;
  margin: 0 0 18px;
  max-width: 16em;
  color: var(--cream);
}

.page-home .hero__lead {
  max-width: 34em;
  margin: 0 0 clamp(20px, 3vw, 30px);
  color: var(--mist);
  font-size: clamp(16px, 1.9vw, 18px);
  line-height: 1.85;
}

.page-home .hero__status {
  list-style: none;
  margin: 0 0 clamp(26px, 5vw, 46px);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .hero__status .chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
}

.page-home .hero__paths {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 700px;
}

.page-home .hero__paths a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 3px solid var(--orbit);
  border-radius: var(--r-sm) var(--r-sm) var(--r-sm) 2px;
  background: rgba(23, 16, 67, .68);
  color: var(--cream);
  text-decoration: none;
  transition: transform .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
}

.page-home .hero__paths li:first-child a {
  padding: 18px 18px;
  background: rgba(23, 16, 67, .9);
}

.page-home .hero__paths a:hover,
.page-home .hero__paths a:focus-visible {
  border-color: var(--gold);
  background: rgba(23, 16, 67, .96);
  transform: translate(4px, -4px);
}

.page-home .hero__pnum {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(47, 227, 214, .14);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
}

.page-home .hero__pbody {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.page-home .hero__pbody strong {
  font-size: 16px;
  letter-spacing: .01em;
}

.page-home .hero__pbody span {
  font-size: 13.5px;
  color: var(--mist);
  line-height: 1.5;
}

.page-home .hero__pgo {
  margin-left: auto;
  color: var(--gold);
  font-size: 18px;
}

/* ---------- 02 服务路径 ---------- */

.page-home .paths {
  position: relative;
  padding: var(--ph) 0;
  background: linear-gradient(180deg, rgba(23, 16, 67, .5) 0%, rgba(6, 10, 28, 0) 78%);
}

.page-home .paths .wrap {
  position: relative;
  z-index: 1;
}

.page-home .orbit {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 22%;
  width: 100%;
  height: 70%;
  pointer-events: none;
}

.page-home .orbit__path {
  fill: none;
  stroke: var(--orbit);
  stroke-width: 2;
  stroke-dasharray: 7 11;
  animation: home-orbit 9s linear infinite;
}

@keyframes home-orbit {
  to { stroke-dashoffset: -180; }
}

.page-home .paths__grid {
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
  grid-template-columns: 1fr;
}

.page-home .pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 3vw, 32px);
  border: 3px solid var(--orbit);
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 4px;
  background: linear-gradient(160deg, rgba(23, 16, 67, .96), rgba(6, 10, 28, .96));
  box-shadow: var(--shadow-card);
}

.page-home .pcard--paper {
  border-color: var(--ink);
  border-radius: 4px var(--r-lg) var(--r-lg) var(--r-lg);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 8px 8px 0 rgba(255, 194, 75, .45);
}

.page-home .pcard__title {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.25;
}

.page-home .pcard__body {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--mist);
}

.page-home .pcard--paper .pcard__body {
  color: rgba(23, 17, 10, .82);
}

.page-home .pcard__meta {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--cyan);
}

.page-home .pcard--paper .pcard__meta {
  color: #8a6a12;
}

.page-home .pcard .btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* ---------- 03 通勤时间轴 ---------- */

.page-home .commute-sec {
  padding: var(--ph) 0;
  background: linear-gradient(180deg, rgba(23, 16, 67, .55) 0%, rgba(6, 10, 28, 0) 70%);
}

.page-home .commute-sec__body {
  display: grid;
  gap: clamp(24px, 4vw, 46px);
}

.page-home .media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 3px solid var(--orbit);
  background: var(--nebula);
  box-shadow: 8px 8px 0 rgba(52, 69, 127, .55);
}

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

.page-home .media--cut {
  aspect-ratio: 12 / 7;
  border-radius: 0 var(--r-lg) var(--r-lg) var(--r-lg);
}

.page-home .media--arc {
  aspect-ratio: 3 / 2;
  border-radius: 46% 46% var(--r-lg) var(--r-lg) / 20% 20% var(--r-lg) var(--r-lg);
}

.page-home .timeline {
  position: relative;
  padding: 0 0 0 30px;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--orbit) 52%, var(--cyan) 100%);
}

.page-home .tl__item {
  position: relative;
  margin-bottom: 30px;
}

.page-home .tl__item:last-child {
  margin-bottom: 0;
}

.page-home .tl__item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 3px solid var(--deep);
}

.page-home .tl__item--am::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 194, 75, .22);
}

.page-home .tl__item--pm::before {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(47, 227, 214, .2);
}

.page-home .tl__time {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--gold-soft);
}

.page-home .tl__title {
  margin: 0 0 10px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  letter-spacing: .01em;
}

.page-home .tl__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .tl__list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .tl__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orbit);
}

.page-home .commute-sec .hint {
  margin: 0 0 20px;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- 04 数据微卡带 ---------- */

.page-home .stats-sec {
  position: relative;
  overflow: hidden;
  padding: var(--ph) 0;
  border-top: 3px solid var(--orbit);
  border-bottom: 3px solid var(--orbit);
  background: linear-gradient(160deg, rgba(23, 16, 67, .9), rgba(6, 10, 28, .98));
}

.page-home .stats-sec__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
  pointer-events: none;
}

.page-home .stats-sec .wrap {
  position: relative;
  z-index: 1;
}

.page-home .statband {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-home .sband {
  position: relative;
  padding: 20px 18px 22px;
  border: 3px solid var(--orbit);
  border-radius: var(--r-sm) var(--r-sm) 2px var(--r-sm);
  background: rgba(6, 10, 28, .82);
  box-shadow: 6px 6px 0 rgba(47, 227, 214, .16);
}

.page-home .sband::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 14px;
  width: 32px;
  height: 3px;
  background: var(--gold);
  transform: rotate(-12deg);
  transform-origin: right center;
  opacity: .85;
}

.page-home .sband__num {
  margin: 0 0 6px;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -.01em;
}

.page-home .sband__label {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--cream);
}

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

/* ---------- 05 移动端上手指引 ---------- */

.page-home .mobile-sec {
  padding: var(--ph) 0;
}

.page-home .mobile-sec__body {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
}

.page-home .mobile-sec .lead {
  color: var(--mist);
  max-width: 32em;
  margin: 0 0 clamp(20px, 3vw, 30px);
}

.page-home .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 3px solid var(--orbit);
}

.page-home .step {
  border-top: 3px solid var(--orbit);
}

.page-home .step summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 16px;
  color: var(--cream);
  transition: color .2s var(--ease);
}

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

.page-home .step summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--mono);
  font-size: 18px;
  color: var(--cyan);
}

.page-home .step[open] summary::after {
  content: "–";
}

.page-home .step summary:hover {
  color: var(--gold);
}

.page-home .step__num {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--gold);
}

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

/* ---------- 06 下一步 ---------- */

.page-home .next-sec {
  padding: var(--ph) 0 calc(var(--ph) + 20px);
  border-top: 3px solid var(--orbit);
  background: linear-gradient(180deg, rgba(23, 16, 67, .4) 0%, rgba(6, 10, 28, 0) 62%);
}

.page-home .next-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin: clamp(20px, 3vw, 34px) 0 clamp(34px, 5vw, 56px);
}

.page-home .ncard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px 22px;
  border: 3px solid var(--orbit);
  border-radius: var(--r-sm);
  background: rgba(23, 16, 67, .62);
  color: var(--cream);
  text-decoration: none;
  transition: transform .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
}

.page-home .ncard:hover,
.page-home .ncard:focus-visible {
  border-color: var(--gold);
  background: rgba(23, 16, 67, .95);
  transform: translate(4px, -4px);
}

.page-home .ncard__k {
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-home .ncard__t {
  font-size: 19px;
  font-weight: 800;
}

.page-home .ncard__d {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .outro {
  padding-top: clamp(22px, 3vw, 32px);
  border-top: 3px dashed rgba(52, 69, 127, .8);
}

.page-home .outro p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--mist);
  max-width: 52em;
}

.page-home .outro__icp {
  color: rgba(167, 178, 217, .62);
  letter-spacing: .08em;
}

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

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

@media (min-width: 900px) {
  .page-home .orbit {
    display: block;
  }

  .page-home .hero {
    padding-bottom: clamp(72px, 9vw, 130px);
  }

  .page-home .hero__art {
    right: 0;
    bottom: 0;
    width: min(46vw, 720px);
    opacity: .62;
  }

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

  .page-home .paths__grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
  }

  .page-home .pcard--paper {
    grid-row: span 2;
    padding-top: clamp(28px, 3.4vw, 44px);
    padding-bottom: clamp(28px, 3.4vw, 44px);
  }

  .page-home .commute-sec__body {
    grid-template-columns: 5fr 7fr;
    align-items: center;
  }

  .page-home .timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(26px, 4vw, 52px);
    padding: 0;
  }

  .page-home .timeline::before {
    left: 0;
    right: 0;
    top: 6px;
    bottom: auto;
    width: auto;
    height: 3px;
  }

  .page-home .tl__item {
    margin-bottom: 0;
    padding-top: 34px;
  }

  .page-home .tl__item::before {
    left: 0;
    top: -1px;
  }

  .page-home .mobile-sec__body {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }

  .page-home .mobile-sec__media {
    justify-self: end;
    width: 100%;
  }
}

@media (min-width: 1100px) {
  .page-home .hero__title {
    max-width: 14em;
  }

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

  .page-home .sband:nth-child(2),
  .page-home .sband:nth-child(5) {
    margin-top: 24px;
  }

  .page-home .sband:nth-child(3),
  .page-home .sband:nth-child(6) {
    margin-top: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .orbit__path {
    animation: none;
  }

  .page-home .hero__paths a,
  .page-home .ncard,
  .page-home .sec-num,
  .page-home .step summary {
    transition: none;
  }

  .page-home .hero__paths a:hover,
  .page-home .hero__paths a:focus-visible,
  .page-home .ncard:hover,
  .page-home .ncard:focus-visible {
    transform: none;
  }
}
