.page-home{
  --home-pad: clamp(56px, 9vw, 120px);
  --home-gap: clamp(20px, 4vw, 44px);
  background:
    radial-gradient(120% 70% at 84% -6%, rgba(59, 240, 200, .13), transparent 62%),
    linear-gradient(180deg, #050F1A 0%, #071A15 46%, #050F1A 100%);
  color: var(--qd-ink);
  font-family: var(--qd-sans);
  overflow-x: clip;
}

.page-home .home-eyebrow{
  margin: 0;
  font-family: var(--qd-mono);
  font-size: 12px;
  letter-spacing: .28em;
  color: var(--qd-cyan);
  text-transform: uppercase;
}

.page-home .home-sec-title{
  margin: .45em 0 0;
  font-size: clamp(1.55rem, 3.8vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--qd-ink);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero{
  position: relative;
  padding: calc(var(--qd-gutter) + 92px) var(--qd-gutter) clamp(48px, 7vw, 88px);
  overflow: hidden;
}
.page-home .home-hero::after{
  content: "";
  position: absolute;
  left: var(--qd-gutter);
  right: var(--qd-gutter);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--qd-cyan), rgba(59, 240, 200, 0));
}
.page-home .home-hero__grain{
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(102deg, rgba(59, 240, 200, .07) 0 1px, transparent 1px 15px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent 76%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent 76%);
  pointer-events: none;
}
.page-home .home-hero__grid{
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  max-width: var(--qd-w);
  margin: 0 auto;
}
.page-home .home-hero__title{
  margin: .4em 0 0;
  font-size: clamp(2.1rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -.025em;
}
.page-home .home-hero__title span{
  display: block;
  color: var(--qd-cyan-soft);
}
.page-home .home-hero__lede{
  max-width: 32ch;
  margin: 1.1em 0 0;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: rgba(233, 251, 244, .84);
}
.page-home .home-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.page-home .home-hero__chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.page-home .home-hero__chips li{
  padding: 5px 10px;
  border: 1px solid var(--qd-line);
  font-family: var(--qd-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--qd-muted);
}

.page-home .home-hero__steps{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-home .home-step{
  position: relative;
  isolation: isolate;
  padding: 14px 16px 15px;
  background: var(--qd-panel);
  border: 1px solid var(--qd-line);
}
.page-home .home-step::before{
  content: "";
  position: absolute;
  inset: 6px -6px -6px 6px;
  border: 1px solid rgba(30, 74, 59, .7);
  z-index: -1;
}
.page-home .home-step:nth-child(even){
  margin-left: clamp(10px, 3vw, 26px);
  background: var(--qd-panel-2);
}
.page-home .home-step__tag{
  position: absolute;
  top: -9px;
  right: 10px;
  background: var(--qd-paper);
  color: var(--qd-panel);
  font-family: var(--qd-mono);
  font-size: 11px;
  letter-spacing: .1em;
}
.page-home .home-step__num{
  margin: 0;
  font-family: var(--qd-mono);
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--qd-cyan);
}
.page-home .home-step__title{
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .01em;
}
.page-home .home-step__text{
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--qd-muted);
}
.page-home .home-hero__more{
  align-self: flex-start;
  margin-top: 6px;
  font-family: var(--qd-mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--qd-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(59, 240, 200, .4);
  padding-bottom: 2px;
}
.page-home .home-hero__more:hover{
  color: var(--qd-cyan-soft);
}

.page-home .home-rail{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--qd-line);
  background: linear-gradient(180deg, rgba(18, 53, 42, .9), rgba(10, 32, 25, .9));
}
.page-home .home-rail__shot{
  overflow: hidden;
}
.page-home .home-rail__shot img{
  display: block;
  width: 100%;
  height: clamp(120px, 20vw, 180px);
  object-fit: cover;
  filter: saturate(.85) contrast(1.05);
}
.page-home .home-rail__label{
  margin: 0;
  font-family: var(--qd-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  color: var(--qd-cyan);
}
.page-home .home-rail__text{
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(233, 251, 244, .86);
}
.page-home .home-rail__num{
  margin: 4px 0 0;
  font-family: var(--qd-mono);
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  line-height: 1;
  color: var(--qd-cyan);
  letter-spacing: .01em;
}
.page-home .home-rail__num span{
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--qd-muted);
}
.page-home .home-rail__link{
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--qd-line);
  font-size: 13px;
  color: var(--qd-ink);
  text-decoration: none;
}
.page-home .home-rail__link::after{
  content: " →";
  color: var(--qd-cyan);
}
.page-home .home-rail__link:hover{
  color: var(--qd-cyan-soft);
}

/* ---------- 四步流程 ---------- */
.page-home .home-flow{
  padding: var(--home-pad) var(--qd-gutter);
}
.page-home .home-flow__inner{
  max-width: var(--qd-w);
  margin: 0 auto;
}
.page-home .home-flow__lede{
  max-width: 56ch;
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(233, 251, 244, .82);
}
.page-home .home-flow__switch{
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  margin-top: clamp(26px, 4vw, 44px);
}
.page-home .home-flow__radio{
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.page-home .home-flow__steps{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-home .home-flow__step{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  padding: 14px 16px;
  border: 1px solid var(--qd-line);
  background: var(--qd-panel);
  cursor: pointer;
  transition: border-color .2s var(--qd-ease), background-color .2s var(--qd-ease);
}
.page-home .home-flow__num{
  grid-row: span 2;
  font-family: var(--qd-mono);
  font-size: 1.15rem;
  letter-spacing: .08em;
  color: var(--qd-muted);
}
.page-home .home-flow__name{
  font-size: 15.5px;
  font-weight: 700;
}
.page-home .home-flow__hint{
  font-size: 12.5px;
  color: var(--qd-muted);
}
.page-home .home-flow__step:hover{
  border-color: rgba(59, 240, 200, .55);
}
.page-home #home-step-01:checked ~ .home-flow__steps .home-flow__step[for="home-step-01"],
.page-home #home-step-02:checked ~ .home-flow__steps .home-flow__step[for="home-step-02"],
.page-home #home-step-03:checked ~ .home-flow__steps .home-flow__step[for="home-step-03"],
.page-home #home-step-04:checked ~ .home-flow__steps .home-flow__step[for="home-step-04"]{
  border-color: var(--qd-cyan);
  background: var(--qd-panel-2);
}
.page-home #home-step-01:checked ~ .home-flow__steps .home-flow__step[for="home-step-01"] .home-flow__num,
.page-home #home-step-02:checked ~ .home-flow__steps .home-flow__step[for="home-step-02"] .home-flow__num,
.page-home #home-step-03:checked ~ .home-flow__steps .home-flow__step[for="home-step-03"] .home-flow__num,
.page-home #home-step-04:checked ~ .home-flow__steps .home-flow__step[for="home-step-04"] .home-flow__num{
  color: var(--qd-cyan);
}

.page-home .home-flow__panels{
  border-top: 2px solid var(--qd-cyan);
  background: linear-gradient(180deg, rgba(18, 53, 42, .55), rgba(10, 32, 25, .55));
  padding: clamp(18px, 3vw, 28px);
}
.page-home .home-flow__panel{
  display: none;
}
.page-home #home-step-01:checked ~ .home-flow__panels .home-flow__panel--01,
.page-home #home-step-02:checked ~ .home-flow__panels .home-flow__panel--02,
.page-home #home-step-03:checked ~ .home-flow__panels .home-flow__panel--03,
.page-home #home-step-04:checked ~ .home-flow__panels .home-flow__panel--04{
  display: block;
}
.page-home .home-flow__panel p{
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(233, 251, 244, .88);
}
.page-home .home-flow__panel .home-flow__label{
  margin: 18px 0 6px;
  font-family: var(--qd-mono);
  font-size: 11.5px;
  letter-spacing: .22em;
  color: var(--qd-cyan);
}
.page-home .home-flow__panel .home-flow__label:first-child{
  margin-top: 0;
}

.page-home .home-flow__figure{
  margin: clamp(26px, 4vw, 44px) 0 0;
  max-width: 760px;
}
.page-home .home-flow__figure img{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 1px solid var(--qd-line);
  object-fit: cover;
}
.page-home .home-flow__figure figcaption{
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--qd-muted);
}

/* ---------- 导出 ---------- */
.page-home .home-export{
  position: relative;
  overflow: hidden;
  padding: calc(var(--home-pad) + 28px) var(--qd-gutter);
}
.page-home .home-export__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  clip-path: polygon(0 3.5%, 100% 0, 100% 96.5%, 0 100%);
  overflow: hidden;
}
.page-home .home-export__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
}
.page-home .home-export__bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 15, 26, .95) 12%, rgba(5, 15, 26, .55) 60%, rgba(10, 32, 25, .9));
}
.page-home .home-export__inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  max-width: var(--qd-w);
  margin: 0 auto;
}
.page-home .home-export__text p{
  max-width: 52ch;
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(233, 251, 244, .86);
}
.page-home .home-export__text .qd-btn{
  margin-top: 26px;
}
.page-home .home-export__panel{
  align-self: start;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--qd-line);
  background: rgba(10, 32, 25, .88);
}
.page-home .home-export__panel-title{
  margin: 0 0 14px;
  font-family: var(--qd-mono);
  font-size: 11.5px;
  letter-spacing: .22em;
  color: var(--qd-cyan);
}
.page-home .home-export__list{
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .home-export__list li{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--qd-line);
  font-size: 14px;
}
.page-home .home-export__list li span:first-child{
  font-weight: 700;
}
.page-home .home-export__list li span:last-child{
  font-family: var(--qd-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--qd-muted);
}
.page-home .home-export__limit{
  margin: 16px 0 0;
  font-family: var(--qd-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--qd-cyan-soft);
}

/* ---------- 主题目录 ---------- */
.page-home .home-topics{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  max-width: var(--qd-w);
  margin: 0 auto;
  padding: var(--home-pad) var(--qd-gutter);
}
.page-home .home-topics__media img{
  display: block;
  width: 100%;
  height: clamp(180px, 26vw, 340px);
  object-fit: cover;
  border: 1px solid var(--qd-line);
  opacity: .9;
}
.page-home .home-topics__list{
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--qd-line);
}
.page-home .home-topics__list li{
  border-bottom: 1px solid var(--qd-line);
}
.page-home .home-topics__list a{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  padding: 16px 8px;
  text-decoration: none;
  color: var(--qd-ink);
  transition: background-color .2s var(--qd-ease), padding-left .2s var(--qd-ease);
}
.page-home .home-topics__list a:hover{
  background: rgba(59, 240, 200, .07);
  padding-left: 16px;
}
.page-home .home-topics__num{
  grid-row: span 2;
  font-family: var(--qd-mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--qd-cyan);
}
.page-home .home-topics__name{
  font-size: 16px;
  font-weight: 700;
}
.page-home .home-topics__desc{
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--qd-muted);
}

/* ---------- 更新与状态 ---------- */
.page-home .home-log{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  max-width: var(--qd-w);
  margin: 0 auto;
  padding: 0 var(--qd-gutter) var(--home-pad);
}
.page-home .home-log__list{
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding: 0;
  list-style: none;
}
.page-home .home-log__list li{
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 18px 0;
  border-top: 1px solid var(--qd-line);
}
.page-home .home-log__list li:last-child{
  border-bottom: 1px solid var(--qd-line);
}
.page-home .home-log__when{
  font-family: var(--qd-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--qd-cyan);
}
.page-home .home-log__title{
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
}
.page-home .home-log__desc{
  margin: 5px 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--qd-muted);
}
.page-home .home-log__main .qd-btn{
  margin-top: 26px;
}
.page-home .home-log__panel{
  align-self: start;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--qd-line);
  background: var(--qd-panel);
  position: relative;
}
.page-home .home-log__panel::before{
  content: "";
  position: absolute;
  inset: 6px -6px -6px 6px;
  border: 1px solid rgba(30, 74, 59, .7);
  z-index: -1;
}
.page-home .home-log__panel-title{
  margin: 0 0 14px;
  font-family: var(--qd-mono);
  font-size: 11.5px;
  letter-spacing: .22em;
  color: var(--qd-cyan);
}
.page-home .home-log__dl{
  margin: 0;
}
.page-home .home-log__dl > div{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--qd-line);
}
.page-home .home-log__dl dt{
  font-size: 13.5px;
  color: var(--qd-muted);
}
.page-home .home-log__dl dd{
  margin: 0;
  font-family: var(--qd-mono);
  font-size: 13px;
  letter-spacing: .03em;
  color: var(--qd-ink);
  text-align: right;
}
.page-home .home-log__note{
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--qd-muted);
}

/* ---------- 关于球帝 ---------- */
.page-home .home-about{
  padding: var(--home-pad) var(--qd-gutter);
  background: linear-gradient(180deg, rgba(10, 32, 25, .9), rgba(5, 15, 26, .95));
  border-top: 1px solid var(--qd-line);
}
.page-home .home-about > *{
  max-width: var(--qd-w);
  margin-left: auto;
  margin-right: auto;
}
.page-home .home-about .home-sec-title{
  max-width: var(--qd-w);
}
.page-home .home-about__lede{
  max-width: 60ch;
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(233, 251, 244, .84);
}
.page-home .home-about__stats{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: clamp(24px, 4vw, 40px) auto 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--qd-line);
  padding-top: clamp(20px, 3vw, 30px);
}
.page-home .home-about__stats li{
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.page-home .home-about__num{
  font-family: var(--qd-mono);
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  line-height: 1;
  color: var(--qd-cyan);
  letter-spacing: .01em;
}
.page-home .home-about__unit{
  font-size: 13px;
  color: var(--qd-muted);
}
.page-home .home-about .qd-btn{
  margin-top: clamp(24px, 4vw, 36px);
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px){
  .page-home .home-log__list li{
    grid-template-columns: 160px 1fr;
    gap: 20px;
  }
  .page-home .home-about__stats{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 28px;
  }
}

@media (min-width: 900px){
  .page-home .home-hero__grid{
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.05fr) minmax(0, .62fr);
    align-items: start;
    gap: clamp(24px, 3vw, 38px);
  }
  .page-home .home-rail{
    position: relative;
    top: 34px;
  }
  .page-home .home-flow__switch{
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr);
    align-items: start;
  }
  .page-home .home-export__inner{
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr);
    align-items: start;
    gap: clamp(28px, 4vw, 56px);
  }
  .page-home .home-topics{
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    align-items: start;
    gap: clamp(28px, 4vw, 56px);
  }
  .page-home .home-topics__media img{
    height: 100%;
    min-height: 340px;
  }
  .page-home .home-log{
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .72fr);
    align-items: start;
    gap: clamp(28px, 4vw, 56px);
  }
  .page-home .home-about__stats{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce){
  .page-home .home-flow__step,
  .page-home .home-topics__list a{
    transition: none;
  }
}
