.page-home {
  --ph-hair: 1px solid var(--mnx-line);
  overflow-x: clip;
}

.page-home a:focus-visible,
.page-home button:focus-visible {
  outline: 2px solid var(--mnx-focus);
  outline-offset: 3px;
}

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

.page-home .mnx-hero {
  position: relative;
  isolation: isolate;
}

.page-home .mnx-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -8%;
  right: 5%;
  width: min(40rem, 62%);
  height: 72%;
  background: radial-gradient(120% 120% at 76% 24%, rgba(217, 164, 65, 0.18) 0%, rgba(217, 164, 65, 0) 64%);
  transform: skewY(-7deg);
  pointer-events: none;
}

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

.page-home .ph-hero-layout {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.page-home .ph-hero-copy > * + * {
  margin-top: 1rem;
}

.page-home .ph-hero-copy .mnx-breadcrumb {
  margin-bottom: 0.6rem;
}

.page-home .ph-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.85rem !important;
}

.page-home .ph-hero-visual {
  position: relative;
  margin: 0;
}

.page-home .ph-hero-visual::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--mnx-line-3);
  clip-path: polygon(0 0, 100% 0, 100% 76%, 80% 100%, 0 100%);
  pointer-events: none;
  z-index: 2;
}

.page-home .ph-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-home .ph-herometa {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--mnx-line);
  border: var(--ph-hair);
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.page-home .ph-herometa > div {
  background: var(--mnx-ink-900);
  padding: clamp(0.85rem, 2vw, 1.15rem) clamp(0.9rem, 2vw, 1.25rem);
  min-width: 0;
}

.page-home .ph-herometa__k {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--mnx-mute-2);
}

.page-home .ph-herometa__v {
  margin: 0;
  font-size: clamp(0.9375rem, 2.2vw, 1.125rem);
  color: var(--mnx-white);
  white-space: nowrap;
}

@media (max-width: 540px) {
  .page-home .ph-herometa {
    grid-template-columns: 1fr;
  }
  .page-home .ph-herometa__v {
    white-space: normal;
  }
}

@media (min-width: 900px) {
  .page-home .ph-hero-layout {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }
}

/* ---------- 开始之前 ---------- */

.page-home .ph-why__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.page-home .ph-why__copy > * + * {
  margin-top: 1rem;
}

.page-home .ph-why__copy .mnx-title {
  margin-bottom: 1.25rem;
}

.page-home .ph-why__figure {
  margin: 0;
  border: var(--ph-hair);
  position: relative;
}

.page-home .ph-why__figure::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem;
  height: 2px;
  background: var(--mnx-amber);
}

.page-home .ph-why__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (min-width: 900px) {
  .page-home .ph-why__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: start;
  }
}

/* ---------- 六档对照 ---------- */

.page-home .ph-tierlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.125rem;
}

.page-home .ph-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.35rem 1.25rem 1.6rem;
  background: linear-gradient(180deg, var(--mnx-ink-800) 0%, var(--mnx-ink-900) 62%);
  border: var(--ph-hair);
  border-top: 2px solid var(--mnx-line-3);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.page-home .ph-tier::after {
  content: "";
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  width: 1.5rem;
  height: 1px;
  background: var(--mnx-line-2);
}

.page-home .ph-tier:hover {
  background: linear-gradient(180deg, var(--mnx-ink-700) 0%, var(--mnx-ink-900) 72%);
  border-color: var(--mnx-line-3);
}

.page-home .ph-tier__no {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--mnx-amber);
}

.page-home .ph-tier__name {
  margin: 0;
  font-family: var(--mnx-font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--mnx-white);
}

.page-home .ph-tier__data {
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.page-home .ph-tier__data > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--mnx-line);
}

.page-home .ph-tier__data dt {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--mnx-mute-2);
  white-space: nowrap;
}

.page-home .ph-tier__data dd {
  margin: 0;
  font-size: 0.875rem;
  color: var(--mnx-white);
  text-align: right;
  overflow-wrap: anywhere;
}

@media (min-width: 680px) {
  .page-home .ph-tierlist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.375rem;
  }
}

@media (min-width: 1080px) {
  .page-home .ph-tierlist {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 1.75rem;
    padding-bottom: 2.25rem;
  }
  .page-home .ph-tier:nth-child(3n + 2) {
    transform: translateY(1.5rem);
  }
  .page-home .ph-tier:nth-child(3n) {
    transform: translateY(0.7rem);
  }
}

/* ---------- 两个入口 ---------- */

.page-home .ph-entrygrid {
  display: grid;
  gap: 1.125rem;
}

.page-home .ph-entry {
  position: relative;
  padding: clamp(1.35rem, 3vw, 1.9rem) clamp(1.2rem, 3vw, 1.8rem) clamp(1.5rem, 3vw, 2rem);
  background: var(--mnx-ink-800);
  border: var(--ph-hair);
}

.page-home .ph-entry::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 3.25rem;
  height: 3px;
  background: var(--mnx-amber);
}

.page-home .ph-entry__idx {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  color: var(--mnx-amber);
}

.page-home .ph-entry__h {
  margin: 0 0 0.7rem;
  font-family: var(--mnx-font-display);
  font-size: 1.1875rem;
  letter-spacing: 0.02em;
  color: var(--mnx-white);
}

.page-home .ph-entry__d {
  margin: 0 0 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--mnx-mute);
}

.page-home .ph-entry__list {
  list-style: none;
  margin: 0 0 1.3rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.page-home .ph-entry__list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--mnx-mute);
}

.page-home .ph-entry__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.5rem;
  height: 1px;
  background: var(--mnx-amber);
}

.page-home .ph-entry__more {
  display: inline-block;
  padding-bottom: 0.15rem;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--mnx-amber-2);
  text-decoration: none;
  border-bottom: 1px solid var(--mnx-line-3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .ph-entry__more:hover {
  color: var(--mnx-white);
  border-bottom-color: var(--mnx-amber);
}

.page-home .ph-entries__figure {
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
}

.page-home .ph-entries__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1240 / 520;
  object-fit: cover;
  border: var(--ph-hair);
}

.page-home .ph-entries__cap {
  margin: 0.7rem 0 0;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--mnx-mute-2);
}

@media (min-width: 880px) {
  .page-home .ph-entrygrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* ---------- 更新节奏 ---------- */

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

.page-home .ph-timeline li {
  display: grid;
  gap: 0.45rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--mnx-line);
}

.page-home .ph-timeline li:last-child {
  border-bottom: 1px solid var(--mnx-line);
}

.page-home .ph-timeline__t {
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--mnx-amber);
}

.page-home .ph-timeline__h {
  margin: 0;
  font-family: var(--mnx-font-display);
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--mnx-white);
}

.page-home .ph-timeline__d {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--mnx-mute);
}

@media (min-width: 768px) {
  .page-home .ph-timeline li {
    grid-template-columns: 5.5rem 12rem minmax(0, 1fr);
    align-items: baseline;
    gap: 0 1.5rem;
    padding: 1.3rem 0;
  }
}

/* ---------- 适用场景 ---------- */

.page-home .ph-scenegrid {
  display: grid;
  gap: 1.5rem;
}

.page-home .ph-scene__idx {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--mnx-amber);
}

.page-home .ph-scene__h {
  margin: 0 0 0.6rem;
  font-family: var(--mnx-font-display);
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
  color: var(--mnx-white);
}

.page-home .ph-scene p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--mnx-mute);
}

.page-home .ph-scenes__figure {
  margin: clamp(1.75rem, 4vw, 2.75rem) 0 0;
}

.page-home .ph-scenes__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1240 / 520;
  object-fit: cover;
  border: var(--ph-hair);
}

@media (min-width: 760px) {
  .page-home .ph-scenegrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }
  .page-home .ph-scene {
    padding: 0 1.5rem;
    border-left: 1px solid var(--mnx-line);
  }
  .page-home .ph-scene:first-child {
    padding-left: 0;
    border-left: 0;
  }
  .page-home .ph-scene:last-child {
    padding-right: 0;
  }
}

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

.page-home .ph-next__panel {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: linear-gradient(145deg, var(--mnx-ink-700) 0%, var(--mnx-ink-900) 64%);
  border: var(--ph-hair);
  border-left: 3px solid var(--mnx-amber);
}

.page-home .ph-next__copy > * + * {
  margin-top: 1rem;
}

.page-home .ph-next__copy .mnx-title {
  margin-bottom: 1.25rem;
}

.page-home .ph-next__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--mnx-line);
  border: var(--ph-hair);
}

.page-home .ph-next__links a {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 1.1rem;
  background: var(--mnx-ink-900);
  text-decoration: none;
  transition: background 0.2s ease;
}

.page-home .ph-next__links a:hover {
  background: var(--mnx-ink-800);
}

.page-home .ph-nextlink__k {
  font-size: 0.8125rem;
  color: var(--mnx-amber);
}

.page-home .ph-nextlink__t {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--mnx-white);
}

.page-home .ph-nextlink__d {
  font-size: 0.8125rem;
  color: var(--mnx-mute-2);
}

@media (min-width: 560px) {
  .page-home .ph-next__links a {
    grid-template-columns: 2.5rem minmax(0, auto) minmax(0, 1fr);
    align-items: baseline;
    gap: 0.85rem;
  }
  .page-home .ph-nextlink__d {
    text-align: right;
  }
}

@media (min-width: 900px) {
  .page-home .ph-next__panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: start;
  }
}

/* ---------- 降低动效 ---------- */

@media (prefers-reduced-motion: reduce) {
  .page-home .ph-tier,
  .page-home .ph-entry__more,
  .page-home .ph-next__links a {
    transition: none;
  }
  .page-home .mnx-hero::before {
    transform: none;
  }
  .page-home .ph-tier:nth-child(3n + 2),
  .page-home .ph-tier:nth-child(3n) {
    transform: none;
  }
}
