.page-home {
  --home-gap-xl: clamp(64px, 9vw, 136px);
  --home-gap-lg: clamp(34px, 5vw, 60px);
  --home-gap-md: clamp(22px, 3vw, 34px);
  --home-hair: rgba(140, 155, 168, 0.22);
  --home-hair-strong: rgba(140, 155, 168, 0.44);
  --home-cyan-soft: rgba(61, 240, 207, 0.16);
  --home-orange-soft: rgba(255, 122, 47, 0.18);

  position: relative;
  padding-top: calc(var(--header-h) + 18px);
  background: var(--ink-night);
  color: var(--sand-paper);
  overflow-x: hidden;
  overflow-x: clip;
}

/* ---------- 面包屑 / 页面上下文 ---------- */
.page-home .home-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(18px, 3vw, 32px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.page-home .home-crumbs .breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  margin-right: 10px;
  color: var(--mountain-mist);
}

/* ---------- 首屏分屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding-bottom: var(--home-gap-xl);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -140px;
  width: min(900px, 118vw);
  height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--home-cyan-soft), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap-lg);
  align-items: center;
}

.page-home .home-hero__title {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 8.4vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--signal-white);
}

.page-home .home-hero__hl {
  color: var(--fluo-cyan);
}

.page-home .home-hero__lede {
  margin: 22px 0 0;
  max-width: 34em;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.78;
  color: var(--text-soft);
}

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

.page-home .home-hero__meta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.page-home .home-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-home .home-hero__meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fluo-cyan);
  box-shadow: 0 0 10px rgba(61, 240, 207, 0.75);
  flex: none;
}

/* 首屏右侧视觉 */
.page-home .home-hero__visual {
  position: relative;
  isolation: isolate;
  min-height: 268px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--home-hair);
  background: linear-gradient(160deg, var(--pitch-navy), var(--ink-night) 70%);
  overflow: hidden;
  box-shadow: 0 36px 84px -48px rgba(0, 0, 0, 0.92);
}

.page-home .home-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
  filter: saturate(0.92) contrast(1.06);
}

.page-home .home-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(8, 19, 31, 0.4) 0%, rgba(8, 19, 31, 0.12) 42%, rgba(8, 19, 31, 0.9) 100%);
  pointer-events: none;
}

.page-home .home-hero__frame {
  position: absolute;
  inset: 14% 10% 32% 10%;
  z-index: 3;
  border: 1px dashed rgba(61, 240, 207, 0.42);
  border-radius: 4px;
  pointer-events: none;
}

.page-home .home-hero__ruler {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 68px;
  height: 24px;
  z-index: 3;
  border-top: 1px solid rgba(61, 240, 207, 0.42);
  background-image: repeating-linear-gradient(90deg, rgba(140, 155, 168, 0.5) 0 1px, transparent 1px 22px);
  pointer-events: none;
}

.page-home .home-hero__clock {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--home-hair);
  background: var(--glass-strong);
  backdrop-filter: blur(10px);
}

.page-home .home-hero__clock-key {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mountain-mist);
}

.page-home .home-hero__clock-val {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fluo-cyan);
}

/* ---------- 五分钟节奏条 ---------- */
.page-home .home-rhythm {
  position: relative;
  overflow: hidden;
  padding: var(--home-gap-xl) 0;
  background: var(--pitch-navy);
  border-top: 1px solid var(--home-hair);
  border-bottom: 1px solid var(--home-hair);
}

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

.page-home .home-rhythm::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 19, 31, 0.88) 0%, rgba(18, 41, 61, 0.9) 46%, rgba(8, 19, 31, 0.95) 100%);
  pointer-events: none;
}

.page-home .home-rhythm__inner {
  position: relative;
  z-index: 2;
}

.page-home .home-rhythm__lede {
  margin: 18px 0 0;
  max-width: 42em;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.78;
  color: var(--text-soft);
}

.page-home .home-rhythm__track {
  list-style: none;
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.page-home .home-rhythm__step {
  position: relative;
  padding: 24px 0 24px 20px;
  border-left: 1px solid var(--home-hair-strong);
}

.page-home .home-rhythm__step:last-child {
  padding-bottom: 0;
}

.page-home .home-rhythm__time {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--fluo-cyan);
}

.page-home .home-rhythm__title {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--signal-white);
}

.page-home .home-rhythm__desc {
  display: block;
  margin-top: 6px;
  max-width: 24em;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.page-home .home-rhythm__foot {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.page-home .home-rhythm__note {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

/* ---------- 订阅快切 ---------- */
.page-home .home-subs {
  position: relative;
  padding: var(--home-gap-xl) 0;
  background:
    radial-gradient(88% 68% at 10% 0%, var(--home-cyan-soft), transparent 62%),
    linear-gradient(155deg, var(--indigo-deep) 0%, var(--ink-night) 88%);
}

.page-home .home-subs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap-lg);
  align-items: start;
}

.page-home .home-subs__lede {
  margin: 18px 0 0;
  max-width: 38em;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.78;
  color: var(--text-soft);
}

.page-home .home-subs__chips {
  margin-top: 28px;
  gap: 10px;
}

.page-home .home-subs__chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.page-home .home-subs__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--mountain-mist);
  flex: none;
}

.page-home .home-subs__chip[data-state="on"] {
  color: var(--signal-white);
}

.page-home .home-subs__chip[data-state="on"] .home-subs__dot {
  background: var(--stand-orange);
  box-shadow: 0 0 10px rgba(255, 122, 47, 0.7);
}

.page-home .home-subs__alerts {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}

.page-home .home-subs__alerts li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--home-hair);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

.page-home .home-subs__alerts li:last-child {
  border-bottom: 1px solid var(--home-hair);
}

.page-home .home-subs__alerts .mono {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--fluo-cyan);
  flex: none;
}

.page-home .home-subs__foot {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}

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

.page-home .home-subs__media {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--home-hair);
  overflow: hidden;
}

.page-home .home-subs__media .media__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- 版本与变化 ---------- */
.page-home .home-version {
  position: relative;
  padding: var(--home-gap-xl) 0;
  background:
    radial-gradient(78% 62% at 88% 6%, var(--home-orange-soft), transparent 62%),
    linear-gradient(200deg, var(--wine-deep) 0%, var(--ink-night) 82%);
}

.page-home .home-version__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap-lg);
  align-items: center;
}

.page-home .home-version__media {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--home-hair);
  overflow: hidden;
}

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

.page-home .home-version__lede {
  margin: 18px 0 0;
  max-width: 38em;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.78;
  color: var(--text-soft);
}

.page-home .home-version__id {
  margin-top: 28px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--home-hair-strong);
  background: var(--glass-strong);
}

.page-home .home-version__idval {
  font-size: clamp(20px, 2.6vw, 28px);
  letter-spacing: 0.04em;
  color: var(--fluo-cyan);
}

.page-home .home-version__list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}

.page-home .home-version__list li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-top: 1px solid var(--home-hair);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

.page-home .home-version__list li:last-child {
  border-bottom: 1px solid var(--home-hair);
}

.page-home .home-version__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 23px;
  width: 10px;
  height: 1px;
  background: var(--fluo-cyan);
}

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

/* ---------- 本地留言口 ---------- */
.page-home .home-voice {
  position: relative;
  padding: var(--home-gap-xl) 0;
  background:
    radial-gradient(70% 62% at 18% 100%, var(--home-cyan-soft), transparent 66%),
    linear-gradient(200deg, var(--green-felt) 0%, var(--ink-night) 80%);
}

.page-home .home-voice__panel {
  padding: clamp(26px, 4vw, 48px);
  border-radius: var(--radius);
  border: 1px solid var(--home-hair);
}

.page-home .home-voice__lede {
  margin: 18px 0 0;
  max-width: 40em;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.78;
  color: var(--text-soft);
}

.page-home .home-voice__panel .btn {
  margin-top: 28px;
}

.page-home .home-voice__stats {
  margin-top: clamp(28px, 4vw, 46px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius-sm);
  background: var(--home-hair);
  overflow: hidden;
}

.page-home .home-voice__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 22px;
  background: var(--pitch-navy);
}

.page-home .home-voice__num {
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.02em;
  color: var(--signal-white);
}

.page-home .home-voice__key {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--fluo-cyan);
}

.page-home .home-voice__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

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

  .page-home .home-rhythm__step {
    padding: 32px 26px 0 0;
    border-left: 0;
    border-top: 1px solid var(--home-hair-strong);
  }

  .page-home .home-rhythm__step:last-child {
    padding-bottom: 0;
  }

  .page-home .home-rhythm__step::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--fluo-cyan);
    box-shadow: 0 0 0 4px rgba(61, 240, 207, 0.14);
  }

  .page-home .home-rhythm__step:last-child::before {
    background: var(--stand-orange);
    box-shadow: 0 0 0 4px var(--home-orange-soft);
  }

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

@media (min-width: 920px) {
  .page-home .home-hero__grid {
    grid-template-columns: 5fr 7fr;
    gap: clamp(40px, 4.6vw, 76px);
  }

  .page-home .home-hero__visual {
    aspect-ratio: 16 / 13;
  }

  .page-home .home-subs__grid {
    grid-template-columns: 7fr 5fr;
  }

  .page-home .home-version__grid {
    grid-template-columns: 4fr 8fr;
  }
}

@media (min-width: 1280px) {
  .page-home .home-hero__title {
    font-size: clamp(52px, 5.4vw, 80px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
