/* ============================================================
   首页 · page-home
   ============================================================ */

.page-home {
  --home-line: 1px solid var(--glass-line);
  display: block;
  background: var(--ink-1);
  color: var(--paper);
}

/* ---------------- 首屏 ---------------- */

.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 6vw, 4.5rem) 0 clamp(2.75rem, 7vw, 5.5rem);
  background: var(--ink-1);
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-home .hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-home .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 11, 9, 0.78) 0%, rgba(7, 23, 19, 0.88) 52%, var(--ink-1) 100%),
    radial-gradient(90% 80% at 16% 24%, rgba(53, 241, 200, 0.16), transparent 62%);
}

.page-home .hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
}

.page-home .hero__lead .eyebrow {
  margin: 0 0 0.9rem;
}

.page-home .hero__lead .display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 11vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .hero__stroke {
  color: var(--cyan);
}

.page-home .hero__lede {
  margin: 1.25rem 0 0;
  max-width: 36ch;
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.page-home .hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .hero__facts li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.42rem 0.85rem;
  border: var(--home-line);
  border-radius: var(--radius-pill);
  background: var(--glass);
  font-size: 0.82rem;
  color: var(--mist);
}

.page-home .hero__facts .data {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-home .hero__deck {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.page-home .deck-card {
  display: block;
  padding: 1.35rem 1.45rem 1.5rem;
  border: var(--home-line);
  border-radius: var(--radius);
  background: var(--glass);
  color: var(--paper);
  text-decoration: none;
  box-shadow: var(--shadow-lift);
  transition: transform var(--speed) ease, border-color var(--speed) ease;
}

.page-home .deck-card:hover,
.page-home .deck-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--cyan-line);
}

.page-home .deck-card--sub {
  border-color: var(--flame-line);
  background:
    linear-gradient(150deg, rgba(255, 90, 54, 0.18), rgba(7, 23, 19, 0.74) 58%),
    var(--glass);
}

.page-home .deck-card--data {
  background:
    linear-gradient(160deg, rgba(53, 241, 200, 0.1), rgba(7, 23, 19, 0.82) 60%),
    var(--glass);
}

.page-home #subscribe {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.page-home .deck-card__tag {
  margin: 0;
  font-family: var(--font-data);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.page-home .deck-card__title {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .deck-card__body {
  margin: 0.6rem 0 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .deck-card__go {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--flame-soft);
}

.page-home .deck-card__huge {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.55rem 0 0;
}

.page-home .deck-card__huge .data {
  font-family: var(--font-data);
  font-size: clamp(2.6rem, 9vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-home .deck-card__unit {
  font-size: 0.9rem;
  color: var(--mist);
}

.page-home .deck-card .bar {
  display: block;
  height: 6px;
  margin-top: 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(244, 255, 251, 0.1);
  overflow: hidden;
}

.page-home .deck-card .bar__fill {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--cyan), var(--cyan-soft));
  transform: scaleX(1);
  transform-origin: left center;
}

.js .page-home .deck-card .bar[data-reveal="bar"] .bar__fill {
  transform: scaleX(0);
}

.js .page-home .deck-card .bar[data-reveal="bar"].is-visible .bar__fill {
  transform: scaleX(1);
  transition: transform 0.9s cubic-bezier(0.22, 0.8, 0.3, 1);
}

/* ---------------- 近期战绩速读带 ---------------- */

.page-home .board {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: var(--ink-0);
}

.page-home .board__glow {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
}

.page-home .board__glow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .board__glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--ink-0) 0%, rgba(3, 11, 9, 0.35) 35%, var(--ink-0) 100%);
}

.page-home .board .container {
  position: relative;
  z-index: 1;
}

.page-home .board__head {
  max-width: 46rem;
}

.page-home .board__head .lede {
  margin-top: 1rem;
}

.page-home .filter-bar {
  display: flex;
  gap: 0.5rem;
  margin: 1.75rem 0 1.25rem;
  padding-bottom: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-home .filter-bar .filter-btn {
  flex: 0 0 auto;
}

.page-home .filter-btn {
  padding: 0.45rem 1rem;
  border: var(--home-line);
  border-radius: var(--radius-pill);
  background: var(--glass);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.85rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--speed) ease, border-color var(--speed) ease, color var(--speed) ease;
}

.page-home .filter-btn:hover {
  border-color: var(--cyan-line);
}

.page-home .filter-btn[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-0);
  font-weight: 700;
}

.page-home .rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(15rem, 80%);
  gap: 1rem;
  margin: 0;
  padding: 0.25rem 0.25rem 1.25rem;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.page-home .rail__item {
  display: flex;
  scroll-snap-align: start;
}

.page-home .board-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.25rem 1.3rem 1.35rem;
  border: var(--home-line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(13, 42, 34, 0.92), rgba(3, 11, 9, 0.94));
  transition: transform var(--speed) ease, border-color var(--speed) ease;
}

.page-home .board-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan-line);
}

.page-home .board-card__round {
  margin: 0;
  font-family: var(--font-data);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--flame-soft);
}

.page-home .board-card__main {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0.15rem 0 0;
}

.page-home .board-card__main .data {
  font-family: var(--font-data);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-home .board-card__unit {
  font-size: 0.82rem;
  color: var(--mist);
}

.page-home .board-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.35rem 0 0;
  padding: 0.8rem 0 0;
  border-top: 1px solid var(--glass-line);
  list-style: none;
}

.page-home .board-card__k {
  display: block;
  font-size: 0.72rem;
  color: var(--mist);
}

.page-home .board-card__v {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-data);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.page-home .board-card__note {
  margin: auto 0 0;
  padding-top: 0.7rem;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--mist);
}

/* ---------------- 单场卡片 ---------------- */

.page-home .cardlab {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: var(--ink-1);
}

.page-home .cardlab__grid {
  display: grid;
  gap: 2.25rem;
}

.page-home .cardlab__visual {
  position: relative;
}

.page-home .cardlab__float {
  position: relative;
  z-index: 2;
  margin: -2.25rem 0 0 1rem;
  padding: 1.15rem 1.25rem 1.25rem;
}

.page-home .cardlab__float-title {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--paper);
}

.page-home .cardlab__float-title .data {
  font-family: var(--font-data);
  color: var(--flame);
  font-variant-numeric: tabular-nums;
}

.page-home .cardlab__float-body {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .cardlab__copy .prose {
  margin-top: 1rem;
}

.page-home .cardlab__copy .btn {
  margin-top: 1.75rem;
}

.page-home .pillars {
  display: grid;
  gap: 1rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .pillar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.3rem 1rem;
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(53, 241, 200, 0.08), transparent 72%);
}

.page-home .pillar__num {
  grid-row: span 2;
  font-family: var(--font-data);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cyan);
}

.page-home .pillar__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--paper);
}

.page-home .pillar p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------------- 战术观察 ---------------- */

.page-home .insight {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: linear-gradient(180deg, var(--ink-1) 0%, var(--ink-0) 100%);
}

.page-home .insight__grid {
  display: grid;
  gap: 2.25rem;
}

.page-home .insight__copy .prose {
  margin-top: 1rem;
}

.page-home .insight__copy .btn {
  margin-top: 1.75rem;
}

.page-home .index-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .index-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--glass-line);
}

.page-home .index-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .index-item__num {
  font-family: var(--font-data);
  font-size: 0.85rem;
  color: var(--cyan);
}

.page-home .index-item__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--paper);
}

.page-home .index-item__meta {
  margin: 0.3rem 0 0;
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------------- 数据词典 ---------------- */

.page-home .dict {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background:
    radial-gradient(110% 80% at 100% 0%, rgba(53, 241, 200, 0.16), transparent 58%),
    var(--ink-2);
}

.page-home .dict__inner {
  display: grid;
  gap: 1.75rem;
}

.page-home .dict__head {
  max-width: 46rem;
}

.page-home .dict__head .lede {
  margin-top: 1rem;
}

.page-home .dict__grid {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .dict__entry {
  padding: 1.1rem 1.2rem 1.2rem;
  border: var(--home-line);
  border-radius: var(--radius-sm);
  background: rgba(3, 11, 9, 0.45);
  transition: transform var(--speed) ease, border-color var(--speed) ease;
}

.page-home .dict__entry:hover {
  transform: translateY(-3px);
  border-color: var(--cyan-line);
}

.page-home .dict__idx {
  font-family: var(--font-data);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--flame-soft);
}

.page-home .dict__term {
  margin: 0.55rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--paper);
}

.page-home .dict__desc {
  margin: 0.4rem 0 0;
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------------- 本地服务与节奏 ---------------- */

.page-home .local {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: var(--ink-0);
}

.page-home .local__head {
  max-width: 48rem;
}

.page-home .local__head .prose {
  margin-top: 1rem;
}

.page-home .local__grid {
  display: grid;
  gap: 0.85rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .local-card {
  padding: 1.2rem 1.25rem;
  border-left: 2px solid var(--cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(13, 42, 34, 0.6);
}

.page-home .local-card__k {
  margin: 0;
  font-family: var(--font-data);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .local-card__v {
  margin: 0.5rem 0 0;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--paper);
}

.page-home .start {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.35rem 1.4rem;
  border: var(--home-line);
  border-radius: var(--radius);
  background: var(--glass);
}

.page-home .start__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--paper);
}

.page-home .start__steps {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .start__steps li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--paper);
}

.page-home .start__steps .data {
  font-family: var(--font-data);
  font-size: 0.8rem;
  color: var(--flame);
}

.page-home .start .link-chip {
  justify-self: start;
}

/* ---------------- 响应式 ---------------- */

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

@media (min-width: 760px) {
  .page-home .rail {
    grid-auto-columns: minmax(16rem, 22rem);
  }

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

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

@media (min-width: 960px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: start;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }

  .page-home .hero__deck {
    margin-top: 2.25rem;
  }

  .page-home .deck-card--data {
    margin-top: -1.5rem;
    margin-left: 2.5rem;
  }

  .page-home .cardlab__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .page-home .insight__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4rem);
  }

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

  .page-home .start {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 1.75rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home .deck-card,
  .page-home .board-card,
  .page-home .dict__entry,
  .page-home .filter-btn {
    transition-duration: 0.01ms;
  }

  .js .page-home .deck-card .bar[data-reveal="bar"] .bar__fill {
    transform: scaleX(1);
  }
}
<<<END>>>
