.page-home {
  --home-hair: rgba(244, 247, 251, .12);
  --home-cyan-line: rgba(47, 230, 200, .34);
  --home-magenta-line: rgba(255, 77, 157, .3);
  --home-grid-step: 94px;
  position: relative;
  isolation: isolate;
  padding-bottom: clamp(48px, 8vw, 110px);
  overflow-x: clip;
}

.page-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(115deg, rgba(244, 247, 251, .045) 0 1px, transparent 1px var(--home-grid-step)),
    radial-gradient(120% 78% at 84% 0%, rgba(232, 180, 90, .13), transparent 62%),
    radial-gradient(90% 60% at 6% 28%, rgba(47, 230, 200, .09), transparent 72%);
}

.page-home .home-shell {
  position: relative;
}

.page-home .crumbs {
  margin-top: clamp(14px, 2.4vw, 26px);
  font-size: .8rem;
}

.page-home .crumbs a {
  color: var(--mist);
}

.page-home .crumbs a:hover {
  color: var(--gold);
}

.page-home .crumbs__item:last-child {
  color: var(--gold);
}

.page-home .crumbs__sep {
  color: rgba(159, 179, 200, .5);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  margin-top: clamp(16px, 3vw, 30px);
}

.page-home .hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 6.6vw, 4.05rem);
  line-height: 1.03;
  letter-spacing: -.02em;
  color: var(--glass);
  margin: .3em 0 .55em;
}

.page-home .lede {
  color: var(--mist);
  line-height: 1.92;
  font-size: clamp(.98rem, 1.6vw, 1.08rem);
  max-width: 56ch;
}

.page-home .hero__facts {
  list-style: none;
  margin: clamp(22px, 3.4vw, 34px) 0 0;
  padding: clamp(16px, 2.4vw, 22px) 0 0;
  border-top: 1px solid var(--home-hair);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
}

.page-home .hero__facts li {
  display: grid;
  gap: 4px;
}

.page-home .hero__fact-num {
  font-family: var(--font-mono);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--gold);
  letter-spacing: .01em;
}

.page-home .hero__fact-txt {
  font-size: .82rem;
  color: var(--mist);
  line-height: 1.5;
}

.page-home .shot {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--home-hair);
  background: var(--night);
  box-shadow: var(--shadow-lift);
}

.page-home .shot__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.page-home .shot--hero .shot__img {
  aspect-ratio: 4 / 3;
}

.page-home .shot--hero {
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.page-home .shot--square .shot__img {
  aspect-ratio: 1 / 1;
}

.page-home .shot--wide .shot__img {
  aspect-ratio: 3 / 2;
}

.page-home .shot figcaption {
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .02em;
  color: var(--mist);
  background: rgba(6, 17, 30, .7);
  border-top: 1px solid var(--home-hair);
}

@media (min-width: 920px) {
  .page-home .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: end;
  }
}

/* ---------- 三条路径 ---------- */
.page-home .path-picker {
  margin-top: clamp(32px, 5.4vw, 62px);
}

.page-home .path-picker .tabs__list {
  display: flex;
  gap: 8px;
  padding: 4px 2px 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .path-picker .tabs__list::-webkit-scrollbar {
  display: none;
}

.page-home .path-picker .tab {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .05em;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--home-hair);
  background: rgba(16, 38, 63, .55);
  color: var(--mist);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

.page-home .path-picker .tab:hover {
  border-color: var(--home-cyan-line);
  color: var(--glass);
}

.page-home .path-picker .tab[aria-selected="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--night);
}

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

.page-home .path-panel {
  margin-top: 6px;
  padding: clamp(20px, 3.4vw, 32px);
  border: 1px solid var(--glass-brd);
  border-left-width: 3px;
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, rgba(16, 38, 63, .86), rgba(6, 17, 30, .74));
  box-shadow: var(--shadow-lift);
}

.page-home .path-panel--cyan {
  border-left-color: var(--cyan);
}

.page-home .path-panel--gold {
  border-left-color: var(--gold);
}

.page-home .path-panel--magenta {
  border-left-color: var(--magenta);
}

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

.page-home .path-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.2vw, 1.8rem);
  line-height: 1.16;
  color: var(--glass);
  margin: 0 0 .55em;
}

.page-home .path-panel__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* ---------- 通用段落 ---------- */
.page-home .prose {
  color: var(--mist);
  line-height: 1.9;
  font-size: .98rem;
  max-width: 64ch;
  margin: 0;
}

.page-home .prose--tight {
  font-size: .9rem;
  line-height: 1.8;
}

.page-home .section {
  margin-top: clamp(52px, 8.4vw, 104px);
}

.page-home .section__head {
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  margin-bottom: clamp(20px, 3.4vw, 36px);
}

.page-home .section__index {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  line-height: .82;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 180, 90, .48);
}

.page-home .section__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--glass);
  margin: 0 0 .5em;
}

@media (max-width: 620px) {
  .page-home .section__head {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}

/* ---------- 换机适配 ---------- */
.page-home .handoff__grid {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
}

@media (min-width: 900px) {
  .page-home .handoff__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: start;
  }
}

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

.page-home .steps__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--home-hair);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(16, 38, 63, .72), rgba(10, 26, 47, .52));
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}

.page-home .steps__item:hover {
  border-color: var(--home-cyan-line);
  transform: translateX(4px);
}

.page-home .steps__num {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--gold);
  padding: 3px 8px;
  border: 1px solid rgba(232, 180, 90, .42);
  border-radius: var(--r-sm);
  line-height: 1.4;
}

.page-home .steps__title {
  display: block;
  color: var(--glass);
  font-size: 1.02rem;
  margin-bottom: .3em;
}

.page-home .steps__text {
  display: block;
  color: var(--mist);
  font-size: .92rem;
  line-height: 1.78;
}

.page-home .handoff__shot {
  align-self: stretch;
}

/* ---------- 内容中心第 2 栏 ---------- */
.page-home .column-two__grid {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
}

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

.page-home .price-card {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: clamp(20px, 3.4vw, 32px);
  border-radius: var(--r-lg);
  background: linear-gradient(155deg, rgba(232, 180, 90, .14), rgba(255, 77, 157, .1) 60%, rgba(10, 26, 47, .82));
}

.page-home .price-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 1.5rem);
  line-height: 1.2;
  color: var(--glass);
  margin: 0;
}

.page-home .price-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .price-card__list li {
  position: relative;
  padding-left: 20px;
  color: var(--mist);
  font-size: .92rem;
  line-height: 1.75;
}

.page-home .price-card__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .7em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--magenta);
  opacity: .85;
}

.page-home .column-two__subtitle {
  font-size: .82rem;
  font-family: var(--font-mono);
  letter-spacing: .08em;
  color: var(--gold);
  margin: 0 0 14px;
}

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

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

.page-home .column-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 14px;
  border: 1px solid var(--home-hair);
  border-radius: var(--r-md);
  background: rgba(16, 38, 63, .46);
  color: var(--mist);
  font-size: .92rem;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}

.page-home .column-list li:hover {
  border-color: rgba(255, 77, 157, .4);
  color: var(--glass);
}

.page-home .column-list .u-mono {
  color: var(--gold);
  font-size: .78rem;
}

/* ---------- 板块索引 ---------- */
.page-home .boards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

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

.page-home .board {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--home-hair);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(16, 38, 63, .74), rgba(10, 26, 47, .5));
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .board:hover,
.page-home .board:focus-within {
  border-color: var(--home-cyan-line);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.page-home .board__num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(47, 230, 200, .5);
  transition: -webkit-text-stroke-color .3s var(--ease);
}

.page-home .board:hover .board__num {
  -webkit-text-stroke-color: var(--cyan);
}

.page-home .board__name {
  display: block;
  color: var(--glass);
  font-weight: 600;
  font-size: 1rem;
}

.page-home .board__desc {
  display: block;
  margin-top: .3em;
  color: var(--mist);
  font-size: .89rem;
  line-height: 1.72;
  opacity: .68;
  transition: opacity .3s var(--ease);
}

.page-home .board:hover .board__desc {
  opacity: 1;
}

.page-home .boards__shot {
  margin-top: clamp(20px, 3.4vw, 34px);
}

.page-home .boards__callout {
  margin-top: clamp(16px, 2.6vw, 24px);
}

.page-home .boards__callout p {
  margin: 0;
  color: var(--mist);
  line-height: 1.85;
  font-size: .94rem;
}

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

/* ---------- 老用户故事 ---------- */
.page-home .tales {
  display: grid;
  gap: 12px;
}

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

.page-home .tale {
  padding: 18px 20px;
  border: 1px solid var(--home-hair);
  border-radius: var(--r-md);
  background: rgba(6, 17, 30, .55);
}

.page-home .tale__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--magenta);
  border: 1px solid var(--home-magenta-line);
  border-radius: 999px;
  padding: 3px 11px;
  margin-bottom: 12px;
}

.page-home .tale p {
  margin: 0;
  color: var(--mist);
  line-height: 1.82;
  font-size: .93rem;
}

.page-home .tales__shot {
  margin-top: clamp(20px, 3.4vw, 32px);
}

.page-home .tales__more {
  margin: clamp(18px, 2.8vw, 26px) 0 0;
}

/* ---------- 快速通道 ---------- */
.page-home .gateways {
  display: grid;
  gap: 12px;
}

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

.page-home .gateway {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--home-hair);
  background: linear-gradient(170deg, rgba(16, 38, 63, .8), rgba(6, 17, 30, .7));
  text-decoration: none;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}

.page-home .gateway:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.page-home .gateway__num {
  font-size: .78rem;
  color: var(--gold);
}

.page-home .gateway__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--glass);
  line-height: 1.25;
}

.page-home .gateway__desc {
  color: var(--mist);
  font-size: .89rem;
  line-height: 1.75;
}

.page-home .gateways__note {
  margin: clamp(18px, 2.8vw, 26px) 0 0;
  font-size: .86rem;
  color: var(--mist);
  line-height: 1.8;
}

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

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .board,
  .page-home .steps__item,
  .page-home .gateway,
  .page-home .tale__tag {
    transition: none;
  }

  .page-home .board:hover,
  .page-home .gateway:hover,
  .page-home .steps__item:hover {
    transform: none;
  }
}
