.page-home {
  --home-cut: 18px;
  --home-ink-soft: rgba(44, 53, 64, 0.8);
  --home-paper-soft: rgba(246, 241, 231, 0.78);
  background: var(--paper);
  color: var(--graphite);
  padding-bottom: clamp(40px, 6vw, 84px);
  overflow-x: hidden;
}

.page-home .page-home__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 16px 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-home .page-home__crumb-sep {
  color: var(--coral);
}

/* ---------- 首屏拼贴 ---------- */
.page-home .collage {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  padding-top: 12px;
}

.page-home .collage__stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 330px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(155deg, var(--ink-night) 0%, var(--deep-sea) 62%, #0c2b4c 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}

.page-home .collage__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-home .collage__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(53, 240, 208, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 240, 208, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
}

.page-home .collage__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 29, 51, 0.2) 0%, rgba(10, 29, 51, 0.58) 46%, rgba(10, 29, 51, 0.95) 100%);
}

.page-home .collage__track {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-home .collage__track path {
  fill: none;
  stroke: var(--neon-cyan);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 12 16;
  opacity: 0.85;
  animation: ly-home-flow 6s linear infinite;
}

.page-home .collage__track path:nth-child(2) {
  stroke: var(--coral);
  stroke-width: 1.4;
  stroke-dasharray: 6 18;
  opacity: 0.7;
  animation-duration: 9s;
  animation-direction: reverse;
}

@keyframes ly-home-flow {
  to { stroke-dashoffset: -280; }
}

.page-home .collage__overlay {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 640px;
  padding: clamp(20px, 3.2vw, 42px);
}

.page-home .collage__badge {
  border-color: rgba(53, 240, 208, 0.5);
  color: var(--neon-cyan);
}

.page-home .collage__title {
  font-size: clamp(30px, 5.4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-style: italic;
  color: var(--paper-white);
  text-shadow: 0 2px 22px rgba(10, 29, 51, 0.5);
}

.page-home .collage__lead {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.72;
  color: var(--home-paper-soft);
  max-width: 34ch;
}

.page-home .collage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

/* 右侧数据条 */
.page-home .collage__stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.page-home .datastrip {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 18px 20px 18px 24px;
  background: var(--paper-white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}

.page-home .datastrip::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--deep-sea);
}

.page-home .datastrip--live::before {
  background: var(--neon-cyan);
}

.page-home .datastrip .ly-tag {
  justify-self: start;
}

.page-home .datastrip--live .ly-tag--live {
  background: var(--ink-night);
  border-color: transparent;
  color: var(--neon-cyan);
}

.page-home .datastrip__value {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink-night);
}

.page-home .datastrip__value small {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  color: rgba(44, 53, 64, 0.62);
}

.page-home .datastrip__label {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(44, 53, 64, 0.72);
}

.page-home .pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--neon-cyan);
  animation: ly-home-pulse 1.8s ease-out infinite;
}

@keyframes ly-home-pulse {
  0% { box-shadow: 0 0 0 0 rgba(53, 240, 208, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(53, 240, 208, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 240, 208, 0); }
}

/* ---------- 滚动数据带 ---------- */
.page-home .ticker {
  margin-top: clamp(20px, 3vw, 32px);
  background: var(--ink-night);
  border-block: 1px solid rgba(53, 240, 208, 0.2);
  overflow: hidden;
}

.page-home .ticker__track {
  display: flex;
  width: max-content;
  animation: ly-home-ticker 36s linear infinite;
}

.page-home .ticker__group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 12px 26px 12px 0;
}

.page-home .ticker__item {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  color: rgba(246, 241, 231, 0.8);
}

.page-home .ticker__dot {
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
}

@keyframes ly-home-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 主体与章节导航 ---------- */
.page-home .page-home__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  padding-top: clamp(38px, 5.5vw, 76px);
}

.page-home .page-home__main {
  display: grid;
  gap: clamp(48px, 7vw, 88px);
  min-width: 0;
}

.page-home .home-index {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  order: -1;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.page-home .home-index::-webkit-scrollbar {
  display: none;
}

.page-home .home-index__link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex: none;
  padding: 7px 12px;
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-decoration: none;
  color: rgba(44, 53, 64, 0.68);
  background: var(--paper-white);
  border-bottom: 2px solid transparent;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.page-home .home-index__link span {
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
}

.page-home .home-index__link:hover,
.page-home .home-index__link:focus-visible {
  color: var(--ink-night);
  border-bottom-color: var(--coral);
}

/* ---------- 章节通用 ---------- */
.page-home .home-sec {
  min-width: 0;
  scroll-margin-top: 80px;
}

.page-home .home-sec__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "index title"
    "index lead";
  column-gap: clamp(14px, 2vw, 26px);
  row-gap: 8px;
  align-items: start;
  padding-bottom: 18px;
  margin-bottom: clamp(22px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
}

.page-home .ly-section__index {
  grid-area: index;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(36px, 5.6vw, 62px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--deep-sea);
}

.page-home .ly-section__title {
  grid-area: title;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink-night);
}

.page-home .ly-section__lead {
  grid-area: lead;
  font-size: 16px;
  line-height: 1.75;
  color: var(--home-ink-soft);
  max-width: 62ch;
}

.page-home .home-sec__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

.page-home .home-sec__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(150deg, var(--deep-sea), var(--ink-night));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}

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

.page-home .home-sec__figure--tall {
  max-width: 420px;
  aspect-ratio: 4 / 5;
}

.page-home .home-sec__figure--tall img {
  height: 100%;
}

.page-home .home-sec__text p {
  font-size: 16px;
  line-height: 1.78;
  color: var(--home-ink-soft);
  max-width: 62ch;
}

.page-home .home-sec__text p + p {
  margin-top: 12px;
}

.page-home .home-sec__more {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(44, 53, 64, 0.7);
}

/* 两步筛选 */
.page-home .steps {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.page-home .steps__item {
  display: grid;
  gap: 5px;
  padding: 14px 18px;
  background: var(--paper-white);
  border-left: 3px solid var(--deep-sea);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.page-home .steps__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--deep-sea);
}

.page-home .steps__title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink-night);
}

.page-home .steps__desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(44, 53, 64, 0.76);
}

/* 刷新节奏数据条 */
.page-home .meter {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: clamp(22px, 3vw, 34px);
  background: linear-gradient(140deg, var(--ink-night), var(--deep-sea));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}

.page-home .meter__cell {
  display: grid;
  gap: 6px;
  padding: 20px clamp(18px, 2.4vw, 30px);
  border-top: 1px solid rgba(143, 166, 191, 0.22);
}

.page-home .meter__cell:first-child {
  border-top: 0;
}

.page-home .meter__value {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1;
  color: var(--neon-cyan);
}

.page-home .meter__value small {
  font-size: 13px;
  font-weight: 700;
  color: rgba(53, 240, 208, 0.72);
}

.page-home .meter__label {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(246, 241, 231, 0.76);
}

/* 小屏两步路径 */
.page-home .pathline {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.page-home .pathline__step {
  position: relative;
  padding: 16px 18px 16px 62px;
  background: var(--paper-white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.page-home .pathline__num {
  position: absolute;
  left: 18px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-night);
  background: var(--coral);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
}

.page-home .pathline__title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink-night);
}

.page-home .pathline__desc {
  margin-top: 5px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(44, 53, 64, 0.76);
}

/* 服务网络 */
.page-home .netgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .netgrid__cell {
  display: grid;
  gap: 6px;
  padding: 22px 20px;
  background: var(--paper-white);
}

.page-home .netgrid__value {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--deep-sea);
}

.page-home .netgrid__value small {
  font-size: 14px;
  font-weight: 700;
  color: rgba(44, 53, 64, 0.6);
}

.page-home .netgrid__key {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(44, 53, 64, 0.76);
}

/* 收束行动面板 */
.page-home .home-start__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.page-home .home-start__panel {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(22px, 3vw, 34px);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  transition: transform 180ms var(--ease);
}

.page-home .home-start__panel:hover,
.page-home .home-start__panel:focus-visible {
  transform: translateY(-3px);
}

.page-home .home-start__panel--dark {
  background: linear-gradient(150deg, var(--ink-night), var(--deep-sea));
}

.page-home .home-start__panel--dark .ly-label {
  color: var(--neon-cyan);
  border-color: rgba(53, 240, 208, 0.45);
}

.page-home .home-start__panel--warm {
  background: var(--paper-white);
}

.page-home .home-start__panel--warm .ly-label {
  color: var(--coral);
  border-color: rgba(255, 107, 74, 0.45);
}

.page-home .home-start__panel h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.page-home .home-start__panel--dark h3 {
  color: var(--paper-white);
}

.page-home .home-start__panel--warm h3 {
  color: var(--ink-night);
}

.page-home .home-start__panel p {
  font-size: 15px;
  line-height: 1.75;
  max-width: 52ch;
}

.page-home .home-start__panel--dark p {
  color: var(--home-paper-soft);
}

.page-home .home-start__panel--warm p {
  color: rgba(44, 53, 64, 0.78);
}

.page-home .home-start__go {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.page-home .home-start__panel--dark .home-start__go {
  color: var(--neon-cyan);
}

.page-home .home-start__panel--warm .home-start__go {
  color: var(--deep-sea);
}

.page-home .home-start__foot {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(44, 53, 64, 0.72);
}

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

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

  .page-home .meter__cell {
    border-top: 0;
    border-left: 1px solid rgba(143, 166, 191, 0.22);
  }

  .page-home .meter__cell:first-child {
    border-left: 0;
  }

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

  .page-home .home-sec__figure--tall {
    max-width: none;
  }
}

@media (min-width: 900px) {
  .page-home .home-sec__grid--pick {
    grid-template-columns: 1fr 1.05fr;
  }

  .page-home .home-sec__grid--pace {
    grid-template-columns: 1.1fr 1fr;
  }

  .page-home .home-sec__grid--mobile {
    grid-template-columns: 1.35fr 0.95fr;
  }

  .page-home .home-start__grid {
    grid-template-columns: 1.05fr 1fr;
  }
}

@media (min-width: 1025px) {
  .page-home .collage {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: stretch;
  }

  .page-home .collage__stage {
    grid-column: 1 / span 7;
    min-height: 470px;
  }

  .page-home .collage__stack {
    grid-column: 8 / span 5;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

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

  .page-home .home-index {
    order: 0;
    position: sticky;
    top: 24px;
    align-self: start;
    flex-direction: column;
    gap: 2px;
    overflow: visible;
    padding-bottom: 0;
    border-left: 1px solid var(--line);
  }

  .page-home .home-index__link {
    background: transparent;
    border-bottom: 0;
    border-left: 2px solid transparent;
    margin-left: -1px;
    padding: 7px 10px 7px 12px;
    border-radius: 0;
  }

  .page-home .home-index__link:hover,
  .page-home .home-index__link:focus-visible {
    border-bottom-color: transparent;
    border-left-color: var(--coral);
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home .ticker__track,
  .page-home .pulse,
  .page-home .collage__track path {
    animation: none;
  }

  .page-home .home-start__panel {
    transition: none;
  }
}
