.page-home {
  --home-gap: 20px;
  color: var(--mist);
  padding-bottom: 56px;
}

.page-home .ds-plate {
  display: inline-block;
  width: max-content;
  max-width: 100%;
}

.page-home .ds-crumbs {
  margin: 20px 0 8px;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  display: grid;
  gap: 28px;
  padding: 16px 0 8px;
}

.page-home .home-hero__kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--amber);
}

.page-home .home-hero__title {
  margin: 12px 0 16px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(30px, 7vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--mist);
}

.page-home .home-hero__lead {
  margin: 0 0 24px;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray);
}

.page-home .home-facts {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.page-home .home-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 10px 12px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .home-facts__k {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--gray);
}

.page-home .home-facts__v {
  font-size: 20px;
  font-weight: 700;
  color: var(--mist);
}

.page-home .home-facts li:nth-child(odd) .home-facts__v {
  color: var(--amber);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .home-hero__visual {
  position: relative;
  padding-top: 8px;
}

.page-home .home-hero__badge {
  position: absolute;
  top: -6px;
  left: 14px;
  z-index: 2;
  padding: 4px 10px;
  color: var(--amber);
  border: 1px solid var(--amber);
  border-radius: 999px;
  font-size: 13px;
  background: rgba(8, 25, 42, .55);
  backdrop-filter: blur(12px);
  transition: transform var(--dur) var(--ease);
}

.page-home .home-hero__badge:hover {
  transform: scale(1.02);
}

.page-home .home-hero__img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
}

.page-home .home-bars {
  margin-top: 16px;
  display: grid;
  gap: 9px;
}

.page-home .home-bars__cap {
  margin: 0 0 2px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gray);
}

.page-home .home-bars__row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray);
}

.page-home .home-bars__track {
  display: block;
  height: 8px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.page-home .home-bars__fill {
  display: block;
  height: 100%;
  transition: width var(--dur) var(--ease);
}

.page-home .home-bars__fill--nav {
  width: 78%;
  background: var(--amber);
}

.page-home .home-bars__fill--addr {
  width: 44%;
  background: var(--amber);
}

.page-home .home-bars__fill--perm {
  width: 92%;
  background: var(--orange);
}

.page-home .home-bars__fill--fav {
  width: 58%;
  background: var(--amber);
}

.page-home .home-bars__val {
  text-align: right;
  color: var(--mist);
  font-size: 12px;
}

/* ---------- 章节头 ---------- */
.page-home .home-sec-head {
  display: grid;
  gap: 10px;
  justify-items: start;
  max-width: 70ch;
  margin-bottom: 20px;
}

.page-home .home-h2 {
  position: relative;
  margin: 0;
  padding-left: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(22px, 3.6vw, 34px);
  line-height: 1.22;
  color: var(--mist);
}

.page-home .home-h2::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  margin-bottom: 12px;
  background: var(--amber);
}

.page-home .home-h3 {
  margin: 8px 0 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(20px, 2.8vw, 26px);
  line-height: 1.3;
  color: var(--mist);
}

.page-home .home-sec-head__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray);
}

/* ---------- 对照表 ---------- */
.page-home .home-compare {
  margin-top: 56px;
}

.page-home .home-compare__media {
  margin: 0 0 24px;
}

.page-home .home-compare__media .media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-table-card {
  position: relative;
  padding: 30px 14px 16px;
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-home .home-table-card__badge {
  position: absolute;
  top: -13px;
  left: 14px;
  padding: 4px 10px;
  color: var(--amber);
  border: 1px solid var(--amber);
  border-radius: 999px;
  font-size: 13px;
  background: rgba(8, 25, 42, .55);
  backdrop-filter: blur(12px);
}

.page-home .home-table-card__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

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

.page-home .home-table-card .data-table {
  width: 100%;
  min-width: 640px;
}

.page-home .home-table-card .data-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--amber);
  white-space: nowrap;
}

.page-home .home-notes {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-notes li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
}

.page-home .home-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 3px;
  height: 3px;
  background: var(--orange);
}

.page-home .home-notes strong {
  display: inline-block;
  margin-right: 6px;
  color: var(--mist);
  font-weight: 600;
}

.page-home .home-table-card__foot {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
}

.page-home .home-table-card__foot a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 178, 74, .45);
}

.page-home .home-table-card__foot a:hover {
  border-bottom-color: var(--amber);
}

/* ---------- 结论带 ---------- */
.page-home .verdict-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.page-home .verdict-band__text {
  margin: 0;
  font-weight: 700;
  line-height: 1.6;
}

.page-home .verdict-band__link {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  white-space: nowrap;
}

/* ---------- 收藏夹 ---------- */
.page-home .home-fav {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  padding: 18px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.page-home .home-fav__img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
}

.page-home .home-fav__body p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray);
}

.page-home .home-fav__link {
  display: inline-block;
  font-size: 15px;
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 178, 74, .45);
  transition: border-color var(--dur) var(--ease);
}

.page-home .home-fav__link:hover {
  border-bottom-color: var(--amber);
}

/* ---------- 排查分流 ---------- */
.page-home .home-routes {
  margin-top: 64px;
}

.page-home .home-routes__grid {
  display: grid;
  gap: 14px;
}

.page-home .home-route {
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .home-route:hover,
.page-home .home-route:focus-within {
  border-color: rgba(240, 178, 74, .55);
  background: var(--ink-700);
}

.page-home .home-route .step-card__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  background: transparent;
  border: 0;
  color: var(--mist);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.page-home .home-route .step-card__head:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -2px;
}

.page-home .home-route .step-card__num {
  color: var(--orange);
  font-size: 13px;
  letter-spacing: .04em;
}

.page-home .home-route .step-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.page-home .home-route .step-card__sign {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}

.page-home .home-route .step-card__sign::before,
.page-home .home-route .step-card__sign::after {
  content: "";
  position: absolute;
  background: var(--amber);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.page-home .home-route .step-card__sign::before {
  left: 0;
  top: 8px;
  width: 18px;
  height: 2px;
}

.page-home .home-route .step-card__sign::after {
  left: 8px;
  top: 0;
  width: 2px;
  height: 18px;
}

.page-home .home-route[data-open] .step-card__sign::after {
  transform: scaleY(0);
  opacity: 0;
}

.page-home .home-route .step-card__panel {
  display: none;
}

.page-home .home-route[data-open] .step-card__panel {
  display: block;
}

.page-home .home-route__body {
  padding: 0 16px 18px;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.page-home .home-route__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
}

.page-home .home-route__sign {
  color: var(--mist) !important;
}

.page-home .home-route__img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 2px;
  object-fit: cover;
}

.page-home .home-route__time {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--gray-dim);
}

.page-home .home-route__link {
  justify-self: start;
  font-size: 15px;
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 178, 74, .45);
  transition: border-color var(--dur) var(--ease);
}

.page-home .home-route__link:hover {
  border-bottom-color: var(--amber);
}

/* ---------- 日志 ---------- */
.page-home .home-log {
  margin-top: 64px;
}

.page-home .home-log__list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .home-log__list li {
  display: grid;
  gap: 6px;
  justify-items: start;
  padding: 14px 0 14px 12px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .home-log__list li:hover,
.page-home .home-log__list li:focus-within {
  background: var(--amber-soft);
  border-left-color: var(--amber);
}

.page-home .home-log__list a {
  color: var(--mist);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.65;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}

.page-home .home-log__list a:hover {
  border-bottom-color: var(--amber);
}

.page-home .home-log__time {
  font-size: 12px;
  color: var(--gray);
}

.page-home .home-log__more {
  display: inline-block;
  margin-top: 18px;
  font-size: 15px;
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 178, 74, .45);
}

.page-home .home-log__more:hover {
  border-bottom-color: var(--amber);
}

/* ---------- 人工通道 ---------- */
.page-home .home-help {
  display: grid;
  gap: 22px;
  margin-top: 64px;
  padding: 22px 18px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-home .home-help__body p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray);
}

.page-home .home-help__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .home-help__list li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .home-help__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--orange);
}

.page-home .home-help__card {
  margin: 0;
  padding: 16px;
  display: grid;
  gap: 12px;
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-home .home-help__row {
  display: grid;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

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

.page-home .home-help__row dt {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--gray);
}

.page-home .home-help__row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--mist);
  word-break: break-word;
}

/* ---------- 平板 ---------- */
@media (min-width: 720px) {
  .page-home .home-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
  }

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

  .page-home .home-log__list li {
    grid-template-columns: 96px minmax(0, 1fr) 150px;
    align-items: center;
    gap: 16px;
    justify-items: start;
  }

  .page-home .home-log__time {
    justify-self: end;
    text-align: right;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 960px) {
  .page-home .home-hero {
    grid-template-columns: 5fr 7fr;
    gap: 0;
    align-items: start;
    padding: 28px 0 16px;
  }

  .page-home .home-hero__narrative {
    padding-right: 40px;
  }

  .page-home .home-hero__visual {
    padding-left: 40px;
    border-left: 1px solid var(--amber);
  }

  .page-home .home-compare {
    margin-top: 72px;
  }

  .page-home .home-table-card {
    padding: 34px 22px 22px;
  }

  .page-home .home-fav {
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: 32px;
    padding: 24px;
  }

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

  .page-home .home-help {
    grid-template-columns: 7fr 5fr;
    align-items: center;
    gap: 44px;
    padding: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home * {
    transition: none !important;
  }
}
