.page-home {
  --home-seam: linear-gradient(180deg, var(--deep) 0%, var(--ink) 100%);
  --home-grid: repeating-linear-gradient(
      90deg,
      var(--line) 0 1px,
      transparent 1px 72px
    ),
    repeating-linear-gradient(
      0deg,
      var(--line) 0 1px,
      transparent 1px 72px
    );
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
}

.page-home .ob-breadcrumb {
  padding-top: 18px;
  padding-bottom: 6px;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: clamp(24px, 4vw, 56px) 0 clamp(48px, 7vw, 96px);
  background: var(--home-seam);
  border-bottom: 1px solid var(--line);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--home-grid);
  background-size: 72px 72px;
  opacity: 0.35;
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .home-hero__rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 2px solid var(--lime);
  padding-left: 18px;
}

.page-home .home-hero__num {
  font-family: var(--score);
  color: var(--lime);
  line-height: 0.85;
  letter-spacing: -0.03em;
  display: block;
}

.page-home .home-hero__railmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  margin: 0;
}

.page-home .home-hero__railtag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--lime);
  padding: 3px 8px;
  border-radius: 0;
}

.page-home .home-hero__railtxt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .home-hero__media {
  margin: 0;
  border: 1px solid var(--line);
  transform: rotate(-0.6deg);
  filter: contrast(1.15) saturate(0.9);
}

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

.page-home .home-hero__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .home-hero__body .ob-display {
  font-size: clamp(30px, 5.4vw, 62px);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
  max-width: 20ch;
}

.page-home .home-hero__body .ob-lede {
  color: var(--muted);
  max-width: 62ch;
  margin: 0;
}

/* 条目清单 */
.page-home .home-entries {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-entry {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 16px 12px;
  background: var(--ink);
  color: var(--text);
  text-decoration: none;
  transition: background-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.page-home .home-entry:hover,
.page-home .home-entry:focus-visible {
  background: var(--panel);
  transform: translateX(2px);
  box-shadow: inset 3px 0 0 0 var(--lime);
}

.page-home .home-entry:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: -2px;
}

.page-home .home-entry__idx {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--lime);
}

.page-home .home-entry__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.page-home .home-entry__label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.page-home .home-entry__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.page-home .home-entry__metric {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}

.page-home .home-entry__metric b {
  font-family: var(--score);
  font-size: 20px;
  color: var(--lime);
  margin-right: 3px;
  letter-spacing: 0;
}

.page-home .home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 0;
}

/* ---------- 号码墙 ---------- */
.page-home .home-wall {
  border-bottom: 1px solid var(--line);
}

.page-home .home-wall__head {
  max-width: 66ch;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.page-home .home-wall__lede,
.page-home .home-window__lede,
.page-home .home-archive__lede,
.page-home .home-focus__lede {
  color: var(--muted);
  line-height: 1.7;
  margin: 12px 0 0;
}

.page-home .home-wall__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.page-home .home-wall__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--mint);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.page-home .home-wall__card:nth-child(2n) {
  transform: translateY(6px) rotate(-0.5deg);
}
.page-home .home-wall__card:nth-child(3n) {
  transform: translateY(-4px) rotate(0.6deg);
}
.page-home .home-wall__card--hot {
  border-top-color: var(--red);
  background: var(--deep);
}

.page-home .home-wall__card:hover,
.page-home .home-wall__card:focus-within {
  transform: translateY(-2px) rotate(0deg);
  border-color: var(--lime);
  box-shadow: 0 0 0 1px var(--lime) inset;
}

.page-home .home-wall__range {
  font-family: var(--score);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-home .home-wall__card--hot .home-wall__range {
  color: var(--red);
}

.page-home .home-wall__role {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.page-home .home-wall__delta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.page-home .home-wall__delta b {
  font-family: var(--score);
  font-size: 22px;
  color: var(--lime);
  margin-right: 4px;
}

/* ---------- 租借情景 ---------- */
.page-home .home-loan {
  background: var(--deep);
  border-bottom: 1px solid var(--line);
}

.page-home .home-loan__inner {
  display: grid;
  gap: clamp(24px, 4vw, 52px);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.page-home .home-loan__media {
  margin: 0;
  border: 1px solid var(--line);
  transform: rotate(-1deg) translateX(-6px);
  filter: contrast(1.2);
}

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

.page-home .home-loan__body h2 {
  margin-top: 8px;
}

.page-home .home-loan__link {
  margin: 18px 0 0;
}

/* ---------- 窗口期节奏 ---------- */
.page-home .home-window {
  border-bottom: 1px solid var(--line);
}

.page-home .home-window__head {
  max-width: 66ch;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.page-home .home-window__track {
  list-style: none;
  margin: 0 0 clamp(32px, 4vw, 56px);
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .home-window__step {
  background: var(--ink);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background-color 140ms ease;
}

.page-home .home-window__step:hover {
  background: var(--panel);
}

.page-home .home-window__stepidx {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--mint);
}

.page-home .home-window__step .ob-h3 {
  color: var(--text);
  margin: 0;
}

.page-home .home-window__step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.page-home .home-window__recent {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.page-home .home-window__themes {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .home-window__themes li {
  background: var(--ink);
}

.page-home .home-window__themes a {
  display: block;
  padding: 14px 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  transition: background-color 140ms ease, color 140ms ease, padding-left 140ms ease;
}

.page-home .home-window__themes a::before {
  content: "→";
  font-family: var(--mono);
  color: var(--lime);
  margin-right: 10px;
}

.page-home .home-window__themes a:hover,
.page-home .home-window__themes a:focus-visible {
  background: var(--panel);
  color: var(--lime);
  padding-left: 22px;
}

.page-home .home-window__themes a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: -2px;
}

/* ---------- 数据焦点（浅色反差） ---------- */
.page-home .home-focus {
  position: relative;
  background: var(--light);
  color: var(--light-ink);
  padding: clamp(48px, 6vw, 88px) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-home .home-focus__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: multiply;
}

.page-home .home-focus__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.1);
}

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

.page-home .home-focus__head {
  max-width: 68ch;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.page-home .home-focus__head .ob-kicker--light {
  color: var(--light-muted);
}

.page-home .home-focus__head .ob-kicker--light::before {
  background: var(--light-ink);
}

.page-home .home-focus__head .ob-h2 {
  color: var(--light-ink);
  margin-top: 8px;
}

.page-home .home-focus__lede {
  color: var(--light-muted);
}

.page-home .home-focus__grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .home-focus__panel {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 20px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.page-home .home-focus__panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--lime) inset;
}

.page-home .home-focus__panel .ob-h3 {
  color: var(--light-ink);
  margin: 0 0 4px;
}

.page-home .home-focus__caption {
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--light-muted);
  padding-bottom: 10px;
}

.page-home .home-focus__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .home-focus__table th,
.page-home .home-focus__table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid #d6e3d8;
}

.page-home .home-focus__table thead th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light-muted);
  border-bottom: 1px solid var(--light-ink);
}

.page-home .home-focus__table tbody th {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--light-ink);
}

.page-home .home-focus__table tbody td b {
  font-family: var(--score);
  font-size: 18px;
  color: var(--light-ink);
}

.page-home .home-focus__table tbody tr:hover {
  background: #eef5ee;
}

.page-home .home-focus__more {
  margin: clamp(26px, 3vw, 36px) 0 0;
}

/* ---------- 归档 ---------- */
.page-home .home-archive {
  border-bottom: 1px solid var(--line);
}

.page-home .home-archive__head {
  max-width: 66ch;
  margin-bottom: clamp(28px, 4vw, 48px);
}

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

.page-home .home-archive__item {
  background: var(--deep);
  padding: 26px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background-color 140ms ease;
}

.page-home .home-archive__item:hover {
  background: var(--panel);
}

.page-home .home-archive__num {
  font-family: var(--score);
  font-size: clamp(46px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--lime);
}

.page-home .home-archive__item:nth-child(3) .home-archive__num {
  color: var(--gold);
}

.page-home .home-archive__item .ob-h3 {
  color: var(--text);
  margin: 0;
}

.page-home .home-archive__item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* ---------- 记录来源 ---------- */
.page-home .home-trust {
  background: var(--deep);
  border-bottom: 1px solid var(--line);
}

.page-home .home-trust__inner {
  display: grid;
  gap: clamp(26px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.page-home .home-trust__body h2 {
  margin-top: 8px;
}

.page-home .home-trust__facts {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-trust__facts li {
  background: var(--ink);
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.page-home .home-trust__facts b {
  font-family: var(--score);
  font-size: 22px;
  color: var(--lime);
  min-width: 54px;
}

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

.page-home .home-trust__media {
  margin: 0;
  border: 1px solid var(--line);
  transform: rotate(0.8deg);
  filter: contrast(1.15);
}

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

/* ---------- 三条路径 ---------- */
.page-home .home-paths {
  background: var(--ink);
}

.page-home .home-paths__head {
  max-width: 60ch;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.page-home .home-paths__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .home-path {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--mint);
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.page-home .home-path:hover,
.page-home .home-path:focus-within {
  transform: translateY(-2px);
  border-left-color: var(--lime);
  box-shadow: 0 0 0 1px var(--lime) inset;
}

.page-home .home-path__idx {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--lime);
}

.page-home .home-path .ob-h3 {
  color: var(--text);
  margin: 0;
}

.page-home .home-path p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.page-home .home-path .ob-btn {
  align-self: flex-start;
}

.page-home .home-paths__note {
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 16px 18px;
  border: 1px dashed var(--line);
  font-size: 14px;
  color: var(--muted);
  background: rgba(20, 57, 42, 0.35);
}

.page-home .home-paths__note a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .home-window__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .home-window__themes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .home-focus__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .home-archive__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .home-paths__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
  }
  .page-home .home-hero__rail {
    position: sticky;
    top: 96px;
  }
  .page-home .home-hero__num {
    font-size: clamp(120px, 14vw, 220px);
  }
  .page-home .home-loan__inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
  .page-home .home-loan__media {
    transform: rotate(-1.4deg) translateX(-14px);
  }
  .page-home .home-trust__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
  .page-home .home-window__track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .home-archive__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .home-paths__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .home-wall__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .page-home .home-wall__list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .page-home .home-wall__card {
    padding: 22px 16px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-entry,
  .page-home .home-wall__card,
  .page-home .home-path,
  .page-home .home-focus__panel,
  .page-home .home-window__themes a {
    transition: box-shadow 120ms ease, border-color 120ms ease, background-color 120ms ease;
    transform: none !important;
  }
  .page-home .home-wall__card:nth-child(2n),
  .page-home .home-wall__card:nth-child(3n),
  .page-home .home-hero__media,
  .page-home .home-loan__media,
  .page-home .home-trust__media {
    transform: none;
  }
  .page-home .home-entry:hover {
    transform: none;
  }
}
