.page-home {
  --home-shadow: 0 18px 40px rgba(16, 23, 26, 0.14);
  overflow: hidden;
}

.page-home h2 {
  margin: 14px 0 0;
  font-family: var(--font-cond);
  font-weight: 800;
  letter-spacing: -0.015em;
  font-size: clamp(24px, 4.4vw, 38px);
  line-height: 1.18;
}

.page-home h3 {
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: 0;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 44px) 0 40px;
  background: var(--deep-green);
  color: var(--paper);
}

.page-home .hero__wedge {
  position: absolute;
  z-index: -1;
  display: block;
  pointer-events: none;
}

.page-home .hero__wedge--indigo {
  top: -8%;
  right: -14%;
  width: 78%;
  height: 70%;
  background: linear-gradient(150deg, var(--indigo), rgba(30, 58, 95, 0.12));
  clip-path: polygon(20% 0, 100% 0, 100% 74%, 0 100%);
}

.page-home .hero__wedge--wine {
  bottom: -16%;
  left: -16%;
  width: 56%;
  height: 52%;
  background: var(--wine);
  opacity: 0.5;
  clip-path: polygon(0 26%, 100% 0, 88% 100%, 0 100%);
}

.page-home .hero__inner {
  display: grid;
  gap: 34px;
  align-items: end;
}

.page-home .hero .eyebrow {
  color: var(--cement);
}

.page-home .hero h1 {
  margin: 14px 0 0;
  font-family: var(--font-cond);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(30px, 7.2vw, 54px);
  line-height: 1.1;
}

.page-home .hero__lead {
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(244, 241, 234, 0.84);
}

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

.page-home .hero__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  box-shadow: var(--home-shadow);
}

.page-home .hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.page-home .hero__media figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 6px 10px;
  background: rgba(16, 23, 26, 0.74);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-home .hero__railwrap {
  margin-top: 46px;
}

.page-home .hero__railwrap .eyebrow {
  color: var(--cement);
}

.page-home .hero__rail {
  display: flex;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid var(--line-soft);
}

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

.page-home .hero__rail li {
  position: relative;
  flex: 1 0 140px;
  padding: 20px 16px 8px;
  border-right: 1px solid var(--line-soft);
  transition: background var(--d-mid) ease;
}

.page-home .hero__rail li:last-child {
  border-right: 0;
}

.page-home .hero__rail li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cement);
  opacity: 0.42;
  transition: background var(--d-mid) ease, opacity var(--d-mid) ease, box-shadow var(--d-mid) ease;
}

.page-home .hero__rail li.is-lit {
  background: rgba(226, 58, 58, 0.1);
}

.page-home .hero__rail li.is-lit::before {
  background: var(--track-red);
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(226, 58, 58, 0.2);
}

.page-home .hero__rail-id {
  display: block;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.page-home .hero__rail-meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--cement);
}

/* ---------- 换设备之后 ---------- */
.page-home .progress {
  background: var(--paper);
  color: var(--night-ink);
}

.page-home .progress__intro .prose {
  margin-top: 16px;
}

.page-home .progress__list {
  display: grid;
  gap: 20px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .progress__item {
  padding: 26px 22px 24px;
  background: var(--sand);
  border-left: 3px solid var(--deep-green);
  border-radius: var(--radius);
}

.page-home .progress__idx {
  display: block;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
}

.page-home .progress__item h3 {
  margin: 14px 0 0;
  font-size: 18px;
}

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

/* ---------- 刷新节奏 ---------- */
.page-home .refresh {
  position: relative;
  overflow: hidden;
  background: var(--indigo);
  color: var(--paper);
}

.page-home .refresh__grid {
  display: grid;
  gap: 36px;
}

.page-home .refresh .eyebrow {
  color: var(--ref-yellow);
}

.page-home .refresh__copy h2 {
  color: var(--paper);
}

.page-home .refresh__copy > p {
  margin: 18px 0 0;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(244, 241, 234, 0.85);
}

.page-home .refresh__marks {
  display: grid;
  gap: 1px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .refresh__marks li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(16, 23, 26, 0.26);
}

.page-home .refresh__marks .mono {
  flex: 0 0 70px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--cement);
}

.page-home .refresh__marks em {
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 241, 234, 0.9);
}

.page-home .refresh__marks li.is-key {
  background: rgba(226, 58, 58, 0.24);
}

.page-home .refresh__marks li.is-key .mono,
.page-home .refresh__marks li.is-key em {
  color: var(--paper);
}

.page-home .refresh__link {
  margin: 22px 0 0;
}

.page-home .refresh__link a,
.page-home .walk__more a,
.page-home .scale__more a {
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--track-red);
  padding-bottom: 2px;
}

.page-home .refresh__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.page-home .refresh__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.page-home .refresh__media figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 10px;
  background: rgba(16, 23, 26, 0.74);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-home .refresh__sparkwrap {
  margin-top: 52px;
}

.page-home .refresh__spark {
  display: block;
  width: 100%;
  height: 70px;
  color: var(--track-red);
  opacity: 0.75;
}

.page-home .refresh__sparknote {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--cement);
}

/* ---------- 逐场查看 ---------- */
.page-home .walk {
  background: var(--paper);
  color: var(--night-ink);
}

.page-home .walk__head .prose {
  margin-top: 16px;
}

.page-home .walk__body {
  display: grid;
  gap: 34px;
  margin-top: 42px;
}

.page-home .walk__steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .walk__step {
  position: relative;
  padding: 0 0 30px 34px;
  border-left: 1px solid var(--line-strong);
}

.page-home .walk__step:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.page-home .walk__step::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--track-red);
}

.page-home .walk__step:last-child::before {
  background: var(--celadon);
}

.page-home .walk__num {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
}

.page-home .walk__step h3 {
  margin: 8px 0 0;
  font-size: 18px;
}

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

.page-home .walk__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--home-shadow);
}

.page-home .walk__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-home .walk__media figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 10px;
  background: rgba(244, 241, 234, 0.88);
  color: var(--night-ink);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-home .walk__more {
  margin: 34px 0 0;
}

.page-home .walk__more a {
  color: var(--wine);
}

/* ---------- 多终端打开方式 ---------- */
.page-home .entry {
  background: var(--sand);
  color: var(--night-ink);
}

.page-home .entry__head .prose {
  margin-top: 16px;
}

.page-home .entry__list {
  display: grid;
  gap: 16px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .entry__item {
  padding: 22px 20px 24px;
  background: var(--paper);
  border-top: 3px solid var(--indigo);
  border-radius: var(--radius);
}

.page-home .entry__item:nth-child(3) {
  border-top-color: var(--track-red);
}

.page-home .entry__tag {
  display: inline-block;
  padding: 5px 10px;
  background: var(--night-ink);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
}

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

.page-home .entry__note {
  margin: 28px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--indigo);
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ---------- 服务与支持 ---------- */
.page-home .support {
  background: var(--deep-green);
  color: var(--paper);
}

.page-home .support .eyebrow {
  color: var(--cement);
}

.page-home .support__head .prose {
  margin-top: 16px;
  color: rgba(244, 241, 234, 0.78);
}

.page-home .support__grid {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

.page-home .support__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px;
  background: rgba(16, 23, 26, 0.62);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.page-home .support__card h3 {
  margin: 0;
  font-size: 17px;
  color: var(--paper);
}

.page-home .support__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(244, 241, 234, 0.78);
}

.page-home .support__card .chip {
  align-self: flex-start;
}

.page-home .support__link {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 2px;
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--track-red);
}

/* ---------- 持续运营 ---------- */
.page-home .scale {
  background: var(--night-ink);
  color: var(--paper);
}

.page-home .scale .eyebrow {
  color: var(--cement);
}

.page-home .scale__head .prose {
  margin-top: 16px;
  color: rgba(244, 241, 234, 0.78);
}

.page-home .scale__more {
  margin: 20px 0 0;
}

.page-home .scale__more a {
  color: var(--paper);
}

.page-home .scale__stats {
  display: grid;
  gap: 16px;
  margin: 42px 0 0;
  padding: 0;
}

.page-home .scale__stat {
  margin: 0;
  padding: 22px 20px;
  background: rgba(244, 241, 234, 0.06);
  border-left: 3px solid var(--track-red);
  border-radius: var(--radius);
}

.page-home .scale__stat:nth-child(2) {
  border-left-color: var(--celadon);
}

.page-home .scale__stat:nth-child(3) {
  border-left-color: var(--indigo);
}

.page-home .scale__stat:nth-child(4) {
  border-left-color: var(--cement);
}

.page-home .scale__stat .stat__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cement);
}

.page-home .scale__stat .stat__num {
  margin: 12px 0 0;
  font-size: 34px;
  line-height: 1;
  color: var(--paper);
}

.page-home .scale__stat .stat__num span {
  margin-left: 2px;
  font-size: 16px;
  color: var(--cement);
}

.page-home .scale__banner {
  margin: 52px 0 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.page-home .scale__banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 3;
  object-fit: cover;
}

/* ---------- 动效 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .page-home .refresh__spark {
    animation: home-breathe 2.4s ease-in-out infinite;
  }
}

@keyframes home-breathe {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.95; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__rail li,
  .page-home .hero__rail li::before {
    transition: none;
  }
  .page-home .refresh__spark {
    animation: none;
    opacity: 0.8;
  }
}

/* ---------- 窄屏 ---------- */
@media (max-width: 599px) {
  .page-home .hero {
    padding-top: calc(var(--header-h) + 32px);
  }
  .page-home .hero__media img {
    aspect-ratio: 4 / 3;
  }
  .page-home .refresh__marks li {
    flex-wrap: wrap;
    gap: 4px;
  }
  .page-home .refresh__marks .mono {
    flex: 0 0 100%;
  }
}

@media (min-width: 640px) {
  .page-home .entry__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .scale__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

@media (min-width: 900px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
  }
  .page-home .hero__media img {
    aspect-ratio: 3 / 4;
  }
  .page-home .refresh__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 56px;
    align-items: start;
  }
  .page-home .walk__body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
    gap: 48px;
    align-items: start;
  }
}

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

@media (min-width: 1040px) {
  .page-home .entry__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .progress__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
  }
  .page-home .progress__item:nth-child(2) {
    margin-top: 34px;
  }
  .page-home .progress__item:nth-child(3) {
    margin-top: 68px;
  }
}
