.page-home {
  --ho-tint: rgba(138, 153, 184, 0.14);
  --ho-veil: rgba(10, 18, 48, 0.72);
  --ho-gold-soft: rgba(240, 194, 76, 0.18);
  color: var(--white);
  overflow-x: clip;
}

.page-home .ho-shell {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.page-home figure {
  margin: 0;
}

.page-home figcaption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--line);
}

.page-home .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ---------- 首屏 ---------- */
.page-home .ho-hero {
  position: relative;
  padding-block: clamp(36px, 7vw, 76px) clamp(56px, 9vw, 104px);
  overflow: hidden;
}

.page-home .ho-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(138, 153, 184, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(138, 153, 184, 0.09) 1px, transparent 1px);
  background-size: 88px 88px;
  pointer-events: none;
}

.page-home .ho-hero::after {
  content: "";
  position: absolute;
  top: -18%;
  right: -14%;
  width: 62vw;
  height: 62vw;
  max-width: 760px;
  max-height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 43, 87, 0.85), transparent 68%);
  pointer-events: none;
}

.page-home .ho-hero__grid {
  position: relative;
  display: grid;
  gap: 32px;
}

.page-home .ho-hero__rail {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.page-home .ho-hero__rail-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.page-home .ho-hero__rail-steps {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--line);
}

.page-home .ho-hero__rail-steps li {
  position: relative;
  padding-left: 14px;
}

.page-home .ho-hero__rail-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--core);
  border: 1px solid var(--line);
}

.page-home .ho-hero__rail-steps li.is-current {
  color: var(--white);
}

.page-home .ho-hero__rail-steps li.is-current::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--ho-gold-soft);
}

.page-home .ho-hero__title {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 6vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 16em;
}

.page-home .ho-hero__lede {
  margin: 22px 0 0;
  max-width: var(--measure);
  font-size: 16px;
  line-height: 1.78;
  color: rgba(233, 239, 247, 0.82);
}

.page-home .ho-hero__toc {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hair, rgba(138, 153, 184, 0.22));
}

.page-home .ho-hero__toc li {
  border-bottom: 1px solid var(--hair, rgba(138, 153, 184, 0.22));
}

.page-home .ho-hero__toc a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  padding: 16px 4px 16px 0;
  text-decoration: none;
  color: var(--white);
  transition: padding-left 0.24s var(--ease), background-color 0.24s var(--ease);
}

.page-home .ho-hero__toc a:hover,
.page-home .ho-hero__toc a:focus-visible {
  padding-left: 10px;
  background: linear-gradient(90deg, rgba(240, 194, 76, 0.07), transparent 72%);
}

.page-home .ho-hero__toc-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.page-home .ho-hero__toc-text {
  display: grid;
  gap: 5px;
  font-size: 15px;
  font-weight: 500;
}

.page-home .ho-hero__toc-text small {
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--line);
}

.page-home .ho-hero__toc-arrow {
  justify-self: end;
  color: var(--line);
  transition: transform 0.24s var(--ease), color 0.24s var(--ease);
}

.page-home .ho-hero__toc a:hover .ho-hero__toc-arrow {
  transform: translateX(4px);
  color: var(--gold);
}

.page-home .ho-hero__map {
  position: relative;
  align-self: start;
}

.page-home .ho-hero__orb {
  position: absolute;
  inset: -6% -4% 14%;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(138, 153, 184, 0.22) 0 1px, transparent 1px 44px),
    conic-gradient(from 205deg, rgba(240, 194, 76, 0.16), transparent 30%, rgba(27, 43, 87, 0.55) 66%, rgba(240, 194, 76, 0.1));
  pointer-events: none;
  z-index: 0;
}

.page-home .ho-hero__map img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 4px 22px 4px 22px;
  border: 1px solid rgba(138, 153, 184, 0.18);
}

/* ---------- 集中更新 ---------- */
.page-home .ho-update {
  padding-block: clamp(56px, 8vw, 96px) 0;
  background: linear-gradient(180deg, transparent, rgba(16, 26, 61, 0.66) 38%, transparent);
}

.page-home .ho-update__banner {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.page-home .ho-update__banner img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  opacity: 0.92;
}

.page-home .ho-update__body {
  padding-block: clamp(32px, 5vw, 56px) clamp(56px, 8vw, 96px);
}

.page-home .ho-update__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 20em;
}

.page-home .ho-update__lede {
  margin: 16px 0 0;
  max-width: var(--measure);
  font-size: 15.5px;
  line-height: 1.78;
  color: rgba(233, 239, 247, 0.78);
}

.page-home .ho-update__list {
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.page-home .ho-update__list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid var(--hair, rgba(138, 153, 184, 0.22));
}

.page-home .ho-update__list li:last-child {
  border-bottom: 1px solid var(--hair, rgba(138, 153, 184, 0.22));
}

.page-home .ho-update__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding-top: 3px;
}

.page-home .ho-update__list h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.page-home .ho-update__list p {
  margin: 0;
  max-width: 46em;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(233, 239, 247, 0.74);
}

.page-home .ho-update__next {
  margin: 30px 0 0;
  max-width: 44em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--line);
}

.page-home .ho-update__next a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 194, 76, 0.45);
  margin-left: 4px;
}

.page-home .ho-update__next a:hover {
  border-bottom-color: var(--gold);
}

/* ---------- 三条分流 ---------- */
.page-home .ho-routes {
  padding-block: clamp(48px, 8vw, 96px);
  background: var(--ink-2);
  position: relative;
}

.page-home .ho-routes::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 194, 76, 0.4), transparent);
}

.page-home .ho-routes__head {
  max-width: 40em;
}

.page-home .ho-routes__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-home .ho-routes__lede {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(233, 239, 247, 0.72);
}

.page-home .ho-routes__grid {
  margin-top: 40px;
  display: grid;
  gap: 18px;
}

.page-home .ho-route {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px 24px 24px;
  background: var(--core);
  border: 1px solid rgba(138, 153, 184, 0.2);
  text-decoration: none;
  color: var(--white);
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), background-color 0.24s var(--ease);
}

.page-home .ho-route--a {
  border-radius: 10px;
}

.page-home .ho-route--b {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
  background: #17264c;
}

.page-home .ho-route--c {
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  background: #14213f;
}

.page-home .ho-route:hover,
.page-home .ho-route:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(240, 194, 76, 0.55);
}

.page-home .ho-route__num {
  font-family: var(--font-mono);
  font-size: 30px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.page-home .ho-route__title {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.page-home .ho-route__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(233, 239, 247, 0.75);
}

.page-home .ho-route__cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.page-home .ho-route__arrow {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}

.page-home .ho-route:hover .ho-route__arrow,
.page-home .ho-route:focus-visible .ho-route__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- 分类速览 ---------- */
.page-home .ho-cats {
  padding-block: clamp(52px, 8vw, 96px);
}

.page-home .ho-cats__grid {
  display: grid;
  gap: 34px;
}

.page-home .ho-cats__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.page-home .ho-cats__lede {
  margin: 16px 0 0;
  max-width: var(--measure);
  font-size: 15px;
  line-height: 1.78;
  color: rgba(233, 239, 247, 0.76);
}

.page-home .ho-cats__figure {
  margin-top: 26px;
  max-width: 380px;
}

.page-home .ho-cats__figure img {
  width: 100%;
  border-radius: 50%;
  border: 1px solid rgba(138, 153, 184, 0.16);
}

.page-home .ho-cats__band {
  border-top: 1px solid var(--hair, rgba(138, 153, 184, 0.22));
  border-bottom: 1px solid var(--hair, rgba(138, 153, 184, 0.22));
  padding-block: 6px 12px;
}

.page-home .ho-cats__track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-home .ho-cats__track li {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.page-home .ho-cats__track a {
  position: relative;
  display: grid;
  gap: 8px;
  min-width: 156px;
  padding: 18px 22px 18px 18px;
  border-left: 1px solid var(--hair, rgba(138, 153, 184, 0.22));
  text-decoration: none;
  color: var(--white);
}

.page-home .ho-cats__track a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.24s var(--ease);
}

.page-home .ho-cats__track a:hover::after,
.page-home .ho-cats__track a:focus-visible::after {
  transform: scaleY(1);
}

.page-home .ho-cats__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--stone);
}

.page-home .ho-cats__name {
  font-size: 15px;
  font-weight: 500;
}

.page-home .ho-cats__count {
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: var(--line);
}

.page-home .ho-cats__hint {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--stone);
}

/* ---------- 固定访问 ---------- */
.page-home .ho-habit {
  padding-block: clamp(52px, 8vw, 100px);
  background: linear-gradient(180deg, rgba(16, 26, 61, 0.8), transparent 60%);
}

.page-home .ho-habit__grid {
  display: grid;
  gap: 38px;
}

.page-home .ho-habit__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.page-home .ho-habit__lede {
  margin: 18px 0 0;
  max-width: var(--measure);
  font-size: 15.5px;
  line-height: 1.82;
  color: rgba(233, 239, 247, 0.8);
}

.page-home .ho-habit__nodes {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border-left: 1px solid rgba(240, 194, 76, 0.5);
}

.page-home .ho-habit__nodes li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0 11px 18px;
  font-size: 14.5px;
  color: rgba(233, 239, 247, 0.86);
}

.page-home .ho-habit__nodes li::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 1.5px solid var(--gold);
}

.page-home .ho-habit__node-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
  min-width: 24px;
}

.page-home .ho-habit__note {
  margin: 26px 0 0;
  max-width: var(--measure);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(233, 239, 247, 0.68);
}

.page-home .ho-habit__proof {
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px 24px;
  border-top: 1px solid var(--hair, rgba(138, 153, 184, 0.22));
  padding-top: 22px;
}

.page-home .ho-habit__proof div {
  display: grid;
  gap: 6px;
}

.page-home .ho-habit__proof dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--line);
}

.page-home .ho-habit__num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(20px, 3.2vw, 28px);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--white);
}

.page-home .ho-habit__figure img {
  width: 100%;
  border-radius: 4px 4px 22px 4px;
  border: 1px solid rgba(138, 153, 184, 0.16);
  background: var(--ink-2);
}

/* ---------- 浮动回总览 ---------- */
.page-home .ho-return {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(16, 26, 61, 0.94);
  border: 1px solid rgba(240, 194, 76, 0.5);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background-color 0.24s var(--ease), color 0.24s var(--ease);
}

.page-home .ho-return:hover,
.page-home .ho-return:focus-visible {
  background: var(--gold);
  color: var(--ink);
}

.page-home .ho-return__mark {
  font-size: 13px;
  line-height: 1;
}

/* ---------- 断点 ---------- */
@media (min-width: 720px) {
  .page-home .ho-routes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .page-home .ho-route--b {
    margin-top: 34px;
  }

  .page-home .ho-route--c {
    margin-top: -8px;
  }

  .page-home .ho-cats__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 44px;
  }

  .page-home .ho-cats__band {
    margin-top: 8px;
  }

  .page-home .ho-cats__track {
    flex-direction: column;
    overflow-x: visible;
  }

  .page-home .ho-cats__track a {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 12px 8px 12px 16px;
    border-left: 1px solid var(--hair, rgba(138, 153, 184, 0.22));
  }

  .page-home .ho-cats__hint {
    display: none;
  }

  .page-home .ho-habit__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 960px) {
  .page-home .ho-hero__grid {
    grid-template-columns: 68px minmax(0, 1.02fr) minmax(0, 0.86fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .ho-hero__rail {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 6px;
    border-left: 1px solid rgba(138, 153, 184, 0.26);
    padding-left: 16px;
  }

  .page-home .ho-hero__rail-label {
    writing-mode: vertical-rl;
    letter-spacing: 0.24em;
  }

  .page-home .ho-hero__rail-steps {
    flex-direction: column;
    gap: 16px;
    padding-left: 0;
  }

  .page-home .ho-hero__rail-steps li {
    writing-mode: vertical-rl;
    padding-left: 0;
    padding-top: 14px;
    letter-spacing: 0.2em;
  }

  .page-home .ho-hero__rail-steps li::before {
    left: 50%;
    top: 0;
    margin-top: 0;
    margin-left: -3px;
  }

  .page-home .ho-hero__map {
    margin-top: 12px;
    margin-left: 4%;
  }

  .page-home .ho-routes__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .ho-route--a {
    margin-top: 12px;
    padding-bottom: 46px;
  }

  .page-home .ho-route--b {
    margin-top: 46px;
  }

  .page-home .ho-route--c {
    margin-top: 0;
    padding-bottom: 58px;
  }

  .page-home .ho-habit__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 56px;
    align-items: end;
  }

  .page-home .ho-habit__text {
    grid-column: 1;
  }

  .page-home .ho-habit__figure {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ho-route,
  .page-home .ho-hero__toc a,
  .page-home .ho-return,
  .page-home .ho-route__arrow,
  .page-home .ho-cats__track a::after {
    transition: none;
  }

  .page-home .ho-route:hover,
  .page-home .ho-route:focus-visible {
    transform: none;
  }
}
