.page-home {
  --hm-pad: clamp(20px, 4.5vw, 64px);
  --hm-line: 1px solid var(--rule);
  --hm-soft: rgba(6, 24, 38, 0.72);
  background: var(--sea);
  color: var(--paper);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-home .home-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 18px;
  padding-top: clamp(14px, 3vw, 26px);
  padding-bottom: 10px;
  border-bottom: var(--hm-line);
}

.page-home .home-topline {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home h2 {
  margin: 0 0 0.6em;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-size: clamp(1.75rem, 4.4vw, 2.65rem);
}

.page-home h3 {
  margin: 0 0 0.45em;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
}

.page-home p {
  margin: 0 0 0.9em;
  line-height: 1.75;
  font-size: 1rem;
}

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

.page-home .eyebrow {
  color: var(--cyan);
  letter-spacing: 0.16em;
  margin-bottom: 0.9em;
}

.page-home .lnk {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(40, 240, 210, 0.45);
  padding-bottom: 1px;
}

.page-home .lnk:hover,
.page-home .lnk:focus-visible {
  border-bottom-color: var(--cyan);
}

/* ---------- 首屏分屏 ---------- */
.page-home .hero {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: var(--hm-line);
}

.page-home .hero-copy {
  padding: clamp(26px, 5vw, 56px) var(--pad) clamp(30px, 5vw, 60px);
}

.page-home .hero-copy h1 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.02;
  font-size: clamp(2.25rem, 7.4vw, 4.25rem);
}

.page-home .hero-lede {
  max-width: 36ch;
  color: var(--paper);
  opacity: 0.86;
  font-size: 1.02rem;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-home .hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.page-home .hero-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: clamp(22px, 3.4vw, 34px);
  padding: 12px 14px;
  border: var(--hm-line);
  background: rgba(10, 46, 54, 0.55);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.page-home .status-lamp {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(199, 242, 74, 0.55);
  animation: home-breathe 3.6s ease-in-out infinite;
}

.page-home .status-v {
  color: var(--lime);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-home .status-note {
  color: var(--mist);
}

.page-home .hero-visual {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(40, 240, 210, 0.18), transparent 62%),
    var(--teal);
  border-top: var(--hm-line);
}

.page-home .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(40, 240, 210, 0.28) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
}

.page-home .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(0.92);
}

.page-home .hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: home-drift 14s ease-in-out infinite alternate;
}

.page-home .hero-lines line {
  stroke: var(--cyan);
  stroke-width: 1.2;
  opacity: 0.36;
}

.page-home .hero-lines .hl--dash line {
  stroke: var(--coral);
  stroke-dasharray: 6 10;
  opacity: 0.55;
}

.page-home .hero-plate {
  position: absolute;
  right: clamp(14px, 3vw, 30px);
  bottom: clamp(16px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 18px;
  background: var(--paper);
  color: var(--sea);
  border: 1px solid var(--rule);
  box-shadow: 6px 6px 0 rgba(6, 24, 38, 0.55);
  z-index: 2;
}

.page-home .plate-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: #2f5559;
}

.page-home .plate-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--sea);
}

/* ---------- 版本记录 ---------- */
.page-home .sec-version {
  padding-block: clamp(44px, 7vw, 88px);
  background: var(--indigo);
  border-bottom: var(--hm-line);
}

.page-home .version-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
}

.page-home .version-intro p {
  max-width: 44ch;
  color: rgba(244, 247, 242, 0.82);
}

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

.page-home .version-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  padding: 18px 0;
  border-top: var(--hm-line);
}

.page-home .version-list li:last-child {
  border-bottom: var(--hm-line);
}

.page-home .v-no {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--lime);
}

.page-home .v-title {
  font-size: 1.05rem;
  margin-bottom: 0.3em;
}

.page-home .v-desc {
  font-size: 0.94rem;
  color: rgba(244, 247, 242, 0.78);
  margin-bottom: 0.7em;
}

/* ---------- 手机端与快捷区 ---------- */
.page-home .sec-quick {
  padding-block: clamp(44px, 7vw, 88px);
  background: var(--sea);
  border-bottom: var(--hm-line);
}

.page-home .quick-lede {
  max-width: 52ch;
  color: rgba(244, 247, 242, 0.82);
}

.page-home .bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  margin-top: clamp(24px, 4vw, 40px);
}

.page-home .bcard {
  position: relative;
  padding: clamp(18px, 2.8vw, 30px);
  background: var(--hm-soft);
  border: 1px solid var(--rule);
}

.page-home .bcard--wide {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 24px);
  align-items: center;
  background: var(--teal);
  box-shadow: 8px 8px 0 rgba(10, 46, 54, 0.35);
}

.page-home .bcard-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: cover;
  border: 1px solid var(--rule);
}

.page-home .bcard-body p {
  color: rgba(244, 247, 242, 0.82);
  font-size: 0.96rem;
}

.page-home .bcard--stat {
  background: linear-gradient(160deg, rgba(199, 242, 74, 0.14), rgba(6, 24, 38, 0.9));
}

.page-home .stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--mist);
  margin-bottom: 0.4em;
}

.page-home .big-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--lime);
  margin-bottom: 0.5em;
}

.page-home .stat-note {
  font-size: 0.92rem;
  color: rgba(244, 247, 242, 0.8);
}

.page-home .stat-note strong {
  color: var(--paper);
}

.page-home .bcard--half p {
  font-size: 0.94rem;
  color: rgba(244, 247, 242, 0.8);
}

/* ---------- 三步排查 ---------- */
.page-home .sec-steps {
  padding-block: clamp(44px, 7vw, 88px);
  background: linear-gradient(180deg, var(--sea), #04121d);
  border-bottom: var(--hm-line);
}

.page-home .steps-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.page-home .steps-copy > p {
  max-width: 46ch;
  color: rgba(244, 247, 242, 0.82);
}

.page-home .step-list {
  list-style: none;
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0;
}

.page-home .step {
  position: relative;
  padding: 16px 18px 16px 58px;
  margin-bottom: 12px;
  border-left: 3px solid var(--coral);
  background: linear-gradient(90deg, rgba(74, 18, 38, 0.42), rgba(6, 24, 38, 0.1));
}

.page-home .step-no {
  position: absolute;
  left: 14px;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.04em;
}

.page-home .step-body h3 {
  font-size: 1.04rem;
  margin-bottom: 0.3em;
}

.page-home .step-body p {
  font-size: 0.93rem;
  color: rgba(244, 247, 242, 0.8);
}

.page-home .steps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: clamp(16px, 2.4vw, 24px);
  padding: 0 22px;
  border-radius: 2px;
  font-weight: 700;
  text-decoration: none;
}

.page-home .steps-media {
  margin: 0;
  border: 1px solid var(--rule);
  background: var(--teal);
  box-shadow: 10px 10px 0 rgba(40, 240, 210, 0.08);
}

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

.page-home .steps-media figcaption {
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--mist);
  border-top: var(--hm-line);
}

/* ---------- 双归档 ---------- */
.page-home .sec-archives {
  padding-block: clamp(44px, 7vw, 88px);
  background: var(--sea);
  border-bottom: var(--hm-line);
}

.page-home .arc-lede {
  max-width: 62ch;
  color: rgba(244, 247, 242, 0.82);
}

.page-home .archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  margin-top: clamp(24px, 4vw, 40px);
}

.page-home .archive {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--rule);
}

.page-home .archive--live {
  background: var(--wine);
  box-shadow: -8px 8px 0 rgba(74, 18, 38, 0.35);
}

.page-home .archive--data {
  background: var(--teal);
  box-shadow: 8px 8px 0 rgba(10, 46, 54, 0.4);
}

.page-home .archive > p {
  color: rgba(244, 247, 242, 0.84);
  font-size: 0.95rem;
}

.page-home .arc-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .arc-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: rgba(244, 247, 242, 0.8);
}

.page-home .arc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 2px;
  background: var(--coral);
}

.page-home .arc-list strong {
  color: var(--paper);
  font-weight: 700;
}

.page-home .arc-media {
  margin: 18px 0 0;
  border: 1px solid var(--rule);
}

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

.page-home .arc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: clamp(22px, 3.4vw, 34px);
  padding: 0 24px;
  border-radius: 2px;
  font-weight: 700;
  text-decoration: none;
}

/* ---------- 服务与联系 ---------- */
.page-home .sec-service {
  padding-block: clamp(44px, 7vw, 88px);
  background: var(--indigo);
}

.page-home .service-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3.5vw, 38px);
  align-items: start;
}

.page-home .service-paper {
  padding: clamp(22px, 3.6vw, 42px);
  background: var(--paper);
  color: var(--sea);
  box-shadow: 10px 10px 0 rgba(40, 240, 210, 0.12);
}

.page-home .service-paper h2 {
  color: var(--sea);
}

.page-home .service-paper .eyebrow {
  color: #1f6b6a;
}

.page-home .service-paper p {
  color: #23454b;
  font-size: 0.96rem;
}

.page-home .service-list {
  margin: clamp(18px, 3vw, 26px) 0;
  padding: 0;
  border-top: 1px solid rgba(42, 74, 82, 0.35);
}

.page-home .service-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(42, 74, 82, 0.35);
}

.page-home .service-item dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #4a7075;
}

.page-home .service-item dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sea);
  word-break: break-word;
}

.page-home .service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 2px;
  font-weight: 700;
  text-decoration: none;
}

.page-home .service-meta {
  padding: clamp(4px, 1vw, 8px) 0;
}

.page-home .service-meta h3 {
  color: var(--lime);
  font-size: 1.05rem;
  margin-bottom: 0.8em;
}

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

.page-home .meta-list li {
  padding-bottom: 14px;
  border-bottom: var(--hm-line);
  font-size: 0.93rem;
  line-height: 1.7;
  color: rgba(244, 247, 242, 0.8);
}

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

.page-home .meta-k {
  display: inline-block;
  margin-right: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-home .meta-foot {
  margin-top: 14px;
  font-size: 0.92rem;
}

/* ---------- 断点 ---------- */
@media (min-width: 620px) {
  .page-home .bcard--wide {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .page-home .bcard-media img {
    max-height: 320px;
  }

  .page-home .service-item {
    grid-template-columns: 108px 1fr;
    align-items: baseline;
    gap: 12px;
  }
}

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

  .page-home .bcard--wide {
    grid-column: span 4;
  }

  .page-home .bcard--stat {
    grid-column: span 2;
    margin-top: 18px;
  }

  .page-home .bcard--half {
    grid-column: span 3;
  }
}

@media (min-width: 900px) {
  .page-home .version-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
  }

  .page-home .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .page-home .archive--data {
    margin-top: 24px;
  }

  .page-home .steps-inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .page-home .service-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

@media (min-width: 980px) {
  .page-home .hero {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    min-height: min(760px, 84vh);
  }

  .page-home .hero-visual {
    border-top: 0;
    border-left: var(--hm-line);
    min-height: 100%;
  }

  .page-home .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@keyframes home-breathe {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(199, 242, 74, 0.5);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 7px rgba(199, 242, 74, 0);
    opacity: 0.72;
  }
}

@keyframes home-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-2.2%, -1.6%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .status-lamp,
  .page-home .hero-lines {
    animation: none;
  }
}
