.page-home {
  --home-gutter: clamp(18px, 4vw, 32px);
  --home-max: 1280px;
  --home-radius: 26px;
  --home-radius-sm: 14px;
  color: var(--paper);
  background:
    radial-gradient(70% 42% at 86% -6%, rgba(37, 240, 210, .08), transparent 62%),
    radial-gradient(52% 34% at 4% 22%, rgba(255, 107, 44, .06), transparent 72%),
    var(--ink);
}

/* ---------- 开场分屏 ---------- */
.page-home .home-open {
  padding: clamp(26px, 4.5vw, 60px) var(--home-gutter) clamp(30px, 5vw, 62px);
}

.page-home .home-open__grid {
  max-width: var(--home-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

.page-home .home-open__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.page-home .home-open__title {
  max-width: 12ch;
  line-height: .98;
  margin: 0;
}

.page-home .home-open__lead {
  max-width: 36ch;
  margin: 0;
  color: var(--paper);
  opacity: .86;
}

.page-home .home-open__figure {
  position: relative;
  margin: 6px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--home-radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--panel), var(--ink));
}

.page-home .home-open__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  filter: saturate(.82) contrast(1.06);
}

.page-home .home-open__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 22, 27, .12), rgba(4, 22, 27, .86));
  pointer-events: none;
}

/* 双入口 */
.page-home .home-open__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.page-home .entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  background: linear-gradient(155deg, rgba(10, 42, 50, .92), rgba(4, 22, 27, .96));
  color: var(--paper);
  text-decoration: none;
  overflow: hidden;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), background var(--t) var(--ease);
}

.page-home .entry::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: currentColor;
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}

.page-home .entry:hover,
.page-home .entry:focus-visible {
  transform: translateY(-2px);
}

.page-home .entry:hover::before,
.page-home .entry:focus-visible::before {
  opacity: 1;
}

.page-home .entry--cyan {
  color: var(--cyan);
}

.page-home .entry--lava {
  color: var(--lava);
}

.page-home .entry--cyan:hover,
.page-home .entry--cyan:focus-visible {
  border-color: var(--cyan);
  background: linear-gradient(155deg, rgba(37, 240, 210, .14), rgba(4, 22, 27, .96));
}

.page-home .entry--lava:hover,
.page-home .entry--lava:focus-visible {
  border-color: var(--lava);
  background: linear-gradient(155deg, rgba(255, 107, 44, .14), rgba(4, 22, 27, .96));
}

.page-home .entry__label {
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.page-home .entry__num {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(84px, 13vw, 148px);
  font-weight: 600;
  line-height: .86;
  letter-spacing: -.03em;
}

.page-home .entry--cyan .entry__num {
  color: var(--cyan);
}

.page-home .entry--lava .entry__num {
  color: var(--lava);
}

.page-home .entry__unit {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .08em;
  color: var(--muted);
}

.page-home .entry__desc {
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .entry__cta {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--paper);
  opacity: .78;
  transition: color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}

.page-home .entry:hover .entry__cta,
.page-home .entry:focus-visible .entry__cta {
  opacity: 1;
}

.page-home .entry--cyan:hover .entry__cta,
.page-home .entry--cyan:focus-visible .entry__cta {
  color: var(--cyan);
}

.page-home .entry--lava:hover .entry__cta,
.page-home .entry--lava:focus-visible .entry__cta {
  color: var(--lava);
}

/* ---------- 状态数据带 ---------- */
.page-home .home-status {
  padding: 0 var(--home-gutter) clamp(30px, 4.5vw, 48px);
}

.page-home .home-status__track {
  max-width: var(--home-max);
  margin: 0 auto;
  display: flex;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 42, 50, .5);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.page-home .home-status__track::-webkit-scrollbar {
  display: none;
}

.page-home .home-status__cell {
  flex: 1 0 auto;
  min-width: 170px;
  padding: 18px clamp(16px, 2.2vw, 28px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .home-status__cell:last-child {
  border-right: 0;
}

.page-home .home-status__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-home .home-status__cell--live .home-status__num {
  color: var(--cyan);
}

.page-home .home-status__key {
  color: var(--muted);
  letter-spacing: .08em;
}

@media (max-width: 899px) {
  .page-home .home-status__track {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 56px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 56px), transparent 100%);
  }
}

/* ---------- 主体：侧栏索引 + 内容流 ---------- */
.page-home .home-body {
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 0 var(--home-gutter) clamp(48px, 7vw, 92px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 44px);
}

.page-home .home-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.page-home .home-rail::-webkit-scrollbar {
  display: none;
}

.page-home .rail__link {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.page-home .rail__link:hover,
.page-home .rail__link:focus-visible {
  color: var(--paper);
}

.page-home .rail__link.is-active {
  color: var(--ink);
  background: var(--cyan);
}

.page-home .home-stream {
  display: flex;
  flex-direction: column;
  gap: clamp(34px, 5vw, 64px);
  min-width: 0;
}

.page-home .home-block {
  padding-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 28px;
  min-width: 0;
}

.page-home .home-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-home .home-block h2 {
  margin: 8px 0 12px;
}

.page-home .home-block > p {
  max-width: 64ch;
  margin: 0;
  line-height: 1.8;
  color: var(--paper);
  opacity: .88;
}

/* 入口定位图 */
.page-home .home-entrymap {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--home-radius-sm);
  overflow: hidden;
}

.page-home .home-entrymap__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px clamp(14px, 2vw, 20px);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.65;
}

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

.page-home .home-entrymap__row--active {
  background: rgba(37, 240, 210, .08);
  box-shadow: inset 3px 0 0 var(--cyan);
}

.page-home .home-entrymap__arrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--muted);
}

.page-home .home-entrymap__item {
  flex: 1 1 240px;
  color: var(--paper);
  opacity: .9;
}

/* 分隔纹理图 */
.page-home .home-divider {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--home-radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 1;
  background: linear-gradient(160deg, var(--panel), var(--ink));
}

.page-home .home-divider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
  filter: saturate(.6);
}

/* 存档区块 */
.page-home .home-archive {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.page-home .home-archive__body {
  min-width: 0;
}

.page-home .home-fields {
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--line);
}

.page-home .home-fields > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .home-fields dt {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--paper);
}

.page-home .home-fields dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.page-home .home-archive__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--home-radius-sm);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: linear-gradient(160deg, var(--panel), var(--ink));
}

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

/* 转会对照 */
.page-home .home-transfer {
  margin-top: 22px;
  min-width: 0;
}

.page-home .home-transfer__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--line);
}

.page-home .home-transfer__col {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .home-transfer__key {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--lava);
}

.page-home .home-transfer__col p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--paper);
  opacity: .86;
}

.page-home .home-transfer .btn {
  margin-top: 22px;
}

/* 服务范围与更新节奏 */
.page-home .home-reasons {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--line);
}

.page-home .home-reasons li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .home-reasons__num {
  flex: 0 0 auto;
  min-width: 2.2ch;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--amber);
}

.page-home .home-reasons h3 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--paper);
}

.page-home .home-reasons p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* 尾部指引 */
.page-home .home-cta {
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  background: linear-gradient(140deg, rgba(10, 42, 50, .9), rgba(4, 22, 27, .92));
  display: grid;
  gap: 20px;
}

.page-home .home-cta h2 {
  margin: 0 0 10px;
}

.page-home .home-cta p {
  margin: 0;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}

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

/* 注释带 */
.page-home .home-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.page-home .home-note__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--home-radius-sm);
  overflow: hidden;
  aspect-ratio: 8 / 3;
  background: linear-gradient(160deg, var(--panel), var(--ink));
}

.page-home .home-note__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
  filter: saturate(.5);
}

.page-home .home-note__body {
  min-width: 0;
}

.page-home .home-note__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 8px;
}

.page-home .home-note .note-band__key {
  min-width: 5em;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--muted);
}

.page-home .home-note .note-band__val {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--paper);
  word-break: break-all;
}

.page-home .home-note__hint {
  margin: 10px 0 0;
  max-width: 48ch;
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--muted);
}

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

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

  .page-home .home-fields > div:nth-child(odd) {
    padding-right: 18px;
  }

  .page-home .home-fields > div:nth-child(even) {
    padding-left: 18px;
    border-left: 1px solid var(--line);
  }
}

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

  .page-home .home-transfer__col {
    padding: 18px 0;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding-right: 18px;
  }

  .page-home .home-transfer__col + .home-transfer__col {
    padding-left: 18px;
  }

  .page-home .home-transfer__col:last-child {
    border-right: 0;
    padding-right: 0;
  }
}

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

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

  .page-home .home-reasons li:nth-child(odd) {
    padding-right: 26px;
  }

  .page-home .home-reasons li:nth-child(even) {
    padding-left: 26px;
    border-left: 1px solid var(--line);
  }

  .page-home .home-note {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: center;
  }
}

@media (min-width: 800px) {
  .page-home .home-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .page-home .home-open__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(24px, 3vw, 44px);
  }

  .page-home .home-open__aside {
    gap: 20px;
  }

  .page-home .home-open__figure {
    margin-top: auto;
  }

  .page-home .entry {
    min-height: 320px;
  }
}

@media (min-width: 960px) {
  .page-home .home-body {
    grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
    gap: clamp(28px, 4vw, 56px);
  }

  .page-home .home-rail {
    position: sticky;
    top: 28px;
    align-self: start;
    flex-direction: column;
    gap: 4px;
    overflow: visible;
    border-bottom: 0;
    border-left: 1px solid var(--line);
    padding: 4px 0 4px 18px;
  }

  .page-home .rail__link {
    border-radius: 10px;
    padding: 6px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry,
  .page-home .rail__link,
  .page-home .entry__cta {
    transition: none;
  }

  .page-home .entry:hover,
  .page-home .entry:focus-visible {
    transform: none;
  }
}
