.page-home {
  --hp-gutter: clamp(20px, 5vw, 56px);
  --hp-node: 84px;
  display: block;
}

/* ---------- 首屏 ---------- */
.page-home .hero-home {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: clamp(96px, 14vh, 148px) 0 clamp(72px, 10vh, 112px);
}

.page-home .hero-home__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero-home__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 55%;
  opacity: 0.34;
  filter: saturate(0.85);
}

.page-home .hero-home__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 78% 22%, rgba(214, 164, 74, 0.22), transparent 58%),
    linear-gradient(180deg, rgba(8, 33, 29, 0.55) 0%, rgba(8, 33, 29, 0.92) 72%, var(--ink) 100%);
}

.page-home .hero-home__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
}

.page-home .hero-home__eyebrow {
  color: var(--gold-soft);
  margin: 0 0 18px;
}

.page-home .hero-home__title {
  margin: 0 0 22px;
  color: var(--paper);
  max-width: 15ch;
  text-shadow: 0 18px 46px rgba(4, 18, 16, 0.55);
}

.page-home .hero-home__lead {
  margin: 0;
  max-width: 46ch;
  color: rgba(243, 236, 224, 0.86);
}

.page-home .hero-home__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.page-home .hero-home__meta-item {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
  border: 1px solid rgba(214, 164, 74, 0.32);
  border-radius: 999px;
  padding: 7px 14px;
}

.page-home .hero-home__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cinnabar);
}

/* ---------- 中心导航环 ---------- */
.page-home .hero-orbit {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.page-home .hero-orbit__ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: conic-gradient(
    from 200deg,
    rgba(214, 164, 74, 0.9) 0deg,
    rgba(28, 90, 76, 0.8) 68deg,
    rgba(240, 212, 155, 0.45) 138deg,
    rgba(201, 79, 38, 0.62) 205deg,
    rgba(214, 164, 74, 0.95) 292deg,
    rgba(214, 164, 74, 0.9) 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent 90%, #000 91%);
  mask: radial-gradient(farthest-side, transparent 90%, #000 91%);
  animation: hp-spin 60s linear infinite;
}

.page-home .hero-orbit__core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: radial-gradient(circle at 50% 38%, rgba(15, 58, 50, 0.96), rgba(8, 33, 29, 0.98));
  border: 1px solid rgba(214, 164, 74, 0.34);
  box-shadow: 0 0 0 14px rgba(214, 164, 74, 0.05), var(--shadow-deep);
}

.page-home .hero-orbit__core-num {
  font-size: 30px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.page-home .hero-orbit__core-label {
  font-size: 12px;
  color: var(--mist);
  letter-spacing: 0.08em;
}

.page-home .hero-orbit__node {
  position: absolute;
  width: var(--hp-node);
  height: var(--hp-node);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(15, 58, 50, 0.95), rgba(8, 33, 29, 0.95));
  border: 1px solid rgba(214, 164, 74, 0.3);
  color: var(--paper);
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.page-home .hero-orbit__node-num {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.page-home .hero-orbit__node-name {
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  padding: 0 8px;
}

.page-home .hero-orbit__node:hover,
.page-home .hero-orbit__node:focus-visible {
  transform: translate(-50%, -50%) scale(1.08);
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(28, 90, 76, 0.98), rgba(15, 58, 50, 0.98));
}

.page-home .hero-orbit__node:focus-visible {
  outline: 2px solid var(--cinnabar);
  outline-offset: 3px;
}

.page-home .hero-orbit__node:nth-child(3) { left: 50%;   top: 8%; }
.page-home .hero-orbit__node:nth-child(4) { left: 89.9%; top: 37%; }
.page-home .hero-orbit__node:nth-child(5) { left: 72.3%; top: 80.7%; }
.page-home .hero-orbit__node:nth-child(6) { left: 27.7%; top: 80.7%; }
.page-home .hero-orbit__node:nth-child(7) { left: 10.1%; top: 37%; }

@keyframes hp-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---------- 通用区段微调 ---------- */
.page-home .band {
  margin-bottom: 22px;
}

.page-home .band--on-dark .band__num {
  color: var(--gold-soft);
}

.page-home .home-entries__title,
.page-home .home-scenarios__title,
.page-home .home-adapt__title,
.page-home .home-next__title {
  margin: 0 0 18px;
}

.page-home .home-entries__lead,
.page-home .home-scenarios__lead,
.page-home .home-adapt__lead,
.page-home .home-next__lead {
  max-width: 62ch;
  margin: 0 0 40px;
}

/* ---------- 01 入口清单 ---------- */
.page-home .home-entries__filter {
  margin-bottom: 28px;
}

.page-home .entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .entry-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "num"
    "body"
    "foot";
  gap: 16px;
  padding: 24px 22px;
  background: var(--sand);
  border-radius: var(--radius-organic);
  transition: background 200ms ease, transform 200ms ease;
}

.page-home .entry-card:hover {
  background: #EDE3D2;
  transform: translateY(-2px);
}

.page-home .entry-card__num { grid-area: num; }
.page-home .entry-card__body { grid-area: body; }
.page-home .entry-card__foot { grid-area: foot; }

.page-home .entry-card__name {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-text);
  letter-spacing: -0.01em;
}

.page-home .entry-card__use {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(22, 33, 30, 0.82);
}

.page-home .entry-card__spec {
  margin: 0;
  display: grid;
  gap: 6px;
}

.page-home .entry-card__spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
}

.page-home .entry-card__spec-row dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
  min-width: 68px;
}

.page-home .entry-card__spec-row dd {
  margin: 0;
  font-size: 14px;
  color: rgba(22, 33, 30, 0.72);
}

.page-home .entry-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.page-home .entry-card__go {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--peacock);
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 180ms ease;
}

.page-home .entry-card__go:hover,
.page-home .entry-card__go:focus-visible {
  background: var(--ink);
}

.page-home .entry-card__go:focus-visible {
  outline: 2px solid var(--cinnabar);
  outline-offset: 3px;
}

.page-home .entry-card .btn--copy {
  background: transparent;
  border: 1px solid rgba(22, 33, 30, 0.24);
  color: var(--ink-text);
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
}

.page-home .entry-card .btn--copy:hover {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

.page-home .entry-card .btn--copy.is-done {
  border-color: var(--cinnabar);
  color: var(--cinnabar);
}

.page-home .filter-empty {
  margin: 24px 0 0;
  font-size: 15px;
  color: var(--mist);
}

/* ---------- 02 场景 ---------- */
.page-home .home-scenarios {
  color: var(--paper);
}

.page-home .home-scenarios__lead {
  color: rgba(243, 236, 224, 0.82);
}

.page-home .scenario-grid {
  display: grid;
  gap: 20px;
}

.page-home .scenario {
  padding: 26px 24px;
  border-radius: var(--radius-organic);
  background: rgba(8, 33, 29, 0.55);
  border-left: 3px solid var(--gold);
}

.page-home .scenario__q {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--gold-soft);
}

.page-home .scenario__a {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(243, 236, 224, 0.85);
}

.page-home .scenario__who {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--mist);
}

/* ---------- 03 换设备 ---------- */
.page-home .home-switch__inner {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.page-home .home-switch__figure {
  margin: 0;
}

.page-home .home-switch__flow {
  margin: 0 0 28px;
}

.page-home .home-switch__step {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-text);
}

.page-home .home-switch__step-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(22, 33, 30, 0.8);
}

.page-home .home-switch__note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.page-home .home-switch__tail {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(22, 33, 30, 0.78);
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}

/* ---------- 04 适配清单 ---------- */
.page-home .home-adapt__figure {
  margin: 0 0 34px;
}

.page-home .adapt-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(22, 33, 30, 0.14);
}

.page-home .adapt-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(22, 33, 30, 0.14);
}

.page-home .adapt-row__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-text);
  letter-spacing: 0.02em;
}

.page-home .adapt-row__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--peacock);
}

.page-home .adapt-row__note {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(22, 33, 30, 0.74);
}

.page-home .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.page-home .dot--ok {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 164, 74, 0.22);
}

.page-home .dot--warn {
  background: var(--cinnabar);
  box-shadow: 0 0 0 3px rgba(201, 79, 38, 0.2);
}

/* ---------- 05 复核 ---------- */
.page-home .home-review {
  color: var(--paper);
}

.page-home .home-review__inner {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.page-home .home-review__lead {
  color: rgba(243, 236, 224, 0.84);
  max-width: 54ch;
  margin: 0 0 32px;
}

.page-home .review-check {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .review-check__item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
  align-items: start;
}

.page-home .review-check__mark {
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border-radius: 3px 8px 3px 8px;
  background: var(--gold);
  transform: rotate(-8deg);
}

.page-home .review-check__text {
  font-size: 15px;
  line-height: 1.72;
  color: rgba(243, 236, 224, 0.86);
}

.page-home .review-stats {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    padding-top: 26px;
  border-top: 1px solid rgba(214, 164, 74, 0.26);
}

.page-home .review-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .review-stat__num {
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  line-height: 1;
}

.page-home .review-stat__label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .home-review__figure {
  margin: 0;
}

/* ---------- 06 下一步 ---------- */
.page-home .home-next__inner {
  max-width: 720px;
}

.page-home .home-next__lead {
  color: rgba(243, 236, 224, 0.84);
  margin-bottom: 34px;
}

.page-home .home-next__cta {
  display: inline-flex;
  align-items: center;
  height: 54px;
  padding: 0 34px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 180ms ease, transform 180ms ease;
}

.page-home .home-next__cta:hover,
.page-home .home-next__cta:focus-visible {
  background: var(--gold-soft);
  transform: translateY(-2px);
}

.page-home .home-next__cta:focus-visible {
  outline: 2px solid var(--cinnabar);
  outline-offset: 4px;
}

.page-home .home-next__aside {
  margin: 26px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .home-next__aside a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .home-next__aside a:hover,
.page-home .home-next__aside a:focus-visible {
  color: var(--gold);
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .page-home .hero-orbit {
    max-width: 100%;
    aspect-ratio: auto;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .page-home .hero-orbit__ring,
  .page-home .hero-orbit__core {
    display: none;
  }

  .page-home .hero-orbit__node,
  .page-home .hero-orbit__node:nth-child(3),
  .page-home .hero-orbit__node:nth-child(4),
  .page-home .hero-orbit__node:nth-child(5),
  .page-home .hero-orbit__node:nth-child(6),
  .page-home .hero-orbit__node:nth-child(7) {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 16px;
  }

  .page-home .hero-orbit__node:hover,
  .page-home .hero-orbit__node:focus-visible {
    transform: translateX(4px);
  }

  .page-home .hero-orbit__node-num {
    min-width: 24px;
  }

  .page-home .hero-orbit__node-name {
    text-align: left;
    padding: 0;
    font-size: 15px;
  }

  .page-home .hero-home__title {
    max-width: none;
  }

  .page-home .home-next__cta {
    width: 100%;
    justify-content: center;
  }
}

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

  .page-home .scenario:nth-child(odd) {
    transform: translateX(-2.5%);
  }

  .page-home .scenario:nth-child(even) {
    transform: translateX(2.5%);
  }

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

  .page-home .scenario:nth-child(5) {
    grid-column: 1 / 2;
  }

  .page-home .adapt-row {
    grid-template-columns: 1.1fr 0.9fr 2fr;
    align-items: baseline;
    gap: 20px;
  }
}

@media (min-width: 980px) {
  .page-home .hero-home__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .page-home .hero-orbit {
    margin-right: 0;
    margin-left: auto;
  }

  .page-home .entry-card {
    grid-template-columns: 72px minmax(0, 1fr) 200px;
    grid-template-areas: "num .page-home foot";
    align-items: center;
    gap: 12px 28px;
    padding: 30px 32px;
  }

  .page-home .entry-card__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .page-home .entry-card__go,
  .page-home .entry-card .btn--copy {
    justify-content: center;
    width: 100%;
  }

  .page-home .home-switch__inner {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  }

  .page-home .home-switch__figure {
    margin-top: 46px;
  }

  .page-home .home-review__inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }

  .page-home .home-review__figure {
    margin-top: 56px;
  }
}

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

  .page-home .hero-orbit__node,
  .page-home .entry-card,
  .page-home .home-next__cta {
    transition: none;
  }

  .page-home .scenario:nth-child(odd),
  .page-home .scenario:nth-child(even) {
    transform: none;
  }
}
