.page-home {
  --home-gap: clamp(48px, 8vw, 96px);
  --home-body-dark: rgba(245, 248, 246, 0.82);
  --home-body-light: #4A5C6B;
  --home-slice: 36px;
  background: var(--ink);
  color: var(--cloud);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ---------- 通用排版 ---------- */
.page-home .eyebrow {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pitch);
  margin: 0 0 12px;
}

.page-home .section-head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.page-home .section-head__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(28px, 4.8vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.008em;
  margin: 0 0 14px;
  color: inherit;
}

.page-home .lead {
  font-size: clamp(16px, 1.7vw, 17.5px);
  line-height: 1.78;
  margin: 0;
  max-width: 58ch;
  color: var(--home-body-dark);
}

.page-home .steps .lead,
.page-home .entries .lead,
.page-home .legacy .lead {
  color: var(--home-body-light);
}

.page-home .steps .eyebrow,
.page-home .entries .eyebrow,
.page-home .legacy .eyebrow {
  color: var(--pitch-deep);
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.page-home .btn--signal {
  background: var(--signal);
  color: #fff;
}

.page-home .btn--signal:hover {
  background: #E85A0C;
  transform: translateY(-2px);
}

.page-home .btn--primary {
  background: var(--pitch);
  color: #fff;
}

.page-home .btn--primary:hover {
  background: var(--pitch-deep);
  transform: translateY(-2px);
}

.page-home .btn--ghost {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}

.page-home .btn--ghost:hover {
  background: rgba(127, 127, 127, 0.14);
  transform: translateY(-2px);
}

.page-home .btn:focus-visible,
.page-home .entries__link:focus-visible,
.page-home .tabs__btn:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  padding: clamp(28px, 5vw, 56px) 0 clamp(72px, 10vw, 130px);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: -14% -18% auto -18%;
  height: 78%;
  background:
    radial-gradient(58% 78% at 74% 4%, rgba(23, 168, 91, 0.34), transparent 68%),
    radial-gradient(46% 62% at 8% 12%, rgba(255, 106, 26, 0.16), transparent 70%);
  pointer-events: none;
}

.page-home .hero__pitch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.11;
  pointer-events: none;
  z-index: 1;
}

.page-home .hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 34px;
  align-items: center;
}

.page-home .breadcrumbs ol {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 13px;
}

.page-home .breadcrumbs__current {
  font-family: var(--font-data);
  letter-spacing: 0.08em;
  color: var(--gray);
}

.page-home .hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(42px, 11vw, 100px);
  line-height: 0.94;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  color: var(--cloud);
  text-wrap: balance;
}

.page-home .hero__title-mark {
  display: block;
  color: var(--yellow);
  position: relative;
}

.page-home .hero__title-mark::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 22%;
  bottom: 0.08em;
  height: 8px;
  border-radius: 4px;
  background: var(--grad-edge);
  opacity: 0.7;
}

.page-home .hero__lead {
  max-width: 44ch;
  font-size: clamp(16px, 1.9vw, 18px);
  line-height: 1.78;
  color: var(--home-body-dark);
  margin: 0 0 28px;
}

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

.page-home .hero__metrics {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.page-home .hero__metric {
  border-top: 2px solid rgba(255, 212, 71, 0.48);
  padding-top: 12px;
}

.page-home .hero__metric-num {
  display: block;
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.1;
  color: var(--yellow);
}

.page-home .hero__metric-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray);
}

.page-home .hero__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 96%);
}

.page-home .hero__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.page-home .hero__media-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px clamp(16px, 3vw, 26px);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cloud);
  background: linear-gradient(180deg, rgba(11, 27, 43, 0), rgba(11, 27, 43, 0.86));
}

/* ---------- 三步路径 ---------- */
.page-home .steps {
  position: relative;
  background: var(--cloud);
  color: var(--ink);
  padding: clamp(80px, 11vw, 140px) 0 clamp(56px, 8vw, 96px);
  clip-path: polygon(0 var(--home-slice), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(var(--home-slice) * -1);
}

.page-home .steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.page-home .steps__item {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 26px 24px 24px 30px;
  min-height: 168px;
}

.page-home .steps__item::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--pitch), var(--pitch-deep));
}

.page-home .steps__item:nth-child(2)::before {
  background: linear-gradient(180deg, var(--signal), #C74A00);
}

.page-home .steps__item:nth-child(3)::before {
  background: linear-gradient(180deg, var(--yellow), var(--signal));
}

.page-home .steps__no {
  display: block;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--pitch-deep);
  margin-bottom: 14px;
}

.page-home .steps__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--ink);
}

.page-home .steps__text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--home-body-light);
}

/* ---------- 通勤与联赛切换 ---------- */
.page-home .commute {
  background: var(--ink-layer);
  color: var(--cloud);
  padding: clamp(64px, 9vw, 112px) 0;
}

.page-home .commute__inner {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home .commute__lead {
  font-size: clamp(16px, 1.8vw, 17.5px);
  line-height: 1.78;
  color: var(--home-body-dark);
  margin: 0 0 26px;
  max-width: 52ch;
}

.page-home .commute__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .commute__facts li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--home-body-dark);
}

.page-home .commute__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 2px;
  background: var(--signal);
}

.page-home .commute__facts b {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  color: var(--yellow);
  font-weight: 700;
}

.page-home .commute__figure {
  margin: 0;
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: 0 30px 60px -44px rgba(0, 0, 0, 0.9);
}

.page-home .commute__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.page-home .tabs {
  margin-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid rgba(227, 234, 232, 0.16);
  padding-top: 26px;
}

.page-home .tabs__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .tabs__btn {
  appearance: none;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(227, 234, 232, 0.24);
  background: transparent;
  color: var(--cloud);
  font-family: var(--font-body);
  font-size: 14.5px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.page-home .tabs__btn:hover {
  border-color: var(--pitch);
}

.page-home .tabs__btn[aria-selected="true"] {
  background: var(--signal);
  border-color: var(--signal);
  color: #fff;
  font-weight: 600;
}

.page-home .tabs__panel {
  display: block;
  margin-top: 26px;
  background: rgba(227, 234, 232, 0.06);
  border: 1px solid rgba(227, 234, 232, 0.14);
  border-radius: var(--r-m);
  padding: clamp(20px, 3vw, 30px);
}

.page-home .tabs__panel + .tabs__panel {
  margin-top: 16px;
}

.has-js .page-home .tabs__panel {
  display: none;
}

.has-js .page-home .tabs__panel.is-active {
  display: block;
}

.page-home .panel-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
  color: var(--yellow);
}

.page-home .panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .panel-list li {
  border-left: 2px solid var(--pitch);
  padding-left: 14px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--home-body-dark);
}

.page-home .panel-list b {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  color: var(--yellow);
  font-weight: 700;
}

/* ---------- 三入口 ---------- */
.page-home .entries {
  position: relative;
  background: var(--cloud);
  color: var(--ink);
  padding: clamp(80px, 11vw, 136px) 0 clamp(64px, 9vw, 108px);
  clip-path: polygon(100% var(--home-slice), 0 0, 0 100%, 100% 100%);
}

.page-home .entries__grid {
  display: grid;
  gap: 20px;
}

.page-home .entries__card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 28px 24px 24px;
  box-shadow: 0 22px 46px -40px rgba(11, 27, 43, 0.65);
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.page-home .entries__card--accent {
  background: var(--ink);
  border-color: transparent;
  color: var(--cloud);
}

.page-home .entries__tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(23, 168, 91, 0.14);
  color: var(--pitch-deep);
  margin-bottom: 16px;
}

.page-home .entries__card--accent .entries__tag {
  background: rgba(255, 212, 71, 0.16);
  color: var(--yellow);
}

.page-home .entries__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(21px, 2.4vw, 25px);
  line-height: 1.22;
  margin: 0 0 12px;
  color: inherit;
}

.page-home .entries__text {
  margin: 0 0 20px;
  font-size: 15.5px;
  line-height: 1.76;
  color: var(--home-body-light);
  flex: 1;
}

.page-home .entries__card--accent .entries__text {
  color: var(--home-body-dark);
}

.page-home .entries__link {
  align-self: flex-start;
  font-size: 15px;
  font-weight: 600;
  color: var(--pitch-deep);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

.page-home .entries__card--accent .entries__link {
  color: var(--yellow);
}

.page-home .entries__link:hover {
  color: var(--signal);
}

.page-home .venue-band {
  position: relative;
  margin: clamp(36px, 5vw, 60px) 0 0;
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--ink);
}

.page-home .venue-band__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: 0.6;
}

.page-home .venue-band__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(18px, 3vw, 30px);
  font-size: clamp(14.5px, 1.6vw, 17px);
  line-height: 1.7;
  color: var(--cloud);
  background: linear-gradient(180deg, rgba(11, 27, 43, 0), rgba(11, 27, 43, 0.94));
}

.page-home .venue-band__cap b {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  color: var(--yellow);
  margin-right: 4px;
}

/* ---------- 老设备 ---------- */
.page-home .legacy {
  background: #EAF3EE;
  color: var(--ink);
  padding: clamp(56px, 8vw, 96px) 0;
}

.page-home .legacy__inner {
  display: grid;
  gap: 28px;
}

.page-home .legacy__text {
  font-size: clamp(15.5px, 1.7vw, 17px);
  line-height: 1.8;
  color: var(--home-body-light);
  margin: 0 0 24px;
  max-width: 60ch;
}

.page-home .legacy__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .legacy__panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 24px 22px;
}

.page-home .legacy__panel-title {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--pitch-deep);
  margin: 0 0 16px;
}

.page-home .legacy__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-home .legacy__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.5;
}

.page-home .legacy__list li:last-child {
  border-bottom: 0;
}

.page-home .legacy__ok {
  flex: none;
  font-family: var(--font-data);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--pitch);
  color: #fff;
}

.page-home .legacy__hint {
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--gray);
}

/* ---------- 版本线 ---------- */
.page-home .releases {
  background: var(--ink);
  color: var(--cloud);
  padding: clamp(80px, 11vw, 132px) 0 clamp(64px, 9vw, 104px);
  clip-path: polygon(0 0, 100% var(--home-slice), 100% 100%, 0 100%);
}

.page-home .releases__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-home .releases__item {
  position: relative;
  background: rgba(227, 234, 232, 0.05);
  border: 1px solid rgba(227, 234, 232, 0.14);
  border-radius: var(--r-m);
  padding: 22px 22px 20px;
}

.page-home .releases__item--current {
  background: rgba(23, 168, 91, 0.14);
  border-color: rgba(255, 212, 71, 0.42);
}

.page-home .releases__ver {
  display: inline-block;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.04em;
  color: var(--yellow);
  margin-bottom: 12px;
}

.page-home .releases__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--cloud);
}

.page-home .releases__desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--home-body-dark);
}

.page-home .releases__foot {
  display: grid;
  gap: 26px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid rgba(227, 234, 232, 0.16);
}

.page-home .releases__figure {
  margin: 0;
  border-radius: var(--r-m);
  overflow: hidden;
}

.page-home .releases__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-home .releases__notes-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  margin: 0 0 16px;
  color: var(--cloud);
}

.page-home .releases__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .releases__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--home-body-dark);
}

.page-home .releases__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 2px;
  background: var(--yellow);
}

.page-home .releases__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 进入视口显现 ---------- */
.page-home [data-reveal] {
  opacity: 1;
}

.has-js .page-home [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.has-js .page-home [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .hero__metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .panel-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .venue-band__img {
    aspect-ratio: 16 / 7;
  }
}

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

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

  .page-home .entries__card:nth-child(2) {
    transform: translateY(-20px);
  }

  .page-home .entries__card:nth-child(3) {
    transform: translateY(14px);
  }

  .page-home .legacy__inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 40px;
    align-items: start;
  }

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

  .page-home .releases__foot {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 52px;
  }

  .page-home .hero__media {
    transform: translateY(-14px);
  }

  .page-home .commute__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 48px;
  }

  .page-home .commute__figure {
    transform: translateY(-24px);
  }

  .page-home .entries__grid {
    column-gap: 26px;
  }
}

@media (min-width: 1280px) {
  .page-home .hero__lead {
    max-width: 46ch;
  }
}

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

  .page-home .btn:hover,
  .page-home .commute__figure,
  .page-home .entries__card:nth-child(2),
  .page-home .entries__card:nth-child(3) {
    transform: none;
  }

  .has-js .page-home [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
