.page-home {
  --home-slant: 16px;
  overflow-x: clip;
}

.page-home .home-context {
  padding-top: clamp(16px, 2.4vw, 28px);
}

/* ---------- 首屏 ---------- */
.page-home .hero-home {
  padding-top: clamp(18px, 2.6vw, 36px);
}

.page-home .hero-home__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 4.4vw, 56px);
  align-items: start;
}

@media (min-width: 960px) {
  .page-home .hero-home__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .hero-home__visual {
    margin-top: -48px;
  }
}

.page-home .hero-home__title {
  margin: 14px 0 0;
  max-width: 16ch;
}

.page-home .hero-home__em {
  font-style: normal;
  color: var(--neon);
}

.page-home .hero-home__lede {
  margin: clamp(16px, 2vw, 24px) 0 0;
  max-width: 36em;
  color: var(--paper);
}

.page-home .hero-home__actions {
  margin-top: clamp(20px, 2.6vw, 32px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hero-home__facts {
  margin: clamp(26px, 3.2vw, 44px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(16, 27, 46, .5);
}

.page-home .hero-home__facts > div {
  padding: 12px clamp(8px, 1.2vw, 18px);
  border-right: 1px solid var(--line);
  min-width: 0;
}

.page-home .hero-home__facts > div:last-child {
  border-right: 0;
}

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

.page-home .hero-home__facts dd {
  margin: 6px 0 0;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.1;
  color: var(--neon);
}

.page-home .hero-home__visual {
  position: relative;
  isolation: isolate;
  min-width: 0;
}

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

.page-home .hero-home__chip {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  transform: rotate(-1.5deg);
}

/* ---------- 六条产品线 ---------- */
.page-home .lines-home__lede {
  max-width: 42em;
  margin: clamp(12px, 1.6vw, 20px) 0 clamp(20px, 2.6vw, 32px);
}

.page-home .lines-home__banner {
  margin: 0 0 clamp(20px, 2.8vw, 36px);
}

.page-home .lines-home__filter {
  margin-bottom: clamp(14px, 1.8vw, 22px);
}

.page-home .lines-home__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .lines-home__item {
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.page-home .lines-home__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: clamp(16px, 2.2vw, 26px) clamp(4px, 1vw, 12px);
  border-left: 2px solid transparent;
  color: inherit;
  text-decoration: none;
  transition: border-color .28s var(--ease), background .28s var(--ease);
}

.page-home .lines-home__link:hover,
.page-home .lines-home__link:focus-visible {
  border-left-color: var(--neon);
  background: rgba(124, 250, 74, .05);
}

.page-home .lines-home__num {
  font-size: 14px;
  color: var(--muted);
  transition: transform .28s var(--ease), color .28s var(--ease);
}

.page-home .lines-home__arrow {
  font-size: 18px;
  color: var(--muted);
  transition: transform .28s var(--ease), color .28s var(--ease);
}

.page-home .lines-home__link:hover .lines-home__num,
.page-home .lines-home__link:hover .lines-home__arrow,
.page-home .lines-home__link:focus-visible .lines-home__num,
.page-home .lines-home__link:focus-visible .lines-home__arrow {
  transform: translateX(4px);
  color: var(--neon);
}

.page-home .lines-home__body {
  display: block;
  min-width: 0;
}

.page-home .lines-home__name {
  display: block;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  color: var(--paper);
  letter-spacing: .01em;
}

.page-home .lines-home__desc {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 40em;
}

@media (min-width: 900px) {
  .page-home .lines-home__item:nth-child(2) .lines-home__link { padding-left: 22px; }
  .page-home .lines-home__item:nth-child(3) .lines-home__link { padding-left: 44px; }
  .page-home .lines-home__item:nth-child(4) .lines-home__link { padding-left: 66px; }
  .page-home .lines-home__item:nth-child(5) .lines-home__link { padding-left: 88px; }
  .page-home .lines-home__item:nth-child(6) .lines-home__link { padding-left: 110px; }
}

/* ---------- 交锋面板预览 ---------- */
.page-home .panel-home__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

@media (min-width: 900px) {
  .page-home .panel-home__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(32px, 5vw, 72px);
  }
}

.page-home .panel-home__lede {
  max-width: 34em;
  margin: clamp(14px, 1.8vw, 22px) 0 clamp(20px, 2.4vw, 30px);
}

.page-home .panel-home__card {
  min-width: 0;
  background: linear-gradient(160deg, rgba(16, 27, 46, .96), rgba(16, 27, 46, .78));
  backdrop-filter: blur(6px);
}

.page-home .panel-home__spark {
  display: block;
  width: 100%;
  height: auto;
  margin: clamp(14px, 1.8vw, 22px) 0 0;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent 63px,
    rgba(34, 48, 74, .55) 63px,
    rgba(34, 48, 74, .55) 64px
  );
}

.page-home .panel-home__spark polyline {
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .panel-home__spark .spark-a {
  stroke: var(--neon);
}

.page-home .panel-home__spark .spark-b {
  stroke: var(--aqua);
  stroke-dasharray: 6 5;
}

.page-home .panel-home__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.page-home .panel-home__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-home .panel-home__swatch {
  display: inline-block;
  width: 16px;
  height: 2px;
}

.page-home .panel-home__swatch--neon { background: var(--neon); }
.page-home .panel-home__swatch--aqua { background: var(--aqua); }

.page-home .panel-home__metrics {
  margin-top: clamp(14px, 1.8vw, 22px);
}

/* ---------- 更新节奏 ---------- */
.page-home .rhythm-home {
  position: relative;
}

.page-home .rhythm-home__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3.6vw, 48px);
}

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

.page-home .rhythm-home__lede {
  max-width: 32em;
  margin-top: clamp(14px, 1.8vw, 22px);
}

.page-home .rhythm-home__track {
  list-style: none;
  margin: 0;
  padding: clamp(20px, 2.6vw, 30px) 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--line);
  position: relative;
}

.page-home .rhythm-home__step {
  position: relative;
  padding-left: 26px;
  min-width: 0;
}

.page-home .rhythm-home__dot {
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--ember);
  transform: rotate(45deg);
}

.page-home .rhythm-home__time {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--neon);
}

.page-home .rhythm-home__name {
  margin: 6px 0 0;
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: 800;
  color: var(--paper);
}

.page-home .rhythm-home__text {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 30em;
}

@media (min-width: 760px) {
  .page-home .rhythm-home__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.4vw, 34px);
  }

  .page-home .rhythm-home__track::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 1px;
    background: linear-gradient(to right, var(--neon), var(--ember) 55%, var(--aqua));
    opacity: .55;
  }
}

.page-home .rhythm-home__figure {
  margin: clamp(26px, 3.4vw, 44px) auto 0;
  max-width: 420px;
}

/* ---------- 快捷分流 ---------- */
.page-home .quick-home__head {
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

.page-home .quick-home__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

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

.page-home .quick-home__cell {
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .quick-home__item {
  display: block;
  height: 100%;
  padding: clamp(16px, 2vw, 24px) clamp(12px, 1.6vw, 20px);
  color: inherit;
  text-decoration: none;
  transition: background .28s var(--ease), transform .28s var(--ease);
}

.page-home .quick-home__item:hover,
.page-home .quick-home__item:focus-visible {
  background: rgba(124, 250, 74, .06);
  transform: translateX(4px);
}

.page-home .quick-home__label {
  display: block;
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 800;
  color: var(--paper);
}

.page-home .quick-home__hint {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.page-home .quick-home__foot {
  margin: clamp(18px, 2.4vw, 28px) 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .quick-home__foot a {
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 250, 74, .4);
}

.page-home .quick-home__foot a:hover,
.page-home .quick-home__foot a:focus-visible {
  border-bottom-color: var(--neon);
}

/* ---------- 移动端吸底快捷条 ---------- */
@media (max-width: 719px) {
  .page-home .quick-home__list {
    position: sticky;
    bottom: 0;
    z-index: 20;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-left: 0;
    border-top: 1px solid var(--line);
    background: rgba(11, 12, 16, .94);
    backdrop-filter: blur(8px);
  }

  .page-home .quick-home__cell {
    border-right: 1px solid var(--line);
  }

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

  .page-home .quick-home__item {
    padding: 10px 6px;
    text-align: center;
    transform: none;
  }

  .page-home .quick-home__item:hover,
  .page-home .quick-home__item:focus-visible {
    transform: none;
    background: rgba(124, 250, 74, .07);
  }

  .page-home .quick-home__label {
    font-size: 14px;
  }

  .page-home .quick-home__hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .lines-home__link,
  .page-home .lines-home__num,
  .page-home .lines-home__arrow,
  .page-home .quick-home__item {
    transition: none;
  }

  .page-home .lines-home__link:hover .lines-home__num,
  .page-home .lines-home__link:hover .lines-home__arrow,
  .page-home .quick-home__item:hover {
    transform: none;
  }
}
