.page-home{
  --hp-grid:rgba(228,222,210,.9);
  --hp-blue-soft:rgba(31,111,235,.09);
  background:var(--paper);
  color:var(--ink);
}

.page-home .wrap{
  max-width:1180px;
  margin-inline:auto;
  padding-inline:var(--gutter);
}

/* ---------- 首屏 ---------- */
.page-home .hero{
  position:relative;
  padding:clamp(34px,6vw,72px) 0 clamp(44px,7vw,86px);
  background-image:
    linear-gradient(var(--hp-grid) 1px,transparent 1px),
    linear-gradient(90deg,var(--hp-grid) 1px,transparent 1px);
  background-size:56px 56px;
  border-bottom:1px solid var(--rule);
  overflow:hidden;
}
.page-home .hero::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  background:linear-gradient(90deg,
    var(--blue) 0 30%,
    var(--teal) 30% 56%,
    var(--wine) 56% 80%,
    var(--indigo) 80% 100%);
}
.page-home .hero__inner{
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(30px,5vw,52px);
  align-items:start;
}
.page-home .hero__copy{ max-width:40em; }

.page-home .breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  font-size:13px;
  color:var(--graphite);
  margin-bottom:clamp(18px,3vw,28px);
}
.page-home .breadcrumbs__sep{ margin-inline:8px; opacity:.5; }

.page-home .hero h1{
  font-size:clamp(29px,5.4vw,52px);
  line-height:1.16;
  font-weight:900;
  letter-spacing:-.015em;
  margin:12px 0 22px;
}
.page-home .hero .lede{
  font-size:17px;
  line-height:1.78;
  color:var(--graphite);
  max-width:32em;
  margin:0 0 30px;
}
.page-home .hero__cta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.page-home .hero__visual{
  display:grid;
  gap:22px;
  min-width:0;
}
.page-home .topo-wrap{
  position:relative;
  background:var(--paper-3);
  border-radius:var(--r-xl);
  box-shadow:var(--shadow-2);
  padding:26px 14px 10px;
}
.page-home .topo{
  display:block;
  width:100%;
  height:auto;
}
.page-home .topo__link{
  fill:none;
  stroke:var(--graphite);
  stroke-width:1.5;
}
.page-home .topo rect{
  fill:var(--paper);
  stroke:var(--rule);
  stroke-width:1.5;
}
.page-home .topo text{
  font-family:var(--font-sans);
  font-size:17px;
  font-weight:800;
  fill:var(--ink);
}
.page-home .topo .topo__sub{
  font-size:12.5px;
  font-weight:400;
  fill:var(--graphite);
}
.page-home .topo__node--old rect{
  fill:var(--paper-3);
  stroke:var(--graphite);
  stroke-dasharray:5 4;
}
.page-home .topo__node--now rect{
  fill:var(--blue);
  stroke:var(--blue-deep);
}
.page-home .topo__node--now text{ fill:#fff; }
.page-home .topo__node--now .topo__sub{ fill:rgba(255,255,255,.84); }

.page-home .verchip{
  position:absolute;
  top:-14px;
  left:18px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  max-width:calc(100% - 36px);
  padding:7px 14px;
  border-radius:var(--r-pill);
  background:var(--orange);
  color:var(--ink);
  font-size:13px;
  font-weight:800;
  box-shadow:0 10px 20px -14px rgba(22,24,29,.7);
  cursor:default;
}
.page-home .verchip__dot{
  flex:none;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--ink);
  opacity:.72;
}
.page-home .verchip__label{ white-space:nowrap; }
.page-home .verchip__note{
  max-width:0;
  overflow:hidden;
  white-space:nowrap;
  font-size:12px;
  font-weight:400;
  opacity:0;
  transition:max-width 220ms ease-out,opacity 220ms ease-out,margin-left 220ms ease-out;
}
.page-home .verchip:hover .verchip__note,
.page-home .verchip:focus-within .verchip__note{
  max-width:22em;
  opacity:.88;
  margin-left:2px;
}
.page-home .verchip:focus-visible{
  outline:3px solid var(--focus);
  outline-offset:2px;
}
@media (max-width:640px){
  .page-home .verchip__note{ display:none; }
}

/* ---------- 图片容器 ---------- */
.page-home .media{
  margin:0;
  display:grid;
  gap:10px;
  min-width:0;
}
.page-home .media img{
  display:block;
  width:100%;
  height:auto;
  border-radius:var(--r-lg);
  object-fit:cover;
  background:var(--paper-2);
}
.page-home .media--device img,
.page-home .media--detail img{
  border:1px solid var(--rule);
  box-shadow:var(--shadow-1);
}
.page-home .media--wide img{
  border-radius:var(--r-xl);
}
.page-home .media__caption{
  font-size:13px;
  line-height:1.72;
  color:var(--graphite);
}

/* ---------- 通用分区 ---------- */
.page-home .sec{
  padding:clamp(56px,8vw,110px) 0;
}
.page-home .section-head{
  max-width:44em;
  margin-bottom:clamp(30px,4vw,48px);
}
.page-home .section-head__num{
  display:block;
  font-size:13px;
  letter-spacing:.1em;
  color:var(--blue);
}
.page-home .section-head__title{
  font-size:clamp(24px,3.6vw,36px);
  line-height:1.24;
  font-weight:900;
  letter-spacing:-.012em;
  margin:8px 0 12px;
}
.page-home .section-head__meta{
  font-size:15px;
  line-height:1.8;
  color:var(--graphite);
  margin:0;
}

/* ---------- 三步恢复 ---------- */
.page-home .recover{
  display:grid;
  grid-template-columns:1fr;
  gap:34px;
  align-items:start;
}
.page-home .step{
  background:var(--paper-3);
  border-radius:var(--r-lg);
  border-left:4px solid var(--rule);
  box-shadow:var(--shadow-1);
  transition:border-color 160ms ease-out,transform 160ms ease-out,box-shadow 160ms ease-out;
}
.page-home .step + .step{ margin-top:14px; }
.page-home .step[open]{
  border-left-color:var(--blue);
  box-shadow:var(--shadow-2);
}
.page-home .step:hover{ transform:translateY(-2px); }

.page-home .step__head{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:4px 14px;
  align-items:baseline;
  padding:18px 20px;
  cursor:pointer;
  list-style:none;
}
.page-home .step__head::-webkit-details-marker{ display:none; }
.page-home .step__head:focus-visible{
  outline:3px solid var(--focus);
  outline-offset:-3px;
  border-radius:var(--r-lg);
}
.page-home .step__num{
  font-size:22px;
  font-weight:700;
  line-height:1;
  color:var(--blue);
}
.page-home .step__title{
  font-size:17px;
  font-weight:800;
  color:var(--ink);
}
.page-home .step__time{
  grid-column:2;
  font-size:12px;
  letter-spacing:.03em;
  color:var(--graphite);
}
.page-home .step__body{
  margin:0 20px 20px;
  padding-top:14px;
  border-top:1px dashed var(--rule);
  font-size:15px;
  line-height:1.8;
  color:var(--graphite);
}
.page-home .step__body p{ margin:0 0 10px; }
.page-home .step__body p:last-child{ margin-bottom:0; }
.page-home .step__check{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:.02em;
  color:var(--teal);
  background:rgba(14,79,82,.07);
  border-radius:var(--r-md);
  padding:10px 12px;
}
.page-home .recover__more{
  margin:22px 0 0;
  font-size:14.5px;
  line-height:1.75;
  color:var(--graphite);
}

/* ---------- 六个栏目 ---------- */
.page-home .sec--deep{
  position:relative;
  background:var(--teal);
  color:#fff;
  overflow:hidden;
}
.page-home .sec--deep::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:4px;
  background:linear-gradient(90deg,var(--orange) 0 20%,var(--focus) 20% 42%,transparent 42%);
}
.page-home .sec--deep .section-head__num{ color:var(--focus); }
.page-home .sec--deep .section-head__title{ color:#fff; }
.page-home .sec--deep .section-head__meta{ color:rgba(255,255,255,.76); }
.page-home .sec--deep .media__caption{ color:rgba(255,255,255,.72); }

.page-home .route-list{
  list-style:none;
  margin:0;
  padding:0;
  border-top:1px solid rgba(255,255,255,.22);
}
.page-home .route-list__item{
  border-bottom:1px solid rgba(255,255,255,.22);
}
.page-home .route-row{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  grid-template-areas:
    "num title go"
    "num desc  go";
  align-items:baseline;
  gap:2px 18px;
  padding:18px 6px;
  color:#fff;
  text-decoration:none;
  transition:background 160ms ease-out,transform 160ms ease-out;
}
.page-home .route-row__num{
  grid-area:num;
  font-size:clamp(22px,3vw,34px);
  font-weight:700;
  line-height:1;
  color:var(--focus);
  transform:translateY(2px);
  transition:transform 160ms ease-out,color 160ms ease-out;
}
.page-home .route-row__title{
  grid-area:title;
  font-size:clamp(17px,2.2vw,21px);
  font-weight:800;
  line-height:1.4;
}
.page-home .route-row__desc{
  grid-area:desc;
  font-size:14px;
  line-height:1.7;
  color:rgba(255,255,255,.72);
}
.page-home .route-row__go{
  grid-area:go;
  align-self:center;
  font-size:20px;
  color:rgba(255,255,255,.46);
  transition:transform 160ms ease-out,color 160ms ease-out;
}
.page-home .route-row:hover,
.page-home .route-row:focus-visible{
  background:rgba(255,255,255,.08);
  transform:translateX(4px);
}
.page-home .route-row:hover .route-row__go,
.page-home .route-row:focus-visible .route-row__go{
  transform:translateX(6px);
  color:var(--focus);
}
.page-home .route-row:hover .route-row__num,
.page-home .route-row:focus-visible .route-row__num{
  transform:translateY(0);
  color:#fff;
}
.page-home .route-row:focus-visible{
  outline:3px solid var(--focus);
  outline-offset:-3px;
}
.page-home .routes__fig{ margin-top:clamp(30px,4vw,48px); }

/* ---------- 版本改动 ---------- */
.page-home .tabs{
  display:flex;
  gap:6px;
  margin-bottom:26px;
  border-bottom:1px solid var(--rule);
  overflow-x:auto;
  scrollbar-width:thin;
}
.page-home .tab{
  appearance:none;
  background:none;
  border:0;
  border-bottom:3px solid transparent;
  padding:12px 16px;
  font-family:inherit;
  font-size:15px;
  font-weight:800;
  color:var(--graphite);
  white-space:nowrap;
  cursor:pointer;
  transition:color 160ms ease-out,border-color 160ms ease-out;
}
.page-home .tab:hover{ color:var(--ink); }
.page-home .tab[aria-selected="true"]{
  color:var(--blue);
  border-bottom-color:var(--blue);
}
.page-home .tab:focus-visible{
  outline:3px solid var(--focus);
  outline-offset:-3px;
}
.page-home .tab-panel[hidden]{ display:none; }

.page-home .changelog{
  list-style:none;
  margin:0;
  padding:0;
}
.page-home .changelog__item{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:4px 18px;
  padding:18px 0;
  border-bottom:1px solid var(--rule);
}
.page-home .changelog__key{
  grid-row:1 / span 2;
  align-self:start;
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.06em;
  color:var(--blue);
  background:var(--hp-blue-soft);
  border-radius:var(--r-pill);
  padding:5px 11px;
  white-space:nowrap;
}
.page-home .changelog__title{
  font-size:16px;
  font-weight:800;
  line-height:1.5;
  margin:0;
}
.page-home .changelog__text{
  font-size:14.5px;
  line-height:1.78;
  color:var(--graphite);
  margin:0;
}

/* ---------- 反馈与清单 ---------- */
.page-home .sec--wine{
  background:var(--wine);
  color:#fff;
}
.page-home .sec--wine .section-head__num{ color:var(--focus); }
.page-home .sec--wine .section-head__title{ color:#fff; }
.page-home .sec--wine .section-head__meta{ color:rgba(255,255,255,.8); }
.page-home .sec--wine .media__caption{ color:rgba(255,255,255,.78); }

.page-home .send{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
  align-items:start;
}
.page-home .checklist{
  list-style:none;
  counter-reset:hpcheck;
  margin:0 0 24px;
  padding:0;
}
.page-home .checklist li{
  counter-increment:hpcheck;
  position:relative;
  padding:13px 0 13px 40px;
  border-bottom:1px solid rgba(255,255,255,.22);
  font-size:15.5px;
  line-height:1.7;
}
.page-home .checklist li::before{
  content:counter(hpcheck,decimal-leading-zero);
  position:absolute;
  left:0;
  top:13px;
  font-family:var(--font-mono);
  font-size:13px;
  letter-spacing:.04em;
  color:var(--focus);
}
.page-home .send__actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
}
.page-home .sec--wine .btn--signal{
  background:var(--paper);
  border-color:var(--paper);
  color:var(--wine);
}
.page-home .sec--wine .btn--signal:hover{
  background:#fff;
  color:var(--wine);
}
.page-home .sec--wine .send__ghost{
  border-color:rgba(255,255,255,.6);
  color:#fff;
}
.page-home .sec--wine .send__ghost:hover{
  background:rgba(255,255,255,.12);
  color:#fff;
}
.page-home .copy-status{
  display:inline-block;
  margin-left:8px;
  font-size:12px;
  font-weight:400;
  opacity:.88;
}
.page-home .send__note{
  margin:20px 0 0;
  font-size:13.5px;
  line-height:1.75;
  color:rgba(255,255,255,.76);
}

/* ---------- 页尾目录 ---------- */
.page-home .sec--tail{
  padding-top:clamp(46px,6vw,80px);
  padding-bottom:clamp(56px,8vw,100px);
  background:var(--paper);
}
.page-home .sec--tail .section-head__title{ margin:0 0 clamp(22px,3vw,34px); }
.page-home .tail-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:14px;
}
.page-home .tail-link{
  display:block;
  height:100%;
  padding:20px 22px;
  background:var(--paper-3);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow-1);
  color:var(--ink);
  text-decoration:none;
  transition:transform 160ms ease-out,box-shadow 160ms ease-out;
}
.page-home .tail-link:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-2);
}
.page-home .tail-link:focus-visible{
  outline:3px solid var(--focus);
  outline-offset:2px;
}
.page-home .tail-link__key{
  display:block;
  font-size:12px;
  letter-spacing:.06em;
  color:var(--blue);
  margin-bottom:8px;
}
.page-home .tail-link__title{
  display:block;
  font-size:16px;
  font-weight:800;
  line-height:1.6;
}

/* ---------- 断点 ---------- */
@media (min-width:760px){
  .page-home .tail-list{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .page-home .tail-list > li:first-child{
    grid-column:1 / -1;
  }
}

@media (min-width:900px){
  .page-home .recover{
    grid-template-columns:minmax(0,7fr) minmax(0,5fr);
    gap:clamp(32px,4vw,58px);
  }
  .page-home .send{
    grid-template-columns:minmax(0,6fr) minmax(0,5fr);
    gap:clamp(32px,4vw,60px);
  }
}

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

@media (min-width:1200px){
  .page-home .recover__fig{ margin-right:-48px; }
}

@media (max-width:520px){
  .page-home .route-row{
    grid-template-columns:auto minmax(0,1fr);
    grid-template-areas:
      "num title"
      "num desc";
    gap:4px 14px;
    padding:16px 4px;
  }
  .page-home .route-row__go{ display:none; }
  .page-home .changelog__item{ grid-template-columns:1fr; }
  .page-home .changelog__key{ grid-row:auto; justify-self:start; }
}

@media (prefers-reduced-motion:reduce){
  .page-home .step,
  .page-home .route-row,
  .page-home .route-row__go,
  .page-home .route-row__num,
  .page-home .tail-link,
  .page-home .verchip__note{
    transition-duration:1ms;
  }
  .page-home .step:hover,
  .page-home .tail-link:hover,
  .page-home .route-row:hover,
  .page-home .route-row:focus-visible{
    transform:none;
  }
}

/* ---------- 深色底上的焦点与链接高亮 ---------- */
.page-home .sec--deep a:focus-visible,
.page-home .sec--wine a:focus-visible{
  outline:3px solid var(--focus);
  outline-offset:2px;
}
.page-home .sec--wine .link{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
}
