.page-home {
  --home-pad: clamp(72px, 9vw, 128px);
  --home-hair: rgba(28, 36, 56, 0.92);
  position: relative;
  padding-top: clamp(96px, 12vw, 148px);
  overflow-x: clip;
  color: var(--text);
}

.page-home__rail {
  display: none;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: -0.015em;
  margin: 0;
}

.page-home h1 {
  font-size: clamp(1.85rem, 5.2vw, 3.2rem);
  line-height: 1.16;
  font-weight: 800;
}

.page-home h2 {
  font-size: clamp(1.42rem, 2.9vw, 2.1rem);
  line-height: 1.24;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-home h3 {
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
  line-height: 1.32;
  font-weight: 700;
}

.page-home p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
  font-size: clamp(0.97rem, 1.5vw, 1.04rem);
}

.page-home p:last-child {
  margin-bottom: 0;
}

.page-home .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.page-home .eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ---------- 封面 ---------- */

.home-cover {
  padding-bottom: clamp(48px, 6vw, 88px);
}

.home-cover__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.page-home .home-cover__lede {
  max-width: 46ch;
  color: var(--text);
  opacity: 0.86;
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
}

.home-cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3.4vw, 40px);
}

.home-cover__visual {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px rgba(232, 181, 75, 0.16), var(--shadow-float);
}

.home-cover__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 78% 12%, rgba(53, 230, 210, 0.16), transparent 62%),
    radial-gradient(90% 70% at 10% 92%, rgba(232, 181, 75, 0.16), transparent 66%);
}

.home-cover__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 首屏索引 ---------- */

.home-index {
  list-style: none;
  margin: clamp(40px, 6vw, 72px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.home-index a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 18px 18px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, rgba(232, 181, 75, 0.1), rgba(53, 230, 210, 0.05) 58%, rgba(13, 18, 32, 0.7));
  box-shadow: inset 0 0 0 1px rgba(232, 181, 75, 0.16);
  text-decoration: none;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.home-index a:hover,
.home-index a:focus-visible {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(232, 181, 75, 0.46), 0 20px 44px -32px var(--gold);
}

.home-index__no {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.home-index__name {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
}

.home-index__desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- 区块节奏 ---------- */

.home-block {
  padding-block: var(--home-pad);
}

/* ---------- 数据速览 ---------- */

.home-draws__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.home-points,
.home-switches {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.home-points li,
.home-switches li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .home-points .mono,
.page-home .home-switches .mono {
  padding-top: 4px;
  font-size: 11px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--gold);
}

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

.home-draws__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--home-hair);
}

.home-draws__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.home-table-wrap {
  margin-top: clamp(36px, 5vw, 64px);
  overflow-x: auto;
  border-radius: var(--radius-md);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--home-hair);
}

.page-home .home-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.page-home .home-table caption {
  padding: 18px 22px 12px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.page-home .home-table th {
  padding: 0 22px 12px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-home .home-table td {
  padding: 13px 22px;
  border-top: 1px solid var(--home-hair);
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.page-home .home-table tbody tr:first-child td {
  color: var(--gold);
}

.page-home .home-table th:last-child,
.page-home .home-table td:last-child {
  text-align: right;
}

/* ---------- 走势 ---------- */

.home-trend__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.page-home .home-trend__note {
  margin-bottom: 26px;
  font-size: 0.9rem;
  color: var(--gold-lite);
}

.home-trend__chart {
  margin: 0;
  padding: clamp(18px, 2.6vw, 30px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(13, 18, 32, 0.94), rgba(5, 7, 12, 0.6));
  box-shadow: inset 0 0 0 1px var(--home-hair);
}

.home-trend__chart figcaption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.home-curve {
  display: block;
  width: 100%;
  height: auto;
}

.home-curve__grid line {
  stroke: var(--blueprint);
  stroke-width: 1;
  opacity: 0.85;
}

.home-curve__area {
  fill: url(#homeCurveFill);
}

.home-curve__line {
  fill: none;
  stroke: url(#homeCurveStroke);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home [data-reveal].is-visible .home-curve__line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: home-curve-draw 1.35s var(--ease) 0.1s forwards;
}

@keyframes home-curve-draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------- 版本对照 ---------- */

.home-mirror {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin-top: clamp(32px, 4vw, 56px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-home .home-mirror__side {
  padding: clamp(24px, 3.2vw, 40px);
  border-radius: 0;
  background: var(--ink-2);
}

.page-home .mirror-side--cn.home-mirror__side {
  background: linear-gradient(165deg, rgba(226, 69, 92, 0.18), rgba(13, 18, 32, 0.94) 62%);
}

.page-home .mirror-side--apple.home-mirror__side {
  background: linear-gradient(165deg, rgba(139, 92, 246, 0.18), rgba(13, 18, 32, 0.94) 62%);
}

.page-home .home-mirror__tag {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.page-home .mirror-side--cn .home-mirror__tag {
  color: var(--ruby);
}

.page-home .mirror-side--apple .home-mirror__tag {
  color: var(--violet);
}

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

.home-mirror__list li {
  display: grid;
  gap: 4px;
  padding-left: 14px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--muted);
  border-left: 2px solid var(--home-hair);
}

.page-home .mirror-side--cn .home-mirror__list li {
  border-left-color: rgba(226, 69, 92, 0.5);
}

.page-home .mirror-side--apple .home-mirror__list li {
  border-left-color: rgba(139, 92, 246, 0.5);
}

.home-mirror__list span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  opacity: 0.78;
}

.page-home .home-versions__hint {
  margin-top: clamp(24px, 3vw, 36px);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, rgba(232, 181, 75, 0.14), rgba(53, 230, 210, 0.08));
  color: var(--text);
  font-size: 0.96rem;
}

.page-home .home-versions__note {
  margin-top: 16px;
  font-size: 0.9rem;
}

.home-versions__figure {
  margin: clamp(32px, 4vw, 56px) 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--home-hair);
}

.home-versions__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 会员通道 ---------- */

.home-channel__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

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

.home-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--home-hair);
}

.page-home .home-steps__no {
  padding-top: 4px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.home-steps__body {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--muted);
}

.home-steps__body b {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-weight: 700;
}

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

.home-channel__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--home-hair);
}

.home-channel__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 更新节奏 ---------- */

.home-updates__stats {
  list-style: none;
  margin: clamp(32px, 4vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--home-hair);
}

.home-updates__stats li {
  display: grid;
  gap: 8px;
  padding: clamp(20px, 3vw, 32px);
  background: var(--ink-2);
}

.home-updates__stats .stat-value {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold);
}

.home-updates__stats .stat-value--gold {
  color: var(--gold);
}

.home-updates__stats .stat-value--cyan {
  color: var(--cyan);
}

.home-updates__stats .stat-value--green {
  color: var(--green);
}

.home-updates__stats .stat-unit {
  margin-left: 2px;
  font-size: 0.4em;
  letter-spacing: 0;
}

.home-updates__stats .stat-label {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}

.home-columns {
  list-style: none;
  margin: clamp(32px, 4vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--home-hair);
}

.home-columns li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: baseline;
  padding: 20px 22px;
  background: var(--ink-2);
}

.page-home .home-columns .mono {
  grid-row: span 2;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.home-columns b {
  color: var(--text);
  font-size: 0.98rem;
}

.home-columns span:last-child {
  grid-column: 2;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .home-updates__note {
  margin-top: 22px;
  font-size: 0.9rem;
}

.home-updates__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 44px);
}

/* ---------- 响应式 ---------- */

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

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

@media (min-width: 760px) {
  .home-index {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

@media (min-width: 900px) {
  .home-cover__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(40px, 5vw, 72px);
  }

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

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

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

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

@media (min-width: 1480px) {
  .page-home__rail {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 30px;
    width: 1px;
    pointer-events: none;
    opacity: 0.7;
    background: linear-gradient(180deg, transparent, var(--blueprint) 10%, var(--blueprint) 90%, transparent);
  }

  .page-home__rail::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 -3px;
    width: 7px;
    background-image: repeating-linear-gradient(180deg, var(--blueprint) 0 1px, transparent 1px 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home [data-reveal].is-visible .home-curve__line {
    animation: none;
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }

  .home-index a {
    transition: none;
  }
}
