.page-home {
  display: block;
  overflow-x: clip;
  padding-bottom: clamp(48px, 7vw, 96px);
}

/* ---------- 上下文状态条 ---------- */
.page-home .ctx {
  border-bottom: 1px solid var(--line);
}

.page-home .ctx__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 16px 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-home .ctx__brand {
  color: var(--mist);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.page-home .ctx__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
}

.page-home .ctx__item--live {
  display: inline-flex;
  align-items: center;
  color: var(--cyan);
}

.page-home .ctx__item--live::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px var(--cyan-08);
}

/* ---------- 首屏拼贴 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  padding: clamp(34px, 5.5vw, 68px) 0 clamp(44px, 6vw, 84px);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: -12% -25% 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, rgba(30, 74, 64, 0.5) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(to bottom, rgba(30, 74, 64, 0.5) 0 1px, transparent 1px 76px);
  -webkit-mask-image: radial-gradient(120% 92% at 20% 0%, #000 12%, transparent 74%);
  mask-image: radial-gradient(120% 92% at 20% 0%, #000 12%, transparent 74%);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  top: -22%;
  right: -14%;
  z-index: 0;
  width: min(660px, 78vw);
  aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle, var(--cyan-16), transparent 62%);
}

.page-home .hero .wrap {
  position: relative;
  z-index: 1;
}

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

.page-home .hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.page-home .hero__title {
  margin: 0 0 24px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(32px, 8vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .hero__title::after {
  content: "";
  display: block;
  width: 76px;
  height: 6px;
  margin-top: 24px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--cyan), var(--amber));
}

.page-home .hero__lead {
  max-width: 46ch;
  margin: 0 0 30px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--white);
  opacity: 0.86;
}

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

.page-home .collage__side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .collage__viz {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-800);
}

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

.page-home .collage__viz::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.75;
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-home .hero-stats__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--ink-800);
}

.page-home .hero-stats__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(20px, 4.6vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.page-home .hero-stats__label {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .trust {
  margin: 32px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: linear-gradient(90deg, var(--ink-800), rgba(12, 42, 35, 0) 92%);
  font-size: 13px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 章节骨架 ---------- */
.page-home .sec {
  position: relative;
  padding: clamp(52px, 7vw, 96px) 0;
}

.page-home .sec + .sec {
  border-top: 1px solid var(--line);
}

.page-home .sec--last {
  padding-bottom: clamp(20px, 3vw, 40px);
}

.page-home .sec-index {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 16px;
}

.page-home .sec-index__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--amber);
}

.page-home .sec-index__label {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.page-home .sec-title {
  max-width: 24ch;
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 4.6vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .lead {
  max-width: 62ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .note {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 非对称双栏 ---------- */
.page-home .duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  margin-top: 36px;
}

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

.page-home .duo__aside {
  display: grid;
  gap: 18px;
  align-content: start;
}

.page-home .duo__fig {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-800);
}

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

.page-home .duo__fig--tall img {
  aspect-ratio: 4 / 5;
}

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

.page-home .duo__more {
  margin: 22px 0 0;
}

.page-home .link-inline {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--cyan-16);
  font-size: 14px;
  line-height: 1.7;
  color: var(--cyan);
  text-decoration: none;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.page-home .link-inline:hover,
.page-home .link-inline:focus-visible {
  border-bottom-color: var(--cyan);
  color: var(--mist);
}

/* ---------- 表格容器 ---------- */
.page-home .table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-800);
  -webkit-overflow-scrolling: touch;
}

.page-home .data-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .data-table th,
.page-home .data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.page-home .data-table tbody tr:last-child th,
.page-home .data-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .data-table thead th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  border-bottom-color: var(--cyan);
}

.page-home .data-table tbody th {
  font-weight: 600;
  color: var(--white);
}

.page-home .data-table td {
  color: var(--mist);
}

.page-home .data-table .num {
  text-align: right;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--white);
}

/* ---------- 要点列表 ---------- */
.page-home .facts {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .facts--loose {
  margin-top: 24px;
}

.page-home .facts li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .facts li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  border: 1px solid var(--cyan);
  border-radius: 2px;
}

.page-home .facts strong {
  color: var(--white);
  font-weight: 600;
}

/* ---------- 射手榜区块 ---------- */
.page-home .board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.page-home .board__viz {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(160deg, var(--cyan-08), transparent 58%),
    var(--ink-800);
}

.page-home .board__viz img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

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

.page-home .dims {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin: 0 0 20px;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-home .dims__item {
  padding: 16px 18px;
  background: var(--ink-800);
}

.page-home .dims__item dt {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--cyan);
}

.page-home .dims__item dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 六大模块矩阵 ---------- */
.page-home .modules {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.page-home .modules__item {
  position: relative;
  padding: 26px 24px 28px;
  background: var(--ink-800);
  transition: background var(--t) var(--ease);
}

.page-home .modules__item:hover {
  background: linear-gradient(180deg, var(--cyan-08), transparent 72%), var(--ink-800);
}

.page-home .modules__num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--amber);
}

.page-home .modules__name {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--white);
}

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

.page-home .cards {
  position: absolute;
  top: 26px;
  right: 24px;
  display: flex;
  gap: 6px;
}

.page-home .cards i {
  display: block;
  width: 11px;
  height: 15px;
  border-radius: 2px;
}

.page-home .cards__r {
  background: var(--red);
}

.page-home .cards__y {
  background: var(--yellow);
}

/* ---------- 更新节奏 ---------- */
.page-home .timeline {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .timeline__item {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--line);
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -2px;
  width: 2px;
  height: 34px;
  background: var(--cyan);
}

.page-home .timeline__time {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--amber);
}

.page-home .timeline__item h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--white);
}

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

.page-home .version-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 40px;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, var(--cyan-08), transparent 58%),
    var(--ink-800);
}

.page-home .version-note__code {
  margin: 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(38px, 9vw, 60px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cyan);
}

.page-home .version-note__body h3 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
}

.page-home .version-note__body p {
  max-width: 60ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 合作区块 ---------- */
.page-home .coop {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.page-home .coop__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-home .coop__list li {
  padding: 20px 22px;
  background: var(--ink-800);
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}

.page-home .coop__list strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-home .coop__cta {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(160deg, var(--amber-14), transparent 62%),
    var(--ink-800);
}

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

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

  .page-home .hero-stats__item {
    padding: 18px 16px;
  }

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

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

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

  .page-home .timeline__item {
    padding: 24px 24px 0 0;
    border-left: 0;
    border-top: 2px solid var(--line);
  }

  .page-home .timeline__item::before {
    top: -2px;
    left: 0;
    width: 46px;
    height: 2px;
  }

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

  .page-home .version-note {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 32px;
    align-items: center;
    padding: 32px 30px;
  }
}

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

  .page-home .duo {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 44px;
    align-items: start;
  }

  .page-home .duo--flip {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }

  .page-home .duo--flip .duo__fig {
    order: 1;
  }

  .page-home .board {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 44px;
    align-items: start;
  }

  .page-home .coop {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 40px;
    align-items: start;
  }

  .page-home .sec-title {
    max-width: 22ch;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .modules__item,
  .page-home .link-inline {
    transition: none;
  }
}
