.page-home {
  --home-lead-gap: 22px;
  --home-card-pad: 20px;
  --home-line: rgba(201, 216, 226, 0.26);
  --home-line-soft: rgba(201, 216, 226, 0.14);
}

/* ---------- 面包屑 ---------- */
.page-home .crumb {
  padding-block: 18px 4px;
  font-size: 13px;
  color: var(--steel);
}

.page-home .crumb .crumb__sep {
  margin-inline: 8px;
  color: var(--line-strong);
}

/* ---------- 章节节奏 ---------- */
.page-home .section {
  padding-block: clamp(30px, 6vw, 58px);
}

.page-home .section--narrow {
  max-width: 940px;
}

.page-home .section__sub {
  color: var(--steel);
}

/* ---------- 封面 ---------- */
.page-home .home-cover {
  position: relative;
  padding-top: clamp(8px, 2vw, 18px);
}

.page-home .home-cover__grid {
  display: grid;
  gap: 28px;
}

.page-home .home-cover__lead {
  display: flex;
  flex-direction: column;
}

.page-home .home-cover__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 10.5vw, 74px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .home-cover__desc {
  margin-top: 20px;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--steel);
}

.page-home .home-cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .home-cover__visual {
  position: relative;
  display: flex;
  flex-direction: column;
}

.page-home .home-cover__figure {
  position: relative;
  margin: 0;
}

.page-home .home-cover__figure .figure__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--home-line);
  background: var(--ink);
}

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

.page-home .home-cover__status {
  position: relative;
  margin-top: -36px;
  margin-left: 16px;
  margin-right: 16px;
  padding: 16px 18px 18px;
  background: var(--panel);
  border: 1px solid var(--home-line);
}

.page-home .home-cover__status .lamp {
  position: absolute;
  top: 16px;
  right: 18px;
}

.page-home .home-cover__status-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}

.page-home .home-cover__status-value {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
}

.page-home .home-cover__status-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel);
}

/* ---------- 四条路径 ---------- */
.page-home .home-paths__grid {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.page-home .home-path {
  display: flex;
  flex-direction: column;
  padding: var(--home-card-pad) 18px 18px;
  background: var(--panel);
  border: 1px solid var(--home-line-soft);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease),
    background-color 0.28s var(--ease);
}

.page-home .home-path:hover,
.page-home .home-path:focus-within {
  transform: translateY(-2px);
  border-color: var(--cyan);
  background: var(--layer);
}

.page-home .home-path__num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--cyan);
}

.page-home .home-path__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-home .home-path__body {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
}

.page-home .home-path__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 16px 0 0;
}

.page-home .home-path__time {
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--steel);
}

.page-home .home-path__link {
  margin-top: auto;
  padding-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  transition: border-color 0.24s var(--ease);
}

.page-home .home-path__link:hover,
.page-home .home-path__link:focus-visible {
  border-bottom-color: var(--cyan);
}

.page-home .home-path__media {
  margin: calc(var(--home-card-pad) * -1) -18px 14px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--home-line-soft);
}

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

/* ---------- 规模数字带 ---------- */
.page-home .home-scale__grid {
  display: grid;
  gap: 28px;
}

.page-home .home-scale__intro {
  display: flex;
  flex-direction: column;
}

.page-home .home-scale__figure {
  margin: 22px 0 0;
}

.page-home .home-scale__figure .figure__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--home-line-soft);
  background: var(--ink);
}

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

.page-home .home-scale__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--home-line-soft);
  border: 1px solid var(--home-line-soft);
}

.page-home .home-scale__item {
  padding: 22px 16px 20px;
  background: var(--panel);
}

.page-home .home-scale__num {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(30px, 8vw, 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cyan);
}

.page-home .home-scale__unit {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--white);
}

.page-home .home-scale__note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--steel);
}

/* ---------- 时间轴 ---------- */
.page-home .home-rhythm__list {
  position: relative;
  margin: 26px 0 0;
  padding: 0 0 0 26px;
  list-style: none;
}

.page-home .home-rhythm__list::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 5px;
  width: 1px;
  background: var(--home-line);
}

.page-home .timeline__node {
  position: relative;
  padding-bottom: 18px;
}

.page-home .timeline__node:last-child {
  padding-bottom: 0;
}

.page-home .timeline__dot {
  position: absolute;
  top: 10px;
  left: -25px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--cyan);
  background: var(--ink);
  transform: rotate(45deg);
}

.page-home .home-rhythm__item {
  border: 1px solid var(--home-line-soft);
  background: var(--panel);
}

.page-home .home-rhythm__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.page-home .home-rhythm__summary::-webkit-details-marker {
  display: none;
}

.page-home .home-rhythm__summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--cyan);
}

.page-home .home-rhythm__item[open] .home-rhythm__summary::after {
  content: "−";
}

.page-home .home-rhythm__time {
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: var(--yellow);
}

.page-home .home-rhythm__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.page-home .home-rhythm__body {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--steel);
}

/* ---------- 额度对照 ---------- */
.page-home .home-tiers__frame {
  margin-top: 26px;
  padding: 18px 16px 16px;
  background: var(--panel);
  border: 1px solid var(--home-line-soft);
}

.page-home .home-tiers__scroller {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-home .home-tiers__scroller .table-scope {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
}

.page-home .home-tiers__cap {
  padding-bottom: 12px;
  text-align: left;
  font-size: 12px;
  color: var(--steel);
}

.page-home .home-tiers__frame th,
.page-home .home-tiers__frame td {
  padding: 13px 12px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--home-line-soft);
}

.page-home .home-tiers__frame thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  background: var(--layer);
}

.page-home .home-tiers__frame tbody th {
  font-weight: 700;
  color: var(--white);
}

.page-home .home-tiers__frame tbody td {
  color: var(--steel);
}

.page-home .home-tiers__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  font-weight: 700;
  color: var(--cyan);
}

.page-home .home-tiers__cost {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 18px 0 0;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px solid var(--home-line-soft);
}

.page-home .home-tiers__cost li {
  font-size: 13px;
  color: var(--steel);
}

.page-home .home-tiers__cost .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--white);
}

/* ---------- 底栏入口说明 ---------- */
.page-home .home-dock__grid {
  display: grid;
  gap: 26px;
}

.page-home .home-dock__text {
  display: flex;
  flex-direction: column;
}

.page-home .home-dock__body {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--steel);
}

.page-home .home-dock__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

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

.page-home .home-dock__figure .figure__media {
  aspect-ratio: 35 / 12;
  overflow: hidden;
  border: 1px solid var(--home-line-soft);
  background: var(--ink);
}

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

/* ---------- 收束段 ---------- */
.page-home .home-next__panel {
  padding: 24px 18px;
  border: 1px solid var(--home-line);
  background: var(--panel);
}

.page-home .home-next__lead {
  margin-bottom: 18px;
}

.page-home .home-next__title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .home-next__list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--home-line-soft);
}

.page-home .home-next__list a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px;
  background: var(--ink);
  text-decoration: none;
  transition: background-color 0.24s var(--ease);
}

.page-home .home-next__list a:hover,
.page-home .home-next__list a:focus-visible {
  background: var(--layer);
}

.page-home .home-next__k {
  font-size: 15px;
  font-weight: 700;
  color: var(--cyan);
}

.page-home .home-next__v {
  font-size: 13px;
  line-height: 1.65;
  color: var(--steel);
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .home-paths__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

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

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

  .page-home .home-next__panel {
    padding: 28px 24px;
  }
}

@media (min-width: 900px) {
  .page-home .home-cover__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: 52px;
    align-items: end;
  }

  .page-home .home-cover__status {
    position: absolute;
    left: -44px;
    right: auto;
    bottom: 26px;
    width: min(320px, 82%);
    margin: 0;
    background: var(--panel);
    box-shadow: 0 18px 40px rgba(5, 19, 31, 0.55);
  }

  .page-home .home-dock__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 40px;
    align-items: center;
  }
}

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

  .page-home .home-path:nth-child(2) {
    margin-top: 20px;
  }

  .page-home .home-path:nth-child(4) {
    margin-top: 20px;
  }

  .page-home .home-scale__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 44px;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-path,
  .page-home .home-path__link,
  .page-home .home-next__list a {
    transition: none;
  }

  .page-home .home-path:hover,
  .page-home .home-path:focus-within {
    transform: none;
  }
}
