.page-home {
  --home-pad: clamp(18px, 4vw, 32px);
  --home-gap: clamp(56px, 8vw, 120px);
  --home-ease: cubic-bezier(.22, .61, .36, 1);
}

.page-home .home-sec {
  padding-block: var(--home-gap);
}

.page-home .home-sec:first-child {
  padding-top: clamp(24px, 4vw, 48px);
}

.page-home .home-sec:last-child {
  padding-bottom: clamp(48px, 7vw, 96px);
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .sl-container {
  min-width: 0;
}

/* ---------- 区块标题 ---------- */

.page-home .home-sec__head {
  max-width: 66ch;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.page-home .home-sec__eyebrow {
  color: var(--sl-violet);
  margin: 0 0 10px;
}

.page-home .home-sec__title {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--sl-mist);
  font-weight: 800;
}

.page-home .home-sec__lead {
  margin: 0;
  color: var(--sl-text-dim);
  font-size: 16px;
  line-height: 1.9;
}

/* ---------- 首屏 ---------- */

.page-home .home-hero__frame {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: var(--sl-radius);
  border: 1px solid var(--sl-line);
  min-height: 380px;
  background: linear-gradient(150deg, var(--sl-deep), var(--sl-indigo) 78%);
}

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

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 14%, rgba(240, 185, 74, .18), transparent 44%),
    radial-gradient(circle at 8% 88%, rgba(108, 76, 224, .34), transparent 52%),
    linear-gradient(180deg, rgba(7, 11, 30, .34) 0%, rgba(7, 11, 30, .84) 58%, var(--sl-deep) 100%);
}

.page-home .home-hero__orbit {
  position: absolute;
  top: -18%;
  right: -8%;
  width: min(46vw, 420px);
  height: auto;
  opacity: .9;
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  max-width: min(100%, 660px);
  padding: clamp(26px, 4.6vw, 56px);
}

.page-home .home-hero__ctx {
  margin: 0 0 14px;
  color: var(--sl-silver);
}

.page-home .home-hero__title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--sl-mist);
  font-weight: 800;
}

.page-home .home-hero__lead {
  margin: 0;
  max-width: 42ch;
  color: var(--sl-text);
  font-size: 16.5px;
  line-height: 1.95;
}

/* ---------- 三张章节卡 ---------- */

.page-home .home-chapters {
  position: relative;
  display: grid;
  gap: 16px;
  margin-top: clamp(22px, 3.4vw, 40px);
}

.page-home .home-chapter {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 24px;
  border-radius: var(--sl-radius);
  border: 1px solid var(--sl-line);
  background: linear-gradient(180deg, rgba(14, 22, 56, .88), rgba(14, 22, 56, .6));
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .4s var(--home-ease), border-color .4s var(--home-ease), box-shadow .4s var(--home-ease);
}

.page-home .home-chapter::after {
  content: "";
  position: absolute;
  inset: auto -30% -70% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 76, 224, .28), transparent 68%);
  opacity: 0;
  transition: opacity .45s var(--home-ease);
  pointer-events: none;
}

.page-home .home-chapter:hover,
.page-home .home-chapter:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(200, 210, 230, .38);
  box-shadow: 0 22px 46px -26px rgba(108, 76, 224, .85);
}

.page-home .home-chapter:hover::after,
.page-home .home-chapter:focus-visible::after {
  opacity: 1;
}

.page-home .home-chapter__no {
  font-family: var(--sl-mono);
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--sl-violet);
}

.page-home .home-chapter__kicker {
  font-family: var(--sl-mono);
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--sl-silver);
  opacity: .78;
}

.page-home .home-chapter__title {
  font-size: 19px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--sl-mist);
}

.page-home .home-chapter__text {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--sl-text-dim);
}

.page-home .home-chapter__link {
  margin-top: 6px;
  font-family: var(--sl-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--sl-pink);
}

/* ---------- 六组观测舱 ---------- */

.page-home .home-cabins__grid {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  min-width: 0;
}

.page-home .home-cabins__tabs {
  min-width: 0;
}

.page-home .home-cabins__list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
}

.page-home .home-cabins__list .sl-tab {
  position: relative;
  cursor: pointer;
}

.page-home .home-cabins__list .sl-tab[aria-selected="true"] {
  background: rgba(108, 76, 224, .26);
  border-color: rgba(108, 76, 224, .74);
  color: var(--sl-mist);
}

.page-home .home-cabins__list .sl-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sl-gold);
  box-shadow: 0 0 8px rgba(240, 185, 74, .9);
}

.page-home .cabin-panel {
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--sl-radius);
  border: 1px solid var(--sl-line);
  background: linear-gradient(160deg, rgba(42, 27, 94, .5), rgba(14, 22, 56, .82));
}

.page-home .cabin-panel__title {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.45;
  color: var(--sl-mist);
  font-weight: 700;
}

.page-home .cabin-panel__text {
  margin: 0 0 14px;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.9;
  color: var(--sl-text);
}

.page-home .cabin-panel__meta {
  margin: 0;
  color: var(--sl-silver);
  opacity: .72;
}

.page-home .home-cabins__more {
  margin: 18px 0 0;
}

.page-home .home-cabins__figure {
  margin: 0;
}

.page-home .sl-figure__media {
  overflow: hidden;
  border-radius: var(--sl-radius);
  border: 1px solid var(--sl-line);
  background: linear-gradient(160deg, rgba(14, 22, 56, .9), rgba(7, 11, 30, .95));
}

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

.page-home .sl-figure__caption {
  margin-top: 10px;
  font-family: var(--sl-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  line-height: 1.7;
  color: var(--sl-silver);
  opacity: .68;
}

/* ---------- 本期看点 ---------- */

.page-home .home-focus__grid {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  min-width: 0;
}

.page-home .home-focus__figure {
  margin: 0;
}

.page-home .home-focus__entries {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.page-home .home-entry {
  padding: 22px 22px 20px;
  border-radius: var(--sl-radius);
  border: 1px solid var(--sl-line);
  background: rgba(14, 22, 56, .72);
}

.page-home .home-entry--gold {
  border-left: 3px solid var(--sl-gold);
}

.page-home .home-entry--pink {
  border-left: 3px solid var(--sl-pink);
}

.page-home .home-entry__meta {
  margin: 0 0 8px;
  color: var(--sl-silver);
  opacity: .8;
}

.page-home .home-entry__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--sl-mist);
  font-weight: 700;
}

.page-home .home-entry__text {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--sl-text-dim);
}

.page-home .home-entry__tags {
  margin: 0;
}

.page-home .home-focus__note {
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid rgba(108, 76, 224, .6);
  font-size: 14px;
  line-height: 1.85;
  color: var(--sl-silver);
}

/* ---------- 分期摘要 ---------- */

.page-home .home-log__grid {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  min-width: 0;
}

.page-home .home-log__figure {
  margin: 0;
}

.page-home .home-log__list {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.page-home .home-log__item {
  background: rgba(14, 22, 56, .68);
  border-radius: var(--sl-radius-sm);
}

.page-home .home-log__item .sl-fold__body p {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--sl-text-dim);
}

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

.page-home .home-log__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 8px 0 0;
}

.page-home .home-log__tip {
  color: var(--sl-silver);
  opacity: .62;
}

/* ---------- 回访路径 ---------- */

.page-home .home-route__steps {
  position: relative;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.page-home .home-route__step {
  position: relative;
  padding: 22px 22px 22px 62px;
  border-radius: var(--sl-radius);
  border: 1px solid var(--sl-line);
  background: linear-gradient(180deg, rgba(14, 22, 56, .82), rgba(14, 22, 56, .55));
}

.page-home .home-route__num {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(108, 76, 224, .6);
  background: rgba(108, 76, 224, .18);
  font-family: var(--sl-mono);
  font-size: 13px;
  color: var(--sl-gold);
}

.page-home .home-route__title {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--sl-mist);
  font-weight: 700;
}

.page-home .home-route__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--sl-text-dim);
}

.page-home .home-route__tail {
  max-width: 70ch;
  margin: clamp(20px, 3vw, 32px) 0 16px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--sl-silver);
}

.page-home .home-route__link {
  margin: 0;
}

/* ---------- 临时查询卡 ---------- */

.page-home .home-quick__card {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--sl-radius);
  border: 1px solid rgba(18, 137, 127, .38);
  background:
    radial-gradient(circle at 88% 12%, rgba(18, 137, 127, .22), transparent 56%),
    linear-gradient(150deg, rgba(14, 22, 56, .94), rgba(7, 11, 30, .96));
}

.page-home .home-quick__eyebrow {
  margin: 0 0 10px;
  color: var(--sl-teal);
}

.page-home .home-quick__title {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.3;
  color: var(--sl-mist);
  font-weight: 800;
}

.page-home .home-quick__text {
  margin: 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.95;
  color: var(--sl-text-dim);
}

.page-home .home-quick__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .home-quick__link {
  text-decoration: none;
  cursor: pointer;
  transition: background-color .35s var(--home-ease), color .35s var(--home-ease);
}

.page-home .home-quick__link:hover,
.page-home .home-quick__link:focus-visible {
  background: rgba(108, 76, 224, .34);
  color: var(--sl-mist);
}

/* ---------- 平板与桌面 ---------- */

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

  .page-home .home-chapters .home-chapter:nth-child(3) {
    grid-column: 1 / -1;
  }

  .page-home .home-cabins__panels {
    min-height: 200px;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero__frame {
    min-height: 480px;
  }

  .page-home .home-chapters {
    grid-template-columns: 1.14fr .92fr 1.04fr;
    align-items: start;
    gap: 20px;
    padding-top: 26px;
  }

  .page-home .home-chapters::before {
    content: "";
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 76, 224, .55) 18%, rgba(240, 127, 191, .42) 64%, transparent);
  }

  .page-home .home-chapters .home-chapter:nth-child(1) {
    margin-top: 0;
  }

  .page-home .home-chapters .home-chapter:nth-child(2) {
    margin-top: 38px;
    grid-column: auto;
  }

  .page-home .home-chapters .home-chapter:nth-child(3) {
    margin-top: 14px;
    grid-column: auto;
  }

  .page-home .home-cabins__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .82fr);
    align-items: start;
  }

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

  .page-home .home-log__grid {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: start;
  }

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

  .page-home .home-quick__card {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr);
    align-items: center;
  }

  .page-home .home-quick__links {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 1240px) {
  .page-home .home-hero__inner {
    padding-right: 80px;
  }
}

/* ---------- 动效退让 ---------- */

@media (prefers-reduced-motion: reduce) {
  .page-home .home-chapter,
  .page-home .home-quick__link {
    transition: none;
  }

  .page-home .home-chapter:hover,
  .page-home .home-chapter:focus-visible {
    transform: none;
  }
}
