.page-home {
  --home-grid-line: rgba(14, 90, 74, .07);
  background: var(--mist);
  color: var(--ink);
}

.page-home img {
  max-width: 100%;
  height: auto;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 28px) 0 56px;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(245, 246, 242, 0) 62%, var(--mist) 100%),
    repeating-linear-gradient(0deg, var(--home-grid-line) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, var(--home-grid-line) 0 1px, transparent 1px 56px);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  top: -18%;
  left: -12%;
  width: 82%;
  height: 104%;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(142deg, rgba(200, 16, 46, .17), rgba(200, 16, 46, .03) 62%, transparent 82%);
  clip-path: polygon(0 0, 88% 0, 46% 100%, 0 100%);
}

.page-home .hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

.page-home .hero-canvas img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .12;
}

.page-home .hero-grid {
  display: grid;
  gap: 40px;
}

.page-home .hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 7vw, 50px);
  line-height: 1.16;
  letter-spacing: -.02em;
  color: var(--ink);
}

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

.page-home .hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.page-home .fact {
  font-size: 13px;
  color: var(--moss);
  letter-spacing: .01em;
}

.page-home .fact b {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--fir);
  margin-right: 5px;
}

.page-home .hero-phone {
  position: relative;
  margin: 0 auto;
  max-width: 320px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(160deg, var(--frost), rgba(127, 183, 201, .3));
  box-shadow: var(--shadow-lift);
  transform: rotate(-1.4deg);
}

.page-home .hero-phone img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

.page-home .hero-phone figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--fir);
  text-align: center;
}

/* ---------- 章节节奏 ---------- */
.page-home .section {
  position: relative;
  padding: 52px 0;
}

.page-home .section--tight {
  padding: 32px 0 64px;
}

.page-home .section-head {
  max-width: 720px;
}

/* ---------- 首访入口面板 ---------- */
.page-home .launch {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 44px);
  background: var(--frost);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.page-home .launch::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--sand), var(--maple));
}

.page-home .launch-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.page-home .launch-no {
  flex: none;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background: var(--sand);
  border-radius: 8px;
  padding: 4px 10px;
  line-height: 1.4;
}

.page-home .launch-wire {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 8px;
}

.page-home .wire-col {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 92px;
  padding: 12px 10px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: var(--mist);
}

.page-home .wire-col--active {
  border: 2px solid var(--maple);
  background: rgba(200, 16, 46, .06);
}

.page-home .wire-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--fir);
}

.page-home .wire-col--active .wire-tag {
  color: var(--maple-deep);
  font-weight: 700;
}

.page-home .wire-line {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(107, 127, 120, .22);
}

.page-home .wire-line--short {
  width: 58%;
}

.page-home .launch-links {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.page-home .launch-links li {
  display: grid;
  gap: 5px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.page-home .launch-links a {
  font-size: 17px;
  font-weight: 700;
  color: var(--fir);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.page-home .launch-links a:hover,
.page-home .launch-links a:focus-visible {
  color: var(--maple);
  text-decoration: underline;
}

.page-home .launch-links span {
  font-size: 14px;
  line-height: 1.7;
  color: var(--moss);
}

/* ---------- 常用栏目索引 ---------- */
.page-home .entry-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.page-home .entry-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px 16px;
  background: var(--frost);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: inherit;
  text-decoration: none;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(200, 16, 46, .45);
  box-shadow: var(--shadow-lift);
}

.page-home .entry-no {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(127, 183, 201, .26);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--fir);
}

.page-home .entry-name {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.page-home .entry-scope {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--moss);
}

.page-home .entry-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.page-home .entry-date {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(217, 164, 65, .2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--fir);
  transition: background .22s var(--ease), color .22s var(--ease);
}

.page-home .entry-card:hover .entry-date,
.page-home .entry-card:focus-visible .entry-date {
  background: var(--sand);
  color: var(--ink);
}

.page-home .index-figure {
  margin: 30px 0 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(127, 183, 201, .24), rgba(14, 90, 74, .12));
}

.page-home .index-figure img {
  display: block;
  width: 100%;
}

.page-home .index-figure figcaption {
  padding: 13px 18px;
  background: var(--frost);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--moss);
}

/* ---------- 稳定版短说明 ---------- */
.page-home .release {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 30px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--fir-deep), var(--indigo));
  color: #fff;
  box-shadow: var(--shadow-card);
}

.page-home .release::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -30px;
  width: 200px;
  height: 200px;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 183, 201, .38), transparent 68%);
  pointer-events: none;
}

.page-home .release-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .release-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
}

.page-home .release-main {
  position: relative;
  z-index: 1;
}

.page-home .release .eyebrow {
  color: rgba(255, 255, 255, .72);
}

.page-home .release .section-title {
  color: #fff;
}

.page-home .release-text {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .82);
}

.page-home .release-stats {
  position: relative;
  z-index: 1;
  margin: 0;
}

.page-home .release-stats > div {
  display: grid;
  gap: 3px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.page-home .release-stats dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .66);
}

.page-home .release-stats dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  color: var(--sand);
}

/* ---------- 三步路径 ---------- */
.page-home .steps {
  counter-reset: step;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.page-home .steps li {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 22px 0 22px 54px;
  border-top: 1px solid var(--line);
}

.page-home .steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 0;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--fir);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--frost);
}

.page-home .steps h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}

.page-home .steps p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--moss);
}

/* ---------- 移动端抽屉 ---------- */
.page-home .mobile-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.page-home .drawer-demo {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--frost);
}

.page-home .drawer-demo summary {
  padding: 15px 18px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--fir);
  cursor: pointer;
  list-style: none;
}

.page-home .drawer-demo summary::-webkit-details-marker {
  display: none;
}

.page-home .drawer-demo summary::before {
  content: "＋ ";
  color: var(--maple);
}

.page-home .drawer-demo[open] summary::before {
  content: "－ ";
}

.page-home .drawer-demo ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0 18px 18px;
  list-style: none;
}

.page-home .drawer-demo li {
  position: relative;
  padding-left: 34px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--moss);
}

.page-home .drawer-demo li b {
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--fir);
}

.page-home .phone-frame {
  position: relative;
  width: min(292px, 100%);
  margin: 0 auto;
  aspect-ratio: 9 / 17;
  overflow: hidden;
  border: 8px solid var(--ink);
  border-radius: 32px;
  background: var(--frost);
  box-shadow: var(--shadow-lift);
}

.page-home .phone-top {
  height: 26px;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.page-home .phone-body {
  display: grid;
  gap: 9px;
  padding: 14px 12px;
}

.page-home .phone-line {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: rgba(107, 127, 120, .2);
}

.page-home .phone-line--hero {
  height: 44px;
  border-radius: 10px;
  background: rgba(200, 16, 46, .16);
  border: 1px solid rgba(200, 16, 46, .34);
}

.page-home .phone-line--short {
  width: 62%;
}

.page-home .phone-drawer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 8px;
  padding: 14px 14px 18px;
  border-radius: 18px 18px 0 0;
  background: var(--fir-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, .88);
  box-shadow: 0 -12px 26px -16px rgba(20, 32, 30, .8);
}

.page-home .drawer-grip {
  display: block;
  width: 34px;
  height: 4px;
  margin: 0 auto 4px;
  border-radius: 999px;
  background: var(--sand);
}

/* ---------- 更新节奏 ---------- */
.page-home .refresh-grid {
  display: grid;
  gap: 28px;
}

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

.page-home .refresh-notes li {
  position: relative;
  padding: 15px 0 15px 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink);
}

.page-home .refresh-notes li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--maple);
}

.page-home .refresh-grid .btn {
  margin-top: 22px;
}

/* ---------- 结尾 ---------- */
.page-home .closing {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 46px);
  background: var(--frost);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

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

/* ---------- 断点 ---------- */
@media (min-width: 620px) {
  .page-home .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .hero {
    padding: calc(var(--header-h) + 48px) 0 84px;
  }

  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
    gap: 56px;
  }

  .page-home .section {
    padding: 84px 0;
  }

  .page-home .section--tight {
    padding: 40px 0 96px;
  }

  .page-home .release {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
  }

  .page-home .mobile-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .78fr);
    gap: 60px;
  }

  .page-home .refresh-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-card,
  .page-home .entry-date,
  .page-home .launch-links a {
    transition: none;
  }

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