.page-home {
  --home-shadow: 0 22px 48px -34px rgba(11, 42, 74, .5);
  --home-radius-frame: 22px 4px 22px 4px;
  --home-radius-card: 14px 3px 14px 3px;
  background: var(--paper);
  color: var(--ink);
}

/* ---------- 首屏框景 ---------- */
.page-home .home-hero {
  position: relative;
  padding: clamp(18px, 3.6vw, 42px) var(--gutter) clamp(30px, 5vw, 64px);
  background:
    radial-gradient(ellipse 62% 48% at 86% 10%, rgba(216, 166, 74, .2), transparent 62%),
    radial-gradient(ellipse 60% 44% at 4% 94%, rgba(121, 199, 178, .16), transparent 64%),
    linear-gradient(168deg, var(--deep) 0%, var(--teal) 100%);
  color: var(--paper);
}

.page-home .hero-frame {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(14px, 2.2vw, 24px);
  border: 1px solid rgba(216, 166, 74, .36);
  border-radius: var(--home-radius-frame);
}

.page-home .hero-frame::before,
.page-home .hero-frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold);
  pointer-events: none;
}

.page-home .hero-frame::before {
  top: -2px;
  left: -2px;
  border-right: 0;
  border-bottom: 0;
  border-radius: 9px 0 0 0;
}

.page-home .hero-frame::after {
  right: -2px;
  bottom: -2px;
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 9px 0;
}

.page-home .hero-marks {
  position: absolute;
  top: 0;
  left: clamp(30px, 8%, 88px);
  right: clamp(30px, 8%, 88px);
  height: 9px;
  background-image: repeating-linear-gradient(90deg, rgba(216, 166, 74, .6) 0 1px, transparent 1px 16px);
  pointer-events: none;
}

.page-home .hero-shell {
  position: relative;
  display: grid;
  gap: clamp(24px, 4vw, 46px);
  padding: clamp(22px, 3.4vw, 42px);
  border: 1px solid rgba(252, 250, 245, .13);
  border-radius: 16px 3px 16px 3px;
  background: linear-gradient(150deg, rgba(252, 250, 245, .075), rgba(252, 250, 245, .02));
}

.page-home .hero-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(14px, 2vw, 22px);
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--gold);
}

.page-home .hero-context__dot {
  opacity: .55;
}

.page-home h1 {
  margin: 0 0 clamp(14px, 2vw, 20px);
  font-family: var(--font-head);
  font-size: clamp(2.15rem, 5.8vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--paper);
}

.page-home .hero-h1-accent {
  color: var(--gold);
}

.page-home .hero-lede {
  margin: 0;
  max-width: 48ch;
  font-size: clamp(.97rem, 1.3vw, 1.08rem);
  line-height: 1.78;
  color: rgba(252, 250, 245, .8);
}

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

.page-home .hero-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 16px;
  margin: clamp(24px, 3.4vw, 34px) 0 0;
  padding-top: clamp(16px, 2.4vw, 22px);
  border-top: 1px solid rgba(252, 250, 245, .14);
}

.page-home .hero-fact {
  margin: 0;
}

.page-home .hero-fact dt {
  margin: 0 0 4px;
  font-size: .72rem;
  letter-spacing: .1em;
  color: rgba(252, 250, 245, .56);
}

.page-home .hero-fact dd {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 700;
  color: var(--paper);
}

.page-home .hero-visual {
  min-width: 0;
}

.page-home .hero-visual__frame {
  position: relative;
  margin: 0;
  border: 1px solid rgba(216, 166, 74, .32);
  border-radius: 20px 4px 20px 4px;
  overflow: hidden;
  box-shadow: 0 26px 62px -32px rgba(0, 0, 0, .65);
}

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

.page-home .hero-visual__badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  padding: 5px 10px;
  font-size: .68rem;
  letter-spacing: .06em;
  color: var(--gold);
  background: rgba(11, 42, 74, .86);
  border: 1px solid rgba(216, 166, 74, .45);
  border-radius: 3px;
}

/* ---------- 堆叠画板区 ---------- */
.page-home .home-stack {
  position: relative;
  padding: clamp(34px, 6vw, 78px) var(--gutter);
  background:
    radial-gradient(ellipse 72% 42% at 94% 0%, rgba(121, 199, 178, .16), transparent 70%),
    radial-gradient(ellipse 58% 36% at 2% 100%, rgba(216, 166, 74, .14), transparent 72%),
    var(--sand);
}

.page-home .home-stack__grid {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  gap: clamp(20px, 4vw, 38px);
}

/* ---------- 章节导读 ---------- */
.page-home .home-nav {
  display: flex;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.page-home .home-nav::-webkit-scrollbar {
  display: none;
}

.page-home .home-nav .section-nav-title {
  display: none;
}

.page-home .home-nav .section-nav-list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-nav .section-nav-link {
  display: inline-block;
  padding: 7px 14px;
  font-size: .8125rem;
  white-space: nowrap;
  color: var(--ink-soft);
  text-decoration: none;
  background: rgba(252, 250, 245, .82);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.page-home .home-nav .section-nav-link:hover {
  color: var(--deep);
  border-color: rgba(216, 166, 74, .7);
}

/* ---------- 面板本体 ---------- */
.page-home .home-panels {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 30px);
  min-width: 0;
}

.page-home .home-panel {
  position: relative;
  padding: clamp(22px, 3.4vw, 42px);
  border-radius: 20px 4px 20px 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--home-shadow);
  scroll-margin-top: calc(var(--header-h) + 26px);
  overflow: hidden;
}

.page-home .home-panel.panel--deep {
  background: linear-gradient(160deg, var(--deep) 0%, #0d3350 100%);
  border-color: rgba(252, 250, 245, .14);
  color: var(--paper);
}

.page-home .home-panel.panel--teal {
  background: linear-gradient(160deg, var(--teal) 0%, #0c3435 100%);
  border-color: rgba(252, 250, 245, .14);
  color: var(--paper);
}

.page-home .home-panel.panel--indigo {
  background: linear-gradient(160deg, var(--indigo) 0%, #2d2359 100%);
  border-color: rgba(252, 250, 245, .14);
  color: var(--paper);
}

.page-home .home-panel.panel--deep .panel-kicker,
.page-home .home-panel.panel--teal .panel-kicker,
.page-home .home-panel.panel--indigo .panel-kicker {
  color: var(--gold);
}

.page-home .home-panel.panel--sand .panel-kicker {
  color: var(--wine);
}

.page-home .home-panel.panel--deep .panel-title,
.page-home .home-panel.panel--teal .panel-title,
.page-home .home-panel.panel--indigo .panel-title {
  color: var(--paper);
}

.page-home .home-panel.panel--sand .panel-title {
  color: var(--deep);
}

.page-home .panel-head {
  margin-bottom: clamp(16px, 2.4vw, 26px);
}

.page-home .home-panel__lede {
  margin: 0 0 clamp(16px, 2.4vw, 24px);
  max-width: 62ch;
  font-size: .97rem;
  line-height: 1.78;
  color: var(--ink-soft);
}

.page-home .home-panel.panel--deep .home-panel__lede,
.page-home .home-panel.panel--teal .home-panel__lede,
.page-home .home-panel.panel--indigo .home-panel__lede {
  color: rgba(252, 250, 245, .78);
}

/* ---------- 通用图框 ---------- */
.page-home .home-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 16px 3px 16px 3px;
  border: 1px solid var(--line-light);
}

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

.page-home .home-figure--pathway {
  border-color: rgba(216, 166, 74, .3);
}

.page-home .home-figure--triage {
  max-width: 680px;
  margin: clamp(16px, 2.4vw, 24px) auto 0;
}

.page-home .home-figure--devices {
  border-color: rgba(121, 199, 178, .32);
}

/* ---------- 进入路径 ---------- */
.page-home .pathway-grid {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

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

.page-home .step-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px 18px 20px;
  border-radius: var(--home-radius-card);
  background: rgba(252, 250, 245, .07);
  border: 1px solid rgba(252, 250, 245, .14);
  transition: background .25s var(--ease), transform .25s var(--ease);
}

.page-home .step-card:hover {
  background: rgba(252, 250, 245, .11);
  transform: translateY(-2px);
}

.page-home .step-num {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--gold);
}

.page-home .step-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--paper);
}

.page-home .step-card p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.72;
  color: rgba(252, 250, 245, .74);
}

.page-home .step-tip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  margin-top: 2px;
  padding: 4px 10px 4px 8px;
  font-size: .74rem;
  line-height: 1.4;
  color: var(--mint);
  background: rgba(121, 199, 178, .12);
  border-radius: 999px;
}

.page-home .step-tip::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

/* ---------- 登录排查仪表板 ---------- */
.page-home .triage-dial {
  position: absolute;
  top: clamp(14px, 2.4vw, 26px);
  right: clamp(14px, 2.4vw, 26px);
  width: clamp(72px, 12vw, 110px);
  height: auto;
  opacity: .55;
  pointer-events: none;
}

.page-home .triage-board {
  display: grid;
  gap: 12px;
  position: relative;
}

.page-home .triage-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
  border-radius: 4px 14px 4px 14px;
  background: rgba(252, 250, 245, .06);
  border: 1px solid rgba(252, 250, 245, .14);
  transition: background .25s var(--ease), transform .25s var(--ease);
}

.page-home .triage-card:hover {
  background: rgba(252, 250, 245, .1);
  transform: translateY(-2px);
}

.page-home .triage-pill {
  align-self: flex-start;
  padding: 3px 10px;
  font-size: .7rem;
  letter-spacing: .1em;
  border-radius: 999px;
  border: 1px solid currentColor;
}

.page-home .triage-pill--warn {
  color: var(--gold);
}

.page-home .triage-pill--info {
  color: var(--mint);
}

.page-home .triage-card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--paper);
}

.page-home .triage-card p {
  margin: 0;
  font-size: .875rem;
  line-height: 1.72;
  color: rgba(252, 250, 245, .72);
}

.page-home .triage-link {
  margin-top: auto;
  padding-top: 4px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--mint);
  text-decoration: none;
}

.page-home .triage-link:hover,
.page-home .triage-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 版本与规则索引 ---------- */
.page-home .home-index {
  display: grid;
  gap: clamp(16px, 2.6vw, 26px);
}

.page-home .home-index__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.page-home .home-index__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px 14px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .home-index__item:first-child {
  border-top: 1px solid var(--line);
}

.page-home .home-index__num {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--wine);
}

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

.page-home .home-index__link {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.page-home .home-index__link:hover,
.page-home .home-index__link:focus-visible {
  color: var(--teal);
  border-bottom-color: var(--gold);
}

.page-home .home-index__body p {
  margin: 4px 0 0;
  font-size: .875rem;
  line-height: 1.68;
  color: var(--ink-soft);
}

.page-home .home-index__meta {
  font-family: var(--font-mono);
  font-size: .74rem;
  white-space: nowrap;
  color: var(--ink-mute);
}

.page-home .home-index__aside {
  padding: 20px;
  border-radius: var(--home-radius-card);
  background: var(--paper);
  border: 1px dashed rgba(16, 24, 32, .2);
}

.page-home .home-index__aside-title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--deep);
}

.page-home .home-index__aside p {
  margin: 0 0 14px;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-home .home-index__aside-link {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--wine);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-home .home-index__aside-link:hover {
  color: var(--deep);
}

/* ---------- 多端体验 ---------- */
.page-home .devices-grid {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  margin-bottom: clamp(18px, 2.6vw, 26px);
}

.page-home .devices-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .devices-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  font-size: .9rem;
  line-height: 1.68;
  color: rgba(252, 250, 245, .84);
  background: rgba(252, 250, 245, .06);
  border: 1px solid rgba(252, 250, 245, .12);
  border-radius: 10px;
}

.page-home .devices-dot {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
}

.page-home .devices-dot--mint {
  background: var(--mint);
}

.page-home .devices-dot--gold {
  background: var(--gold);
}

.page-home .home-devices__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 14px;
  padding-top: clamp(16px, 2.4vw, 22px);
  border-top: 1px solid rgba(252, 250, 245, .14);
}

.page-home .home-stat__num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--gold);
}

.page-home .home-stat__label {
  display: block;
  margin-top: 3px;
  font-size: .74rem;
  line-height: 1.5;
  color: rgba(252, 250, 245, .58);
}

/* ---------- 设置之后 ---------- */
.page-home .home-next {
  display: grid;
  gap: clamp(16px, 2.6vw, 26px);
}

.page-home .home-next__checklist {
  padding: 20px;
  border-radius: 16px 3px 16px 3px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.page-home .home-next__checklist-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: .98rem;
  font-weight: 700;
  color: var(--deep);
}

.page-home .home-next__checklist ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 20px;
  padding: 0;
  list-style: none;
}

.page-home .home-next__checklist li {
  position: relative;
  padding-left: 26px;
  font-size: .9rem;
  line-height: 1.68;
  color: var(--ink-soft);
}

.page-home .home-next__checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1.5px solid var(--mint);
  background: rgba(121, 199, 178, .18);
}

.page-home .home-next__links {
  display: grid;
  gap: 10px;
}

.page-home .home-link-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px 18px;
  border-radius: 4px 14px 4px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}

.page-home .home-link-card:hover,
.page-home .home-link-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(216, 166, 74, .65);
}

.page-home .home-link-card__meta {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--wine);
}

.page-home .home-link-card__title {
  font-family: var(--font-head);
  font-size: .96rem;
  font-weight: 700;
  color: var(--deep);
}

.page-home .home-next__note {
  margin: clamp(16px, 2.6vw, 24px) 0 0;
  padding-top: clamp(14px, 2vw, 18px);
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--ink-mute);
}

/* ---------- 返回顶部 ---------- */
.page-home .to-top {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  font-size: 1rem;
  color: var(--gold);
  background: var(--deep);
  border: 1px solid rgba(216, 166, 74, .55);
  border-radius: 999px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}

.page-home .to-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .page-home .triage-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .page-home .pathway-grid {
    grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
    align-items: start;
  }

  .page-home .devices-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
    align-items: center;
  }

  .page-home .home-next {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: start;
  }

  .page-home .home-index {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .page-home .home-stack__grid {
    grid-template-columns: 196px minmax(0, 1fr);
    align-items: start;
  }

  .page-home .home-nav {
    position: sticky;
    top: calc(var(--header-h) + 26px);
    display: block;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-home .home-nav .section-nav-title {
    display: block;
    margin: 0 0 12px;
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .16em;
    color: var(--ink-mute);
  }

  .page-home .home-nav .section-nav-list {
    flex-direction: column;
    gap: 2px;
  }

  .page-home .home-nav .section-nav-link {
    display: block;
    padding: 9px 0 9px 15px;
    font-size: .875rem;
    white-space: normal;
    background: none;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    color: var(--ink-soft);
  }

  .page-home .home-nav .section-nav-link:hover,
  .page-home .home-nav .section-nav-link[data-active] {
    color: var(--deep);
    font-weight: 600;
    border-left-color: var(--gold);
  }
}

@media (max-width: 559px) {
  .page-home .home-index__item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .page-home .home-index__meta {
    grid-column: 2;
    margin-top: 2px;
  }

  .page-home .hero-facts {
    gap: 12px;
  }
}
<<<END>>>
