.page-home {
  background: var(--paper);
  color: var(--night);
  font-family: var(--font-body);
  padding-bottom: 4.6rem;
}

.page-home .section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.page-home .breadcrumb {
  margin: 0 0 .9rem;
  font-size: .8rem;
  font-family: var(--font-mono);
  letter-spacing: .08em;
}

.page-home .h2 {
  margin: 0 0 .7rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  letter-spacing: -.025em;
  line-height: 1.18;
}

.page-home .sec-head {
  max-width: 64ch;
  margin-bottom: 2rem;
}

.page-home .sec-code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--orange-deep);
  border: 1px solid currentColor;
  padding: .16rem .48rem;
  margin-bottom: .85rem;
}

.page-home .sec-sub {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate);
}

/* ---------- 首屏框景 ---------- */
.page-home .hero {
  padding: 1.25rem 0 2.5rem;
  background:
    repeating-linear-gradient(0deg, rgba(15, 107, 90, .08) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(15, 107, 90, .08) 0 1px, transparent 1px 56px),
    var(--paper);
}

.page-home .hero__frame {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  border: 2px solid var(--green-deep);
  background: var(--paper);
  box-shadow: 10px 10px 0 rgba(11, 27, 43, .08);
}

.page-home .hero__frame::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--orange) 0 2px, transparent 2px 14px);
}

.page-home .hero__code {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  background: var(--green-deep);
  color: var(--paper);
  padding: .32rem .62rem;
}

.page-home .hero__body {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.25rem 1.15rem 1.75rem;
}

.page-home .hero__title {
  margin: .45rem 0 1rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.3rem, 8.5vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.035em;
}

.page-home .hero__lead {
  margin: 0 0 1.5rem;
  max-width: 44ch;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--slate);
}

.page-home .hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.page-home .hero__body::after {
  content: "";
  height: 9px;
  margin-top: 1.75rem;
  background: repeating-linear-gradient(90deg, var(--mist) 0 1px, transparent 1px 9px);
}

.page-home .hero__side {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.6rem;
  min-height: 340px;
  padding: 1.35rem 1.15rem 1.5rem;
  color: var(--paper);
  background: linear-gradient(150deg, #0F6B5A 0%, #083F38 58%, #0B1B2B 100%);
  border-top: 2px solid var(--green-deep);
}

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

.page-home .hero__panel,
.page-home .hero__facts {
  position: relative;
  z-index: 1;
}

.page-home .lamp {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .4rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--mist);
}

.page-home .lamp__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 255, 61, .22);
  animation: homePulse 2.4s ease-out infinite;
}

@keyframes homePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(200, 255, 61, .22); }
  50% { box-shadow: 0 0 0 10px rgba(200, 255, 61, 0); }
}

.page-home .hero__ver {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2.6rem, 9vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--lime);
}

.page-home .hero__node {
  margin: .4rem 0 1rem;
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--mist);
}

.page-home .sig {
  display: block;
  width: 84px;
  height: 26px;
}

.page-home .hero__facts {
  list-style: none;
  margin: 0;
  padding: .85rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  border-top: 1px solid rgba(247, 244, 236, .28);
  font-size: .74rem;
  line-height: 1.45;
  color: var(--mist);
}

.page-home .hero__facts span {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--paper);
}

/* ---------- 三条入口 ---------- */
.page-home .entries {
  display: grid;
  gap: .85rem;
}

.page-home .entry {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.4rem 1.15rem;
  border: 2px solid var(--night);
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.page-home .entry:hover,
.page-home .entry:focus-visible {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 var(--green);
  background: #fff;
}

.page-home .entry__tag {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--orange-deep);
}

.page-home .entry__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.25;
  letter-spacing: -.012em;
}

.page-home .entry__text {
  margin: 0;
  font-size: .93rem;
  line-height: 1.7;
  color: var(--slate);
}

.page-home .entry__go {
  margin-top: auto;
  padding-top: .8rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--green);
}

.page-home .entry--lead {
  background: var(--night);
  border-color: var(--night);
  color: var(--paper);
}

.page-home .entry--lead:hover,
.page-home .entry--lead:focus-visible {
  background: var(--night);
  box-shadow: 6px 6px 0 var(--lime);
}

.page-home .entry--lead .entry__tag,
.page-home .entry--lead .entry__go {
  color: var(--lime);
}

.page-home .entry--lead .entry__text {
  color: var(--mist);
}

/* ---------- 更新速览 ---------- */
.page-home .updates {
  background: var(--sand);
  border-top: 2px solid var(--night);
  border-bottom: 2px solid var(--night);
}

.page-home .updates__grid {
  display: grid;
  gap: 1.75rem;
}

.page-home .upd-fig {
  margin: 0;
}

.page-home .upd-fig img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid var(--night);
}

.page-home .upd-fig figcaption {
  margin-top: .6rem;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--slate);
}

.page-home .upds {
  margin-top: 1.25rem;
  border-top: 1px solid rgba(11, 27, 43, .3);
}

.page-home .upd {
  border-bottom: 1px solid rgba(11, 27, 43, .3);
}

.page-home .upd > summary {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem .25rem;
  cursor: pointer;
  list-style: none;
  font-size: .95rem;
  font-weight: 700;
  color: var(--night);
}

.page-home .upd > summary::-webkit-details-marker {
  display: none;
}

.page-home .upd > summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--orange-deep);
}

.page-home .upd[open] > summary::after {
  content: "−";
}

.page-home .upd__no {
  flex: 0 0 auto;
  min-width: 1.7rem;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--orange-deep);
}

.page-home .upd__name {
  flex: 1 1 auto;
  min-width: 0;
}

.page-home .upd .tag {
  flex: 0 0 auto;
  font-size: .68rem;
}

.page-home .upd__body {
  padding: 0 .25rem 1rem 2.15rem;
  font-size: .9rem;
  line-height: 1.75;
  color: #3B4C56;
}

.page-home .upd__body p {
  margin: 0 0 .45rem;
}

.page-home .upd__body b {
  color: var(--green-deep);
}

.page-home .link-more {
  display: inline-block;
  margin-top: 1.15rem;
  padding-bottom: .16rem;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--green-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
}

.page-home .link-more:hover,
.page-home .link-more:focus-visible {
  background: var(--lime);
}

/* ---------- 本地在场 ---------- */
.page-home .local {
  background: var(--green-deep);
  color: var(--paper);
}

.page-home .local .sec-code {
  color: var(--lime);
}

.page-home .local .sec-sub {
  color: var(--mist);
}

.page-home .local__fig {
  margin: 0 0 1.75rem;
}

.page-home .local__fig img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 2px solid var(--mist);
}

.page-home .stats {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(159, 201, 191, .3);
  border: 1px solid rgba(159, 201, 191, .3);
}

.page-home .stat {
  background: var(--green-deep);
  padding: 1rem .85rem;
}

.page-home .stat__num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--lime);
}

.page-home .stat__label {
  display: block;
  margin-top: .45rem;
  font-size: .8rem;
  line-height: 1.5;
  color: var(--mist);
}

.page-home .local__note {
  display: grid;
  gap: 1rem;
}

.page-home .local__note p {
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--orange);
  font-size: .95rem;
  line-height: 1.8;
  color: #D9E8E3;
}

/* ---------- 通用站对比 ---------- */
.page-home .compare {
  background: var(--paper);
}

.page-home .compare__fig {
  margin: 0 0 2rem;
}

.page-home .compare__fig img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 260px;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  border: 2px solid var(--night);
}

.page-home .dims {
  display: grid;
  gap: 1rem;
}

.page-home .dim {
  padding: 1.25rem 1.1rem;
  border: 2px solid var(--night);
  background: #fff;
}

.page-home .dim__name {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  margin: 0 0 .85rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -.012em;
}

.page-home .dim__name::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  background: var(--orange);
}

.page-home .dim__us,
.page-home .dim__them {
  margin: 0 0 .65rem;
  padding-left: .85rem;
  border-left: 2px solid transparent;
  font-size: .92rem;
  line-height: 1.7;
}

.page-home .dim__us {
  border-left-color: var(--green);
  color: var(--night);
}

.page-home .dim__them {
  border-left-color: var(--mist);
  color: var(--slate);
  margin-bottom: 0;
}

.page-home .dim__us span,
.page-home .dim__them span {
  display: block;
  margin-bottom: .18rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--orange-deep);
}

.page-home .dim__them span {
  color: var(--slate);
}

.page-home .compare__more {
  margin: 1.75rem 0 0;
  font-size: .95rem;
  line-height: 1.8;
  color: var(--slate);
}

.page-home .compare__more a {
  color: var(--green-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--lime);
}

.page-home .compare__more a:hover,
.page-home .compare__more a:focus-visible {
  background: var(--lime);
}

/* ---------- 收尾动作 ---------- */
.page-home .cta {
  background: var(--night);
  color: var(--paper);
}

.page-home .cta .sec-code {
  color: var(--lime);
}

.page-home .cta__inner {
  display: grid;
  gap: 1.75rem;
}

.page-home .cta__text p {
  margin: 0;
  max-width: 52ch;
  font-size: .95rem;
  line-height: 1.85;
  color: var(--mist);
}

.page-home .cta__acts {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .7rem;
}

.page-home .cta__acts .btn {
  text-align: center;
}

.page-home .cta__link {
  align-self: flex-start;
  padding-bottom: .2rem;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
}

.page-home .cta__link:hover,
.page-home .cta__link:focus-visible {
  color: var(--lime);
}

/* ---------- 移动端固定动作 ---------- */
.page-home .dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .7rem;
  background: var(--night);
  border-top: 2px solid var(--orange);
}

.page-home .dock__main {
  flex: 1 1 auto;
  text-align: center;
  font-size: .86rem;
}

.page-home .dock__alt {
  flex: 0 0 auto;
  padding: .62rem .85rem;
  font-size: .82rem;
  color: var(--paper);
  text-decoration: none;
  border: 1px solid rgba(247, 244, 236, .45);
}

.page-home .dock__alt:hover,
.page-home .dock__alt:focus-visible {
  border-color: var(--lime);
  color: var(--lime);
}

@media (min-width: 640px) {
  .page-home .updates__grid {
    grid-template-columns: .8fr 1.2fr;
    gap: 2rem;
    align-items: start;
  }
  .page-home .local__note {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (min-width: 760px) {
  .page-home .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .dims {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
}

@media (min-width: 880px) {
  .page-home .entries {
    grid-template-columns: 5fr 4fr 3fr;
    gap: 1rem;
  }
  .page-home .compare__fig img {
    max-height: 320px;
  }
  .page-home .cta__inner {
    grid-template-columns: 1.2fr .8fr;
    align-items: end;
    gap: 2.5rem;
  }
}

@media (min-width: 900px) {
  .page-home .hero__frame {
    grid-template-columns: 1.15fr .85fr;
  }
  .page-home .hero__body {
    align-self: end;
    padding: 3rem 2.25rem 2rem;
  }
  .page-home .hero__side {
    border-top: 0;
    border-left: 2px solid var(--green-deep);
    padding: 2.25rem 1.6rem 1.75rem;
    min-height: 420px;
  }
  .page-home .updates__grid {
    grid-template-columns: .85fr 1.15fr;
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .page-home {
    padding-bottom: 0;
  }
  .page-home .dock {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .lamp__dot {
    animation: none;
  }
  .page-home .entry {
    transition: none;
  }
  .page-home .entry:hover,
  .page-home .entry:focus-visible {
    transform: none;
  }
}
