.page-home {
  --home-glow: rgba(216, 181, 106, 0.28);
  background: var(--deep);
  color: var(--mist);
  overflow: hidden;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(36px, 8vw, 88px) clamp(32px, 6vw, 64px);
  border-bottom: 1px solid var(--hairline);
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 84% 16%, var(--home-glow), transparent 58%),
    radial-gradient(circle at 10% 82%, rgba(95, 227, 214, 0.12), transparent 55%),
    linear-gradient(180deg, var(--deep), var(--night));
}

.page-home .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 216, 232, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 216, 232, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 78%);
}

.page-home .hero-inner {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.page-home .hero-copy {
  position: relative;
}

.page-home .hero-ghost {
  position: absolute;
  top: -0.42em;
  right: -0.06em;
  font-family: var(--font-mono);
  font-size: clamp(110px, 26vw, 250px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(216, 181, 106, 0.06);
  -webkit-text-stroke: 1px rgba(216, 181, 106, 0.14);
  pointer-events: none;
  user-select: none;
}

.page-home .hero-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--slate);
}

.page-home .hero-context .mono {
  color: var(--gold-soft);
}

.page-home .hero-context-dot {
  color: var(--cinnabar);
}

.page-home .hero-title {
  margin: 14px 0 0;
  font-size: clamp(38px, 8.4vw, 78px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.page-home .hero-title-line {
  display: block;
}

.page-home .hero-title-line--accent {
  background: linear-gradient(100deg, var(--gold-soft), var(--gold) 46%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hero-lede {
  margin: 22px 0 0;
  max-width: 34em;
  color: var(--pale);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-home .hero-actions .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-home .hero-stats {
  list-style: none;
  margin: 34px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.page-home .hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .hero-stat strong {
  font-size: clamp(20px, 4.6vw, 30px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.page-home .hero-stat span {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.page-home .hero-visual {
  margin: 0;
  position: relative;
}

.page-home .hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 44px 90px -56px rgba(0, 0, 0, 0.95);
}

.page-home .hero-visual-caption {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--slate);
}

/* ---------- 章节公共 ---------- */
.page-home .section-head {
  max-width: 760px;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.page-home .section-head h2 {
  margin: 10px 0 14px;
  font-size: clamp(26px, 4.6vw, 40px);
  font-weight: 800;
  line-height: 1.2;
}

.page-home .section-head .lede {
  margin: 0;
  color: var(--pale);
}

/* ---------- 更新节奏 ---------- */
.page-home .rhythm {
  background: linear-gradient(180deg, var(--night), var(--deep));
  border-bottom: 1px solid var(--hairline);
}

.page-home .rhythm-track {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .rhythm-line {
  display: none;
}

.page-home .rhythm-step {
  position: relative;
  padding: 20px 20px 22px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: rgba(11, 37, 64, 0.55);
}

.page-home .rhythm-time {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-home .rhythm-step h3 {
  margin: 8px 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.page-home .rhythm-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--pale);
}

.page-home .rhythm-aside {
  display: grid;
  gap: 20px;
  margin-top: clamp(24px, 4vw, 40px);
}

.page-home .rhythm-figure {
  margin: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: rgba(6, 24, 39, 0.7);
}

.page-home .rhythm-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .rhythm-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
  border-top: 1px solid var(--hairline);
}

.page-home .rhythm-note {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--pale);
  border-left: 2px solid var(--gold);
  padding-left: 16px;
}

/* ---------- 入口卡片 ---------- */
.page-home .entries {
  background: var(--deep);
}

.page-home .section-head--split {
  max-width: none;
  display: grid;
  gap: 16px;
}

.page-home .entry-grid {
  display: grid;
  gap: 16px;
}

.page-home .entry-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: linear-gradient(160deg, rgba(11, 37, 64, 0.94), rgba(6, 24, 39, 0.94));
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--mist);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(216, 181, 106, 0.52);
  box-shadow: 0 34px 64px -38px rgba(216, 181, 106, 0.55);
}

.page-home .entry-tag {
  align-self: flex-start;
  margin-bottom: 4px;
}

.page-home .entry-metric {
  display: block;
  font-size: clamp(30px, 6vw, 50px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  letter-spacing: -0.02em;
}

.page-home .entry-card h3 {
  margin: 4px 0 0;
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 700;
  color: var(--gold-soft);
}

.page-home .entry-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--pale);
}

.page-home .entry-more {
  margin-top: auto;
  padding-top: 10px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--gold);
}

/* ---------- 三步路径 ---------- */
.page-home .path {
  background:
    radial-gradient(circle at 88% 12%, rgba(95, 227, 214, 0.1), transparent 55%),
    linear-gradient(180deg, var(--deep), var(--night) 58%, var(--deep));
  border-bottom: 1px solid var(--hairline);
}

.page-home .path-grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.page-home .path-copy h2 {
  margin: 10px 0 14px;
  font-size: clamp(26px, 4.6vw, 40px);
  font-weight: 800;
  line-height: 1.2;
}

.page-home .path-steps {
  list-style: none;
  margin: 26px 0 28px;
  padding: 0;
  display: grid;
  gap: 20px;
}

.page-home .path-step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 16px;
  padding-left: 18px;
  border-left: 1px solid var(--hairline-strong);
}

.page-home .path-step::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 2px;
  width: 1px;
  height: 24px;
  background: var(--gold);
}

.page-home .path-num {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  line-height: 1.9;
}

.page-home .path-step h3 {
  margin: 0 0 6px;
  font-size: 17.5px;
  font-weight: 700;
}

.page-home .path-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--pale);
}

.page-home .path-visual {
  margin: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: rgba(11, 37, 64, 0.6);
  box-shadow: var(--shadow-soft);
}

.page-home .path-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .path-visual figcaption {
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
  border-top: 1px solid var(--hairline);
}

/* ---------- 版本说明 ---------- */
.page-home .release {
  background:
    radial-gradient(circle at 90% 8%, rgba(216, 181, 106, 0.16), transparent 56%),
    linear-gradient(145deg, var(--indigo), var(--deep) 60%, rgba(90, 31, 46, 0.72));
}

.page-home .release-grid {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
}

.page-home .release-main h2 {
  margin: 10px 0 14px;
  font-size: clamp(26px, 4.6vw, 40px);
  font-weight: 800;
  line-height: 1.2;
}

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

.page-home .release-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
}

.page-home .release-mark {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold);
  line-height: 1.9;
}

.page-home .release-item h3 {
  margin: 0 0 6px;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--mist);
}

.page-home .release-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--pale);
}

.page-home .release-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 24px;
}

.page-home .release-link {
  font-size: 14.5px;
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 215, 154, 0.4);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .release-link:hover,
.page-home .release-link:focus-visible {
  color: var(--cyan);
  border-color: rgba(95, 227, 214, 0.6);
}

.page-home .release-board {
  padding: 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-card);
  background: rgba(6, 24, 39, 0.6);
  box-shadow: var(--shadow-soft);
}

.page-home .release-board-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 18px;
}

.page-home .release-board-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.page-home .release-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .release-facts li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--pale);
}

.page-home .release-facts strong {
  font-size: 20px;
  color: var(--cyan);
  line-height: 1.2;
}

.page-home .release-board-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  line-height: 1.8;
  color: var(--slate);
}

/* ---------- 联系收束 ---------- */
.page-home .home-contact {
  background: var(--night);
  border-top: 1px solid var(--hairline);
}

.page-home .contact-band {
  display: grid;
  gap: 22px;
  align-items: center;
}

.page-home .contact-band h2 {
  margin: 10px 0 12px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.25;
}

.page-home .contact-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--pale);
  max-width: 40em;
}

.page-home .contact-band .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .rhythm-aside {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
  }

  .page-home .section-head--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: end;
    gap: 28px;
  }

  .page-home .section-head--split h2 {
    margin-bottom: 0;
  }
}

@media (min-width: 900px) {
  .page-home .rhythm-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding-top: 46px;
  }

  .page-home .rhythm-line {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 18px;
    width: 100%;
    height: 4px;
  }

  .page-home .rhythm-step {
    border: 0;
    border-radius: 0;
    background: none;
    padding: 0 24px 0 0;
  }

  .page-home .rhythm-step::before {
    content: "";
    position: absolute;
    top: -33px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(216, 181, 106, 0.16);
  }

  .page-home .entry-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .entry-card--lead {
    grid-column: span 7;
  }

  .page-home .entry-card--mid {
    grid-column: span 5;
    margin-top: 44px;
  }

  .page-home .entry-card--side {
    grid-column: span 5;
  }

  .page-home .entry-card--last {
    grid-column: span 7;
    margin-top: 44px;
  }

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

  .page-home .release-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    align-items: start;
  }

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

@media (min-width: 980px) {
  .page-home .hero-inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-card,
  .page-home .release-link {
    transition: none;
  }

  .page-home .entry-card:hover,
  .page-home .entry-card:focus-visible {
    transform: none;
  }
}
