.page-home .home-crumb {
  margin-bottom: var(--gap-lg);
}

.page-home .home-front .split {
  display: grid;
  grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
  gap: var(--gap-xl);
  align-items: start;
}

.page-home .home-masthead {
  position: sticky;
  top: calc(var(--header-h) + var(--gap-md));
  display: flex;
  flex-direction: column;
}

.page-home .home-masthead__title {
  font-family: var(--font-display);
  font-size: var(--fs-5);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.01em;
  color: var(--paper);
  margin: var(--gap-sm) 0 var(--gap-md);
  overflow-wrap: break-word;
}

.page-home .home-masthead__lead {
  font-size: var(--fs-2);
  line-height: 1.75;
  color: var(--quiet-blue);
  margin: 0;
}

.page-home .home-masthead__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-sm);
  margin: var(--gap-lg) 0;
  padding-top: var(--gap-md);
  border-top: 2px solid var(--ink-line);
}

.page-home .home-masthead__meta dt {
  font-size: var(--fs-1);
  color: var(--quiet-blue);
  letter-spacing: 0.06em;
  margin: 0;
}

.page-home .home-masthead__meta dd {
  font-family: var(--font-mono);
  font-size: var(--fs-3);
  font-weight: 700;
  color: var(--warm-gold);
  margin: 6px 0 0;
  letter-spacing: -0.02em;
}

.page-home .home-jump {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: var(--gap-sm);
  border-left: 2px solid var(--ink-line);
  margin-bottom: var(--gap-lg);
}

.page-home .home-jump a {
  font-size: var(--fs-2);
  color: var(--quiet-blue);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.page-home .home-jump a:hover,
.page-home .home-jump a:focus-visible {
  color: var(--neon-cyan);
  padding-left: 8px;
}

.page-home .home-jump a:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
}

.page-home .home-flow {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xl);
  min-width: 0;
}

/* ---------- 目录 ---------- */
.page-home .home-dir {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-sm);
}

.page-home .home-dir__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--gap-sm);
  height: 100%;
  padding: var(--gap-md);
  background: var(--ink-deep);
  border: 2px solid var(--ink-line);
  box-shadow: var(--shadow-brut-sm);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.page-home .home-dir__link:hover,
.page-home .home-dir__link:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-brut);
  border-color: var(--neon-cyan);
}

.page-home .home-dir__link:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 3px;
}

.page-home .home-dir__no {
  font-family: var(--font-mono);
  font-size: var(--fs-3);
  font-weight: 700;
  color: var(--neon-cyan);
  line-height: 1;
}

.page-home .home-dir__body {
  display: block;
  min-width: 0;
}

.page-home .home-dir__name {
  display: block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: var(--fs-3);
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .home-dir__desc {
  display: block;
  margin-top: 5px;
  font-size: var(--fs-1);
  line-height: 1.55;
  color: var(--quiet-blue);
}

.page-home .home-dir__arrow {
  font-family: var(--font-mono);
  font-size: var(--fs-3);
  color: var(--ink-line);
  transition: color 0.22s ease, transform 0.22s ease;
}

.page-home .home-dir__link:hover .home-dir__arrow,
.page-home .home-dir__link:focus-visible .home-dir__arrow {
  color: var(--neon-cyan);
  transform: translateX(4px);
}

/* ---------- 首屏视觉锚点 ---------- */
.page-home .home-lead-media {
  box-shadow: var(--shadow-brut);
  border: 2px solid var(--ink-line);
}

/* ---------- 通用内容块 ---------- */
.page-home .home-block {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  padding-top: var(--gap-lg);
  border-top: 2px solid var(--ink-line);
  scroll-margin-top: calc(var(--header-h) + var(--gap-md));
}

.page-home .home-block__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: 0.14em;
  color: var(--neon-cyan);
}

.page-home .home-block__title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: var(--fs-4);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .home-block__lead {
  margin: 0;
  max-width: 60ch;
  font-size: var(--fs-2);
  line-height: 1.78;
  color: var(--quiet-blue);
}

/* ---------- 超大数字锚点 ---------- */
.page-home .home-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-lg);
}

.page-home .home-anchor {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 170px;
}

.page-home .home-anchor__num {
  font-family: var(--font-mono);
  font-size: var(--fs-7);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--warm-gold);
}

.page-home .home-anchor__cap {
  font-size: var(--fs-1);
  line-height: 1.55;
  color: var(--quiet-blue);
  max-width: 24ch;
}

.page-home .home-latency-fig {
  max-width: 560px;
  border: 2px solid var(--ink-line);
  box-shadow: var(--shadow-brut-sm);
}

/* ---------- 四段分段条 ---------- */
.page-home .home-segbar {
  display: flex;
  gap: 3px;
  align-items: stretch;
  min-width: 0;
}

.page-home .home-segbar__seg {
  flex-grow: var(--seg);
  flex-shrink: 1;
  flex-basis: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  min-height: 104px;
  padding: var(--gap-sm) var(--gap-sm) var(--gap-md);
  background: var(--ink-deep);
  border: 2px solid var(--ink-line);
  border-bottom: 5px solid var(--neon-cyan);
}

.page-home .home-segbar__seg:nth-child(2) {
  border-bottom-color: var(--warm-gold);
}

.page-home .home-segbar__seg:nth-child(3) {
  border-bottom-color: var(--magenta);
}

.page-home .home-segbar__seg:nth-child(4) {
  border-bottom-color: var(--retro-orange);
}

.page-home .home-segbar__name {
  font-family: var(--font-mono);
  font-size: var(--fs-2);
  font-weight: 700;
  color: var(--paper);
  overflow-wrap: anywhere;
}

.page-home .home-segbar__note {
  font-size: var(--fs-1);
  color: var(--quiet-blue);
}

.page-home .home-seg-fig {
  max-width: 680px;
  border: 2px solid var(--ink-line);
  box-shadow: var(--shadow-brut-sm);
}

/* ---------- 七档刻度 ---------- */
.page-home .home-spectrum {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  height: 66px;
  margin: var(--gap-sm) 0;
}

.page-home .home-spectrum__seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--fs-2);
  font-weight: 700;
  text-decoration: none;
  color: #101A3A;
  border: 2px solid var(--ink-night);
  transition: transform 0.22s ease, filter 0.22s ease;
}

.page-home .home-spectrum__seg:nth-child(1) { background: #35E0D6; }
.page-home .home-spectrum__seg:nth-child(2) { background: #6FD6A4; }
.page-home .home-spectrum__seg:nth-child(3) { background: #A8C97E; }
.page-home .home-spectrum__seg:nth-child(4) { background: #F2B33D; }
.page-home .home-spectrum__seg:nth-child(5) { background: #F58A4F; }
.page-home .home-spectrum__seg:nth-child(6) { background: #FA5F6E; }
.page-home .home-spectrum__seg:nth-child(7) { background: #FF3D8B; }

.page-home .home-spectrum__seg:hover,
.page-home .home-spectrum__seg:focus-visible {
  transform: translateY(-5px);
  filter: brightness(1.12);
}

.page-home .home-spectrum__seg:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 2px;
}

.page-home .home-tierlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--gap-sm);
}

.page-home .home-tier {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px var(--gap-sm);
  padding: var(--gap-sm) var(--gap-md);
  background: var(--ink-deep);
  border: 2px solid var(--ink-line);
  border-left: 6px solid var(--neon-cyan);
  scroll-margin-top: calc(var(--header-h) + var(--gap-lg));
}

.page-home .home-tier:nth-child(2) { border-left-color: #6FD6A4; }
.page-home .home-tier:nth-child(3) { border-left-color: #A8C97E; }
.page-home .home-tier:nth-child(4) { border-left-color: var(--warm-gold); }
.page-home .home-tier:nth-child(5) { border-left-color: #F58A4F; }
.page-home .home-tier:nth-child(6) { border-left-color: #FA5F6E; }
.page-home .home-tier:nth-child(7) { border-left-color: var(--magenta); }

.page-home .home-tier__no {
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: 0.06em;
  color: var(--quiet-blue);
  align-self: center;
}

.page-home .home-tier__amt {
  font-family: var(--font-mono);
  font-size: var(--fs-4);
  font-weight: 700;
  line-height: 1;
  color: var(--warm-gold);
  justify-self: end;
}

.page-home .home-tier__txt {
  grid-column: 1 / -1;
  font-size: var(--fs-1);
  line-height: 1.65;
  color: var(--quiet-blue);
}

.page-home .home-spectrum-fig {
  border: 2px solid var(--ink-line);
  box-shadow: var(--shadow-brut-sm);
}

/* ---------- 模式对照 ---------- */
.page-home .home-compare__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-md);
}

.page-home .home-compare__col {
  padding: var(--gap-md) var(--gap-md) var(--gap-sm);
  background: var(--paper);
  color: var(--body-ink);
  border: 2px solid var(--ink-line);
  box-shadow: var(--shadow-brut-sm);
}

.page-home .home-compare__col--demo {
  border-top: 6px solid var(--neon-cyan);
}

.page-home .home-compare__col--live {
  border-top: 6px solid var(--magenta);
}

.page-home .home-compare__col h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: var(--fs-3);
  letter-spacing: -0.02em;
  color: var(--body-ink);
}

.page-home .home-compare__col ul {
  list-style: none;
  margin: var(--gap-sm) 0 0;
  padding: 0;
}

.page-home .home-compare__col li {
  position: relative;
  padding: 9px 0 9px 20px;
  font-size: var(--fs-2);
  line-height: 1.62;
  color: var(--body-ink);
  border-bottom: 1px solid var(--paper-shadow);
}

.page-home .home-compare__col li:last-child {
  border-bottom: 0;
}

.page-home .home-compare__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 8px;
  height: 8px;
  background: var(--retro-orange);
}

.page-home .home-compare__foot {
  margin: 0;
  font-size: var(--fs-2);
  line-height: 1.75;
  color: var(--quiet-blue);
}

.page-home .home-compare__foot a {
  color: var(--neon-cyan);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-home .home-compare__foot a:hover,
.page-home .home-compare__foot a:focus-visible {
  color: var(--paper);
}

/* ---------- 本期线索 ---------- */
.page-home .home-notes__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--gap-md);
}

.page-home .home-note {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
  height: 100%;
  padding: var(--gap-md);
  background: var(--ink-deep);
  border: 2px solid var(--ink-line);
  box-shadow: var(--shadow-brut-sm);
}

.page-home .home-note h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: var(--fs-3);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .home-note p {
  margin: 0;
  font-size: var(--fs-2);
  line-height: 1.7;
  color: var(--quiet-blue);
}

.page-home .home-note__link {
  margin-top: auto;
  padding-top: var(--gap-sm);
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  color: var(--neon-cyan);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-home .home-note__link:hover,
.page-home .home-note__link:focus-visible {
  color: var(--warm-gold);
}

.page-home .home-note__link:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 3px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .page-home .home-front .split {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gap-xl);
  }

  .page-home .home-masthead {
    position: static;
  }

  .page-home .home-masthead__title {
    font-size: var(--fs-5);
  }

  .page-home .home-jump {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--gap-md);
    border-left: 0;
    padding-left: 0;
    border-top: 2px solid var(--ink-line);
    padding-top: var(--gap-sm);
  }
}

@media (max-width: 760px) {
  .page-home .home-dir,
  .page-home .home-compare__grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .page-home .home-anchor__num {
    font-size: var(--fs-6);
  }

  .page-home .home-segbar {
    flex-direction: column;
  }

  .page-home .home-segbar__seg {
    flex-grow: 0;
    flex-basis: auto;
    min-height: 0;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--gap-sm);
    border-bottom: 2px solid var(--ink-line);
    border-left: 6px solid var(--neon-cyan);
    padding: var(--gap-sm) var(--gap-md);
  }

  .page-home .home-segbar__seg:nth-child(2) { border-left-color: var(--warm-gold); }
  .page-home .home-segbar__seg:nth-child(3) { border-left-color: var(--magenta); }
  .page-home .home-segbar__seg:nth-child(4) { border-left-color: var(--retro-orange); }

  .page-home .home-spectrum {
    height: 52px;
  }

  .page-home .home-spectrum__seg {
    font-size: var(--fs-1);
  }
}

@media (max-width: 520px) {
  .page-home .home-masthead__meta {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gap-xs);
  }

  .page-home .home-masthead__meta div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--gap-sm);
  }

  .page-home .home-masthead__meta dd {
    margin: 0;
  }

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

  .page-home .home-spectrum {
    gap: 2px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-dir__link,
  .page-home .home-dir__arrow,
  .page-home .home-spectrum__seg,
  .page-home .home-jump a {
    transition: none;
  }

  .page-home .home-dir__link:hover,
  .page-home .home-dir__link:focus-visible,
  .page-home .home-spectrum__seg:hover,
  .page-home .home-spectrum__seg:focus-visible {
    transform: none;
  }
}

.page-home {
  --seg: inherit;
}
