/* ==========================================================
   首页 · .page-home 页面专属样式
   ========================================================== */

.page-home {
  --home-section-gap: clamp(56px, 9vw, 112px);
  --home-grid-gap: clamp(14px, 1.6vw, 22px);
  color: var(--paper);
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

/* ---- 顶部面包屑 ---- */
.page-home .home-topbar {
  padding: 26px 0 6px;
  position: relative;
  z-index: 2;
}

/* ---- 首屏 ---- */
.page-home .home-hero {
  position: relative;
  padding: clamp(24px, 4vw, 48px) 0 var(--home-section-gap);
  overflow: hidden;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.32;
  pointer-events: none;
}

.page-home .home-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 55% at 12% 30%, rgba(47, 243, 224, 0.18), transparent 65%),
    radial-gradient(45% 60% at 88% 15%, rgba(139, 92, 246, 0.24), transparent 65%),
    radial-gradient(90% 80% at 55% 95%, rgba(7, 9, 12, 0.82), rgba(7, 9, 12, 0.96) 72%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.55), rgba(7, 9, 12, 0.96));
}

.page-home .home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

@media (min-width: 1024px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr);
    align-items: end;
  }
}

.page-home .home-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 14px 0 20px;
  color: var(--paper);
  text-wrap: balance;
}

.page-home .home-hero__desc {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.85;
  color: var(--cool);
  margin: 0;
  max-width: 62ch;
}

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

.page-home .home-hero__stats {
  margin: 32px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 40px);
}

.page-home .home-stat dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cool);
}

.page-home .home-stat dd {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.02em;
  color: var(--paper);
}

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

/* ---- 首屏章节预览 ---- */
.page-home .home-hero__chapters {
  position: relative;
  padding: 0 0 0 20px;
  border-left: 1px solid var(--line);
}

@media (min-width: 1024px) {
  .page-home .home-hero__chapters {
    padding-left: 24px;
    align-self: stretch;
  }
}

.page-home .home-hero__chapters-label {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cool);
}

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

.page-home .home-chapter {
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 13px 6px 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  text-decoration: none;
  transition: background 220ms var(--ease), border-color 220ms var(--ease);
}

.page-home .home-chapter:first-child {
  border-top: 1px solid var(--line);
}

.page-home .home-chapter:hover,
.page-home .home-chapter:focus-visible {
  background: linear-gradient(90deg, rgba(47, 243, 224, 0.1), transparent 72%);
  border-bottom-color: rgba(47, 243, 224, 0.45);
}

.page-home .home-chapter__num {
  grid-row: span 2;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
}

.page-home .home-chapter__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .home-chapter__meta {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--cool);
}

/* ---- 章节抬头共用微调（只在本页生效） ---- */
.page-home .section-head {
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.page-home .section-head__title {
  text-wrap: balance;
}

/* ---- 升级说明 ---- */
.page-home .home-upgrade {
  position: relative;
  padding-bottom: var(--home-section-gap);
}

.page-home .home-upgrade__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 44px);
  padding: clamp(24px, 3.4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(16, 25, 35, 0.95), rgba(12, 18, 24, 0.95));
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 960px) {
  .page-home .home-upgrade__card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    align-items: center;
    clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 0 100%);
  }
}

.page-home .home-upgrade__card > * {
  position: relative;
  z-index: 1;
}

.page-home .home-upgrade__glow {
  position: absolute;
  top: -25%;
  right: -20%;
  width: 65%;
  height: 85%;
  z-index: 0;
  opacity: 0.22;
  pointer-events: none;
  filter: blur(2px);
}

.page-home .home-upgrade__glow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .home-upgrade__lede {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--cool);
}

.page-home .home-upgrade__body > .home-upgrade__note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--cool);
}

.page-home .home-upgrade__versions {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

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

.page-home .home-version {
  position: relative;
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 25, 35, 0.9), rgba(12, 18, 24, 0.9));
}

.page-home .home-version--preview {
  border-color: rgba(245, 185, 66, 0.42);
  background: linear-gradient(180deg, rgba(245, 185, 66, 0.07), rgba(12, 18, 24, 0.92));
}

.page-home .home-version__tag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cyan);
  border: 1px solid rgba(47, 243, 224, 0.42);
  border-radius: 999px;
}

.page-home .home-version--preview .home-version__tag {
  color: var(--amber);
  border-color: rgba(245, 185, 66, 0.55);
}

.page-home .home-version__code {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 27px);
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .home-version__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.72;
  color: var(--cool);
}

.page-home .home-version__list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 7px;
}

.page-home .home-version__list li:last-child {
  margin-bottom: 0;
}

.page-home .home-version__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--cyan);
}

.page-home .home-version--preview .home-version__list li::before {
  background: var(--amber);
}

.page-home .home-upgrade__visual {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(47, 243, 224, 0.12), rgba(139, 92, 246, 0.18));
}

.page-home .home-upgrade__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 959px) {
  .page-home .home-upgrade__visual {
    order: -1;
  }
}

/* ---- 栏目新版图 ---- */
.page-home .home-sitemap {
  position: relative;
  padding-bottom: var(--home-section-gap);
}

.page-home .home-sitemap__lead {
  margin: 0 0 clamp(24px, 3vw, 36px);
  max-width: 72ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--cool);
}

.page-home .home-sitemap__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-grid-gap);
}

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

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

.page-home .home-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  color: var(--paper);
  text-decoration: none;
  transition: border-color 240ms var(--ease), background 240ms var(--ease), transform 240ms var(--ease);
}

.page-home .home-tile:hover,
.page-home .home-tile:focus-visible {
  border-color: rgba(47, 243, 224, 0.5);
  background: linear-gradient(140deg, rgba(47, 243, 224, 0.07), rgba(12, 18, 24, 0.92));
  transform: translateY(-2px);
}

.page-home .home-tile__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.page-home .home-tile__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .home-tile__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.78;
  color: var(--cool);
  flex-grow: 1;
}

.page-home .home-tile__link {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

/* ---- 三步查找路径 ---- */
.page-home .home-path {
  position: relative;
  padding: var(--home-section-gap) 0;
  background: linear-gradient(180deg, transparent, rgba(12, 18, 24, 0.6) 25%, rgba(12, 18, 24, 0.6) 75%, transparent);
}

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

@media (min-width: 1024px) {
  .page-home .home-path__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    align-items: start;
  }
}

.page-home .home-path__intro > p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--cool);
}

.page-home .home-path__intro > .btn {
  display: inline-flex;
}

.page-home .home-path__visual {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(140deg, rgba(47, 243, 224, 0.1), rgba(12, 18, 24, 0.9));
}

.page-home .home-path__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.page-home .home-path__step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  overflow: hidden;
  transition: border-color 220ms var(--ease);
}

.page-home .home-path__step[open] {
  border-color: rgba(47, 243, 224, 0.42);
}

.page-home .home-path__step summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-home .home-path__step summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.page-home .home-path__num {
  min-width: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
}

.page-home .home-path__title {
  flex-grow: 1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .home-path__chevron {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--cool);
  border-bottom: 1.5px solid var(--cool);
  transform: rotate(45deg);
  transition: transform 220ms var(--ease);
}

.page-home .home-path__step[open] .home-path__chevron {
  transform: rotate(-135deg);
  border-color: var(--cyan);
}

.page-home .home-path__step p {
  margin: 0;
  padding: 0 20px 20px 58px;
  font-size: 13px;
  line-height: 1.78;
  color: var(--cool);
}

/* ---- 本地服务与公告 ---- */
.page-home .home-local {
  padding-bottom: var(--home-section-gap);
}

.page-home .home-local__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-grid-gap);
}

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

.page-home .home-local__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  overflow: hidden;
}

.page-home .home-local__panel--service {
  border-color: rgba(47, 243, 224, 0.32);
  background: linear-gradient(158deg, rgba(47, 243, 224, 0.09), var(--ink-2) 62%);
}

.page-home .home-local__panel--notice {
  border-color: rgba(245, 185, 66, 0.32);
  background: linear-gradient(158deg, rgba(245, 185, 66, 0.09), var(--ink-2) 62%);
}

.page-home .home-local__panel .tag {
  align-self: flex-start;
}

.page-home .home-local__panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .home-local__panel-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--cool);
  flex-grow: 1;
}

.page-home .home-local__panel .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* ---- 改版期联系 ---- */
.page-home .home-contact {
  position: relative;
  padding: var(--home-section-gap) 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.page-home .home-contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.3;
  pointer-events: none;
}

.page-home .home-contact__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-contact__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 12, 0.82), rgba(7, 9, 12, 0.96));
}

.page-home .home-contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

@media (min-width: 960px) {
  .page-home .home-contact__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    align-items: center;
  }
}

.page-home .home-contact__copy > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--cool);
  max-width: 56ch;
}

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

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

.page-home .home-contact__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 18, 24, 0.72);
  color: var(--paper);
  text-decoration: none;
  transition: border-color 220ms var(--ease), background 220ms var(--ease);
}

.page-home .home-contact__card:hover,
.page-home .home-contact__card:focus-visible {
  border-color: rgba(47, 243, 224, 0.5);
  background: rgba(16, 25, 35, 0.92);
}

.page-home .home-contact__card .mono {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-home .home-contact__card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.page-home .home-contact__card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--cool);
}

.page-home .home-contact__cta {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

/* ---- 小屏收紧 ---- */
@media (max-width: 479px) {
  .page-home .home-hero__stats {
    gap: 18px;
  }

  .page-home .home-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .page-home .home-path__step p {
    padding-left: 20px;
  }
}
<<<END>>>
