.page-home {
  --home-cut: 14deg;
  --home-sticky-gap: 24px;
  background: var(--void);
  color: var(--bone);
}

/* ============ 首屏 ============ */

.page-home .hero-home {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 6vw, 76px) 0 clamp(40px, 6vw, 84px);
  border-bottom: 1px solid var(--line-2);
}

.page-home .hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 1;
}

.page-home .hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-home .hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.7) contrast(1.06);
}

.page-home .hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(5, 7, 13, 0.97) 0%, rgba(5, 7, 13, 0.86) 46%, rgba(11, 34, 57, 0.5) 100%);
}

.page-home .hero-slab {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(160deg, rgba(11, 34, 57, 0.82), rgba(5, 7, 13, 0.12));
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-home .hero-home-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.page-home .hero-lead .coord-tag {
  display: inline-block;
  margin: 0 0 14px;
}

.page-home .hero-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: var(--fs-h1);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.045em;
  display: flex;
  flex-direction: column;
}

.page-home .hero-title-mark {
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(57, 242, 200, 0.28);
}

.page-home .hero-sub {
  margin: clamp(16px, 2vw, 22px) 0 0;
  max-width: 44ch;
  font-size: clamp(1rem, 1.35vw, 1.1875rem);
  line-height: 1.75;
  color: var(--bone);
}

.page-home .entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-home .entry-link {
  display: grid;
  gap: 3px;
  padding: 14px 14px 15px;
  background: rgba(20, 58, 92, 0.78);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--cyan);
  color: var(--bone);
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.page-home .entry-link:hover,
.page-home .entry-link:focus-visible {
  transform: translate(-2px, -2px);
  background: rgba(20, 58, 92, 1);
  border-left-color: var(--orange);
}

.page-home .entry-link-idx {
  font-size: var(--fs-meta);
  color: var(--cyan);
  letter-spacing: 0.12em;
}

.page-home .entry-link-label {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.page-home .entry-link-note {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--rock);
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}

.page-home .hero-stat dt {
  font-size: var(--fs-meta);
  color: var(--rock);
  letter-spacing: 0.06em;
}

.page-home .hero-stat dd {
  margin: 4px 0 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--bone);
}

.page-home .hero-stat dd .mono {
  color: var(--cyan);
}

.page-home .hero-side {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
  align-content: start;
}

/* 时间轴 */

.page-home .timeline-block {
  border: 1px solid var(--line-2);
  background: rgba(5, 7, 13, 0.7);
  padding: 18px 16px 20px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.page-home .timeline-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
}

.page-home .timeline-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .timeline-zone {
  font-size: var(--fs-meta);
  color: var(--rock);
  letter-spacing: 0.14em;
}

.page-home .timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 16px;
  border-left: 2px solid var(--line-2);
}

.page-home .timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-1);
}

.page-home .timeline-item::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 19px;
  width: 9px;
  height: 9px;
  background: var(--cyan);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.page-home .timeline-time {
  grid-row: span 2;
  font-size: 0.9375rem;
  color: var(--cyan);
  letter-spacing: 0.04em;
  padding-top: 2px;
}

.page-home .timeline-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.page-home .timeline-meta {
  font-size: var(--fs-meta);
  color: var(--rock);
  letter-spacing: 0.04em;
}

.page-home .timeline-match {
  font-weight: 700;
  font-size: 1rem;
  word-break: break-word;
}

.page-home .timeline-match .vs {
  color: var(--rock);
  font-weight: 400;
  margin: 0 4px;
}

.page-home .tag {
  align-self: start;
  justify-self: start;
  margin-left: 66px;
  grid-column: 2;
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid currentColor;
}

.page-home .tag--home {
  color: var(--orange);
}

.page-home .tag--away {
  color: var(--cool);
}

.page-home .tag--neutral {
  color: var(--rock);
}

.page-home .timeline-state {
  grid-column: 2;
  font-size: 0.75rem;
  color: var(--moss);
}

.page-home .timeline-more {
  margin-top: 16px;
  width: 100%;
  text-align: center;
}

/* 雷达卡 */

.page-home .radar-card {
  border: 2px solid var(--line-2);
  background: linear-gradient(165deg, rgba(20, 58, 92, 0.92), rgba(5, 7, 13, 0.94));
  padding: 18px 16px 20px;
  box-shadow: var(--shadow-soft);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.page-home .radar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-home .radar-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .radar-svg {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 10px auto 0;
}

.page-home .radar-grid {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1;
}

.page-home .radar-axis {
  stroke: var(--line-1);
  stroke-width: 1;
}

.page-home .radar-home {
  fill: rgba(255, 138, 61, 0.28);
  stroke: var(--orange);
  stroke-width: 2;
}

.page-home .radar-away {
  fill: rgba(91, 209, 230, 0.2);
  stroke: var(--cool);
  stroke-width: 2;
}

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

.page-home .radar-legend-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid var(--line-1);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--rock);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.page-home .radar-legend-item:hover {
  color: var(--bone);
}

.page-home .radar-legend-item--home:hover {
  border-color: var(--orange);
}

.page-home .radar-legend-item--away:hover {
  border-color: var(--cool);
}

.page-home .dot {
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 5px;
}

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

.page-home .dot--away {
  background: var(--cool);
}

.page-home .radar-note {
  margin: 14px 0 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--bone);
}

.page-home .radar-cta {
  margin-top: 14px;
  width: 100%;
  text-align: center;
}

/* ============ 通用章节补充 ============ */

.page-home .section-text {
  margin: 12px 0 0;
  max-width: 62ch;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--rock);
}

/* ============ 主客场对比 ============ */

.page-home .compare-grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.page-home .compare-copy h2 {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-size: var(--fs-h2);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.14;
}

.page-home .compare-text {
  margin: 16px 0 0;
  max-width: 56ch;
  font-size: var(--fs-body);
  line-height: 1.78;
  color: var(--bone);
}

.page-home .metric-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
}

.page-home .metric-list li {
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-bottom: 2px solid var(--orange);
  font-size: 0.8125rem;
  color: var(--bone);
  background: rgba(20, 58, 92, 0.5);
}

.page-home .compare-note {
  margin: 18px 0 22px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--rock);
}

.page-home .compare-figure {
  margin: 0;
}

.page-home .compare-figure .media-frame {
  border: 2px solid var(--line-2);
  box-shadow: var(--shadow-hard);
}

/* ============ 客户端评测 ============ */

.page-home .client-grid {
  display: grid;
  gap: 16px;
  margin-top: clamp(22px, 3vw, 32px);
}

.page-home .client-card {
  padding: 20px 18px;
  border: 1px solid var(--line-2);
  background: rgba(11, 34, 57, 0.72);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.page-home .client-card:hover {
  transform: translateY(-3px);
}

.page-home .client-card--std {
  border-top: 4px solid var(--orange);
}

.page-home .client-card--std:hover {
  border-color: var(--orange);
}

.page-home .client-card--fast {
  border-top: 4px solid var(--cool);
}

.page-home .client-card--fast:hover {
  border-color: var(--cool);
}

.page-home .client-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.page-home .client-card-head h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: var(--fs-h3);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-home .client-ver {
  font-size: 0.875rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
}

.page-home .client-tagline {
  margin: 8px 0 0;
  font-size: 0.875rem;
  color: var(--rock);
}

.page-home .client-points {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .client-points li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--bone);
}

.page-home .client-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--cyan);
}

.page-home .client-figure {
  margin: 0;
}

.page-home .client-figure .media-frame {
  border: 2px solid var(--line-2);
}

.page-home .client-cta {
  margin-top: 22px;
  width: 100%;
  text-align: center;
}

/* ============ 资料库与常用入口 ============ */

.page-home .library-grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

.page-home .library-copy h2 {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-size: var(--fs-h2);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.14;
}

.page-home .library-text {
  margin: 16px 0 0;
  max-width: 58ch;
  font-size: var(--fs-body);
  line-height: 1.78;
  color: var(--bone);
}

.page-home .chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.page-home .chip {
  padding: 7px 13px;
  font-size: 0.8125rem;
  color: var(--bone);
  border: 1px solid var(--line-2);
  background: rgba(111, 175, 143, 0.14);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.page-home .chip:hover {
  border-color: var(--moss);
  background: rgba(111, 175, 143, 0.24);
}

.page-home .entry-board {
  padding: 20px 18px;
  border: 2px solid var(--line-2);
  background: rgba(5, 7, 13, 0.72);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}

.page-home .entry-board-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: var(--fs-h3);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-home .entry-board-note {
  margin: 8px 0 16px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--rock);
}

.page-home .entry-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  counter-reset: entry;
}

.page-home .entry-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  font-size: 0.8125rem;
  color: var(--bone);
  border-bottom: 1px solid var(--line-1);
}

.page-home .entry-no {
  font-size: 0.6875rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
}

/* ============ 战报卡片 ============ */

.page-home .report-grid {
  display: grid;
  gap: 16px;
  margin-top: clamp(22px, 3vw, 32px);
}

.page-home .report-card {
  position: relative;
  overflow: hidden;
  padding: 20px 18px;
  border: 1px solid var(--line-2);
  background: linear-gradient(150deg, rgba(138, 92, 255, 0.22), rgba(5, 7, 13, 0.94) 62%);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.page-home .report-card:hover {
  transform: translateY(-3px);
  border-color: rgba(138, 92, 255, 0.75);
}

.page-home .report-card--feature {
  padding: 0;
}

.page-home .report-media {
  position: relative;
}

.page-home .report-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.85;
}

.page-home .report-card--feature .report-body {
  padding: 18px;
}

.page-home .report-kind {
  display: inline-block;
  font-size: var(--fs-meta);
  letter-spacing: 0.16em;
  color: var(--violet);
  text-transform: uppercase;
}

.page-home .report-card h3 {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-size: 1.1875rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.page-home .report-card p {
  margin: 10px 0 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--rock);
}

.page-home .reports-cta {
  margin-top: 22px;
  width: 100%;
  text-align: center;
}

/* ============ 收尾 ============ */

.page-home .closing {
  border-top: 1px solid var(--line-2);
  background: linear-gradient(120deg, rgba(11, 34, 57, 0.9), rgba(5, 7, 13, 0.98));
}

.page-home .closing-inner {
  display: grid;
  gap: 22px;
}

.page-home .closing-copy h2 {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-size: var(--fs-h2);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.16;
}

.page-home .closing-copy p {
  margin: 14px 0 0;
  max-width: 56ch;
  font-size: var(--fs-body);
  line-height: 1.78;
  color: var(--rock);
}

.page-home .closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .closing-actions .btn {
  flex: 1 1 auto;
  text-align: center;
}

/* ============ 响应式 ============ */

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

  .page-home .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .page-home .report-card--feature {
    grid-column: 1 / -1;
  }

  .page-home .closing-actions .btn {
    flex: 0 0 auto;
  }
}

@media (min-width: 960px) {
  .page-home .hero-home-inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
    align-items: start;
  }

  .page-home .hero-side {
    position: sticky;
    top: calc(var(--rail-h) + var(--bar-h) + var(--home-sticky-gap));
  }

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

  .page-home .client-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(220px, 0.7fr);
    align-items: stretch;
  }

  .page-home .library-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: start;
  }

  .page-home .report-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .report-card--feature {
    grid-column: auto;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
  }

  .page-home .report-card--feature .report-body {
    flex: 1 1 auto;
  }

  .page-home .closing-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
    align-items: end;
  }

  .page-home .closing-actions {
    justify-content: flex-end;
  }

  .page-home .client-cta,
  .page-home .reports-cta {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-link,
  .page-home .client-card,
  .page-home .report-card,
  .page-home .radar-legend-item,
  .page-home .chip {
    transition: none;
  }

  .page-home .entry-link:hover,
  .page-home .client-card:hover,
  .page-home .report-card:hover {
    transform: none;
  }
}
