.page-home {
  --home-gap: clamp(1.5rem, 4vw, 3.25rem);
  --home-line: rgba(168, 198, 216, 0.18);
  --home-text: #dbe7ee;
  --home-surface: #08243a;
  background: var(--c-deep);
  color: var(--c-paper);
  font-family: var(--font-body);
  overflow-x: clip;
}

/* ---------- 首屏上下文条 ---------- */
.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--home-line);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-mist);
}

.page-home .home-context .data-mono {
  color: var(--c-amber);
  font-size: 0.75rem;
}

.page-home .home-context__sep {
  width: 22px;
  height: 1px;
  background: var(--c-cyan);
  opacity: 0.7;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  background:
    radial-gradient(80rem 36rem at 82% -12%, rgba(55, 224, 214, 0.11), transparent 62%),
    radial-gradient(52rem 26rem at 2% 4%, rgba(240, 166, 60, 0.08), transparent 58%),
    var(--c-deep);
}

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

.page-home .hero-lead {
  min-width: 0;
}

.page-home .hero-lead .eyebrow {
  color: var(--c-cyan);
  margin: 0 0 0.9rem;
}

.page-home .hero-lead h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 6.4vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--c-paper);
  text-wrap: balance;
}

.page-home .hero-sub {
  margin: 0 0 1.6rem;
  max-width: 34rem;
  font-size: clamp(1rem, 2.2vw, 1.0625rem);
  line-height: 1.8;
  color: var(--home-text);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

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

/* 入口矩阵 */
.page-home .entry-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--home-line);
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .entry-grid > li {
  display: flex;
  min-width: 0;
}

.page-home .entry {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  padding: 1rem 0.9rem 1.1rem;
  background: var(--c-deep);
  color: var(--c-paper);
  text-decoration: none;
  transition: background 0.22s ease, transform 0.22s ease;
}

.page-home .entry:hover,
.page-home .entry:focus-visible {
  background: var(--home-surface);
}

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

.page-home .entry__icon {
  display: block;
  line-height: 0;
  margin-bottom: 0.15rem;
}

.page-home .entry__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--c-amber);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .entry__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .entry__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--c-mist);
}

/* 右侧版本索引 */
.page-home .hero-index {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background: var(--c-tide);
  min-width: 0;
}

.page-home .hero-index__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

.page-home .hero-index__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(158deg, rgba(6, 26, 43, 0.55) 0%, rgba(6, 26, 43, 0.92) 58%, rgba(6, 26, 43, 0.97) 100%);
}

.page-home .hero-index__body {
  position: relative;
  z-index: 1;
}

.page-home .hero-index .exhibit-tag {
  display: inline-block;
  margin: 0 0 0.85rem;
}

.page-home .hero-index h2 {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.4vw, 1.6rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--c-paper);
}

.page-home .vscale {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.1rem;
  border-left: 1px solid var(--home-line);
}

.page-home .vscale > li {
  position: relative;
  padding-bottom: 1.15rem;
}

.page-home .vscale > li:last-child {
  padding-bottom: 0;
}

.page-home .vscale > li::before {
  content: "";
  position: absolute;
  left: calc(-1.1rem - 3.5px);
  top: 0.42rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 0 3px rgba(55, 224, 214, 0.15);
}

.page-home .vscale__ver {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--c-amber);
}

.page-home .vscale p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--home-text);
}

.page-home .notice-board {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--glass-line);
}

.page-home .notice-board__head {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

.page-home .notice-board ul {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.page-home .notice-board li a {
  display: block;
  padding: 0.35rem 0 0.35rem 0.65rem;
  border-left: 2px solid transparent;
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--c-paper);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .notice-board li a:hover,
.page-home .notice-board li a:focus-visible {
  color: var(--c-amber);
  border-left-color: var(--c-amber);
}

.page-home .notice-board .btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

/* ---------- 版本轨迹 ---------- */
.page-home .home-track {
  padding: clamp(2rem, 5vw, 4rem) 0;
  background: var(--c-deep);
}

.page-home .home-track .rule-ticks {
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}

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

.page-home .track-copy .eyebrow {
  color: var(--c-cyan);
  margin: 0 0 0.85rem;
}

.page-home .track-copy h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.8vw, 2.25rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.page-home .track-copy p {
  margin: 0 0 1.4rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--home-text);
  max-width: 34rem;
}

.page-home .track-copy .btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

.page-home .track-figure {
  margin: 0;
  min-width: 0;
}

.page-home .track-figure figcaption,
.page-home .docs-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--c-mist);
}

/* ---------- 业务地图 ---------- */
.page-home .home-map {
  padding: clamp(2.25rem, 5vw, 4.25rem) 0;
  background: var(--c-tide);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.page-home .map-head {
  max-width: 44rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.page-home .map-head .eyebrow {
  color: var(--c-amber);
  margin: 0 0 0.8rem;
}

.page-home .map-head h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.page-home .map-intro {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--home-text);
}

.page-home .map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.page-home .map-item {
  min-width: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-line);
}

.page-home .map-item__num {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--c-cyan);
}

.page-home .map-item h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--c-paper);
}

.page-home .map-item p {
  margin: 0 0 0.9rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--home-text);
}

.page-home .map-item a {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-amber);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .map-item a:hover,
.page-home .map-item a:focus-visible {
  color: var(--c-paper);
  border-bottom-color: var(--c-amber);
}

/* ---------- 资料与支持 ---------- */
.page-home .home-docs {
  padding: clamp(2.25rem, 5vw, 4.25rem) 0;
  background: var(--c-paper);
  color: var(--c-deep);
}

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

.page-home .docs-copy {
  min-width: 0;
}

.page-home .home-docs .eyebrow {
  color: #0e3550;
  margin: 0 0 0.8rem;
}

.page-home .docs-copy h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--c-deep);
}

.page-home .docs-copy > p {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #24455c;
  max-width: 36rem;
}

.page-home .docs-tabs .tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.page-home .docs-tabs .tab {
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(6, 26, 43, 0.2);
  border-radius: 999px;
  background: transparent;
  color: #0e3550;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-home .docs-tabs .tab:hover {
  border-color: var(--c-deep);
}

.page-home .docs-tabs .tab[aria-selected="true"] {
  background: var(--c-deep);
  border-color: var(--c-deep);
  color: var(--c-paper);
}

.page-home .docs-tabs .tab:focus-visible {
  outline: 2px solid var(--c-amber);
  outline-offset: 2px;
}

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

.page-home .doc-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px dotted rgba(6, 26, 43, 0.2);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #1c3a50;
}

.page-home .doc-list li:last-child {
  border-bottom: 0;
}

.page-home .doc-list .data-mono {
  font-size: 0.75rem;
  color: #0e3550;
  letter-spacing: 0.06em;
}

.page-home .docs-copy .btn--ink {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.page-home .docs-figure {
  margin: 0;
  min-width: 0;
}

.page-home .docs-figure figcaption {
  color: #3d5a6e;
}

/* ---------- 联系与备案 ---------- */
.page-home .home-contact {
  padding: clamp(2.25rem, 5vw, 4rem) 0 0;
  background:
    radial-gradient(60rem 24rem at 90% 0%, rgba(55, 224, 214, 0.09), transparent 62%),
    var(--c-deep);
}

.page-home .contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background: var(--glass-fill);
  backdrop-filter: blur(6px);
}

.page-home .contact-copy .eyebrow {
  color: var(--c-amber);
  margin: 0 0 0.8rem;
}

.page-home .contact-copy h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.page-home .contact-copy p {
  margin: 0 0 1.4rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--home-text);
  max-width: 32rem;
}

.page-home .contact-copy .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.page-home .contact-list {
  margin: 0;
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.page-home .contact-list > div {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--glass-line-soft);
}

.page-home .contact-list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .contact-list dt {
  margin-bottom: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-mist);
}

.page-home .contact-list dd {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--c-paper);
  overflow-wrap: anywhere;
}

.page-home .contact-list .data-mono {
  font-size: 0.8125rem;
  color: var(--c-cyan);
  letter-spacing: 0.05em;
}

.page-home .home-skyline {
  position: relative;
  margin: clamp(1.75rem, 4vw, 3rem) 0 0;
  line-height: 0;
}

.page-home .home-skyline img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  opacity: 0.45;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 45%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 45%, #000 100%);
}

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

  .page-home .contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1.75rem;
  }

  .page-home .contact-list > div {
    padding-bottom: 0.9rem;
  }
}

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
  }

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

  .page-home .hero-index {
    grid-column: span 5;
    margin-top: 0.35rem;
  }

  .page-home .track-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
  }

  .page-home .track-copy {
    grid-column: span 4;
  }

  .page-home .track-figure {
    grid-column: span 8;
  }

  .page-home .map-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2.5rem 2rem;
  }

  .page-home .map-item--a {
    grid-column: 1 / span 6;
  }

  .page-home .map-item--b {
    grid-column: 7 / span 6;
    margin-top: 3rem;
  }

  .page-home .map-item--c {
    grid-column: 2 / span 5;
  }

  .page-home .map-item--d {
    grid-column: 8 / span 5;
    margin-top: 2rem;
  }

  .page-home .docs-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .page-home .docs-copy {
    grid-column: span 7;
  }

  .page-home .docs-figure {
    grid-column: span 5;
    margin-top: 1.5rem;
  }

  .page-home .contact-band {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .page-home .hero-index {
    padding: 2.25rem;
  }

  .page-home .map-item--b {
    margin-top: 4.5rem;
  }

  .page-home .map-item--d {
    margin-top: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry,
  .page-home .map-item a,
  .page-home .notice-board li a,
  .page-home .docs-tabs .tab {
    transition: none;
  }
}
