.page-home{
  --home-gap: clamp(18px, 2.6vw, 34px);
  --home-pad: clamp(18px, 2.2vw, 28px);
  --home-shadow: 0 1px 0 rgba(53, 69, 110, .7), 0 26px 52px -32px rgba(0, 0, 0, .95);
  position: relative;
  isolation: isolate;
  padding-bottom: clamp(52px, 8vw, 104px);
}

/* ---------- 封面 ---------- */
.page-home .home-cover{
  position: relative;
  padding-block: clamp(26px, 5vw, 64px) clamp(26px, 5vw, 56px);
}
.page-home .home-cover::before{
  content: "";
  position: absolute;
  top: -8%;
  left: -6vw;
  right: -6vw;
  height: 76%;
  background: linear-gradient(116deg, rgba(26, 17, 54, .92) 0%, rgba(43, 30, 85, .34) 44%, rgba(5, 10, 24, 0) 78%);
  pointer-events: none;
  z-index: -1;
}
.page-home .home-cover__inner{
  display: grid;
  gap: var(--home-gap);
}
.page-home .home-cover__kicker{
  margin: 0;
}
.page-home .home-cover__title{
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: clamp(34px, 6.4vw, 68px);
  line-height: 1.06;
  color: var(--frost);
}
.page-home .home-cover__lede{
  margin: 0;
  max-width: 60ch;
  color: var(--frost);
  font-size: 17px;
  line-height: 1.78;
}
.page-home .home-cover__note{
  margin: 0;
  color: var(--steel);
  font-size: 15px;
  line-height: 1.7;
}
.page-home .home-cover__art{
  position: relative;
  margin: 0;
}
.page-home .home-cover__art img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--home-shadow);
}
.page-home .home-cover__art::after{
  content: "";
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 36%;
  height: 42%;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  pointer-events: none;
}

/* ---------- 章节导航 ---------- */
.page-home .home-chapter{
  position: sticky;
  top: var(--topbar-h);
  z-index: 5;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 0;
  margin: 0 0 clamp(26px, 4.5vw, 52px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(5, 10, 24, .97) 0%, rgba(5, 10, 24, .84) 100%);
  scrollbar-width: none;
}
.page-home .home-chapter::-webkit-scrollbar{
  display: none;
}
.page-home .home-chapter .chapter-nav__link{
  flex: 0 0 auto;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--steel);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}
.page-home .home-chapter .chapter-nav__link:hover{
  color: var(--frost);
  border-color: var(--neon);
}
.page-home .home-chapter .chapter-nav__link.is-active{
  color: var(--abyss);
  background: var(--neon);
  border-color: var(--neon);
}

/* ---------- 三栏主区 ---------- */
.page-home .home-board{
  margin-bottom: clamp(40px, 7vw, 92px);
}
.page-home .home-board__grid{
  display: grid;
  gap: var(--home-gap);
}
.page-home .home-board__col{
  min-width: 0;
}
.page-home .home-panel{
  padding: var(--home-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--panel) 0%, #081125 100%);
  box-shadow: var(--home-shadow);
}
.page-home .home-panel__title{
  margin: 0 0 20px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--frost);
}
.page-home .home-panel__title::after{
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--neon), rgba(62, 232, 214, 0));
}

/* 编号索引 */
.page-home .home-index{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.page-home .home-index__item{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.page-home .home-index__item:first-child{
  padding-top: 0;
  border-top: 0;
}
.page-home .home-index__num{
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--neon);
}
.page-home .home-index__link{
  font-size: 18px;
  font-weight: 800;
  color: var(--frost);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.page-home .home-index__link:hover{
  color: var(--neon);
  border-bottom-color: var(--neon);
}
.page-home .home-index__desc{
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--steel);
}

/* 三步路径 */
.page-home .home-steps{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.page-home .home-steps .step-list__item{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-left: 2px solid rgba(62, 232, 214, .55);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: linear-gradient(90deg, rgba(26, 17, 54, .85), rgba(11, 22, 48, 0));
}
.page-home .step-list__num{
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--neon);
  color: var(--abyss);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
}
.page-home .home-steps__title{
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--frost);
}
.page-home .home-steps__text{
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.74;
  color: var(--frost);
}
.page-home .home-steps__meta{
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--amber);
}
.page-home .home-steps__art{
  margin: 22px 0 0;
}
.page-home .home-steps__art img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* 联系入口锚点 */
.page-home .home-anchor{
  position: relative;
  padding: var(--home-pad);
  border: 1px solid var(--amber);
  border-radius: var(--radius);
  background: linear-gradient(168deg, rgba(43, 30, 85, .88) 0%, rgba(11, 22, 48, .96) 62%);
  animation: home-anchor-pulse 4.6s ease-in-out infinite;
}
@keyframes home-anchor-pulse{
  0%, 100%{
    box-shadow: 0 0 0 1px rgba(246, 184, 74, .1), var(--home-shadow);
  }
  50%{
    box-shadow: 0 0 0 5px rgba(246, 184, 74, .14), var(--home-shadow);
  }
}
.page-home .home-anchor__title{
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--amber);
}
.page-home .home-anchor__text{
  margin: 0;
  font-size: 15px;
  line-height: 1.76;
  color: var(--frost);
}
.page-home .home-anchor__art{
  margin: 18px 0 20px;
}
.page-home .home-anchor__art img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.page-home .home-anchor__btn{
  display: block;
  text-align: center;
}
.page-home .home-anchor__hint{
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.68;
  color: var(--steel);
}

/* ---------- 下载速览 ---------- */
.page-home .home-download{
  margin-bottom: clamp(40px, 7vw, 92px);
}
.page-home .home-download__cards{
  display: grid;
  gap: var(--home-gap);
  margin-top: clamp(22px, 3.4vw, 36px);
}
.page-home .home-card{
  position: relative;
  overflow: hidden;
  padding: calc(var(--home-pad) + 10px) var(--home-pad) var(--home-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(158deg, var(--panel) 0%, #071023 100%);
  box-shadow: var(--home-shadow);
  transition: border-color var(--ease), transform var(--ease);
}
.page-home .home-card:hover{
  border-color: var(--amber);
  transform: translateY(-2px);
}
.page-home .home-card::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 64px;
  background: linear-gradient(112deg, rgba(62, 232, 214, .16) 0%, rgba(62, 232, 214, 0) 72%);
  clip-path: polygon(0 0, 100% 0, 74% 100%, 0 100%);
  pointer-events: none;
}
.page-home .home-card--final{
  border-color: rgba(246, 184, 74, .55);
}
.page-home .home-card--final::before{
  background: linear-gradient(112deg, rgba(246, 184, 74, .18) 0%, rgba(246, 184, 74, 0) 72%);
}
.page-home .home-card__tag{
  position: relative;
  display: inline-block;
}
.page-home .home-card__title{
  position: relative;
  margin: 14px 0 8px;
  font-size: 19px;
  font-weight: 800;
  color: var(--frost);
}
.page-home .home-card__text{
  position: relative;
  margin: 0;
  font-size: 15px;
  line-height: 1.76;
  color: var(--steel);
}
.page-home .home-download__foot{
  display: grid;
  gap: 18px;
  margin-top: clamp(20px, 3vw, 32px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.page-home .home-download__note{
  margin: 0;
  font-size: 15px;
  line-height: 1.76;
  color: var(--steel);
}

/* ---------- 版本差别 ---------- */
.page-home .home-compare{
  margin-bottom: clamp(40px, 7vw, 92px);
}
.page-home .home-compare__grid{
  display: grid;
  gap: var(--home-gap);
  margin-top: clamp(22px, 3.4vw, 36px);
}
.page-home .home-compare__table{
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(26, 17, 54, .74) 0%, rgba(8, 17, 37, .96) 100%);
}
.page-home .home-compare table{
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}
.page-home .home-compare th,
.page-home .home-compare td{
  padding: 16px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.66;
  color: var(--frost);
  border-bottom: 1px solid var(--line);
}
.page-home .home-compare thead th{
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--violet);
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
}
.page-home .home-compare tbody th{
  font-weight: 700;
  color: var(--steel);
  white-space: nowrap;
}
.page-home .home-compare tbody tr{
  transition: background .12s linear;
}
.page-home .home-compare tbody tr:hover{
  background: rgba(43, 30, 85, .6);
}
.page-home .home-compare td.is-new{
  color: var(--fresh);
}
.page-home .home-compare tbody tr:last-child th,
.page-home .home-compare tbody tr:last-child td{
  border-bottom: 0;
}
.page-home .home-compare__aside{
  display: grid;
  gap: 16px;
  align-content: start;
}
.page-home .home-compare__art{
  margin: 0;
}
.page-home .home-compare__art img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-home .home-compare__note{
  margin: 0;
  font-size: 15px;
  line-height: 1.76;
  color: var(--steel);
}

/* ---------- 联系信息条 ---------- */
.page-home .home-service{
  position: relative;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel) 0%, rgba(5, 10, 24, .92) 100%);
  overflow: hidden;
}
.page-home .home-service::after{
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(62, 232, 214, 0), rgba(62, 232, 214, .7), rgba(246, 184, 74, 0));
}
.page-home .home-service__row{
  display: grid;
  gap: 14px;
  margin-top: clamp(20px, 3vw, 30px);
}
.page-home .home-service__item{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--amber);
  border-radius: var(--radius);
  background: rgba(11, 22, 48, .74);
}
.page-home .home-service__label{
  display: block;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--steel);
}
.page-home .home-service__value{
  font-size: 16px;
  color: var(--frost);
  word-break: break-word;
}
.page-home .home-service__copy{
  margin-left: auto;
}
.page-home .home-service__hours{
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--steel);
}
.page-home .home-service__link{
  margin: 18px 0 0;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px){
  .page-home .home-download__foot{
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .page-home .home-download__foot .btn{
    justify-self: start;
  }
}

@media (min-width: 760px){
  .page-home .home-board__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .home-anchor{
    grid-column: 1 / -1;
  }
  .page-home .home-download__cards{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .home-service__row{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px){
  .page-home .home-cover__inner{
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    column-gap: var(--home-gap);
  }
  .page-home .home-cover__kicker{
    grid-column: 1 / 8;
  }
  .page-home .home-cover__title{
    grid-column: 1 / 9;
  }
  .page-home .home-cover__lede{
    grid-column: 1 / 7;
    max-width: none;
  }
  .page-home .home-cover__note{
    grid-column: 1 / 7;
  }
  .page-home .home-cover__art{
    grid-column: 8 / 13;
    grid-row: 1 / 5;
    align-self: end;
    margin-top: clamp(20px, 4vw, 56px);
  }
  .page-home .home-compare__grid{
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }
}

@media (min-width: 1080px){
  .page-home .home-board__grid{
    grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr);
    align-items: start;
  }
  .page-home .home-anchor{
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce){
  .page-home .home-anchor{
    animation: none;
  }
  .page-home .home-card{
    transition: none;
  }
  .page-home .home-card:hover{
    transform: none;
  }
}
