.page-home {
  position: relative;
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(46px, 8vw, 96px) 0 clamp(40px, 6vw, 76px);
  background:
    radial-gradient(118% 82% at 90% 2%, rgba(0, 229, 255, 0.2) 0%, rgba(0, 229, 255, 0) 62%),
    linear-gradient(158deg, #142a52 0%, #0b1b3a 54%, #060d1a 100%);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -34%;
  width: clamp(240px, 44vw, 580px);
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.3), rgba(255, 107, 53, 0.14));
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transform: rotate(16deg);
  z-index: 0;
  pointer-events: none;
}

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

.page-home .hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  mix-blend-mode: screen;
}

.page-home .hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(30px, 5vw, 52px);
}

.page-home .hero__title {
  margin: 16px 0 18px;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: var(--white);
}

.page-home .hero__title em {
  font-style: normal;
  color: var(--cyan);
}

.page-home .hero__lede {
  max-width: 34em;
  margin: 0 0 clamp(22px, 3vw, 30px);
  color: var(--silver);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.75;
}

.page-home .hero__cards {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-home .entry-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 16px;
  padding: 16px 18px 18px;
  border: 2px solid var(--line-soft);
  background: linear-gradient(140deg, rgba(18, 36, 74, 0.94), rgba(6, 13, 26, 0.9));
  box-shadow: 6px 6px 0 rgba(0, 229, 255, 0.1);
  color: var(--white);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.page-home .entry-card__idx {
  grid-row: span 2;
  padding-top: 4px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-home .entry-card__title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-home .entry-card__desc {
  margin-top: 5px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--silver);
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 8px 12px 0 rgba(0, 229, 255, 0.24);
}

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

.page-home .entry-card--orange {
  box-shadow: 6px 6px 0 rgba(255, 107, 53, 0.12);
}

.page-home .entry-card--orange .entry-card__idx {
  color: var(--orange);
}

.page-home .entry-card--orange:hover,
.page-home .entry-card--orange:focus-visible {
  border-color: var(--orange);
  box-shadow: 8px 12px 0 rgba(255, 107, 53, 0.26);
}

/* ---------- 概览数据带 ---------- */
.page-home .datastrip {
  padding: clamp(18px, 3vw, 28px) 0;
  background: var(--deep-2);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .datastrip__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .datastrip__item {
  padding-left: 12px;
  border-left: 2px solid var(--cyan-line);
}

.page-home .datastrip__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.page-home .datastrip__label {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--silver);
}

/* ---------- 四条路径 ---------- */
.page-home .panels {
  background: var(--deep);
}

.page-home .panels .section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.page-home .panels__title {
  max-width: 22ch;
  margin: 10px 0 0;
  font-size: clamp(1.5rem, 3.6vw, 2.35rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--white);
}

.page-home .panels__grid {
  display: grid;
  gap: 16px;
  margin-top: clamp(26px, 4vw, 40px);
}

.page-home .panel-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 18px;
  align-items: start;
  padding: clamp(20px, 3vw, 28px);
  border: 2px solid var(--line-soft);
  background: rgba(18, 36, 74, 0.55);
  color: var(--white);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.page-home .panel-card:hover,
.page-home .panel-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--cyan);
  background: rgba(18, 36, 74, 0.88);
  box-shadow: 8px 10px 0 rgba(0, 229, 255, 0.18);
}

.page-home .panel-card:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-home .panel-card__no {
  grid-row: span 3;
  padding-top: 2px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(0, 229, 255, 0.5);
}

.page-home .panel-card__title {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .panel-card__text {
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--silver);
}

.page-home .panel-card__go {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.page-home .panels__figure {
  margin: clamp(26px, 4vw, 40px) 0 0;
  border: 2px solid var(--line-soft);
  background: var(--graphite);
  overflow: hidden;
}

.page-home .panels__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
}

.page-home .panels__more {
  margin: clamp(20px, 3vw, 28px) 0 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--silver);
}

.page-home .panels__more a {
  color: var(--cyan);
  text-underline-offset: 3px;
}

/* ---------- 换设备后的记录对照 ---------- */
.page-home .records {
  background: linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .records__inner {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.page-home .records__title {
  margin: 10px 0 14px;
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--white);
}

.page-home .records__text-p {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.78;
  color: var(--silver);
}

.page-home .records__list {
  margin: 0 0 24px;
  padding-left: 20px;
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--silver);
}

.page-home .records__list li::marker {
  color: var(--cyan);
}

.page-home .records__media {
  margin: 0;
  border: 2px solid var(--line-soft);
  background: var(--graphite);
  box-shadow: var(--shadow-cyan);
  aspect-ratio: 4 / 3;
}

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

/* ---------- 临时查一条 ---------- */
.page-home .quick {
  background: var(--deep);
}

.page-home .quick__inner {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
}

.page-home .quick__title {
  margin: 10px 0 14px;
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--white);
}

.page-home .quick__lede {
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.78;
  color: var(--silver);
}

.page-home .quick__list {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.page-home .quick__list li {
  border-bottom: 1px solid var(--line-soft);
}

.page-home .quick__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 4px 14px 0;
  font-size: 0.98rem;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.page-home .quick__link::after {
  content: "\2192";
  flex: none;
  font-family: var(--font-mono);
  color: var(--cyan);
}

.page-home .quick__link:hover,
.page-home .quick__link:focus-visible {
  color: var(--cyan);
  padding-left: 8px;
}

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

.page-home .quick__media {
  margin: 0 auto;
  width: 100%;
  max-width: 340px;
  border: 2px solid var(--line-soft);
  background: var(--graphite);
}

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

/* ---------- 服务范围收束条 ---------- */
.page-home .scope {
  background: var(--deep);
  padding-bottom: clamp(48px, 7vw, 88px);
}

.page-home .scope__bar {
  position: relative;
  display: grid;
  gap: 22px;
  padding: clamp(26px, 4vw, 44px);
  border: 2px solid var(--cyan-line);
  background: linear-gradient(120deg, rgba(0, 229, 255, 0.1), rgba(255, 107, 53, 0.06) 70%, transparent);
  overflow: hidden;
}

.page-home .scope__bar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

.page-home .scope__title {
  margin: 10px 0 12px;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--white);
}

.page-home .scope__text {
  max-width: 62ch;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.78;
  color: var(--silver);
}

.page-home .scope__cta {
  justify-self: start;
}

/* ---------- 入场动效 ---------- */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .page-home [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .page-home [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 断点 ---------- */
@media (min-width: 760px) {
  .page-home .panels__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 820px) {
  .page-home .datastrip__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 880px) {
  .page-home .quick__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.6fr);
    align-items: start;
    gap: clamp(32px, 5vw, 56px);
  }

  .page-home .quick__media {
    justify-self: end;
    margin: 0;
  }
}

@media (min-width: 900px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: start;
    gap: clamp(36px, 5vw, 76px);
  }

  .page-home .hero__cards {
    margin-top: clamp(18px, 4vw, 54px);
  }

  .page-home .hero__cards .entry-card:nth-child(2) {
    margin-left: clamp(14px, 3vw, 42px);
  }

  .page-home .hero__cards .entry-card:nth-child(3) {
    margin-left: clamp(28px, 6vw, 84px);
  }

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

@media (min-width: 860px) {
  .page-home .scope__bar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 36px;
  }
}
