.page-home {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.page-home .breadcrumb {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 16px var(--gutter) 0;
}

/* ===== 首屏 ===== */
.page-home .hero {
  position: relative;
  border-bottom: var(--line);
  background:
    radial-gradient(120% 90% at 8% 0%, var(--signal-12) 0%, transparent 55%),
    radial-gradient(90% 70% at 100% 100%, var(--amber-18) 0%, transparent 58%),
    var(--ink);
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .14;
  pointer-events: none;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--signal-06) 1px, transparent 1px),
    linear-gradient(90deg, var(--signal-06) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .7;
}

.page-home .hero__inner {
  position: relative;
  z-index: 1;
  padding-bottom: 0;
}

.page-home .hero__masthead {
  padding: 48px 0 32px;
  max-width: 800px;
}

.page-home .hero__kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--signal);
}

.page-home .hero__title {
  margin: 0 0 18px;
  font-family: var(--font-condensed);
  font-size: clamp(32px, 8vw, 60px);
  line-height: 1.08;
  letter-spacing: -.015em;
  font-weight: 700;
  color: var(--white);
}

.page-home .hero__lede {
  margin: 0 0 26px;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hero__deck {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 8px;
}

.page-home .hero__col {
  min-width: 0;
  padding: 22px 20px;
  border-top: var(--line);
}

.page-home .hero__col--panel {
  order: -1;
}

.page-home .deck-label {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .hero__col--axis .axis {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .hero__col--axis .axis__btn {
  width: 100%;
  text-align: left;
}

.page-home .axis-note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .deck-panel {
  background: transparent;
  border: 0;
  padding: 0;
}

.page-home .deck-panel .panel__head {
  padding: 0 0 12px;
  border-bottom: var(--line);
}

.page-home .deck-panel .panel__title {
  font-family: var(--font-condensed);
  font-size: 20px;
  letter-spacing: .01em;
  color: var(--white);
}

.page-home .legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 14px 0 6px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--muted);
}

.page-home .legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-home .legend__mark {
  display: inline-block;
  width: 10px;
  height: 10px;
}

.page-home .legend__mark--dot {
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 10px var(--signal-35);
}

.page-home .legend__mark--tri {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 10px solid var(--amber);
}

.page-home .deck-panel__body {
  padding-top: 4px;
}

.page-home .pitch-line {
  display: block;
  width: 100%;
  height: auto;
  margin: 4px 0 0;
}

.page-home .pitch-line__axis {
  stroke: var(--grid);
  stroke-width: 2;
}

.page-home .pitch-line__tick {
  fill: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-home .corner-dot {
  fill: var(--signal);
}

.page-home .offside-mark {
  fill: var(--amber);
}

.page-home .entry-card {
  padding: 18px;
  border: var(--line);
  background: linear-gradient(180deg, rgba(16, 43, 36, .92) 0%, rgba(11, 31, 26, .92) 100%);
}

.page-home .entry-card + .entry-card {
  margin-top: 14px;
}

.page-home .entry-card--export {
  border-color: var(--amber-40);
}

.page-home .entry-card__kicker {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--signal);
}

.page-home .entry-card--export .entry-card__kicker {
  color: var(--amber);
}

.page-home .entry-card__title {
  margin: 0 0 10px;
  font-family: var(--font-condensed);
  font-size: 22px;
  letter-spacing: .01em;
  color: var(--white);
}

.page-home .entry-card__text {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ===== 章节 ===== */
.page-home .chapter {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding-top: 64px;
  padding-bottom: 64px;
  border-top: var(--line);
}

.page-home .chapter__index {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1;
  color: var(--grid);
  transition: color .3s var(--ease);
}

.page-home .chapter.is-active .chapter__index {
  color: var(--signal);
}

.page-home .chapter__title {
  margin: 0;
  font-family: var(--font-condensed);
  font-size: clamp(24px, 5.5vw, 38px);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--white);
}

.page-home .chapter__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-home .chapter__body .prose {
  max-width: 66ch;
}

.page-home .chapter__body .prose p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--white);
}

.page-home .chapter__body .prose p:last-child {
  margin-bottom: 0;
}

.page-home .chapter__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}

.page-home .chapter__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border: var(--line);
  background: var(--grid);
}

.page-home .chapter__facts .stat {
  padding: 18px 20px;
  background: var(--panel);
}

.page-home .chapter__facts .stat__value {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--signal);
}

.page-home .chapter__facts .stat__label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

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

.page-home .media {
  display: block;
}

.page-home .media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: var(--line);
  background: var(--panel);
}

.page-home .media__caption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

/* ===== 导出抽屉 ===== */
.page-home .export-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.page-home .export-sheet:target {
  display: block;
}

.page-home .export-sheet__scrim {
  position: absolute;
  inset: 0;
  background: var(--ink-veil);
  text-decoration: none;
}

.page-home .export-sheet__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(430px, 92vw);
  height: 100%;
  padding: 26px 22px 32px;
  overflow-y: auto;
  background: var(--panel);
  border-left: 1px solid var(--amber-40);
  animation: home-sheet-in 220ms var(--ease) both;
}

@keyframes home-sheet-in {
  from { transform: translateX(28px); opacity: .3; }
  to { transform: translateX(0); opacity: 1; }
}

.page-home .export-sheet__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: var(--line);
}

.page-home .export-sheet__kicker {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--amber);
}

.page-home .export-sheet__title {
  margin: 0;
  font-family: var(--font-condensed);
  font-size: 24px;
  line-height: 1.2;
  color: var(--white);
}

.page-home .export-sheet__close {
  flex: none;
  width: 32px;
  height: 32px;
  line-height: 30px;
  text-align: center;
  font-size: 20px;
  color: var(--white);
  text-decoration: none;
  border: var(--line);
}

.page-home .export-sheet__close:hover,
.page-home .export-sheet__close:focus-visible {
  border-color: var(--amber);
  color: var(--amber);
}

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

.page-home .format-list__item {
  padding: 16px;
  border: var(--line);
  background: rgba(11, 31, 26, .6);
}

.page-home .format-list__name {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--signal);
}

.page-home .format-list__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .export-sheet__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
  border-top: var(--line);
  padding-top: 16px;
}

/* ===== 使用人群 ===== */
.page-home .audience {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--grid);
  border: var(--line);
}

.page-home .audience__item {
  padding: 20px;
  background: var(--panel);
}

.page-home .audience__role {
  margin: 0 0 8px;
  font-family: var(--font-condensed);
  font-size: 19px;
  letter-spacing: .01em;
  color: var(--signal);
}

.page-home .audience__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .audience__note {
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid var(--amber);
  font-size: 14px;
  line-height: 1.8;
  color: var(--white);
}

/* ===== 下一步 ===== */
.page-home .next-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .next-step__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border: var(--line);
  background: linear-gradient(180deg, rgba(16, 43, 36, .95) 0%, rgba(11, 31, 26, .95) 100%);
  transition: border-color .3s var(--ease);
}

.page-home .next-step__card:hover {
  border-color: var(--signal);
}

.page-home .next-step__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--muted);
}

.page-home .next-step__title {
  margin: 0;
  font-family: var(--font-condensed);
  font-size: 22px;
  color: var(--white);
}

.page-home .next-step__desc {
  margin: 0 0 auto;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .next-step__foot {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .next-step__foot a {
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== 响应式 ===== */
@media (min-width: 700px) {
  .page-home .chapter__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .page-home .next-step {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .page-home .hero__masthead {
    padding: 64px 0 40px;
  }

  .page-home .hero__deck {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1.05fr);
    border: var(--line);
    background: linear-gradient(180deg, rgba(16, 43, 36, .78) 0%, rgba(11, 31, 26, .78) 100%);
  }

  .page-home .hero__col {
    border-top: 0;
    border-right: var(--line);
    padding: 26px 24px;
  }

  .page-home .hero__col:last-child {
    border-right: 0;
  }

  .page-home .hero__col--panel {
    order: 0;
  }

  .page-home .chapter {
    grid-template-columns: 120px minmax(0, 1fr);
    column-gap: 44px;
    row-gap: 16px;
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .page-home .chapter__index {
    grid-column: 1;
    grid-row: 1 / span 2;
    font-size: 34px;
  }

  .page-home .chapter__title {
    grid-column: 2;
  }

  .page-home .chapter__body {
    grid-column: 2;
  }

  .page-home .chapter__split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 44px;
  }

  .page-home .chapter__split--reverse {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  }

  .page-home .chapter__split--reverse > .prose {
    order: 2;
  }

  .page-home .chapter__split--reverse > .media {
    order: 1;
  }
}

@media (min-width: 1200px) {
  .page-home .chapter__body .prose p {
    font-size: 16px;
  }

  .page-home .hero__lede {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .export-sheet__panel {
    animation: none;
  }

  .page-home .chapter__index,
  .page-home .next-step__card {
    transition: none;
  }
}
