.page-home {
  overflow-x: clip;
}

/* ============ 首屏 ============ */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(100svh, 920px);
  padding: clamp(112px, 18vh, 180px) 0 clamp(56px, 9vh, 104px);
  background: var(--ink);
  color: var(--paper);
}

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

.page-home .home-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: saturate(0.7) contrast(1.05);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(112deg, rgba(122, 18, 32, 0.94) 0%, rgba(122, 18, 32, 0.94) 40%, rgba(122, 18, 32, 0) 40.15%),
    linear-gradient(292deg, rgba(20, 16, 14, 0.96) 0%, rgba(20, 16, 14, 0.96) 28%, rgba(20, 16, 14, 0) 28.15%),
    linear-gradient(180deg, rgba(20, 16, 14, 0.5) 0%, rgba(20, 16, 14, 0.74) 100%);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    112deg,
    transparent calc(40% - 1px),
    rgba(201, 162, 75, 0.8) 40%,
    transparent calc(40% + 1px)
  );
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-home .home-hero__copy {
  max-width: 44rem;
}

.page-home .home-hero__crumb {
  margin: 0 0 18px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: rgba(247, 243, 234, 0.62);
}

.page-home .home-hero__crumb span {
  color: var(--gold);
}

.page-home .home-hero .eyebrow {
  color: var(--gold);
}

.page-home .home-hero__title {
  margin: 12px 0 0;
  color: var(--paper);
  text-wrap: balance;
}

.page-home .home-hero__lede {
  margin: 22px 0 0;
  max-width: 34em;
  color: rgba(247, 243, 234, 0.86);
}

.page-home .home-hero__gates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: clamp(36px, 6vh, 64px);
}

.page-home .gate {
  display: grid;
  gap: 8px;
  padding: 20px 20px 22px;
  text-decoration: none;
  color: var(--paper);
  background: rgba(20, 16, 14, 0.48);
  border: 1px solid rgba(247, 243, 234, 0.16);
  border-left: 2px solid var(--red-2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.page-home .gate:hover,
.page-home .gate:focus-visible {
  transform: translateY(-4px);
  border-color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(20, 16, 14, 0.7);
}

.page-home .gate__index {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.page-home .gate__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-home .gate__desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(247, 243, 234, 0.72);
}

.page-home .gate__go {
  margin-top: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--gold-hi);
}

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

/* ============ 通用题头 ============ */
.page-home .home-head {
  max-width: 46rem;
}

.page-home .home-head .eyebrow {
  color: var(--red-2);
}

/* ============ 三档会员 ============ */
.page-home .home-tiers {
  padding-block: clamp(72px, 11vw, 140px);
  background: var(--paper);
}

.page-home .home-tiers__band {
  display: block;
  width: 100%;
  height: clamp(92px, 15vw, 190px);
  object-fit: cover;
  margin: clamp(28px, 4vw, 48px) 0 clamp(32px, 5vw, 56px);
  filter: saturate(0.92);
}

.page-home .home-tiers__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .tier-card {
  padding: 26px 24px 28px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--red);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.page-home .tier-card:hover {
  border-top-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-panel);
}

.page-home .tier-card__rank {
  display: block;
  margin-bottom: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.page-home .tier-card .h3 {
  margin: 0 0 10px;
}

.page-home .tier-card__fit {
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--smoke);
}

.page-home .tier-card__num {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.page-home .tier-card__num .mono {
  font-size: clamp(2rem, 1.2rem + 2.4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--red);
}

.page-home .tier-card__num em {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--smoke);
}

.page-home .tier-card__extra {
  margin: 14px 0 0;
  padding: 10px 12px;
  background: var(--paper-2);
  border-left: 2px solid var(--jade);
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .home-tiers__tail {
  margin: clamp(30px, 4vw, 46px) 0 0;
}

@media (min-width: 760px) {
  .page-home .home-tiers__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
  }

  .page-home .tier-card:nth-child(2) {
    margin-top: 38px;
  }

  .page-home .tier-card:nth-child(3) {
    margin-top: 14px;
  }
}

/* ============ 设备登录周期 ============ */
.page-home .home-cycle {
  padding-block: clamp(72px, 11vw, 140px);
  background: var(--ink);
  color: var(--paper);
}

.page-home .home-cycle__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

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

.page-home .home-cycle__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
}

.page-home .home-cycle .eyebrow {
  color: var(--gold);
}

.page-home .home-cycle .h2 {
  color: var(--paper);
}

.page-home .home-cycle__body .lede {
  margin-top: 18px;
  color: rgba(247, 243, 234, 0.78);
}

.page-home .cycle-rail {
  list-style: none;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.page-home .cycle-rail__item {
  position: relative;
  padding-top: 20px;
  border-top: 2px solid rgba(247, 243, 234, 0.16);
}

.page-home .cycle-rail__item::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--gold);
}

.page-home .cycle-rail__dot {
  display: none;
}

.page-home .cycle-rail__name {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--paper);
}

.page-home .cycle-rail__num {
  font-size: clamp(2.5rem, 1.6rem + 3vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold-hi);
}

.page-home .cycle-rail__unit {
  margin-left: 6px;
  font-size: 0.85rem;
  color: rgba(247, 243, 234, 0.6);
}

.page-home .home-cycle__more {
  margin: clamp(26px, 3vw, 34px) 0 0;
  max-width: 38em;
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(247, 243, 234, 0.7);
}

.page-home .home-cycle__cta {
  margin: clamp(22px, 3vw, 30px) 0 0;
}

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

  .page-home .cycle-rail__item {
    padding-right: 24px;
  }
}

@media (min-width: 880px) {
  .page-home .home-cycle__layout {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  }
}

/* ============ 三月批次 ============ */
.page-home .home-batch {
  padding-block: clamp(72px, 11vw, 140px);
  background: var(--paper);
}

.page-home .home-batch__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 64px);
}

.page-home .home-batch .eyebrow {
  color: var(--red-2);
}

.page-home .home-batch__folds {
  margin-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line);
}

.page-home .fold {
  border-bottom: 1px solid var(--line-soft);
}

.page-home .fold__sum {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

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

.page-home .fold__sum::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.2s var(--ease);
}

.page-home .fold[open] .fold__sum::after {
  transform: rotate(45deg);
}

.page-home .fold__sum:hover {
  color: var(--red-2);
}

.page-home .fold[open] .fold__sum {
  color: var(--red);
}

.page-home .fold__idx {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.page-home .fold__body {
  margin: 0;
  padding: 0 0 20px 32px;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--smoke);
}

.page-home .home-batch__cta {
  margin: clamp(26px, 3vw, 36px) 0 0;
}

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

.page-home .home-batch__figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

@media (min-width: 880px) {
  .page-home .home-batch__layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }

  .page-home .home-batch__figure {
    margin-top: clamp(20px, 6vw, 88px);
  }
}

/* ============ 三步开始 ============ */
.page-home .home-start {
  padding-block: clamp(72px, 11vw, 140px);
  background: var(--paper-2);
}

.page-home .home-start .eyebrow {
  color: var(--red-2);
}

.page-home .home-start__list {
  list-style: none;
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding: 0;
}

.page-home .start-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(20, 16, 14, 0.14);
}

.page-home .start-step:first-child {
  border-top: 1px solid rgba(20, 16, 14, 0.14);
}

.page-home .start-step__num {
  padding-top: 3px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--red);
}

.page-home .start-step__body .h3 {
  margin: 0 0 8px;
}

.page-home .start-step__body p {
  margin: 0;
  max-width: 42em;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--smoke);
}

.page-home .home-start__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: clamp(28px, 4vw, 46px) 0 0;
}

/* ============ 常见疑问 ============ */
.page-home .home-asks {
  padding-block: clamp(64px, 9vw, 120px);
  background: var(--paper);
}

.page-home .home-asks .eyebrow {
  color: var(--red-2);
}

.page-home .home-asks__list {
  list-style: none;
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-soft);
}

.page-home .ask {
  background: var(--paper);
}

.page-home .ask__link {
  display: block;
  height: 100%;
  padding: 24px 22px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s var(--ease);
}

.page-home .ask__link:hover,
.page-home .ask__link:focus-visible {
  background: var(--paper-2);
}

.page-home .ask__q {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
}

.page-home .ask__a {
  display: block;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--smoke);
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .gate,
  .page-home .tier-card,
  .page-home .fold__sum::after,
  .page-home .ask__link {
    transition: none;
  }

  .page-home .gate:hover,
  .page-home .tier-card:hover {
    transform: none;
  }
}
