.page-home {
  --home-pad: clamp(18px, 2.6vw, 30px);
  --home-gap: clamp(14px, 2vw, 22px);
  display: block;
}

/* ---------- 首屏框景 ---------- */
.page-home .home-hero {
  padding-block: clamp(24px, 5vw, 64px) clamp(18px, 3vw, 40px);
}

.page-home .home-hero__frame {
  position: relative;
  display: grid;
  min-height: 500px;
  border-radius: 24px;
  border: 1px solid var(--nx-glass-line);
  overflow: hidden;
  isolation: isolate;
  background: var(--nx-ink-2);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6);
}

.page-home .home-hero__frame::before,
.page-home .home-hero__frame::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  height: 9px;
  z-index: 4;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 32px);
}

.page-home .home-hero__frame::before {
  top: 12px;
  color: var(--nx-gold);
  opacity: .5;
}

.page-home .home-hero__frame::after {
  bottom: 12px;
  color: var(--nx-violet-soft);
  opacity: .42;
}

.page-home .home-hero__stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.page-home .home-hero__stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(102deg, rgba(8, 7, 13, .96) 0%, rgba(8, 7, 13, .84) 44%, rgba(8, 7, 13, .4) 100%),
    radial-gradient(120% 78% at 80% 20%, rgba(123, 69, 255, .4), transparent 62%);
}

.page-home .home-hero__body {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--home-gap);
  align-content: end;
  padding: clamp(38px, 6vw, 68px) clamp(22px, 4.6vw, 58px);
}

.page-home .home-hero__title {
  margin: 14px 0 0;
  font-family: var(--nx-sans);
  font-weight: 250;
  font-size: clamp(2.35rem, 8.4vw, 5.1rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--nx-cloud);
  text-shadow: 0 0 60px rgba(123, 69, 255, .45);
}

.page-home .home-hero__accent {
  color: var(--nx-gold);
  border-bottom: 2px solid rgba(232, 184, 92, .45);
}

.page-home .home-hero__lede {
  margin: 18px 0 0;
  max-width: 34em;
  font-size: clamp(15px, 1.7vw, 17.5px);
  line-height: 1.85;
  color: rgba(244, 242, 248, .82);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .home-hero__card {
  margin-top: 26px;
  padding: 20px 22px 12px;
  border-radius: var(--nx-radius);
  border: 1px solid var(--nx-glass-line);
  background: linear-gradient(158deg, rgba(123, 69, 255, .2), rgba(255, 255, 255, .05) 62%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.page-home .home-hero__cardtitle {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--nx-gold);
}

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

.page-home .home-hero__list li + li {
  border-top: 1px solid var(--nx-hair);
}

.page-home .home-hero__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 2px;
  font-size: 15px;
  color: var(--nx-cloud);
  text-decoration: none;
  transition: color .2s var(--nx-ease), padding-left .2s var(--nx-ease);
}

.page-home .home-hero__list a::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nx-violet);
  box-shadow: 0 0 10px rgba(123, 69, 255, .9);
}

.page-home .home-hero__list a:hover,
.page-home .home-hero__list a:focus-visible {
  color: var(--nx-gold);
  padding-left: 9px;
}

/* ---------- 通用导语 ---------- */
.page-home .home-sectionlede {
  margin: 16px 0 0;
  max-width: 40em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--nx-mist);
}

/* ---------- 卡片底座 ---------- */
.page-home .home-card {
  position: relative;
  padding: var(--home-pad);
  border-radius: var(--nx-radius);
  border: 1px solid var(--nx-glass-line);
  background: linear-gradient(158deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .03));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .22s var(--nx-ease), border-color .22s var(--nx-ease), box-shadow .22s var(--nx-ease);
}

.page-home .home-card:hover {
  transform: translateY(-4px);
  border-color: var(--nx-violet);
  box-shadow: 0 20px 44px rgba(123, 69, 255, .22);
}

.page-home .home-card:focus-within {
  outline: 2px solid var(--nx-violet-soft);
  outline-offset: 2px;
}

/* ---------- 当季 Bento ---------- */
.page-home .home-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  margin-top: clamp(24px, 3.4vw, 38px);
}

.page-home .home-bento__kicker {
  margin: 0;
  font-family: var(--nx-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--nx-violet-soft);
}

.page-home .home-bento__name {
  margin: 8px 0 6px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 700;
  color: var(--nx-cloud);
}

.page-home .home-bento__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--nx-mist);
}

.page-home .home-bento__focus.home-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-home .home-bento__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 190px;
}

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

.page-home .home-bento__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 7, 13, 0) 26%, rgba(8, 7, 13, .94) 100%);
}

.page-home .home-bento__info {
  position: relative;
  z-index: 1;
  padding: clamp(18px, 2.4vw, 26px);
  margin-top: -28px;
}

.page-home .home-bento__info .home-bento__kicker {
  color: var(--nx-gold);
}

.page-home .home-bento__info .home-bento__name {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 700;
}

.page-home .home-season__foot {
  margin-top: clamp(22px, 3vw, 32px);
}

/* ---------- 三步上手 ---------- */
.page-home .home-steps {
  list-style: none;
  margin: clamp(24px, 3.4vw, 36px) 0 0;
  padding: 0;
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-step summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: center;
}

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

.page-home .home-step__no {
  grid-row: 1 / span 2;
  font-family: var(--nx-mono);
  font-size: 26px;
  letter-spacing: .02em;
  color: var(--nx-gold);
  line-height: 1;
}

.page-home .home-step__name {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--nx-cloud);
}

.page-home .home-step__hint {
  font-size: 13px;
  color: var(--nx-mist);
}

.page-home .home-step summary::after {
  content: "＋";
  grid-column: 2;
  justify-self: end;
  align-self: center;
  grid-row: 1 / span 2;
  font-size: 15px;
  color: var(--nx-violet-soft);
  transition: transform .22s var(--nx-ease);
}

.page-home .home-step details[open] summary::after {
  transform: rotate(45deg);
}

.page-home .home-step:has(details[open]) {
  border-color: var(--nx-violet);
}

.page-home .home-step__body {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--nx-hair);
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--nx-mist);
}

.page-home .home-start__foot {
  margin-top: clamp(22px, 3vw, 32px);
}

/* ---------- 额度与答疑 ---------- */
.page-home .home-duo-wrap {
  padding-block: clamp(34px, 5vw, 60px);
}

.page-home .home-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  margin-top: clamp(22px, 3vw, 32px);
}

.page-home .home-duo__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .home-duo__card .nx-btn {
  align-self: flex-start;
  margin-top: auto;
}

.page-home .home-duo__card--violet {
  background-image: linear-gradient(145deg, rgba(123, 69, 255, .24), rgba(255, 255, 255, .03) 62%);
}

.page-home .home-duo__card--gold {
  background-image: linear-gradient(145deg, rgba(232, 184, 92, .2), rgba(255, 255, 255, .03) 62%);
}

.page-home .home-duo__card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.82;
  color: var(--nx-mist);
}

/* ---------- 小屏导航 ---------- */
.page-home .home-nav__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.6vw, 40px);
}

.page-home .home-nav__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.page-home .home-chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--nx-glass-line);
  background: rgba(255, 255, 255, .05);
  font-family: var(--nx-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--nx-mist);
}

.page-home .home-chip--on {
  border-color: transparent;
  background: linear-gradient(120deg, var(--nx-violet), var(--nx-amber));
  color: #ffffff;
  box-shadow: 0 0 22px rgba(123, 69, 255, .45);
}

.page-home .home-nav__list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-nav__list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--nx-mist);
}

.page-home .home-nav__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 12px;
  height: 1px;
  background: var(--nx-jade);
}

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

.page-home .home-nav__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--nx-radius);
  border: 1px solid var(--nx-glass-line);
  object-fit: cover;
}

.page-home .home-nav__figure .nx-media__cap {
  display: block;
  margin-top: 10px;
  font-family: var(--nx-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--nx-mist);
}

/* ---------- 数据带 ---------- */
.page-home .home-band {
  position: relative;
  overflow: hidden;
  margin-block: clamp(36px, 5.5vw, 76px);
  padding-block: clamp(28px, 4vw, 46px);
  border-top: 1px solid var(--nx-glass-line);
  border-bottom: 1px solid var(--nx-glass-line);
  background: linear-gradient(96deg, rgba(123, 69, 255, .2), rgba(232, 184, 92, .13) 56%, rgba(63, 210, 199, .12));
}

.page-home .home-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, var(--nx-gold) 0 1px, transparent 1px 48px);
  opacity: .12;
}

.page-home .home-band__list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 28px);
}

.page-home .home-band__num {
  display: block;
  font-family: var(--nx-mono);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  letter-spacing: .02em;
  line-height: 1.1;
  color: var(--nx-gold);
}

.page-home .home-band__label {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--nx-mist);
}

.page-home .home-band__foot {
  position: relative;
  margin: 26px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(244, 242, 248, .75);
}

.page-home .home-band__foot a {
  color: var(--nx-violet-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(180, 155, 255, .5);
}

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

/* ---------- 收束 ---------- */
.page-home .home-close-wrap {
  padding-bottom: clamp(40px, 6vw, 80px);
}

.page-home .home-close {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 320px;
  border-radius: 24px;
  border: 1px solid var(--nx-glass-line);
}

.page-home .home-close__stage {
  position: absolute;
  inset: 0;
}

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

.page-home .home-close__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, rgba(8, 7, 13, .95), rgba(19, 17, 32, .74));
}

.page-home .home-close__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  align-content: center;
  max-width: 48em;
  padding: clamp(28px, 5vw, 62px);
}

.page-home .home-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.page-home .home-close__minor {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--nx-mist);
}

.page-home .home-close__minor a {
  color: var(--nx-violet-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(180, 155, 255, .45);
}

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

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .page-home .home-duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-band__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__frame {
    min-height: min(76vh, 640px);
  }

  .page-home .home-hero__body {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: clamp(26px, 4vw, 56px);
  }

  .page-home .home-hero__card {
    margin-top: 0;
    margin-bottom: 8px;
  }

  .page-home .home-bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(128px, auto);
  }

  .page-home .home-bento__focus {
    grid-column: span 4;
    grid-row: span 3;
  }

  .page-home .home-bento__tile {
    grid-column: span 2;
  }

  .page-home .home-bento__band {
    grid-column: span 3;
  }

  .page-home .home-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .page-home .home-nav__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: center;
    gap: clamp(32px, 5vw, 76px);
  }
}

@media (max-width: 400px) {
  .page-home .home-hero__title {
    font-size: 2.1rem;
  }

  .page-home .home-band__list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-card,
  .page-home .home-hero__list a,
  .page-home .home-step summary::after {
    transition: none;
  }

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