.page-home {
  --home-gap: clamp(14px, 2.4vw, 22px);
  --home-ink-soft: rgba(7, 24, 43, .74);
  --home-line-soft: rgba(7, 24, 43, .14);
  --home-cut: 22px;
  background: var(--space-blue);
  color: var(--mist);
  overflow-x: hidden;
}

.page-home [id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.page-home .home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
}

.page-home .home-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  flex: 0 0 auto;
}

.page-home .section--paper {
  color: var(--ink);
}

.page-home .section--paper .home-kicker {
  color: var(--wine);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 26px) 0 clamp(48px, 7vw, 88px);
  background: var(--space-blue);
  color: var(--mist);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 46%;
  opacity: .24;
  filter: saturate(.72) contrast(1.06);
  z-index: -2;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(96% 76% at 94% 0%, rgba(59, 60, 143, .58), transparent 62%),
    radial-gradient(70% 60% at 2% 100%, rgba(255, 107, 26, .16), transparent 62%),
    linear-gradient(180deg, rgba(7, 24, 43, .78) 0%, rgba(7, 24, 43, .92) 58%, var(--space-blue) 100%);
}

.page-home .home-hero__trace {
  position: absolute;
  right: -10%;
  top: 6%;
  width: min(720px, 86%);
  height: auto;
  z-index: -1;
  opacity: .6;
  pointer-events: none;
}

.page-home .home-hero__grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 44px);
}

.page-home .home-crumb {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  margin-bottom: 20px;
}

.page-home .home-crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(237, 243, 247, .6);
}

.page-home .home-crumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(195, 208, 220, .4);
}

.page-home .home-crumb a {
  color: var(--mint);
  text-decoration: none;
}

.page-home .home-crumb a:hover {
  color: var(--amber);
}

.page-home .home-hero__lead {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 8.6vw, 74px);
  line-height: 1.03;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.page-home .home-hero__title .hl {
  display: block;
  background: linear-gradient(100deg, var(--orange) 8%, var(--amber) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--orange);
}

.page-home .home-hero__deck {
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.78;
  color: rgba(237, 243, 247, .8);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .home-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 40px);
  margin: 30px 0 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid rgba(195, 208, 220, .18);
}

.page-home .home-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .home-hero__stats .num {
  font-family: var(--font-mono);
  font-size: clamp(21px, 3vw, 30px);
  font-weight: 700;
  line-height: 1;
  color: var(--mint);
}

.page-home .home-hero__stats .lbl {
  font-size: 12px;
  letter-spacing: .05em;
  color: rgba(237, 243, 247, .62);
}

.page-home .home-hero__collage {
  display: grid;
  gap: var(--home-gap);
  min-width: 0;
}

/* ---------- 拼贴卡 ---------- */
.page-home .home-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 24px);
  background: linear-gradient(160deg, rgba(13, 44, 77, .95), rgba(7, 24, 43, .96));
  border: 1px solid rgba(195, 208, 220, .18);
  color: var(--mist);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}

.page-home .home-tile:hover,
.page-home .home-tile:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 26, .58);
  box-shadow: var(--shadow-soft);
}

.page-home .home-tile--service {
  border-color: rgba(255, 107, 26, .42);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}

.page-home .home-tile--service::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), rgba(255, 107, 26, 0));
  pointer-events: none;
}

.page-home .home-tile--return {
  background: linear-gradient(125deg, rgba(59, 60, 143, .62), rgba(13, 44, 77, .96));
  border-color: rgba(52, 214, 165, .34);
}

.page-home .home-tile__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-home .home-tile__idx {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--silver);
}

.page-home .home-tile__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.3;
  color: #fff;
}

.page-home .home-tile p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(237, 243, 247, .74);
}

.page-home .home-tile__img {
  display: block;
  width: 100%;
  height: 128px;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.page-home .home-tile__link {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-decoration: none;
  color: var(--orange);
  transition: color .25s var(--ease);
}

.page-home .home-tile__link:hover,
.page-home .home-tile__link:focus-visible {
  color: var(--amber);
}

.page-home .home-svc {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.page-home .home-svc li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 12px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(195, 208, 220, .16);
}

.page-home .home-svc li:last-child {
  border-bottom: 0;
}

.page-home .home-svc .mono {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mint);
  padding-top: 5px;
}

.page-home .home-svc strong {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.page-home .home-svc em {
  grid-column: 2;
  font-style: normal;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(237, 243, 247, .62);
}

/* ---------- 本地面板 ---------- */
.page-home .home-panel {
  background: var(--paper);
}

.page-home .home-panel__grid {
  display: grid;
  gap: clamp(30px, 4.5vw, 52px);
  align-items: start;
}

.page-home .home-panel h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.22;
  letter-spacing: -.015em;
  color: var(--ink);
}

.page-home .home-panel__lede {
  margin: 0 0 24px;
  font-size: clamp(15px, 1.6vw, 16.5px);
  line-height: 1.82;
  color: var(--home-ink-soft);
  max-width: 52ch;
}

.page-home .home-panel__points {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.page-home .home-panel__points li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--home-ink-soft);
}

.page-home .home-panel__points .mono {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--wine);
  padding-top: 5px;
}

.page-home .home-panel__figure {
  margin: 0;
  min-width: 0;
}

.page-home .home-panel__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.page-home .home-panel__figure figcaption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: rgba(7, 24, 43, .55);
}

/* ---------- 苹果设备复盘 ---------- */
.page-home .home-download {
  position: relative;
  background:
    radial-gradient(80% 90% at 92% 8%, rgba(255, 107, 26, .16), transparent 60%),
    var(--space-blue);
  color: var(--mist);
}

.page-home .home-download__grid {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.page-home .home-download__figure {
  margin: 0;
  min-width: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.page-home .home-download__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-download__figure figcaption {
  position: absolute;
  margin: 0;
  transform: translateY(-100%);
  padding: 8px 14px;
  background: rgba(7, 24, 43, .86);
  border-left: 3px solid var(--mint);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--mist);
}

.page-home .home-download__copy h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.22;
  letter-spacing: -.015em;
}

.page-home .home-download__copy > p {
  margin: 0 0 24px;
  font-size: clamp(15px, 1.6vw, 16.5px);
  line-height: 1.82;
  color: rgba(237, 243, 247, .78);
  max-width: 52ch;
}

.page-home .home-spec {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
  border-top: 1px solid rgba(195, 208, 220, .16);
}

.page-home .home-spec li {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(195, 208, 220, .16);
  align-items: baseline;
}

.page-home .home-spec .mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--silver);
}

.page-home .home-spec strong {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.page-home .home-download__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.page-home .btn--ghost-link {
  background: none;
  border: 0;
  padding: 0;
  font-size: 14px;
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}

.page-home .btn--ghost-link:hover {
  color: var(--amber);
}

/* ---------- V4 与回访 ---------- */
.page-home .home-lab {
  position: relative;
  background:
    radial-gradient(70% 80% at 8% 0%, rgba(59, 60, 143, .5), transparent 66%),
    var(--midnight);
  color: var(--mist);
}

.page-home .home-lab__head {
  max-width: 66ch;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.page-home .home-lab__head h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.22;
  letter-spacing: -.015em;
}

.page-home .home-lab__head p {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 16.5px);
  line-height: 1.82;
  color: rgba(237, 243, 247, .78);
}

.page-home .home-lab__grid {
  display: grid;
  gap: var(--home-gap);
  align-items: start;
}

.page-home .home-lab__v4 {
  padding: clamp(20px, 2.8vw, 30px);
  background: rgba(7, 24, 43, .62);
  border: 1px solid rgba(195, 208, 220, .2);
  border-left: 4px solid var(--wine);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.page-home .home-lab__v4 > p {
  margin: 20px 0 18px;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(237, 243, 247, .76);
}

.page-home .home-metrics {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .home-metrics li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mist);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(195, 208, 220, .22);
}

.page-home .home-metrics .mono {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--mint);
}

.page-home .home-lab__return {
  padding: clamp(20px, 2.8vw, 30px);
  background: linear-gradient(150deg, rgba(52, 214, 165, .14), rgba(13, 44, 77, .9));
  border: 1px solid rgba(52, 214, 165, .38);
}

.page-home .home-lab__return h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(21px, 2.6vw, 26px);
  line-height: 1.3;
  color: #fff;
}

.page-home .home-lab__return p {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(237, 243, 247, .8);
}

/* ---------- 服务保障 ---------- */
.page-home .home-support {
  background: var(--paper);
}

.page-home .home-support__head {
  max-width: 66ch;
  margin-bottom: clamp(26px, 4vw, 40px);
}

.page-home .home-support h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.22;
  letter-spacing: -.015em;
  color: var(--ink);
}

.page-home .home-support__head p {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 16.5px);
  line-height: 1.82;
  color: var(--home-ink-soft);
}

.page-home .home-support__grid {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-fact {
  padding: clamp(18px, 2.6vw, 26px);
  background: #fff;
  border-top: 3px solid var(--orange);
  box-shadow: 0 20px 44px -38px rgba(7, 24, 43, .8);
}

.page-home .home-fact:nth-child(2n) {
  border-top-color: var(--indigo);
}

.page-home .home-fact:nth-child(3n) {
  border-top-color: var(--mint);
}

.page-home .home-fact:nth-child(4n) {
  border-top-color: var(--wine);
}

.page-home .home-fact .mono {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--midnight);
  margin-bottom: 10px;
}

.page-home .home-fact h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink);
}

.page-home .home-fact p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--home-ink-soft);
}

.page-home .home-support__note {
  margin: 28px 0 0;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  background: rgba(52, 214, 165, .12);
  border-left: 3px solid var(--mint);
}

.page-home .home-support__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .section--paper .btn--outline {
  color: var(--midnight);
  border-color: rgba(13, 44, 77, .3);
}

.page-home .section--paper .btn--outline:hover,
.page-home .section--paper .btn--outline:focus-visible {
  color: var(--orange-deep);
  border-color: var(--orange);
}

/* ---------- 收束条 ---------- */
.page-home .home-close {
  background:
    repeating-linear-gradient(115deg, rgba(255, 107, 26, .08) 0 2px, transparent 2px 26px),
    var(--space-blue);
  color: var(--mist);
  padding: clamp(40px, 6vw, 68px) 0;
}

.page-home .home-close__inner {
  display: grid;
  gap: 26px;
  align-items: center;
}

.page-home .home-close__copy h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.24;
  letter-spacing: -.015em;
}

.page-home .home-close__copy p {
  margin: 0;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(237, 243, 247, .78);
}

.page-home .home-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .home-support__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-tile__img {
    height: 150px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(28px, 4vw, 62px);
    align-items: start;
  }

  .page-home .home-hero__collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
  }

  .page-home .home-tile--service,
  .page-home .home-tile--return {
    grid-column: 1 / -1;
  }

  .page-home .home-panel__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: start;
  }

  .page-home .home-panel__figure {
    margin-top: -30px;
  }

  .page-home .home-download__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .page-home .home-download__figure {
    position: relative;
    order: 2;
  }

  .page-home .home-download__copy {
    order: 1;
  }

  .page-home .home-lab__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .home-close__inner {
    grid-template-columns: minmax(0, 1.15fr) auto;
  }

  .page-home .home-close__actions {
    justify-content: flex-end;
    max-width: 420px;
  }
}

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

  .page-home .home-tile__img {
    height: 164px;
  }

  .page-home .home-hero {
    padding-bottom: clamp(72px, 8vw, 100px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-tile,
  .page-home .home-tile__link {
    transition: none;
  }

  .page-home .home-tile:hover,
  .page-home .home-tile:focus-within {
    transform: none;
  }
}
