.page-home {
  position: relative;
}

.page-home .hm-head {
  margin: 0 0 26px;
  max-width: 860px;
}
.page-home .hm-head .headline {
  margin: 10px 0 0;
}
.page-home .hm-head__note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.page-home .hm-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 32px;
  max-width: none;
  margin-bottom: 22px;
}
.page-home .hm-head--split > div {
  flex: 1 1 320px;
}
.page-home .hm-head--split .hm-head__note {
  flex: 0 1 320px;
  margin: 0;
}

.page-home .hm-link {
  display: inline-block;
  color: var(--cyan);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 230, 224, 0.4);
  padding-bottom: 2px;
}
.page-home .hm-link:hover,
.page-home .hm-link:focus-visible {
  color: #8DF4F0;
  border-bottom-color: #8DF4F0;
}

/* ---------- 首屏框景 ---------- */
.page-home .hm-hero {
  padding: 26px 0 6px;
}

.page-home .hm-frame {
  position: relative;
  padding: clamp(26px, 3.4vw, 48px) clamp(22px, 3vw, 46px) clamp(30px, 3.6vw, 52px);
  background:
    radial-gradient(120% 100% at 92% 2%, rgba(255, 138, 61, 0.22), transparent 58%),
    radial-gradient(110% 90% at 2% 100%, rgba(155, 92, 255, 0.26), transparent 62%),
    var(--panel);
  clip-path: polygon(0 34px, 34px 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
  box-shadow:
    inset 0 0 0 1px var(--line),
    inset 0 1px 0 rgba(244, 241, 233, 0.14),
    0 26px 70px rgba(0, 0, 0, 0.5);
}
.page-home .hm-frame::before {
  content: "";
  position: absolute;
  inset: 12px 18px auto 18px;
  height: 7px;
  background-image: repeating-linear-gradient(90deg, rgba(53, 230, 224, 0.55) 0 1px, transparent 1px 14px);
  opacity: 0.65;
  pointer-events: none;
}
.page-home .hm-frame::after {
  content: "";
  position: absolute;
  inset: 20px auto 20px 13px;
  width: 6px;
  background-image: repeating-linear-gradient(180deg, rgba(155, 92, 255, 0.55) 0 1px, transparent 1px 18px);
  opacity: 0.6;
  pointer-events: none;
}

.page-home .hm-hero__grid {
  display: grid;
  gap: 30px;
  align-items: center;
}
@media (min-width: 880px) {
  .page-home .hm-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 46px;
  }
}

.page-home .hm-hero__title {
  margin: 12px 0 0;
  font-size: clamp(2.1rem, 7vw, 5.1rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}
.page-home .hm-hero__lead {
  margin: 20px 0 0;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.78;
  color: rgba(244, 241, 233, 0.84);
  max-width: 34em;
}
.page-home .hm-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.page-home .hm-hero__meta li {
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(168, 240, 58, 0.08);
  box-shadow: inset 0 0 0 1px rgba(168, 240, 58, 0.34);
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.page-home .hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .hm-hero__visual {
  position: relative;
}
.page-home .hm-hero__figure {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  box-shadow:
    0 0 0 1px var(--line),
    0 24px 60px rgba(155, 92, 255, 0.28);
}
.page-home .hm-hero__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .hm-hero__stamp {
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  padding: 7px 14px;
  font-size: 12.5px;
  border-radius: 999px;
  background: rgba(15, 16, 32, 0.86);
  color: var(--lime);
  box-shadow: inset 0 0 0 1px rgba(168, 240, 58, 0.45);
}

/* ---------- 礼包入口条带 ---------- */
.page-home .hm-gift__box {
  display: grid;
  gap: 26px;
  padding: clamp(22px, 3vw, 40px);
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(255, 138, 61, 0.24), transparent 62%),
    radial-gradient(80% 120% at 0% 100%, rgba(155, 92, 255, 0.18), transparent 60%),
    var(--panel);
  clip-path: polygon(0 18px, 18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}
@media (min-width: 840px) {
  .page-home .hm-gift__box {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 42px;
  }
}
.page-home .hm-gift__text {
  margin: 14px 0 26px;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(244, 241, 233, 0.84);
}
.page-home .hm-gift__figure {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  box-shadow: 0 0 0 1px var(--line);
}
.page-home .hm-gift__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 平台做什么 ---------- */
.page-home .hm-what__grid {
  gap: 30px 34px;
}
.page-home .hm-what__lead p {
  margin: 0;
  color: rgba(244, 241, 233, 0.86);
}
.page-home .hm-what__lead p + p {
  margin-top: 16px;
}
.page-home .hm-what__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.page-home .hm-what__item {
  position: relative;
  padding: 18px 18px 18px 52px;
  background: rgba(25, 28, 48, 0.72);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.page-home .hm-what__item::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 23px;
  width: 12px;
  height: 12px;
  background: var(--accent, var(--cyan));
  box-shadow: 0 0 14px var(--accent, var(--cyan));
}
.page-home .hm-what__item--a {
  --accent: var(--cyan);
}
.page-home .hm-what__item--b {
  --accent: var(--lime);
}
.page-home .hm-what__item--c {
  --accent: var(--peach);
}
.page-home .hm-what__item h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--ink);
}
.page-home .hm-what__item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 六类栏目 Bento ---------- */
.page-home .hm-cols__top {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}
@media (min-width: 900px) {
  .page-home .hm-cols__top {
    grid-template-columns: 1.12fr 0.88fr;
    align-items: end;
    gap: 42px;
  }
}
.page-home .hm-cols__top .hm-head {
  margin-bottom: 0;
}
.page-home .hm-cols__figure {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  clip-path: polygon(0 20px, 20px 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: 0 0 0 1px var(--line);
}
.page-home .hm-cols__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hm-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 520px) {
  .page-home .hm-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 760px) {
  .page-home .hm-bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
  }
}

.page-home .hm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 150px;
  padding: 22px 20px 20px;
  color: var(--ink);
  text-decoration: none;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}
.page-home .hm-card::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 3px;
  background: var(--accent, var(--cyan));
  opacity: 0.85;
}
.page-home .hm-card:hover,
.page-home .hm-card:focus-visible {
  transform: translateY(-6px) rotate(-1.2deg);
  background: #1D2138;
  box-shadow:
    inset 0 0 0 1px var(--cyan),
    0 14px 36px rgba(53, 230, 224, 0.22);
}
.page-home .hm-card--a { --accent: var(--cyan); }
.page-home .hm-card--b { --accent: var(--grape); }
.page-home .hm-card--c { --accent: var(--peach); }
.page-home .hm-card--d { --accent: var(--lime); }
.page-home .hm-card--e { --accent: var(--cyan); }
.page-home .hm-card--f { --accent: var(--grape); }

.page-home .hm-card__ico {
  width: 26px;
  height: 26px;
  background: var(--accent, var(--cyan));
  box-shadow: 0 0 16px var(--accent, var(--cyan));
  clip-path: polygon(0 0, 72% 0, 100% 28%, 100% 100%, 28% 100%, 0 72%);
}
.page-home .hm-card__kicker {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 12px;
  color: rgba(142, 149, 178, 0.72);
}
.page-home .hm-card__title {
  margin: 14px 0 0;
  font-size: 19px;
  line-height: 1.4;
}
.page-home .hm-card__desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}
.page-home .hm-card__go {
  margin-top: auto;
  padding-top: 14px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent, var(--cyan));
}

@media (min-width: 760px) {
  .page-home .hm-card--a { grid-column: span 5; }
  .page-home .hm-card--b { grid-column: span 4; margin-top: 16px; }
  .page-home .hm-card--c { grid-column: span 3; margin-top: 28px; }
  .page-home .hm-card--d { grid-column: span 3; }
  .page-home .hm-card--e { grid-column: span 4; margin-top: 24px; }
  .page-home .hm-card--f { grid-column: span 5; margin-top: 6px; }
}

/* ---------- 当季设备 ---------- */
.page-home .hm-equip__inner {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .page-home .hm-equip__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
  }
}
.page-home .hm-equip__copy .prose {
  color: rgba(244, 241, 233, 0.86);
}
.page-home .hm-equip__points {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
  display: grid;
  gap: 15px;
}
.page-home .hm-equip__point {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.page-home .hm-equip__point p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--muted);
}
.page-home .hm-equip__point strong {
  color: var(--ink);
  font-weight: 600;
}
.page-home .hm-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(168, 240, 58, 0.8);
}
.page-home .hm-equip__figure {
  margin: 0;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
  box-shadow:
    0 0 0 1px var(--line),
    0 24px 60px rgba(53, 230, 224, 0.16);
}
.page-home .hm-equip__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 换机重装 ---------- */
.page-home .hm-switch__band {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 3.2vw, 46px);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(155, 92, 255, 0.30), transparent 58%),
    radial-gradient(110% 130% at 100% 100%, rgba(53, 230, 224, 0.18), transparent 60%),
    var(--panel);
  clip-path: polygon(0 22px, 22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}
@media (min-width: 880px) {
  .page-home .hm-switch__band {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 46px;
  }
}
.page-home .hm-switch__copy p {
  margin: 14px 0 18px;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(244, 241, 233, 0.82);
}
.page-home .hm-switch__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-home .hm-switch__tags li {
  font-size: 13px;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(15, 16, 32, 0.62);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* ---------- 三步上手 ---------- */
.page-home .hm-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
@media (min-width: 820px) {
  .page-home .hm-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}
.page-home .hm-step {
  position: relative;
  padding: 26px 22px 24px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.page-home .hm-step__no {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--peach);
  margin-bottom: 12px;
}
.page-home .hm-step h3 {
  margin: 0 0 10px;
  font-size: 20px;
}
.page-home .hm-step p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- 更新记录横轴 ---------- */
.page-home .hm-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px max(16px, calc((100% - var(--wrap)) / 2)) 20px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--grape) rgba(44, 49, 80, 0.5);
}
.page-home .hm-rail::-webkit-scrollbar {
  height: 6px;
}
.page-home .hm-rail::-webkit-scrollbar-track {
  background: rgba(44, 49, 80, 0.5);
  border-radius: 99px;
}
.page-home .hm-rail::-webkit-scrollbar-thumb {
  background: var(--grape);
  border-radius: 99px;
}
.page-home .hm-rail__item {
  flex: 0 0 min(330px, 80vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 20px 22px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 14px, 14px 0, 100% 0, 100% 100%, 0 100%);
}
.page-home .hm-rail__item .mono {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.page-home .hm-rail__item h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}
.page-home .hm-rail__item p {
  margin: 0;
  flex: 1;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}
.page-home .hm-rail__item .badge {
  align-self: flex-start;
}
.page-home .hm-updates__more {
  margin: 8px 0 0;
}

/* ---------- 还有疑问 ---------- */
.page-home .hm-help__grid {
  gap: 26px 34px;
}
.page-home .hm-faq {
  display: grid;
  gap: 12px;
}
.page-home .hm-faq__item {
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 12px, 12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.page-home .hm-faq__item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.page-home .hm-faq__item summary::-webkit-details-marker {
  display: none;
}
.page-home .hm-faq__item summary::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--cyan);
}
.page-home .hm-faq__item[open] summary::before {
  content: "−";
}
.page-home .hm-faq__item p {
  margin: 0;
  padding: 0 20px 18px 46px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .hm-contact {
  height: 100%;
  padding: clamp(22px, 2.6vw, 34px);
  background:
    radial-gradient(100% 110% at 100% 0%, rgba(255, 138, 61, 0.20), transparent 60%),
    var(--panel);
}
.page-home .hm-contact h3 {
  margin: 0 0 10px;
  font-size: 22px;
}
.page-home .hm-contact p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}
.page-home .hm-contact dl {
  margin: 0 0 24px;
  display: grid;
  gap: 14px;
}
.page-home .hm-contact dt {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.page-home .hm-contact dd {
  margin: 6px 0 0;
  font-size: 16px;
}
.page-home .hm-contact dd a {
  color: var(--cyan);
  text-decoration: none;
  word-break: break-all;
}
.page-home .hm-contact dd a:hover,
.page-home .hm-contact dd a:focus-visible {
  color: #8DF4F0;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-card {
    transition: none;
  }
  .page-home .hm-card:hover,
  .page-home .hm-card:focus-visible {
    transform: none;
  }
}
