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

/* ---------- 首屏框景 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  padding: clamp(52px, 8vw, 96px) 0 clamp(46px, 6vw, 78px);
  background: var(--night);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  opacity: 0.34;
  filter: saturate(1.15) contrast(1.05);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}

.page-home .hero__frame {
  position: absolute;
  inset: clamp(10px, 1.6vw, 20px);
  z-index: 1;
  border: 1px solid rgba(47, 224, 208, 0.26);
  border-radius: var(--r-lg);
  pointer-events: none;
}

.page-home .hero__frame::before,
.page-home .hero__frame::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  border: 2px solid var(--amber);
}

.page-home .hero__frame::before {
  top: -2px;
  left: -2px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: var(--r-lg);
}

.page-home .hero__frame::after {
  right: -2px;
  bottom: -2px;
  border-top: 0;
  border-left: 0;
  border-bottom-right-radius: var(--r-lg);
}

.page-home .hero__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-home .hero__context {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  font-weight: 600;
}

.page-home .hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 10px var(--magenta);
  flex: none;
}

.page-home .hero__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(34px, 6.6vw, 66px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: balance;
}

.page-home .hero__lede {
  margin: 20px 0 0;
  max-width: 56ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: var(--mist);
}

.page-home .hero__search {
  margin-top: 32px;
  max-width: 660px;
}

.page-home .hero__field {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 12px 12px 22px;
  border-radius: var(--pill);
  border: 1.5px solid var(--line-strong);
  background: rgba(6, 26, 46, 0.74);
  backdrop-filter: blur(8px);
  text-decoration: none;
  box-shadow: var(--glow-soft);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.page-home .hero__field:hover,
.page-home .hero__field:focus-visible {
  border-color: var(--cyan);
  box-shadow: 0 0 22px rgba(47, 224, 208, 0.5);
}

.page-home .hero__icon {
  position: relative;
  flex: none;
  width: 15px;
  height: 15px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
}

.page-home .hero__icon::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: rotate(45deg);
}

.page-home .hero__ph {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  color: var(--mist);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .hero__go {
  flex: none;
  padding: 9px 22px;
  border-radius: var(--pill);
  background: var(--magenta);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 16px rgba(255, 77, 141, 0.45);
}

.page-home .hero__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  transform-origin: left top;
}

.page-home .hero__filters .tag {
  border: 1px solid transparent;
  transition: border-color 0.18s var(--ease);
}

.page-home .hero__search:focus-within .hero__filters .tag {
  border-color: var(--line-strong);
}

.page-home .hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .hero__facts li {
  flex: 1 1 168px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(11, 42, 70, 0.66);
}

.page-home .hero__facts strong {
  display: block;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.01em;
}

.page-home .hero__facts span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--mist);
}

/* ---------- 章节通用 ---------- */
.page-home .section {
  padding: clamp(48px, 6vw, 82px) 0;
}

.page-home .section--alt {
  background: linear-gradient(180deg, rgba(11, 42, 70, 0.55) 0%, rgba(6, 26, 46, 0) 100%);
}

.page-home .chapter--tight {
  margin-bottom: 22px;
}

/* ---------- 双入口对仗 ---------- */
.page-home .duo {
  display: grid;
  gap: 22px;
  margin-top: 44px;
  padding: 22px 6px;
}

.page-home .duo__card {
  position: relative;
  padding: 20px 20px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(158deg, rgba(11, 42, 70, 0.94) 0%, rgba(6, 26, 46, 0.96) 100%);
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.page-home .duo__card--cyan {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.page-home .duo__card:hover,
.page-home .duo__card:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.48), 0 0 0 1px var(--cyan);
}

.page-home .duo__card--magenta:hover,
.page-home .duo__card--magenta:focus-within {
  border-color: var(--magenta);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.48), 0 0 0 1px var(--magenta);
}

.page-home .duo__card .media {
  border-radius: var(--r-md);
  overflow: hidden;
}

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

.page-home .duo__card .media--wide {
  aspect-ratio: 3 / 2;
  background: var(--night);
}

.page-home .duo__title {
  margin: 20px 0 0;
  font-family: var(--font-head);
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .duo__text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .duo__card .btn {
  margin-top: 20px;
}

@media (min-width: 920px) {
  .page-home .duo {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
  }

  .page-home .duo__card:first-child {
    z-index: 2;
    transform: rotate(-3deg) translateY(14px);
  }

  .page-home .duo__card:last-child {
    z-index: 1;
    margin-left: -28px;
    transform: rotate(3deg) translateY(-8px);
  }

  .page-home .duo__card:first-child:hover,
  .page-home .duo__card:first-child:focus-within {
    transform: rotate(-1deg) translateY(4px);
  }

  .page-home .duo__card:last-child:hover,
  .page-home .duo__card:last-child:focus-within {
    transform: rotate(1deg) translateY(-18px);
  }
}

/* ---------- 两步开通 ---------- */
.page-home .two-col {
  display: grid;
  gap: 26px;
  margin-top: 38px;
}

.page-home .steps {
  display: grid;
  gap: 14px;
}

.page-home .steps .accordion__item {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(11, 42, 70, 0.62);
  overflow: hidden;
}

.page-home .steps .accordion__trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: 0;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
  text-align: left;
  cursor: pointer;
}

.page-home .steps .accordion__panel {
  padding: 0 20px 20px 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .steps .accordion__panel p {
  margin: 0;
}

.page-home .steps__num {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(245, 194, 75, 0.4);
}

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

.page-home .tier {
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(11, 42, 70, 0.58);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-home .tier:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.page-home .tier--pro {
  border-color: rgba(47, 224, 208, 0.45);
  background: linear-gradient(150deg, rgba(47, 224, 208, 0.13) 0%, rgba(11, 42, 70, 0.72) 100%);
}

.page-home .tier__name {
  margin: 0;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 0.01em;
}

.page-home .tier__use {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--amber);
  font-weight: 600;
}

.page-home .tier__text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .tiers .btn {
  justify-self: start;
}

@media (min-width: 920px) {
  .page-home .two-col {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
  }
}

/* ---------- 订阅侧栏 ---------- */
.page-home .sub-grid {
  display: grid;
  gap: 28px;
}

.page-home .sub-list {
  margin: 24px 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-home .sub-list li {
  position: relative;
  padding: 14px 18px 14px 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(11, 42, 70, 0.5);
  font-size: 15px;
  line-height: 1.7;
  color: var(--paper);
}

.page-home .sub-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(47, 224, 208, 0.65);
}

.page-home .sub-side {
  align-self: start;
}

.page-home .pinbox {
  padding: 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(11, 42, 70, 0.96) 0%, rgba(6, 26, 46, 0.96) 100%);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.45);
}

.page-home .pinbox .media {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--night);
}

.page-home .pinbox .media--square {
  aspect-ratio: 4 / 3;
}

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

.page-home .pinbox__state {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--amber);
}

.page-home .pinbox__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px rgba(245, 194, 75, 0.75);
  flex: none;
}

.page-home .pinbox__title {
  margin: 8px 0 0;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  color: var(--paper);
}

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

.page-home .pinbox__list li {
  padding: 9px 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: rgba(6, 26, 46, 0.7);
  font-size: 13px;
  color: var(--mist);
}

.page-home .pinbox__note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

@media (min-width: 960px) {
  .page-home .sub-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 56px;
  }
}

/* ---------- 回访理由 ---------- */
.page-home .whys {
  display: grid;
  gap: 16px;
  margin-top: 38px;
}

.page-home .why {
  position: relative;
  padding: 24px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(11, 42, 70, 0.72) 0%, rgba(6, 26, 46, 0.72) 100%);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-home .why:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.page-home .why__num {
  margin: 0;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--magenta);
}

.page-home .why__text {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--paper);
}

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

/* ---------- 日志与问答 ---------- */
.page-home .feed {
  display: grid;
  gap: 34px;
  margin-top: 38px;
}

.page-home .feed-col {
  display: grid;
  align-content: start;
}

.page-home .feed__head {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.page-home .feeditem {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s var(--ease);
}

.page-home .feeditem:hover,
.page-home .feeditem:focus-visible {
  transform: translateX(4px);
}

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

.page-home .feeditem__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--paper);
}

.page-home .feeditem:hover .feeditem__title {
  color: var(--cyan);
}

.page-home .feeditem__time {
  font-size: 12px;
  color: var(--mist);
}

.page-home .feed-col .btn {
  margin-top: 20px;
  justify-self: start;
}

.page-home .outro {
  margin: 44px 0 0;
  padding: 20px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(11, 42, 70, 0.5);
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}

.page-home .outro a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 224, 208, 0.45);
  padding-bottom: 1px;
}

.page-home .outro a:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

@media (min-width: 900px) {
  .page-home .feed {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
  }
}

@media (max-width: 560px) {
  .page-home .hero__field {
    flex-wrap: wrap;
    padding: 16px 20px;
  }

  .page-home .hero__ph {
    white-space: normal;
  }

  .page-home .hero__go {
    width: 100%;
    text-align: center;
  }

  .page-home .duo {
    padding: 8px 0;
  }
}
</main>
