.page-home {
  --home-pad: clamp(18px, 2.2vw, 30px);
  --home-split: clamp(24px, 3.4vw, 44px);
}

/* 面包屑 / 页面上下文 */
.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(22px, 4vw, 46px);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--muted);
}
.page-home .home-context-home {
  color: var(--accent);
  font-weight: 700;
}
.page-home .home-context-now {
  color: var(--muted);
}

/* 焦点可见 */
.page-home a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ===== 首屏 ===== */
.page-home .home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.page-home .home-title {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(36px, 7.6vw, 82px);
  margin: 14px 0 clamp(18px, 2.4vw, 26px);
  max-width: 15ch;
}
.page-home .home-title-accent {
  display: block;
  color: var(--accent);
}

.page-home .home-lede {
  max-width: 58ch;
  font-size: var(--fs-s);
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 clamp(22px, 3vw, 30px);
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(26px, 3vw, 34px);
}

.page-home .home-figures {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 1px;
  background: var(--line);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.page-home .home-figure {
  background: var(--surface);
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.page-home .home-figure-value {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1;
  color: var(--accent);
}
.page-home .home-figure-label {
  font-size: var(--fs-xs);
  color: var(--muted);
}

.page-home .home-hero-canvas {
  display: grid;
  gap: 16px;
  padding: 14px;
  background: var(--surface);
  border: var(--border);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-hard-lg);
}

.page-home .home-hero-figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--raise);
}
.page-home .home-hero-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.page-home .home-index-title {
  margin: 0 0 10px;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.page-home .home-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-home .home-index-link {
  display: inline-block;
  padding: 7px 13px;
  font-size: var(--fs-xs);
  color: var(--text);
  text-decoration: none;
  border: 2px solid var(--line);
  border-radius: var(--radius-pill);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.page-home .home-index-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(61, 245, 208, 0.08);
}

/* ===== 三步路径 ===== */
.page-home .home-path-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-split);
  align-items: center;
}

.page-home .home-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .home-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 3px solid var(--line);
}
.page-home .home-step:last-child {
  border-bottom: 3px solid var(--line);
}
.page-home .home-step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-num);
  font-weight: 700;
  font-size: var(--fs-s);
}
.page-home .home-step-title {
  margin: 0 0 6px;
  font-size: var(--fs-m);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}
.page-home .home-step-body p {
  margin: 0;
  font-size: var(--fs-s);
  line-height: 1.78;
  color: var(--muted);
}

.page-home .home-path-figure {
  margin: 0;
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hard);
}
.page-home .home-path-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.page-home .home-path-figure figcaption {
  padding: 12px 16px 14px;
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--muted);
  border-top: 3px solid var(--line);
}

/* ===== 14 天赛程条 ===== */
.page-home .home-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding: 4px 0 20px;
  padding-inline-start: max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter)));
  padding-inline-end: var(--gutter);
  scrollbar-width: thin;
}
.page-home .home-day {
  flex: 0 0 auto;
  width: min(72vw, 232px);
  scroll-snap-align: start;
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-hard);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.page-home .home-day:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.page-home .home-day-name {
  margin: 0;
  font-size: var(--fs-m);
  font-weight: 700;
  color: var(--text);
}
.page-home .home-day-count {
  margin: 2px 0 12px;
  font-family: var(--font-num);
  font-size: var(--fs-xs);
  color: var(--muted);
}
.page-home .home-day-games {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .home-game {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.page-home .home-game-time {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: var(--fs-s);
  color: var(--warm);
}

.page-home .home-track-figure {
  margin: clamp(18px, 3vw, 30px) 0 0;
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hard);
}
.page-home .home-track-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.page-home .home-track-figure figcaption {
  padding: 12px 16px 14px;
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--muted);
  border-top: 3px solid var(--line);
}

/* ===== 数据模块交错栅格 ===== */
.page-home .home-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-home .home-tile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: var(--home-pad);
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.page-home .home-tile:hover,
.page-home .home-tile:focus-within {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hard-lg);
}

.page-home .home-tile-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.page-home .home-tile-title {
  margin: 0;
  font-size: var(--fs-m);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
.page-home .home-tile-text {
  margin: 0;
  font-size: var(--fs-s);
  line-height: 1.78;
  color: var(--muted);
}
.page-home .home-tile-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-home .home-tile-tags a {
  text-decoration: none;
}
.page-home .home-tile-link {
  align-self: flex-start;
  margin-top: auto;
}

.page-home .home-meter {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: var(--raise);
  border: 2px solid var(--line);
  border-radius: 12px;
}
.page-home .home-meter .meter-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.page-home .home-meter .meter-value {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: var(--fs-xs);
  color: var(--accent);
}
.page-home .home-meter .meter-track {
  display: block;
  position: relative;
  height: 10px;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.page-home .home-meter .meter-fill {
  display: block;
  height: 100%;
  background: var(--accent);
}

.page-home .home-tile-fig {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
}
.page-home .home-tile-fig img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  flex: 1 1 auto;
}
.page-home .home-tile-fig figcaption {
  padding: 12px 16px 14px;
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--muted);
  border-top: 3px solid var(--line);
}

/* ===== 使用场景 ===== */
.page-home .home-scenes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-split);
  align-items: start;
}
.page-home .home-scenes-intro .lede {
  max-width: 46ch;
}
.page-home .home-scene-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.page-home .home-scene {
  border-left: 4px solid var(--accent);
  padding: 4px 0 4px 18px;
}
.page-home .home-scene:nth-child(2) {
  border-left-color: var(--indigo);
}
.page-home .home-scene:nth-child(3) {
  border-left-color: var(--warm);
}
.page-home .home-scene-tag {
  margin: 0 0 6px;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--muted);
}
.page-home .home-scene-title {
  margin: 0 0 8px;
  font-size: var(--fs-m);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}
.page-home .home-scene-text {
  margin: 0;
  font-size: var(--fs-s);
  line-height: 1.78;
  color: var(--muted);
}

/* ===== 回到数据入口 ===== */
.page-home .home-cta-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: clamp(24px, 4vw, 46px);
  background: var(--raise);
  border: var(--border);
  border-left: 8px solid var(--accent);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow-hard-lg);
}
.page-home .home-cta-copy h2 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.12;
  color: var(--text);
}
.page-home .home-cta-copy p {
  margin: 0;
  max-width: 52ch;
  font-size: var(--fs-s);
  line-height: 1.78;
  color: var(--muted);
}
.page-home .home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== 响应式 ===== */
@media (min-width: 760px) {
  .page-home .home-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .home-tile-a {
    grid-column: span 2;
  }
}

@media (min-width: 900px) {
  .page-home .home-path-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .page-home .home-scenes-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(32px, 5vw, 72px);
  }
  .page-home .home-cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
  }
}

@media (min-width: 980px) {
  .page-home .home-hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .page-home .home-hero-canvas {
    margin-top: 34px;
  }
}

@media (min-width: 1080px) {
  .page-home .home-mosaic {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .page-home .home-tile-a {
    grid-column: span 7;
  }
  .page-home .home-tile-fig {
    grid-column: span 5;
  }
  .page-home .home-tile-b {
    grid-column: span 5;
  }
  .page-home .home-tile-c {
    grid-column: span 4;
  }
  .page-home .home-tile-d {
    grid-column: span 3;
  }
}

@media (max-width: 560px) {
  .page-home .home-hero-actions .btn,
  .page-home .home-cta-actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }
  .page-home .home-day {
    width: min(80vw, 232px);
  }
}
