.page-home {
  background: var(--jn-paper);
  color: var(--jn-text);
}

/* ---------- 面包屑 ---------- */
.page-home .hm-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--jn-deep);
}

.page-home .hm-crumb__sep {
  color: var(--jn-fog);
}

.page-home .hm-crumb__item--muted {
  color: var(--jn-grey);
  font-weight: 500;
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  padding: clamp(16px, 3vw, 32px) 0 clamp(40px, 6vw, 88px);
  overflow: hidden;
}

.page-home .hm-hero::before {
  content: "";
  position: absolute;
  top: -12%;
  right: -20%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(18, 168, 160, 0.14), rgba(18, 168, 160, 0) 62%);
  pointer-events: none;
}

.page-home .hm-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(16px, 2.4vw, 28px);
}

.page-home .hm-hero__title {
  margin: 14px 0 0;
  font-size: clamp(42px, 11vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--jn-ink);
  font-stretch: condensed;
}

.page-home .hm-hero__title em {
  font-style: normal;
  display: inline-block;
  color: var(--jn-deep);
  box-shadow: inset 0 -0.16em 0 rgba(18, 168, 160, 0.26);
}

.page-home .hm-hero__summary {
  margin: 22px 0 0;
  max-width: 46ch;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.75;
  color: var(--jn-text);
}

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

.page-home .hm-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--jn-line);
  list-style: none;
}

.page-home .hm-fact__num {
  display: block;
  font-family: var(--jn-mono);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--jn-deep);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-fact__unit {
  font-size: 0.62em;
  margin-left: 2px;
}

.page-home .hm-fact__label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--jn-grey);
}

.page-home .hm-hero__figure {
  position: relative;
  margin: 30px 0 0;
  border-radius: var(--jn-r-lg);
  overflow: hidden;
  box-shadow: var(--jn-shadow);
  background: var(--jn-ink);
}

.page-home .hm-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-home .hm-hero__figure figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--jn-paper);
  background: rgba(11, 31, 42, 0.76);
  border-top-right-radius: var(--jn-r-sm);
}

/* ---------- 索引命令卡 ---------- */
.page-home .hm-index {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--jn-r-lg);
  background: var(--jn-ink);
  color: var(--jn-paper);
  box-shadow: var(--jn-shadow);
}

.page-home .hm-index::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -24%;
  width: 78%;
  height: 180%;
  background: radial-gradient(circle at 30% 30%, rgba(18, 168, 160, 0.5), rgba(18, 168, 160, 0) 62%);
  transform: skewY(-6deg);
  pointer-events: none;
}

.page-home .hm-index__top {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
}

.page-home .hm-index__title {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(251, 253, 252, 0.62);
}

.page-home .hm-index__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--jn-mono);
  font-size: 11.5px;
  color: rgba(251, 253, 252, 0.74);
}

.page-home .hm-index__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jn-signal);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.18);
  animation: hm-pulse 2.4s var(--jn-ease) infinite;
}

@keyframes hm-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.32;
  }
}

.page-home .hm-index__list {
  position: relative;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.page-home .hm-index__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  grid-template-areas:
    "num label arrow"
    "num hint arrow";
  align-items: center;
  column-gap: 12px;
  row-gap: 2px;
  min-height: 58px;
  padding: 13px 6px;
  border-bottom: 1px solid rgba(227, 245, 241, 0.14);
  color: var(--jn-paper);
  text-decoration: none;
  border-radius: var(--jn-r-sm);
  transition: background 0.2s var(--jn-ease), padding-left 0.2s var(--jn-ease);
}

.page-home .hm-index__list > li:last-child .hm-index__item {
  border-bottom: 0;
}

.page-home .hm-index__item:hover,
.page-home .hm-index__item:focus-visible {
  background: rgba(227, 245, 241, 0.09);
  padding-left: 12px;
}

.page-home .hm-index__num {
  grid-area: num;
  font-family: var(--jn-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--jn-teal);
}

.page-home .hm-index__label {
  grid-area: label;
  font-size: 17px;
  font-weight: 700;
  color: var(--jn-paper);
}

.page-home .hm-index__hint {
  grid-area: hint;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(251, 253, 252, 0.62);
  opacity: 0.72;
  transition: opacity 0.2s var(--jn-ease);
}

.page-home .hm-index__item:hover .hm-index__hint,
.page-home .hm-index__item:focus-visible .hm-index__hint {
  opacity: 1;
}

.page-home .hm-index__arrow {
  grid-area: arrow;
  justify-self: end;
  font-size: 14px;
  color: var(--jn-signal);
  transition: transform 0.2s var(--jn-ease);
}

.page-home .hm-index__item:hover .hm-index__arrow {
  transform: translateX(4px);
}

.page-home .hm-index__foot {
  position: relative;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(227, 245, 241, 0.14);
  font-family: var(--jn-mono);
  font-size: 11.5px;
  color: rgba(251, 253, 252, 0.55);
}

.page-home .hm-hero__device {
  margin: 18px 0 0;
  border: 1px solid var(--jn-line);
  border-radius: var(--jn-r-lg);
  overflow: hidden;
  background: var(--jn-paper);
}

.page-home .hm-hero__device img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .hm-hero__device figcaption {
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--jn-grey);
  border-top: 1px solid var(--jn-line);
}

/* ---------- 章节标题组 ---------- */
.page-home .hm-sectionhead {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.page-home .hm-h2 {
  margin: 8px 0 0;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--jn-ink);
}

.page-home .hm-sectionhead__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--jn-grey);
}

/* ---------- 赛程泳道 ---------- */
.page-home .hm-schedule {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 80px) 0;
  background: linear-gradient(180deg, #eaf7f4 0%, var(--jn-paper) 100%);
}

.page-home .hm-schedule::before {
  content: "";
  position: absolute;
  top: 26px;
  left: -8%;
  right: -8%;
  height: 230px;
  background: linear-gradient(
    100deg,
    rgba(18, 168, 160, 0.18) 0 44%,
    rgba(255, 90, 31, 0.1) 44% 56%,
    rgba(18, 168, 160, 0) 56%
  );
  transform: skewY(-6deg);
  pointer-events: none;
}

.page-home .hm-schedule > .jn-shell {
  position: relative;
}

.page-home .hm-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.page-home .hm-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12.5px;
  color: var(--jn-grey);
}

.page-home .hm-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-home .hm-legend__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.page-home .hm-legend__dot--live {
  background: var(--jn-signal);
}

.page-home .hm-legend__dot--changed {
  background: var(--jn-amber);
}

.page-home .hm-legend__dot--pending {
  background: transparent;
  border: 1.5px dashed var(--jn-fog);
}

.page-home .hm-legend__dot--done {
  background: var(--jn-fog);
}

.page-home .hm-events {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-home .hm-event {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 16px;
  align-items: start;
  padding: 16px 18px;
  min-width: 0;
  background: var(--jn-paper);
  border: 1px solid var(--jn-line);
  border-radius: var(--jn-r);
  transition: transform 0.2s var(--jn-ease), box-shadow 0.2s var(--jn-ease),
    border-color 0.2s var(--jn-ease);
}

.page-home .hm-event:hover {
  transform: translateY(-2px);
  box-shadow: var(--jn-shadow);
  border-color: rgba(18, 168, 160, 0.5);
}

.page-home .hm-event__stamp {
  display: grid;
  gap: 2px;
  font-family: var(--jn-mono);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-event__day {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--jn-grey);
}

.page-home .hm-event__time {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--jn-ink);
}

.page-home .hm-event__body {
  min-width: 0;
}

.page-home .hm-event__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
}

.page-home .hm-event__league {
  font-size: 15px;
  font-weight: 700;
  color: var(--jn-ink);
}

.page-home .hm-event__meta {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--jn-grey);
}

.page-home .hm-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.page-home .hm-chip--live {
  background: var(--jn-signal);
  color: var(--jn-ink);
}

.page-home .hm-chip--changed {
  background: rgba(255, 176, 32, 0.22);
  border-color: rgba(255, 176, 32, 0.6);
  color: var(--jn-ink);
}

.page-home .hm-chip--pending {
  background: transparent;
  border: 1px dashed var(--jn-fog);
  color: var(--jn-grey);
}

.page-home .hm-chip--done {
  background: rgba(143, 166, 170, 0.18);
  color: var(--jn-grey);
}

/* ---------- 使用路径 ---------- */
.page-home .hm-paths {
  padding: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid var(--jn-line);
}

.page-home .hm-paths__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

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

.page-home .hm-path__step {
  position: relative;
  padding: 16px 18px 16px 62px;
  background: var(--jn-mist);
  border: 1px solid rgba(18, 168, 160, 0.2);
  border-radius: var(--jn-r);
}

.page-home .hm-path__step::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 50px;
  bottom: -18px;
  width: 1px;
  background: linear-gradient(180deg, rgba(18, 168, 160, 0.55), rgba(18, 168, 160, 0.04));
}

.page-home .hm-path__step:last-child::after {
  display: none;
}

.page-home .hm-path__num {
  position: absolute;
  left: 14px;
  top: 16px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--jn-paper);
  border: 1px solid rgba(18, 168, 160, 0.3);
  font-family: var(--jn-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--jn-deep);
}

.page-home .hm-path__step:first-child .hm-path__num {
  background: var(--jn-signal);
  border-color: transparent;
  color: var(--jn-ink);
}

.page-home .hm-path__title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--jn-ink);
}

.page-home .hm-path__text {
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--jn-text);
}

.page-home .hm-paths__figure {
  margin: 0;
  border-radius: var(--jn-r-lg);
  overflow: hidden;
  background: var(--jn-ink);
  box-shadow: var(--jn-shadow);
}

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

.page-home .hm-paths__figure figcaption {
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(251, 253, 252, 0.78);
  border-top: 1px solid rgba(227, 245, 241, 0.14);
}

.page-home .hm-paths__note {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--jn-amber);
  font-size: 14px;
  line-height: 1.7;
  color: var(--jn-grey);
}

.page-home .hm-paths__note a {
  color: var(--jn-deep);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(18, 168, 160, 0.45);
}

/* ---------- 三块核心内容 ---------- */
.page-home .hm-pillars-section {
  padding: clamp(40px, 6vw, 80px) 0;
  background: var(--jn-mist);
}

.page-home .hm-pillars {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--jn-gap);
}

.page-home .hm-pillar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid var(--jn-line);
  border-radius: var(--jn-r-lg);
  background: var(--jn-paper);
}

.page-home .hm-pillar__title {
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.32;
  font-weight: 800;
  color: var(--jn-ink);
}

.page-home .hm-pillar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-home .hm-pillar__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.66;
  color: var(--jn-text);
}

.page-home .hm-pillar__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 1px;
  background: var(--jn-teal);
}

.page-home .hm-pillar__link {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 0 2px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--jn-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(18, 168, 160, 0.45);
}

.page-home .hm-pillar__link:hover {
  color: var(--jn-ink);
  border-bottom-color: var(--jn-signal);
}

.page-home .hm-pillar--a {
  background: var(--jn-ink);
  border-color: transparent;
}

.page-home .hm-pillar--a .hm-pillar__title {
  color: var(--jn-paper);
}

.page-home .hm-pillar--a .hm-pillar__list li {
  color: rgba(251, 253, 252, 0.82);
}

.page-home .hm-pillar--a .hm-pillar__list li::before {
  background: var(--jn-teal);
}

.page-home .hm-pillar--a .hm-pillar__link {
  color: var(--jn-signal);
  border-bottom-color: rgba(255, 90, 31, 0.5);
}

.page-home .hm-pillar--b {
  background: var(--jn-paper);
  border-color: rgba(18, 168, 160, 0.28);
}

.page-home .hm-pillar--c {
  border-left: 3px solid var(--jn-amber);
}

.page-home .hm-pillar__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
}

.page-home .hm-pillar__head .hm-pillar__link {
  margin-top: 0;
  padding-top: 0;
}

.page-home .hm-pillar__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--jn-text);
}

.page-home .hm-pillar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .hm-pillar__tags li {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 176, 32, 0.55);
  background: rgba(255, 176, 32, 0.14);
  font-size: 13px;
  font-weight: 700;
  color: var(--jn-ink);
}

/* ---------- 信任区 ---------- */
.page-home .hm-trust {
  padding: clamp(40px, 6vw, 88px) 0;
  border-top: 1px solid var(--jn-line);
}

.page-home .hm-trust__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

.page-home .hm-trust__text {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--jn-text);
}

.page-home .hm-trust__text--tight {
  margin-top: 22px;
  font-size: 14px;
  color: var(--jn-grey);
}

.page-home .hm-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
}

.page-home .hm-stat {
  padding: 14px 16px;
  border: 1px solid rgba(18, 168, 160, 0.22);
  border-radius: var(--jn-r);
  background: rgba(227, 245, 241, 0.6);
}

.page-home .hm-stat dt {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--jn-grey);
}

.page-home .hm-stat dd {
  margin: 6px 0 0;
  font-family: var(--jn-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--jn-deep);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-stat dd span {
  font-size: 13px;
  font-weight: 500;
  margin-left: 3px;
  color: var(--jn-grey);
}

.page-home .hm-trust__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .hm-trust__figure {
  position: relative;
  margin: 0;
  border-radius: var(--jn-r-lg);
  overflow: hidden;
  background: var(--jn-ink);
  box-shadow: var(--jn-shadow);
}

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

.page-home .hm-trust__figure figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--jn-paper);
  background: rgba(11, 31, 42, 0.72);
  border-top-right-radius: var(--jn-r-sm);
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-home .hm-events {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 860px) {
  .page-home .hm-sectionhead {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: 32px;
    margin-bottom: 32px;
  }

  .page-home .hm-sectionhead__text {
    padding-bottom: 6px;
  }
}

@media (min-width: 960px) {
  .page-home .hm-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(28px, 3.4vw, 56px);
    align-items: start;
  }

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

  .page-home .hm-paths__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .hm-trust__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    align-items: stretch;
  }

  .page-home .hm-trust__figure {
    height: 100%;
  }

  .page-home .hm-trust__figure img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 320px;
  }

  .page-home .hm-pillars {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .page-home .hm-pillar--a {
    grid-column: span 5;
  }

  .page-home .hm-pillar--b {
    grid-column: span 7;
  }

  .page-home .hm-pillar--c {
    grid-column: span 12;
  }
}

@media (min-width: 1180px) {
  .page-home .hm-events {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-index__dot {
    animation: none;
  }

  .page-home .hm-event,
  .page-home .hm-index__item,
  .page-home .hm-index__arrow {
    transition: none;
  }

  .page-home .hm-event:hover {
    transform: none;
  }
}
