.page-home{
  --home-gutter: clamp(1.1rem, 4vw, 2.5rem);
  background: var(--warm-white);
  color: var(--deep-teal);
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(4.5rem, 12vw, 8rem);
  color: var(--on-dark-strong);
  background:
    radial-gradient(120% 140% at 8% -12%, rgba(220, 232, 229, .18), transparent 58%),
    radial-gradient(90% 120% at 100% 110%, rgba(242, 107, 42, .16), transparent 62%),
    var(--deep-teal);
}
.page-home .home-hero::after{
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: clamp(44px, 9vw, 110px);
  background: var(--warm-white);
  clip-path: polygon(0 100%, 0 48%, 100% 100%);
  z-index: 1;
  pointer-events: none;
}
.page-home .hero-inner{
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(1.8rem, 5vw, 3rem);
  align-items: center;
}
.page-home .hero-copy .eyebrow{
  color: var(--amber);
  margin: 0 0 1rem;
}
.page-home .hero-copy .display-title{
  color: var(--on-dark-strong);
  margin: 0 0 1.1rem;
  max-width: 13ch;
}
.page-home .hero-copy .lede{
  color: var(--on-dark);
  max-width: 34ch;
  margin: 0 0 1.2rem;
}
.page-home .hero-track{
  width: min(100%, 300px);
  height: 2px;
  margin: 0 0 1.7rem;
  background: linear-gradient(90deg, var(--amber), rgba(245, 184, 75, 0));
  transform: rotate(-3deg);
  transform-origin: left center;
}
.page-home .hero-figure{
  margin: 0;
}
.page-home .hero-figure .figure-frame{
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--hair-dark);
  box-shadow: var(--shadow-card);
}
.page-home .hero-figure img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.page-home .hero-figure .figure-caption{
  margin-top: .7rem;
  color: var(--on-dark-soft);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
}

/* ---------- 分屏骨架 ---------- */
.page-home .home-body{
  display: grid;
  gap: clamp(1.6rem, 4vw, 2.4rem);
  padding-top: clamp(1rem, 3vw, 2rem);
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
}

/* ---------- 航标刻度索引 ---------- */
.page-home .home-rail ol{
  display: flex;
  gap: .5rem;
  margin: 0;
  padding: 0 0 .4rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.page-home .home-rail ol::-webkit-scrollbar{
  display: none;
}
.page-home .home-rail a{
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  padding: .5rem .95rem;
  border: 1px solid var(--hair-light);
  border-radius: var(--r-pill);
  color: var(--stone);
  font-size: .8rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}
.page-home .home-rail a:hover,
.page-home .home-rail a:focus-visible{
  color: var(--deep-teal);
  border-color: var(--signal);
  background: rgba(242, 107, 42, .08);
}
.page-home .rail-idx{
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--clay);
}
.page-home .rail-name{
  letter-spacing: .02em;
}

/* ---------- 内容区通用 ---------- */
.page-home .home-main{
  min-width: 0;
}
.page-home .home-main > section + section{
  margin-top: clamp(2.6rem, 7vw, 4.6rem);
}
.page-home .home-main h2{
  margin: 0 0 .8rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.28;
}
.page-home .section-head{
  max-width: 60ch;
}
.page-home .section-head .eyebrow{
  margin: 0 0 .8rem;
  color: var(--clay);
}
.page-home .section-lede{
  margin: 0 0 1.6rem;
  max-width: 52ch;
  color: var(--stone);
  font-size: 1rem;
  line-height: 1.8;
}
.page-home .figure{
  margin: 0;
}
.page-home .figure-frame{
  border-radius: var(--r-lg);
  overflow: hidden;
}
.page-home .figure img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
.page-home .figure-caption{
  margin-top: .7rem;
  color: var(--stone);
  font-size: .78rem;
  letter-spacing: .04em;
}

/* ---------- 六步指南 ---------- */
.page-home .guide-figure{
  margin-bottom: 1.5rem;
}
.page-home .guide-figure img{
  aspect-ratio: 3 / 2;
}
.page-home .step-list{
  display: grid;
  gap: .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.page-home .step-card details{
  height: 100%;
  padding: 1.05rem 1.2rem;
  border: 1px solid var(--hair-light);
  border-radius: var(--r-lg);
  background: var(--warm-white);
  transition: background .24s var(--ease), border-color .24s var(--ease);
}
.page-home .step-card details[open]{
  background: var(--chart-mint);
  border-color: transparent;
}
.page-home .step-card summary{
  display: flex;
  align-items: center;
  gap: .9rem;
  list-style: none;
  cursor: pointer;
}
.page-home .step-card summary::-webkit-details-marker{
  display: none;
}
.page-home .step-card summary::marker{
  content: "";
}
.page-home .step-card summary::after{
  content: "";
  flex: none;
  width: .58rem;
  height: .58rem;
  margin-left: auto;
  border-right: 2px solid var(--stone);
  border-bottom: 2px solid var(--stone);
  transform: rotate(45deg);
  transition: transform .24s var(--ease);
}
.page-home .step-card details[open] summary::after{
  transform: rotate(225deg);
}
.page-home .step-card .num{
  flex: none;
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 4.4vw, 2.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--deep-teal);
  opacity: .32;
  transition: opacity .24s var(--ease), color .24s var(--ease);
}
.page-home .step-card details[open] .num{
  opacity: 1;
  color: var(--clay);
}
.page-home .step-name{
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--deep-teal);
}
.page-home .step-note{
  margin: .85rem 0 .1rem;
  color: var(--stone);
  font-size: .94rem;
  line-height: 1.8;
}

/* ---------- 手机入口 ---------- */
.page-home .mobile-grid{
  display: grid;
  gap: 1.6rem;
  padding: clamp(1.3rem, 4vw, 2.6rem);
  border-radius: var(--r-lg);
  background: var(--chart-mint);
}
.page-home .mobile-copy .eyebrow{
  margin: 0 0 .8rem;
  color: var(--moss);
}
.page-home .mobile-copy h2{
  color: var(--deep-teal);
}
.page-home .mobile-copy .section-lede{
  color: var(--stone);
}
.page-home .mobile-points{
  display: grid;
  gap: .7rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}
.page-home .mobile-points li{
  position: relative;
  padding-left: 1.15rem;
  color: var(--stone);
  font-size: .94rem;
  line-height: 1.8;
}
.page-home .mobile-points li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--signal);
}
.page-home .mobile-figure{
  margin: 0;
  max-width: 300px;
  margin-inline: auto;
}
.page-home .mobile-figure .figure-frame{
  border-radius: var(--r-md);
  background: var(--warm-white);
}
.page-home .mobile-figure img{
  aspect-ratio: 3 / 4;
}
.page-home .mobile-figure .figure-caption{
  text-align: center;
}

/* ---------- 回访归档 ---------- */
.page-home .archive-section{
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 4vw, 2.9rem);
  border-radius: var(--r-lg);
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(245, 184, 75, .16), transparent 60%),
    var(--ink-teal);
  color: var(--on-dark-strong);
}
.page-home .archive-section .eyebrow{
  margin: 0 0 .8rem;
  color: var(--amber);
}
.page-home .archive-section h2{
  color: var(--on-dark-strong);
}
.page-home .archive-section .section-lede{
  color: var(--on-dark);
  margin-bottom: 1.4rem;
}
.page-home .archive-figure{
  margin: 0 0 1.7rem;
}
.page-home .archive-figure .figure-frame{
  border-radius: var(--r-md);
  border: 1px solid var(--hair-dark);
}
.page-home .archive-figure img{
  aspect-ratio: 16 / 9;
}
.page-home .archive-timeline{
  margin: 0 0 1.7rem;
  padding: 0 0 0 1.3rem;
  list-style: none;
  border-left: 1px solid var(--hair-dark);
  display: grid;
  gap: 1.1rem;
}
.page-home .archive-timeline > li{
  position: relative;
}
.page-home .archive-timeline > li::before{
  content: "";
  position: absolute;
  left: -1.58rem;
  top: 1.15rem;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(242, 107, 42, .16);
}
.page-home .archive-card{
  padding: .9rem 1rem 1rem;
  border: 1px solid var(--hair-dark);
  border-radius: var(--r-md);
  background: rgba(247, 243, 234, .07);
}
.page-home .archive-meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin-bottom: .55rem;
}
.page-home .archive-time{
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  color: var(--amber);
}
.page-home .archive-name{
  margin: 0 0 .35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--on-dark-strong);
}
.page-home .archive-desc{
  margin: 0;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--on-dark);
}
.page-home .archive-section .chip--moss{
  background: rgba(111, 127, 94, .3);
  border-color: rgba(111, 127, 94, .55);
  color: var(--warm-white);
}
.page-home .archive-section .btn-ghost{
  color: var(--on-dark-strong);
  border-color: rgba(247, 243, 234, .36);
}
.page-home .archive-section .btn-ghost:hover,
.page-home .archive-section .btn-ghost:focus-visible{
  color: var(--ink-teal);
  background: var(--amber);
  border-color: var(--amber);
}

/* ---------- 信任与服务 ---------- */
.page-home .trust-grid{
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}
.page-home .trust-grid .card{
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border: 1px solid var(--hair-light);
  border-radius: var(--r-lg);
  background: var(--warm-white);
  box-shadow: var(--shadow-card);
}
.page-home .trust-grid .card h3{
  margin: 0 0 .55rem;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--deep-teal);
}
.page-home .trust-grid .card p{
  margin: 0;
  color: var(--stone);
  font-size: .94rem;
  line-height: 1.8;
}
.page-home .trust-grid .card--dark{
  background: var(--deep-teal);
  border-color: transparent;
}
.page-home .trust-grid .card--dark h3{
  color: var(--warm-white);
}
.page-home .trust-contact-list{
  display: grid;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .trust-contact-list li{
  color: var(--on-dark);
  font-size: .9rem;
  line-height: 1.65;
  word-break: break-word;
}
.page-home .trust-contact-list span{
  display: block;
  margin-bottom: .1rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--amber);
}
.page-home .trust-links{
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  margin: 1.6rem 0 0;
}
.page-home .trust-links a{
  color: var(--deep-teal);
  font-size: .92rem;
  text-decoration: none;
  border-bottom: 1px solid var(--hair-light);
  padding-bottom: .15rem;
  transition: color .22s var(--ease), border-color .22s var(--ease);
}
.page-home .trust-links a:hover,
.page-home .trust-links a:focus-visible{
  color: var(--signal);
  border-color: var(--signal);
}

/* ---------- 断点 ---------- */
@media (min-width: 640px){
  .page-home .step-list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .trust-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 820px){
  .page-home .mobile-grid{
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
    gap: 2.4rem;
  }
  .page-home .mobile-figure{
    max-width: none;
  }
  .page-home .mobile-figure .figure-caption{
    text-align: left;
  }
  .page-home .archive-timeline{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-left: 0;
    padding-left: 0;
    gap: .9rem;
    border-top: 1px solid var(--hair-dark);
    padding-top: 1.3rem;
  }
  .page-home .archive-timeline > li::before{
    left: 0;
    top: -1.56rem;
  }
  .page-home .archive-card{
    height: 100%;
  }
}

@media (min-width: 900px){
  .page-home .hero-inner{
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
  }
  .page-home .home-body{
    grid-template-columns: 108px minmax(0, 1fr);
    gap: clamp(1.8rem, 4vw, 3.4rem);
  }
  .page-home .home-rail{
    position: sticky;
    top: 6rem;
    align-self: start;
  }
  .page-home .home-rail ol{
    flex-direction: column;
    gap: 0;
    overflow: visible;
    padding-bottom: 0;
    border-left: 1px solid var(--hair-light);
  }
  .page-home .home-rail a{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .2rem;
    padding: .6rem 0 .6rem .85rem;
    border: 0;
    border-radius: 0;
    font-size: .76rem;
    white-space: normal;
    position: relative;
  }
  .page-home .home-rail a::before{
    content: "";
    position: absolute;
    left: -1px;
    top: .55rem;
    bottom: .55rem;
    width: 2px;
    background: transparent;
    transition: background .22s var(--ease);
  }
  .page-home .home-rail a:hover::before,
  .page-home .home-rail a:focus-visible::before{
    background: var(--signal);
  }
  .page-home .home-rail a:hover,
  .page-home .home-rail a:focus-visible{
    background: transparent;
    border-color: transparent;
  }
  .page-home .rail-name{
    color: var(--stone);
  }
  .page-home .trust-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .trust-grid .card--dark{
    grid-column: auto;
  }
}

@media (min-width: 1040px){
  .page-home .hero-copy .display-title{
    max-width: 12ch;
  }
}

@media (prefers-reduced-motion: reduce){
  .page-home .hero-track{
    transform: none;
  }
  .page-home .step-card summary::after,
  .page-home .step-card .num,
  .page-home .home-rail a{
    transition: none;
  }
}
