.page-home {
  background: var(--ink);
  color: var(--paper);
  overflow-x: clip;
}

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

/* ---------- 共享语义微调 ---------- */
.page-home .breadcrumbs {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.page-home .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-strong);
}
.page-home .breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color 140ms ease;
}
.page-home .breadcrumbs a:hover {
  color: var(--cyan);
}
.page-home .breadcrumbs [aria-current="page"] {
  color: var(--paper);
}

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

/* ---------- 首屏分屏 ---------- */
.page-home .hero {
  padding-block: clamp(22px, 4vw, 42px) clamp(36px, 5vw, 68px);
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(23, 201, 100, 0.16), transparent 62%),
    radial-gradient(90% 70% at 100% 30%, rgba(53, 224, 208, 0.08), transparent 60%),
    var(--ink);
}
.page-home .hero-grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
}
.page-home .hero-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.page-home .hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 6.4vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.page-home .hero-title .mark {
  color: var(--green);
  position: relative;
  padding-inline: 2px;
}
.page-home .hero-title .mark::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0.06em;
  height: 6px;
  background: var(--green-veil);
  border-bottom: 2px solid var(--green);
  z-index: -1;
}
.page-home .hero-lede {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: var(--paper);
  opacity: 0.82;
}
.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  clip-path: var(--cut-tag);
  border: 1px solid transparent;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.page-home .btn:hover {
  transform: translateY(-2px);
}
.page-home .btn-primary {
  background: var(--green);
  color: #062316;
}
.page-home .btn-primary:hover {
  background: var(--cyan);
}
.page-home .btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line-strong);
}
.page-home .btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}

.page-home .steps-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  padding: 12px 18px;
  background: var(--green-veil);
  border-left: 3px solid var(--green);
  clip-path: var(--cut-tag);
}
.page-home .steps-num {
  font-family: var(--font-mono);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 0.9;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.page-home .steps-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
}
.page-home .steps-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- 记分牌视觉 ---------- */
.page-home .hero-board {
  position: relative;
  min-height: 340px;
}
.page-home .board-visual {
  position: relative;
  height: 100%;
  min-height: 340px;
  overflow: hidden;
  background: var(--ink-2);
  clip-path: var(--cut-media);
}
.page-home .board-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.75) contrast(1.05);
}
.page-home .board-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 78% 12%, rgba(53, 224, 208, 0.24), transparent 66%),
    linear-gradient(180deg, rgba(8, 24, 38, 0.28) 0%, rgba(8, 24, 38, 0.9) 62%, var(--ink) 100%);
}
.page-home .board {
  position: absolute;
  inset: auto 0 0 0;
  margin: clamp(14px, 2.4vw, 26px);
  padding: clamp(14px, 2.2vw, 22px);
  background: rgba(13, 36, 54, 0.86);
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--green);
  clip-path: var(--cut-panel);
  backdrop-filter: blur(2px);
}
.page-home .board-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.page-home .board-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
}
.page-home .board-dot {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  clip-path: var(--cut-mark);
  animation: home-pulse 2.6s ease-in-out infinite;
}
.page-home .board-list {
  margin: 0;
  padding: 6px 0 0;
  list-style: none;
}
.page-home .board-list li {
  display: grid;
  grid-template-columns: 44px 1fr auto 54px;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.page-home .board-list li:last-child {
  border-bottom: 0;
}
.page-home .board-rank {
  font-family: var(--font-mono);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.page-home .board-team {
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-home .board-form {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}
.page-home .board-form i {
  display: block;
  width: 4px;
  background: var(--cyan);
  opacity: 0.6;
}
.page-home .board-form i:nth-child(1) { height: 6px; }
.page-home .board-form i:nth-child(2) { height: 9px; }
.page-home .board-form i:nth-child(3) { height: 14px; }
.page-home .board-form i:nth-child(4) { height: 8px; }
.page-home .board-form i:nth-child(5) { height: 12px; }
.page-home .board-list li:nth-child(2) .board-form i { background: var(--green); }
.page-home .board-list li:nth-child(3) .board-form i { background: var(--muted); }
.page-home .board-pts {
  font-family: var(--font-mono);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  text-align: right;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.page-home .board-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.page-home .board-foot .num {
  font-family: var(--font-mono);
  color: var(--cyan);
}

@keyframes home-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

/* ---------- 页内坐标索引 ---------- */
.page-home .anchor-index {
  position: sticky;
  top: var(--header-h);
  z-index: 6;
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}
.page-home .anchor-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.page-home .anchor-inner::-webkit-scrollbar {
  display: none;
}
.page-home .anchor-tag {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--muted);
}
.page-home .anchor-inner ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .anchor-inner a {
  display: block;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}
.page-home .anchor-inner a:hover {
  color: var(--paper);
}
.page-home .anchor-inner a[aria-current="true"] {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* ---------- 章节头 ---------- */
.page-home .sec-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
  margin-bottom: clamp(22px, 3vw, 36px);
}
.page-home .sec-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--paper);
}
.page-home .sec-lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 比分条快捷入口 ---------- */
.page-home .quick {
  background: var(--ink);
}
.page-home .quick-list {
  display: grid;
  gap: 10px;
}
.page-home .quick-link {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  clip-path: var(--cut-tag);
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}
.page-home .quick-link:hover {
  border-color: var(--green);
  border-left-color: var(--cyan);
  background: #10293c;
  transform: translateY(-2px);
}
.page-home .quick-no {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
}
.page-home .quick-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.page-home .quick-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--paper);
}
.page-home .quick-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.page-home .quick-arrow {
  font-size: 18px;
  color: var(--muted);
  transition: color 160ms ease, transform 160ms ease;
}
.page-home .quick-link:hover .quick-arrow {
  color: var(--green);
  transform: translateX(3px);
}

/* ---------- Bento 能力板 ---------- */
.page-home .capability {
  background:
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink-2) 88%, var(--ink) 100%);
  border-top: 1px solid var(--line);
}
.page-home .bento {
  display: grid;
  gap: 12px;
}
.page-home .bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.6vw, 28px);
  background: rgba(8, 24, 38, 0.72);
  border: 1px solid var(--line);
  clip-path: var(--cut-panel);
  transition: transform 160ms ease, border-color 160ms ease;
}
.page-home .bento-card:hover {
  transform: translate(-2px, -2px);
  border-color: var(--green);
}
.page-home .bento-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: var(--paper);
}
.page-home .bento-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(244, 248, 251, 0.78);
}
.page-home .bento-note {
  font-family: var(--font-mono);
  font-size: 11.5px !important;
  letter-spacing: 0.04em;
  color: var(--muted) !important;
}
.page-home .bento-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-home .bento-card .tag {
  align-self: flex-start;
}
.page-home .bento-figure {
  margin: 0;
  overflow: hidden;
  clip-path: var(--cut-media);
  background: var(--cut-deep);
  aspect-ratio: 3 / 2;
}
.page-home .bento-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .bento-figure--tall {
  aspect-ratio: 4 / 3;
}
.page-home .bento-card--window {
  background: linear-gradient(160deg, rgba(255, 176, 32, 0.1), rgba(8, 24, 38, 0.8) 58%);
}
.page-home .bento-card--light {
  border-left: 3px solid var(--cyan);
}
.page-home .bento-card--collect {
  background: linear-gradient(200deg, rgba(23, 201, 100, 0.1), rgba(8, 24, 38, 0.82) 62%);
}
.page-home .step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page-home .step-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
}
.page-home .step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: none;
  background: var(--tag-soft);
  color: #062316;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  clip-path: var(--cut-mark);
}

/* ---------- 时间轴 ---------- */
.page-home .rhythm {
  background: var(--ink);
}
.page-home .rhythm-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .rhythm-item {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 0 0 26px 20px;
  border-left: 2px solid var(--line);
}
.page-home .rhythm-item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}
.page-home .rhythm-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--amber);
  clip-path: var(--cut-mark);
}
.page-home .rhythm-time {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.page-home .rhythm-time .num {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.page-home .rhythm-phase {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.page-home .rhythm-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  color: var(--paper);
}
.page-home .rhythm-body p {
  margin: 0;
  max-width: 60ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(244, 248, 251, 0.76);
}
.page-home .rhythm-figure {
  margin: 14px 0 0;
  overflow: hidden;
  clip-path: var(--cut-media);
  background: var(--cut-deep);
  aspect-ratio: 3 / 2;
  max-width: 460px;
}
.page-home .rhythm-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 规模数据 ---------- */
.page-home .scale {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}
.page-home .scale-grid {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}
.page-home .scale-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(16px, 2.4vw, 24px);
  background: var(--ink);
}
.page-home .scale-num {
  font-family: var(--font-mono);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.page-home .scale-item--accent .scale-num {
  color: var(--amber);
}
.page-home .scale-unit {
  font-size: 0.42em;
  margin-left: 4px;
  color: var(--paper);
}
.page-home .scale-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
}
.page-home .scale-note {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}
.page-home .scale-foot {
  margin: clamp(18px, 2.6vw, 26px) 0 0;
  max-width: 78ch;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}
.page-home .scale-foot a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 150ms ease, color 150ms ease;
}
.page-home .scale-foot a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* ---------- 行动入口 ---------- */
.page-home .start {
  background: var(--ink);
}
.page-home .start-panel {
  position: relative;
  padding: clamp(24px, 4vw, 48px);
  background: linear-gradient(120deg, var(--green) 0%, #12b158 62%, #0f9a63 100%);
  clip-path: var(--cut-panel);
  color: #062316;
  display: grid;
  gap: 22px;
}
.page-home .start-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-home .eyebrow--dark {
  color: rgba(6, 35, 22, 0.66);
}
.page-home .start-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #062316;
}
.page-home .start-lede {
  margin: 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(6, 35, 22, 0.82);
}
.page-home .start-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-home .btn-dark {
  background: var(--ink);
  color: var(--paper);
}
.page-home .btn-dark:hover {
  background: var(--ink-2);
  color: var(--cyan);
}
.page-home .btn-outline-dark {
  background: transparent;
  color: #062316;
  border-color: rgba(6, 35, 22, 0.42);
}
.page-home .btn-outline-dark:hover {
  border-color: var(--ink);
  background: rgba(6, 35, 22, 0.08);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .quick-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .scale-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: 5fr 7fr;
  }
  .page-home .rhythm-item {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 4px 24px;
    padding-left: 26px;
  }
  .page-home .rhythm-time {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-top: 2px;
  }
  .page-home .rhythm-time .num {
    font-size: 22px;
  }
  .page-home .start-panel {
    grid-template-columns: 7fr 5fr;
    align-items: end;
  }
  .page-home .start-actions {
    justify-content: flex-end;
  }
}

@media (min-width: 1000px) {
  .page-home .bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .page-home .bento-card--rank {
    grid-column: span 7;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40%;
    gap: 20px;
    align-items: end;
  }
  .page-home .bento-card--light {
    grid-column: span 5;
  }
  .page-home .bento-card--window {
    grid-column: span 5;
  }
  .page-home .bento-card--collect {
    grid-column: span 7;
  }
  .page-home .bento-figure--tall {
    aspect-ratio: 3 / 4;
    height: 100%;
  }
  .page-home .scale-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .page-home .quick-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .quick-link {
    grid-template-columns: 1fr auto;
    align-items: start;
    row-gap: 8px;
  }
  .page-home .quick-no {
    grid-column: 1 / -1;
  }
  .page-home .quick-link .quick-arrow {
    align-self: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .board-dot {
    animation: none;
  }
  .page-home .btn:hover,
  .page-home .quick-link:hover,
  .page-home .bento-card:hover,
  .page-home .quick-link:hover .quick-arrow {
    transform: none;
  }
}
