.page-home {
  --home-gap: 20px;
  --home-panel: rgba(18, 50, 75, 0.72);
  --home-line: rgba(25, 227, 209, 0.18);
  padding-bottom: 48px;
}

/* ---------- 顶部上下文行 ---------- */
.page-home .home-crumb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  padding-bottom: 14px;
}
.page-home .home-crumb__meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 首屏框景 ---------- */
.page-home .home-hero {
  margin-top: 4px;
}

.page-home .hero-frame {
  position: relative;
  padding: 0;
  border-radius: var(--radius-l);
  background: linear-gradient(150deg, rgba(25, 227, 209, 0.16), rgba(10, 37, 64, 0.92) 44%, var(--ink-900));
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  z-index: 0;
}
.page-home .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(0.85) contrast(1.06);
}
.page-home .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(4, 18, 31, 0.94) 6%, rgba(4, 18, 31, 0.66) 46%, rgba(25, 227, 209, 0.16) 100%);
}

.page-home .hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4.4vw, 54px);
}

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

.page-home .hero-copy h1 {
  margin: 16px 0 18px;
  font-size: clamp(32px, 7.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--text);
}

.page-home .hero-lede {
  max-width: 46ch;
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(234, 244, 249, 0.82);
}

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

/* 焦点动态卡 */
.page-home .hero-side {
  align-self: stretch;
  padding: 20px 20px 22px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-m);
  background: rgba(4, 18, 31, 0.66);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lift);
}

.page-home .hero-side__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .hero-side__round {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .hero-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 18px 0 6px;
}

.page-home .hero-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.page-home .hero-team__name {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .hero-score {
  font-size: clamp(30px, 8vw, 40px);
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}
.page-home .hero-score__sep {
  display: inline-block;
  padding: 0 2px;
  color: rgba(255, 107, 44, 0.55);
}

.page-home .hero-trend {
  display: block;
  width: 100%;
  height: auto;
  margin: 10px 0 4px;
}
.page-home .hero-trend .trend-line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.page-home .hero-trend .trend-dot {
  fill: var(--ink-900);
  stroke: var(--cyan);
  stroke-width: 2;
}
.page-home .hero-trend .trend-dot--hot {
  fill: var(--orange);
  stroke: var(--orange-soft);
}

.page-home .hero-side__note {
  margin: 8px 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(234, 244, 249, 0.78);
}

.page-home .hero-side__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(143, 169, 188, 0.2);
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}
.page-home .hero-side__list .num {
  color: var(--cyan-soft);
  font-weight: 700;
}

/* ---------- 三条主线 Bento ---------- */
.page-home .home-pillars {
  margin-top: clamp(52px, 8vw, 88px);
}

.page-home .pillar-head {
  max-width: 62ch;
  margin-bottom: 26px;
}
.page-home .pillar-head .section-title {
  margin: 10px 0 12px;
}

.page-home .pillar-lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.72;
  color: var(--muted);
}

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

.page-home .bento {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 22px;
  border: 1px solid rgba(143, 169, 188, 0.18);
  border-radius: var(--radius-m);
  background: linear-gradient(165deg, rgba(18, 50, 75, 0.78), rgba(10, 37, 64, 0.62));
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.page-home .bento::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 46px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--cyan);
  opacity: 0.7;
}
.page-home .bento--lead::before {
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  width: 96px;
  opacity: 0.95;
}
.page-home .bento--a::before {
  background: var(--orange);
}
.page-home .bento:hover,
.page-home .bento:focus-within {
  transform: translateY(-3px);
  border-color: rgba(25, 227, 209, 0.42);
  box-shadow: var(--shadow-lift);
}

.page-home .bento__label {
  align-self: flex-start;
  margin-bottom: 14px;
}

.page-home .bento__title {
  margin: 0 0 12px;
  font-size: clamp(19px, 4.6vw, 22px);
  line-height: 1.35;
  color: var(--text);
}

.page-home .bento__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(234, 244, 249, 0.78);
}

.page-home .bento__more {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  transition: max-height 0.34s var(--ease), opacity 0.26s var(--ease), margin 0.34s var(--ease);
}

.page-home .bento__link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(25, 227, 209, 0.35);
}
.page-home .bento__link:hover {
  color: var(--cyan-soft);
  border-bottom-color: var(--cyan-soft);
}
.page-home .bento__link::after {
  content: " →";
}

@media (hover: none), (max-width: 859px) {
  .page-home .bento__more {
    max-height: none;
    margin-top: 10px;
    opacity: 1;
  }
}

/* ---------- 数据规模带 ---------- */
.page-home .home-scale {
  position: relative;
  margin-top: clamp(52px, 8vw, 88px);
  overflow: hidden;
  border-top: 1px solid rgba(25, 227, 209, 0.14);
  border-bottom: 1px solid rgba(25, 227, 209, 0.14);
  background: linear-gradient(180deg, var(--ink-900), var(--ink-800) 52%, var(--ink-900));
}

.page-home .scale-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-home .scale-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  mix-blend-mode: screen;
}
.page-home .scale-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 18% 20%, rgba(25, 227, 209, 0.16), transparent 62%),
              radial-gradient(90% 70% at 88% 84%, rgba(255, 107, 44, 0.14), transparent 60%);
}

.page-home .scale-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(40px, 6.5vw, 68px);
  padding-bottom: clamp(40px, 6.5vw, 68px);
}

.page-home .scale-head {
  max-width: 52ch;
  margin-bottom: 28px;
}
.page-home .scale-head .section-title {
  margin: 10px 0 0;
}

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

.page-home .scale-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(143, 169, 188, 0.18);
  border-radius: var(--radius-s);
  background: rgba(4, 18, 31, 0.58);
}
.page-home .scale-item--hot {
  border-color: rgba(255, 107, 44, 0.42);
  background: rgba(255, 107, 44, 0.08);
}

.page-home .scale-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--cyan);
  font-weight: 700;
}
.page-home .scale-value .num {
  font-size: clamp(26px, 6.6vw, 36px);
  line-height: 1;
}
.page-home .scale-unit {
  font-size: 13px;
  font-weight: 500;
  color: var(--cyan-soft);
}
.page-home .scale-item--hot .scale-value,
.page-home .scale-item--hot .scale-value .num {
  color: var(--orange);
}
.page-home .scale-item--hot .scale-unit {
  color: var(--orange-soft);
}

.page-home .scale-label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 使用路径 ---------- */
.page-home .home-path {
  margin-top: clamp(52px, 8vw, 88px);
}

.page-home .path-head {
  max-width: 58ch;
  margin-bottom: 28px;
}
.page-home .path-head .section-title {
  margin: 10px 0 12px;
}

.page-home .path-lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .path-tree {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.page-home .path-node {
  position: relative;
  padding: 22px 20px 20px;
  border: 1px solid rgba(143, 169, 188, 0.16);
  border-radius: var(--radius-m);
  background: rgba(10, 37, 64, 0.6);
}

.page-home .path-step {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-home .path-title {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.4;
  color: var(--text);
}

.page-home .path-text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(234, 244, 249, 0.74);
}

.page-home .path-result {
  display: block;
  padding-top: 12px;
  border-top: 1px dashed rgba(25, 227, 209, 0.28);
  font-size: 13px;
  color: var(--cyan-soft);
}

/* ---------- 短讯流与合作入口 ---------- */
.page-home .home-wire {
  margin-top: clamp(52px, 8vw, 88px);
}

.page-home .wire-banner {
  margin: 0 0 30px;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid rgba(143, 169, 188, 0.16);
}
.page-home .wire-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
}

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

.page-home .wire-head .section-title {
  margin: 10px 0 22px;
}

.page-home .wire-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .wire-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 6px 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(143, 169, 188, 0.16);
}
.page-home .wire-item:first-child {
  border-top: 1px solid rgba(143, 169, 188, 0.16);
}

.page-home .wire-tag {
  margin-top: 2px;
}

.page-home .wire-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
  color: rgba(234, 244, 249, 0.86);
}

.page-home .wire-meta {
  grid-column: 2;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .wire-main > .btn {
  margin-top: 24px;
}

.page-home .wire-cta {
  padding: 26px 22px;
  border: 1px solid rgba(255, 107, 44, 0.36);
  border-radius: var(--radius-m);
  background: linear-gradient(158deg, rgba(255, 107, 44, 0.12), rgba(10, 37, 64, 0.7) 62%);
}

.page-home .wire-cta__title {
  margin: 12px 0 12px;
  font-size: clamp(19px, 4.4vw, 23px);
  line-height: 1.4;
  color: var(--text);
}

.page-home .wire-cta__text {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(234, 244, 249, 0.78);
}

.page-home .wire-cta__note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.page-home .wire-cta__note a {
  color: var(--cyan-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(127, 243, 230, 0.35);
}
.page-home .wire-cta__note a:hover {
  color: var(--cyan);
}

/* ---------- 桌面布局 ---------- */
@media (min-width: 860px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: 44px;
  }

  .page-home .bento-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    grid-template-rows: auto auto;
    align-items: stretch;
  }
  .page-home .bento--lead {
    grid-row: 1 / span 2;
    padding: 32px 30px 28px;
  }
  .page-home .bento--lead .bento__title {
    font-size: 28px;
  }
  .page-home .bento--lead .bento__text {
    font-size: 16px;
  }

  .page-home .bento:hover .bento__more,
  .page-home .bento:focus-within .bento__more {
    max-height: 180px;
    margin-top: 10px;
    opacity: 1;
  }

  .page-home .scale-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-home .path-tree {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
  .page-home .path-node:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 34px;
    right: -22px;
    width: 22px;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan), rgba(25, 227, 209, 0.12));
  }

  .page-home .wire-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .page-home .scale-list {
    gap: 20px;
  }
  .page-home .scale-item:nth-child(even) {
    transform: translateY(14px);
  }
}

/* ---------- 窄屏收敛 ---------- */
@media (max-width: 639px) {
  .page-home .home-crumb {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .page-home .hero-inner {
    padding: 22px 18px 24px;
  }
  .page-home .hero-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .page-home .hero-side {
    padding: 18px 16px 20px;
  }
  .page-home .bento {
    padding: 20px 18px 18px;
  }
  .page-home .scale-list {
    gap: 12px;
  }
  .page-home .scale-item {
    padding: 16px 14px 18px;
  }
  .page-home .wire-cta {
    padding: 22px 18px;
  }
}

@media (max-width: 400px) {
  .page-home .scale-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
