.page-home {
  background: var(--panel);
  color: var(--text);
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
}

/* ===== 首屏海报区 ===== */
.page-home .pg-hero {
  position: relative;
  overflow: hidden;
  background: var(--space);
  color: var(--white);
  padding: 40px 24px 48px;
  border-bottom: 2px solid var(--line);
}
@media (min-width: 768px) {
  .page-home .pg-hero {
    padding: 56px 40px 64px;
  }
}
@media (min-width: 1024px) {
  .page-home .pg-hero {
    min-height: 640px;
  }
}
.page-home .pg-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-home .pg-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}
.page-home .pg-hero__huge-num {
  position: absolute;
  right: -10px;
  bottom: -40px;
  z-index: 0;
  font-family: var(--font-mono);
  font-size: clamp(7rem, 18vw, 16rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.03);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.page-home .pg-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "left"
    "right"
    "chapters";
  gap: 36px 56px;
}
@media (min-width: 1024px) {
  .page-home .pg-hero__inner {
    grid-template-columns: 1fr 380px;
    grid-template-areas:
      "left right"
      "chapters chapters";
    align-items: start;
  }
}
.page-home .pg-hero__left {
  grid-area: left;
  min-width: 0;
}
.page-home .pg-hero__right {
  grid-area: right;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.page-home .pg-hero__eyebrow {
  color: var(--signal);
  font-weight: 500;
  margin-bottom: 16px;
}
.page-home .pg-hero__title {
  margin: 0 0 20px;
}
.page-home .pg-hero__title-line1 {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
}
.page-home .pg-hero__title-line2 {
  display: block;
  margin-top: 6px;
  font-size: clamp(2.4rem, 6.5vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--white);
}
.page-home .pg-hero__lead {
  max-width: 560px;
  margin: 0 0 28px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}
.page-home .pg-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.page-home .pg-hero__stat {
  flex: 1 1 160px;
  border: 2px solid var(--line);
  background: var(--glass);
  padding: 14px 18px;
}
.page-home .pg-hero__stat dt {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.page-home .pg-hero__stat dd {
  margin: 6px 0 0;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
}

/* ===== 首屏右侧章节预览条 ===== */
.page-home .pg-hero__chapters-wrap {
  grid-area: chapters;
  margin-top: 8px;
  border: 2px solid var(--line);
  background: var(--glass);
  padding: 12px 14px;
}
.page-home .pg-hero__chapters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.page-home .pg-hero__chapter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}
.page-home .pg-hero__chapter:hover,
.page-home .pg-hero__chapter:focus-visible {
  border-color: var(--signal);
  background: rgba(255, 255, 255, 0.08);
}
.page-home .pg-hero__chapter-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--signal);
}
.page-home .pg-hero__chapter-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
}

/* ===== 会员登录面板 ===== */
.page-home .pg-member {
  border: 2px solid var(--signal);
  background: var(--track);
  padding: 14px;
  box-shadow: 6px 6px 0 rgba(242, 101, 34, 0.18);
}
.page-home .pg-member__figure {
  margin: 0;
}
.page-home .pg-member__figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--line);
  object-fit: cover;
}
.page-home .pg-member__kicker {
  margin: 16px 0 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--signal);
}
.page-home .pg-member__title {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}
.page-home .pg-member__desc {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}
.page-home .pg-member__btn {
  width: 100%;
  justify-content: center;
}
.page-home .pg-member__note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ===== 服务状态表盘 ===== */
.page-home .pg-dashboard {
  border: 2px solid var(--line);
  background: var(--space-deep);
  padding: 16px;
}
.page-home .pg-dashboard__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.page-home .pg-dashboard__label {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}
.page-home .pg-dashboard__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
}
.page-home .pg-dashboard__key {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.68);
}
.page-home .pg-dashboard__time {
  margin: 8px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  transition: color 180ms ease;
}
.page-home .pg-dashboard:hover .pg-dashboard__time,
.page-home .pg-dashboard:focus-within .pg-dashboard__time {
  color: var(--signal);
}

/* ===== 章节标题条 ===== */
.page-home .pg-section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 12px 18px;
  margin-bottom: 36px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 14px;
}
.page-home .pg-section-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--signal);
}
.page-home .pg-section-head__title {
  margin: 4px 0 0;
  font-size: var(--heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.page-home .pg-section-head__note {
  grid-column: 1 / -1;
  margin: 0;
  max-width: 320px;
  font-size: 0.875rem;
  color: var(--muted);
  border-left: 2px solid var(--signal);
  padding-left: 12px;
}
.page-home .pg-section-head__link {
  grid-column: 1 / -1;
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px solid var(--line);
  padding-bottom: 2px;
  transition: color 180ms ease, border-color 180ms ease;
}
.page-home .pg-section-head__link:hover,
.page-home .pg-section-head__link:focus-visible {
  color: var(--signal);
  border-color: var(--signal);
}

/* ===== 站点导览：密集入口卡片 ===== */
.page-home .pg-guide {
  background: var(--panel);
  padding: 64px 24px 72px;
}
@media (min-width: 768px) {
  .page-home .pg-guide {
    padding: 80px 40px;
  }
}
.page-home .pg-guide__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .page-home .pg-guide__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}
@media (min-width: 1200px) {
  .page-home .pg-guide__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.page-home .pg-guide .entry-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto 1fr auto;
  gap: 4px 14px;
  min-height: 168px;
  background: var(--white);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  padding: 24px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.page-home .pg-guide .entry-card:hover,
.page-home .pg-guide .entry-card:focus-visible {
  border-color: var(--signal);
  box-shadow: var(--shadow-hover);
  transform: translateX(2px);
}
.page-home .pg-guide .entry-num {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--signal);
  align-self: start;
  margin-top: 6px;
}
.page-home .pg-guide .entry-title {
  grid-column: 2;
  grid-row: 1;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
}
.page-home .pg-guide .entry-arrow {
  grid-column: 3;
  grid-row: 1;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--muted);
  transition: transform 180ms ease, color 180ms ease;
}
.page-home .pg-guide .entry-card:hover .entry-arrow,
.page-home .pg-guide .entry-card:focus-visible .entry-arrow {
  transform: translateX(2px);
  color: var(--signal);
}
.page-home .pg-guide .entry-desc {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ===== 下载与服务：宽松图文并置 ===== */
.page-home .pg-download {
  background: #FFFFFF;
  border-top: 2px solid var(--line);
  padding: 64px 24px 72px;
}
@media (min-width: 768px) {
  .page-home .pg-download {
    padding: 80px 40px;
  }
}
.page-home .pg-download__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 1024px) {
  .page-home .pg-download__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
  }
}
.page-home .pg-download__info {
  min-width: 0;
}
.page-home .pg-download__lead {
  margin: 0 0 24px;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text);
}
.page-home .pg-download__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 16px 20px;
  border: 2px solid var(--line);
  background: var(--panel);
}
.page-home .pg-download__flow-item {
  padding: 6px 12px;
  background: var(--signal-soft);
  border: 1px solid rgba(242, 101, 34, 0.3);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  box-shadow: 2px 2px 0 rgba(10, 18, 32, 0.08);
}
.page-home .pg-download__flow-arrow {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--signal);
}
.page-home .pg-download__meta {
  margin: 0 0 24px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
}
.page-home .pg-download__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.page-home .pg-download__btn {
  min-width: 160px;
  justify-content: center;
}
.page-home .pg-download__aux {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--muted);
}
.page-home .pg-download__aux a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color 180ms ease, border-color 180ms ease;
}
.page-home .pg-download__aux a:hover,
.page-home .pg-download__aux a:focus-visible {
  color: var(--signal);
  border-color: var(--signal);
}
.page-home .pg-download__figure {
  margin: 0;
  padding: 8px 8px 0;
  border: 2px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.page-home .pg-download__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
}
.page-home .pg-download__caption {
  padding: 12px 8px 14px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ===== 近期索引：深色宽松节奏 ===== */
.page-home .pg-index {
  background: var(--space);
  color: var(--white);
  padding: 64px 24px 72px;
}
@media (min-width: 768px) {
  .page-home .pg-index {
    padding: 80px 40px;
  }
}
.page-home .pg-index .pg-section-head__title {
  color: var(--white);
}
.page-home .pg-index .section-kicker {
  color: rgba(255, 255, 255, 0.5);
}
.page-home .pg-index .pg-section-head__link {
  color: rgba(255, 255, 255, 0.8);
  border-bottom-color: var(--signal);
}
.page-home .pg-index .pg-section-head__link:hover,
.page-home .pg-index .pg-section-head__link:focus-visible {
  color: var(--signal);
}
.page-home .pg-index__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 1024px) {
  .page-home .pg-index__layout {
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
  }
}
.page-home .pg-index__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.page-home .pg-index-item {
  border: 2px solid var(--line);
  background: var(--track);
  box-shadow: var(--shadow);
  padding: 28px;
}
.page-home .pg-index-item__badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  background: var(--signal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
}
.page-home .pg-index-item__title {
  margin: 0 0 10px;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
}
.page-home .pg-index-item__desc {
  margin: 0 0 14px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.64);
}
.page-home .pg-index-item__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.page-home .pg-index-item__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}
.page-home .pg-index-item__row:last-child {
  border-bottom: none;
}
.page-home .pg-index-item__row::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: var(--signal);
}
.page-home .pg-index-item__key {
  flex: 1;
  min-width: 0;
}
.page-home .pg-index-item__val {
  white-space: nowrap;
  font-weight: 500;
  color: var(--white);
}
.page-home .pg-index__figure {
  margin: 0;
  padding: 8px;
  border: 2px solid var(--line);
  background: var(--track);
}
.page-home .pg-index__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-home .pg-index__caption {
  padding: 10px 6px 6px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

/* ===== 窄屏细节保障 ===== */
@media (max-width: 480px) {
  .page-home .pg-hero {
    padding-left: 18px;
    padding-right: 18px;
  }
  .page-home .pg-guide,
  .page-home .pg-download,
  .page-home .pg-index {
    padding-left: 18px;
    padding-right: 18px;
  }
  .page-home .pg-hero__chapter {
    flex: 1 1 100%;
    justify-content: space-between;
  }
  .page-home .pg-download__flow-item {
    flex: 1 1 100%;
    text-align: center;
  }
  .page-home .pg-download__flow-arrow {
    display: none;
  }
}

.page-home {
  --heading: 1rem;
}
