.page-home {
  --ph-axis: rgba(201, 162, 39, 0.34);
  position: relative;
  background: var(--night);
  color: var(--warm-white);
}

.page-home a:not(.btn) {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid rgba(143, 163, 184, 0.45);
  transition: color 0.25s var(--ease), border-bottom-color 0.25s var(--ease);
}

.page-home a:not(.btn):hover,
.page-home a:not(.btn):focus-visible {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.page-home .ph-three__head .section-title,
.page-home .ph-center__copy .section-title,
.page-home .ph-index__head .section-title,
.page-home .ph-help__copy .section-title {
  margin: 20px 0 0;
}

/* ---------- 首屏 ---------- */
.page-home .ph-hero {
  position: relative;
  overflow: hidden;
  border-bottom: var(--hair);
  padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 7vw, 88px);
}

.page-home .ph-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .ph-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.page-home .ph-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(110% 80% at 8% 16%, rgba(123, 30, 43, 0.46) 0%, rgba(14, 11, 12, 0) 62%),
    linear-gradient(180deg, rgba(14, 11, 12, 0.38) 0%, rgba(26, 15, 20, 0.9) 100%);
}

.page-home .ph-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(185, 179, 172, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 179, 172, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
}

.page-home .ph-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-home .ph-context {
  margin: 0;
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
  color: var(--mist);
}

.page-home .ph-hero h1 {
  margin: 28px 0 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(40px, 8.2vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--warm-white);
}

.page-home .ph-hero .lede {
  margin: 28px 0 0;
  max-width: 34em;
  color: rgba(245, 242, 237, 0.86);
}

.page-home .ph-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.page-home .ph-hero__note {
  margin: 20px 0 0;
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  color: var(--warm-gray);
}

.page-home .ph-hero__annot {
  margin: 0;
  font-size: var(--fs-12);
  letter-spacing: 0.18em;
  line-height: 1.5;
  color: var(--warm-gray);
}

@media (min-width: 960px) {
  .page-home .ph-hero__grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    align-items: end;
  }

  .page-home .ph-hero__lead {
    grid-column: 1 / span 8;
  }

  .page-home .ph-hero__aside {
    grid-column: 10 / span 3;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
  }

  .page-home .ph-hero__annot {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-left: 1px solid var(--ph-axis);
    padding-left: 14px;
  }
}

/* ---------- 三步注册 ---------- */
.page-home .ph-three__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-home .ph-three__head .prose,
.page-home .ph-center__copy .prose,
.page-home .ph-index__head .prose,
.page-home .ph-help__copy .prose {
  margin: 20px 0 0;
  color: rgba(245, 242, 237, 0.8);
}

.page-home .ph-steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .ph-steps::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 36px;
  bottom: 36px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(201, 162, 39, 0.08) 100%);
}

.page-home .ph-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 8px;
  padding: 22px 0;
  border-top: var(--hair);
  outline: none;
}

.page-home .ph-step:last-child {
  border-bottom: var(--hair);
}

.page-home .ph-step__no {
  font-family: var(--mono);
  font-size: var(--fs-14);
  letter-spacing: 0.08em;
  color: var(--gold);
  line-height: 1;
  padding-top: 6px;
  transition: color 0.3s var(--ease);
}

.page-home .ph-step:hover .ph-step__no,
.page-home .ph-step:focus-visible .ph-step__no {
  color: var(--lafite-bright);
}

.page-home .ph-step:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.page-home .ph-step__title {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--fs-24);
  font-weight: 700;
  color: var(--warm-white);
}

.page-home .ph-step__desc {
  margin: 10px 0 0;
  font-size: var(--fs-16);
  line-height: 1.8;
  color: rgba(245, 242, 237, 0.78);
}

.page-home .ph-step__need {
  margin: 12px 0 0;
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--mist);
}

@media (min-width: 960px) {
  .page-home .ph-three__grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    align-items: start;
  }

  .page-home .ph-three__head {
    grid-column: 1 / span 6;
  }

  .page-home .ph-three__figure {
    grid-column: 8 / span 5;
    grid-row: 1 / span 2;
  }

  .page-home .ph-steps {
    grid-column: 1 / span 6;
  }
}

/* ---------- 会员中心 ---------- */
.page-home .ph-center__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-home .ph-center__list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
}

.page-home .ph-center__list li {
  padding: 18px 0;
  border-top: var(--hair);
  font-size: var(--fs-16);
  line-height: 1.8;
  color: rgba(245, 242, 237, 0.82);
}

.page-home .ph-center__list li:last-child {
  border-bottom: var(--hair);
}

.page-home .ph-center__list .mono {
  display: block;
  margin-bottom: 8px;
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
  color: var(--gold);
}

.page-home .ph-center__change {
  margin: 28px 0 0;
  padding-left: 16px;
  border-left: 1px solid var(--lafite-bright);
  font-size: var(--fs-14);
  line-height: 1.85;
  color: var(--warm-gray);
}

@media (min-width: 960px) {
  .page-home .ph-center__grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    align-items: center;
  }

  .page-home .ph-center__copy {
    grid-column: 1 / span 6;
  }

  .page-home .ph-center__figure {
    grid-column: 8 / span 5;
  }
}

/* ---------- 设备索引 ---------- */
.page-home .ph-index__head {
  max-width: 50em;
}

.page-home .ph-index__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 56px;
  align-items: center;
}

.page-home .ph-index__caption {
  margin: 0 0 16px;
  font-size: var(--fs-12);
  letter-spacing: 0.18em;
  color: var(--gold);
}

.page-home .ph-fields {
  margin: 0;
  border-top: var(--hair);
}

.page-home .ph-fields > div {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: var(--hair);
}

.page-home .ph-fields dt {
  font-size: var(--fs-14);
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .ph-fields dd {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.75;
  color: rgba(245, 242, 237, 0.84);
}

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

.page-home .ph-index__stats li {
  padding: 16px 0;
  border-top: var(--hair);
}

.page-home .ph-index__stats li:last-child {
  border-bottom: var(--hair);
}

.page-home .ph-stat__num {
  display: block;
  font-size: var(--fs-32);
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--gold-light);
}

.page-home .ph-stat__label {
  display: block;
  margin-top: 8px;
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  color: var(--warm-gray);
}

.page-home .ph-index__cta {
  margin: 48px 0 0;
  padding-top: 20px;
  border-top: var(--hair);
  font-size: var(--fs-14);
  line-height: 1.85;
  color: var(--warm-gray);
}

@media (min-width: 960px) {
  .page-home .ph-index__grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
  }

  .page-home .ph-index__fields {
    grid-column: 1 / span 5;
  }

  .page-home .ph-index__figure {
    grid-column: 6 / span 4;
  }

  .page-home .ph-index__stats {
    grid-column: 10 / span 3;
  }
}

/* ---------- 本月刷新 ---------- */
.page-home .ph-refresh__list {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
}

.page-home .ph-refresh__list li {
  padding: 24px 0;
  border-top: var(--hair);
}

.page-home .ph-refresh__list li:last-child {
  border-bottom: var(--hair);
}

.page-home .ph-refresh__no {
  display: block;
  margin-bottom: 16px;
  font-size: var(--fs-14);
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-home .ph-refresh__title {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--fs-24);
  font-weight: 700;
  color: var(--warm-white);
}

.page-home .ph-refresh__list p {
  margin: 12px 0 0;
  font-size: var(--fs-16);
  line-height: 1.8;
  color: rgba(245, 242, 237, 0.78);
}

.page-home .ph-refresh__link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 40px 0 0;
}

.page-home .ph-refresh__link .mono {
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--warm-gray);
}

@media (min-width: 900px) {
  .page-home .ph-refresh__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .page-home .ph-refresh__list li {
    padding: 0 32px;
    border-top: none;
    border-bottom: none;
    border-left: var(--hair);
  }

  .page-home .ph-refresh__list li:first-child {
    padding-left: 0;
    border-left: none;
  }

  .page-home .ph-refresh__list li:last-child {
    padding-right: 0;
  }
}

/* ---------- 教程与客服 ---------- */
.page-home .ph-help__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.page-home .ph-help__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.page-home .ph-help__more {
  margin: 28px 0 0;
  font-size: var(--fs-14);
  line-height: 1.85;
  color: var(--warm-gray);
}

.page-home .ph-help__contact {
  padding-top: 24px;
  border-top: 1px solid var(--gold);
}

.page-home .ph-help__key {
  margin: 0 0 20px;
  font-size: var(--fs-12);
  letter-spacing: 0.2em;
  color: var(--gold);
}

.page-home .ph-help__contact > p:not(.ph-help__key):not(.note) {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: var(--fs-16);
  letter-spacing: 0.04em;
  color: var(--warm-white);
  word-break: break-word;
}

.page-home .ph-help__contact .note {
  margin: 20px 0 0;
  font-family: var(--sans);
  font-size: var(--fs-14);
  line-height: 1.85;
  letter-spacing: 0.01em;
  color: var(--warm-gray);
}

@media (min-width: 960px) {
  .page-home .ph-help__grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
  }

  .page-home .ph-help__copy {
    grid-column: 1 / span 7;
  }

  .page-home .ph-help__contact {
    grid-column: 9 / span 4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ph-step__no,
  .page-home a:not(.btn) {
    transition: none;
  }
}
