.page-home {
  --home-gap: clamp(16px, 3vw, 28px);
  --home-panel: linear-gradient(158deg, rgba(18, 58, 94, .92), rgba(11, 34, 57, .74));
  background: var(--deep);
  color: var(--fog);
}

.page-home .section {
  padding: clamp(48px, 7vw, 88px) 0;
}

.page-home .section-title {
  margin: 10px 0 14px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.page-home .section-lede {
  max-width: 36em;
  color: var(--slate);
  line-height: 1.8;
}

/* ---------- 首屏拼贴 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 76px);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: -22% -12% auto -12%;
  height: 82%;
  background:
    radial-gradient(58% 68% at 20% 16%, rgba(155, 215, 224, .22), transparent 70%),
    radial-gradient(48% 58% at 78% 30%, rgba(242, 163, 60, .14), transparent 72%),
    radial-gradient(72% 82% at 50% 0%, rgba(18, 58, 94, .9), transparent 78%);
  pointer-events: none;
}

.page-home .hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}

.page-home .hero__ver {
  padding: clamp(18px, 2.6vw, 26px);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(155, 215, 224, .18), transparent 62%),
    var(--home-panel);
  overflow: hidden;
}

.page-home .hero__ver-line {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 10px 0 10px;
  line-height: .8;
  color: var(--fog);
}

.page-home .hero__ver-v {
  font-family: var(--font-mono);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  color: var(--amber);
}

.page-home .hero__ver-num {
  font-family: var(--font-mono);
  font-size: clamp(74px, 15vw, 140px);
  font-weight: 800;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
  color: var(--fog);
}

.page-home .hero__ver-note {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 24em;
}

.page-home .hero__ver-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--sand);
}

.page-home .hero__ver-meta .mono {
  color: var(--amber);
  font-size: 15px;
}

.page-home .hero__copy h1 {
  margin: 10px 0 16px;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.16;
  letter-spacing: -.02em;
  font-weight: 800;
  max-width: 13em;
}

.page-home .hero__lede {
  margin: 0;
  max-width: 34em;
  font-size: 17px;
  line-height: 1.8;
  color: var(--slate);
}

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

.page-home .hero__index {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.page-home .hero__index-title {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--slate);
}

.page-home .hero__index-link {
  display: block;
  padding: 9px 0;
  font-size: 15px;
  color: var(--fog);
  text-decoration: none;
  border-bottom: 1px dashed var(--line-soft);
  transition: color .22s var(--ease), padding-left .22s var(--ease);
}

.page-home .hero__index-link:hover,
.page-home .hero__index-link:focus-visible,
.page-home .hero__index-link.is-active {
  color: var(--amber);
  padding-left: 6px;
}

/* ---------- 通用图框 ---------- */
.page-home .hero__media,
.page-home .whatsnew__media,
.page-home .railsec__media,
.page-home .local__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--instr), var(--ink));
}

.page-home .hero__media img,
.page-home .whatsnew__media img,
.page-home .railsec__media img,
.page-home .local__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.page-home .hero__media {
  min-height: clamp(220px, 34vw, 420px);
}

/* ---------- 四类入口 ---------- */
.page-home .entries__head {
  max-width: 40em;
}

.page-home .entries__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
  margin-top: clamp(26px, 4vw, 44px);
}

.page-home .entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(18px, 2.6vw, 30px);
  min-height: 200px;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(18, 58, 94, .88), rgba(5, 8, 13, .92));
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.page-home .entry-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--line-strong);
}

.page-home .entry-card--a::after {
  background: linear-gradient(180deg, var(--amber), rgba(242, 163, 60, .08));
}

.page-home .entry-card--b::after {
  background: linear-gradient(180deg, var(--coral), rgba(255, 107, 74, .08));
}

.page-home .entry-card--c::after {
  background: linear-gradient(180deg, var(--aqua), rgba(155, 215, 224, .08));
}

.page-home .entry-card--d::after {
  background: linear-gradient(180deg, var(--celadon), rgba(87, 196, 163, .08));
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(242, 163, 60, .5);
}

.page-home .entry-card .card__title {
  margin: 4px 0 0;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.32;
}

.page-home .entry-card .card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--slate);
}

.page-home .entry-card .card__reveal {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.7;
  color: var(--sand);
  transition: max-height .34s var(--ease), opacity .3s var(--ease), margin-top .3s var(--ease);
}

.page-home .entry-card:hover .card__reveal,
.page-home .entry-card:focus-visible .card__reveal {
  max-height: 6em;
  opacity: 1;
  margin-top: 8px;
}

@media (hover: none) {
  .page-home .entry-card .card__reveal {
    max-height: none;
    opacity: 1;
    margin-top: 8px;
  }
}

/* ---------- v3.2 改动 ---------- */
.page-home .whatsnew {
  background: linear-gradient(180deg, rgba(18, 58, 94, .4), rgba(11, 34, 57, 0));
}

.page-home .whatsnew__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
}

.page-home .whatsnew__item {
  padding: 18px 0 4px;
  border-top: 1px solid var(--line-soft);
}

.page-home .whatsnew__item h3 {
  margin: 10px 0 8px;
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 700;
  line-height: 1.35;
}

.page-home .whatsnew__item p {
  margin: 0;
  max-width: 34em;
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--slate);
}

.page-home .whatsnew__body .link-arrow {
  display: inline-block;
  margin-top: 24px;
}

/* ---------- 步骤轨道 ---------- */
.page-home .railsec {
  background: linear-gradient(180deg, var(--ink), rgba(5, 8, 13, .55));
}

.page-home .railsec__head {
  max-width: 40em;
}

.page-home .railsec__media {
  margin: clamp(24px, 4vw, 36px) 0 0;
}

.page-home .railsec__media img {
  aspect-ratio: 10 / 7;
}

.page-home .railsec__board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  margin-top: var(--home-gap);
  padding: clamp(18px, 3vw, 32px);
  border-radius: var(--radius);
  background: rgba(11, 34, 57, .5);
}

.page-home .railsec__col-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.page-home .railsec__col-head h3 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 17px;
  letter-spacing: .02em;
  color: var(--fog);
}

.page-home .step-rail {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.page-home .step-rail__node {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 2px 12px;
  padding: 14px 0;
}

.page-home .step-rail__node::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 42px;
  bottom: -12px;
  width: 1px;
  background: var(--line);
}

.page-home .step-rail__node:last-child::before {
  display: none;
}

.page-home .step-rail__num {
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--deep);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  position: relative;
  z-index: 1;
}

.page-home .step-rail__node.is-current .step-rail__num {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 0 0 4px rgba(242, 163, 60, .16);
}

.page-home .step-rail__label {
  grid-column: 2;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fog);
}

.page-home .railsec__result {
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--slate);
}

.page-home .railsec__more {
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate);
}

/* ---------- 文档分组 ---------- */
.page-home .docs__head {
  max-width: 40em;
}

.page-home .docs__grid {
  list-style: none;
  margin: clamp(26px, 4vw, 42px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}

.page-home .docs__card {
  padding: 20px 20px 22px;
  border-left: 3px solid var(--celadon);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(18, 58, 94, .42);
}

.page-home .docs__count {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--slate);
}

.page-home .docs__count .mono {
  font-size: 22px;
  font-weight: 700;
  color: var(--celadon);
  font-variant-numeric: tabular-nums;
  margin-right: 4px;
}

.page-home .docs__card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--fog);
}

.page-home .docs__card p:last-child {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--slate);
}

.page-home .docs__cta {
  margin-top: clamp(24px, 3.6vw, 36px);
}

/* ---------- 天津本地服务 ---------- */
.page-home .local {
  background:
    radial-gradient(70% 90% at 88% 8%, rgba(155, 215, 224, .16), transparent 70%),
    linear-gradient(180deg, rgba(18, 58, 94, .38), rgba(11, 34, 57, 0));
}

.page-home .local__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
}

.page-home .local__body > p {
  max-width: 36em;
  line-height: 1.82;
  color: var(--slate);
}

.page-home .local__stats {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .local__stats li {
  padding-left: 14px;
  border-left: 2px solid var(--line-strong);
}

.page-home .local__stats .numeral {
  display: block;
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

.page-home .local__stat-label {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--slate);
}

.page-home .local__contact {
  margin-top: 6px;
  padding: 16px 0 4px;
  border-top: 1px solid var(--line-soft);
}

.page-home .local__contact p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
  margin: 7px 0;
  font-size: 15px;
  line-height: 1.6;
}

.page-home .local__k {
  flex: 0 0 2.6em;
  font-size: 12.5px;
  letter-spacing: .16em;
  color: var(--slate);
}

.page-home .local__contact .mono {
  color: var(--sand);
}

.page-home .local__hint {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-left: 2px solid var(--coral);
  background: rgba(255, 107, 74, .07);
  font-size: 14px;
  line-height: 1.75;
  color: var(--sand);
  max-width: 36em;
}

.page-home .local__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 22px;
}

.page-home .local__media img {
  aspect-ratio: 3 / 2;
}

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

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

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

  .page-home .entry-card--a { grid-column: span 7; }
  .page-home .entry-card--b { grid-column: span 5; }
  .page-home .entry-card--c { grid-column: span 5; }
  .page-home .entry-card--d { grid-column: span 7; }

  .page-home .entry-card--a,
  .page-home .entry-card--d {
    min-height: 228px;
  }
}

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

@media (min-width: 880px) {
  .page-home .whatsnew__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: start;
  }

  .page-home .local__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
  }
}

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    grid-template-areas:
      "ver media"
      "copy index";
    column-gap: clamp(28px, 3.4vw, 52px);
    row-gap: clamp(18px, 2vw, 26px);
    align-items: start;
  }

  .page-home .hero__ver { grid-area: ver; }
  .page-home .hero__copy { grid-area: copy; }
  .page-home .hero__media {
    grid-area: media;
    align-self: stretch;
    height: 100%;
  }
  .page-home .hero__index { grid-area: index; }

  .page-home .hero__index {
    padding: 0 0 0 20px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

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

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

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