.page-home {
  --home-gap: clamp(16px, 2.4vw, 28px);
  --home-line: 1px solid var(--line-soft);
  background: var(--ink);
  color: var(--paper);
  padding-bottom: clamp(48px, 8vw, 96px);
}

.page-home .home-crumb {
  padding-top: clamp(20px, 3vw, 32px);
  font-size: 13px;
  letter-spacing: .02em;
}

/* ---------- 首屏 ---------- */
.page-home .home-stage {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(20px, 3vw, 36px) 0 clamp(32px, 5vw, 64px);
}

.page-home .home-hero__kicker {
  color: var(--gold);
  margin-bottom: clamp(12px, 2vw, 20px);
}

.page-home .home-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 9.4vw, 104px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0 0 clamp(16px, 2.4vw, 26px);
  color: var(--paper);
}

.page-home .home-hero__accent {
  position: relative;
  display: inline-block;
  color: var(--gold-bright);
}

.page-home .home-hero__accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.14em;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 74, 0));
}

.page-home .home-hero__lead {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
  color: rgba(245, 241, 230, .82);
  max-width: 34em;
  margin: 0 0 clamp(18px, 2.6vw, 26px);
}

.page-home .home-pulse {
  display: block;
  width: 100%;
  height: 44px;
  margin-bottom: clamp(18px, 2.6vw, 26px);
  opacity: .9;
}

.page-home .home-pulse__line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 0;
  animation: home-pulse-run 9s linear infinite;
}

@keyframes home-pulse-run {
  0%   { stroke-dashoffset: 1200; }
  45%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}

.page-home .home-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 clamp(22px, 3vw, 30px);
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-home .home-stats__item {
  background: var(--ink-2);
  padding: 14px 16px;
}

.page-home .home-stats__item dt {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mute);
  margin-bottom: 6px;
}

.page-home .home-stats__num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1;
}

.page-home .home-stats__unit {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--mute);
  margin-left: 4px;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(26px, 4vw, 40px);
}

.page-home .home-hero__figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
  box-shadow: var(--shadow);
}

.page-home .home-hero__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-home .home-hero__figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 18px 12px;
  font-size: 12px;
  color: rgba(245, 241, 230, .78);
  background: linear-gradient(180deg, rgba(10, 36, 31, 0), rgba(10, 36, 31, .92));
}

/* ---------- 右侧信息轨 ---------- */
.page-home .home-rail__frame {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, var(--ink-2), var(--ink));
  padding: clamp(18px, 2.4vw, 26px);
  box-shadow: var(--shadow);
}

.page-home .home-rail__kicker {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--mute);
  margin: 0 0 10px;
}

.page-home .home-rail__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.14;
  margin: 0 0 16px;
  color: var(--paper);
}

.page-home .home-rail__figure {
  margin: 0 0 16px;
  border-radius: 50%;
  overflow: hidden;
  width: 108px;
  height: 108px;
  border: 1px solid var(--line);
}

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

.page-home .home-rail__text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 241, 230, .8);
  margin: 0 0 14px;
}

.page-home .home-rail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.page-home .home-rail__meta li {
  font-size: 12px;
  padding: 5px 10px;
  border: 1px solid var(--ink-3);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(28, 81, 67, .5);
}

.page-home .home-rail__cta {
  display: inline-block;
  margin-bottom: 18px;
}

.page-home .home-rail__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: var(--home-line);
  padding-top: 14px;
}

.page-home .home-rail__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 2px;
  font-size: 13.5px;
  color: rgba(245, 241, 230, .84);
  text-decoration: none;
  border-bottom: 1px dashed rgba(201, 162, 74, .18);
  transition: color .18s ease, padding-left .18s ease;
}

.page-home .home-rail__links a::after {
  content: "→";
  font-family: var(--font-mono);
  color: var(--gold);
}

.page-home .home-rail__links a:hover,
.page-home .home-rail__links a:focus-visible {
  color: var(--gold-bright);
  padding-left: 6px;
}

/* ---------- 通用区块 ---------- */
.page-home .home-section {
  border-top: 1px solid rgba(201, 162, 74, .22);
  padding: clamp(36px, 5.5vw, 72px) 0;
}

.page-home .home-section__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: clamp(16px, 2.4vw, 24px);
}

.page-home .home-section__num {
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--gold);
  letter-spacing: .12em;
  flex: none;
  padding-top: 6px;
}

.page-home .home-section__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.6vw, 42px);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--paper);
}

.page-home .home-section__lead {
  color: rgba(245, 241, 230, .82);
  font-size: clamp(15px, 1.35vw, 17.5px);
  line-height: 1.8;
  max-width: 46em;
  margin: 0 0 clamp(20px, 3vw, 32px);
}

.page-home .home-section__foot {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--mute);
  margin: clamp(18px, 2.6vw, 26px) 0 0;
}

.page-home .home-section__foot a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 01 使用记录筛选 ---------- */
.page-home .home-filters {
  display: grid;
  gap: var(--home-gap);
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-home .home-filters__item {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--ink-2);
  padding: 20px 18px;
  transition: border-color .2s ease, transform .2s ease;
}

.page-home .home-filters__item:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.page-home .home-filters__tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  line-height: 24px;
  text-align: center;
  margin-bottom: 12px;
}

.page-home .home-filters__item h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--paper);
}

.page-home .home-filters__item p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(245, 241, 230, .74);
  margin: 0;
}

/* ---------- 02 双入口 ---------- */
.page-home .home-entries__figure {
  margin: 0 0 clamp(22px, 3vw, 34px);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--ink-2);
}

.page-home .home-entries__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .home-entries {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-entry {
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--gold);
  border-radius: var(--r-md);
  background: var(--ink-2);
  padding: clamp(18px, 2.4vw, 26px);
  transition: transform .2s ease, border-color .2s ease;
}

.page-home .home-entry:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.page-home .home-entry__index {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--data-purple);
  margin: 0 0 10px;
}

.page-home .home-entry__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(21px, 2.4vw, 26px);
  margin: 0 0 10px;
  color: var(--paper);
}

.page-home .home-entry__text {
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(245, 241, 230, .8);
  margin: 0 0 14px;
}

.page-home .home-entry__list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 7px;
}

.page-home .home-entry__list li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(245, 241, 230, .7);
}

.page-home .home-entry__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--data-teal);
}

.page-home .home-entry__link {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.page-home .home-entry__link:hover,
.page-home .home-entry__link:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--gold-bright);
}

/* ---------- 03 评测维度 ---------- */
.page-home .home-dims {
  list-style: none;
  counter-reset: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-home .home-dims__item {
  background: var(--ink-2);
  padding: 18px 18px 20px;
  transition: background .2s ease;
}

.page-home .home-dims__item:hover {
  background: var(--ink-3);
}

.page-home .home-dims__no {
  display: block;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--data-blue);
  margin-bottom: 8px;
}

.page-home .home-dims__item h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 16.5px;
  margin: 0 0 6px;
  color: var(--paper);
}

.page-home .home-dims__item p {
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(245, 241, 230, .72);
  margin: 0;
}

/* ---------- 04 NW4W 对比 ---------- */
.page-home .home-nw4w__figure {
  margin: 0 0 clamp(22px, 3vw, 32px);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--ink-2);
}

.page-home .home-nw4w__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 12 / 7;
  object-fit: cover;
}

.page-home .home-compare {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--ink-2);
}

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

.page-home .home-compare__table thead th {
  text-align: left;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold-bright);
  background: rgba(28, 81, 67, .55);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.page-home .home-compare__beta {
  color: var(--paper);
}

.page-home .home-compare__table tbody th {
  text-align: left;
  padding: 14px 16px;
  font-weight: 700;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--paper);
  background: rgba(28, 81, 67, .28);
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}

.page-home .home-compare__table tbody td {
  padding: 14px 16px;
  line-height: 1.65;
  color: rgba(245, 241, 230, .78);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .home-compare__table tbody tr:last-child th,
.page-home .home-compare__table tbody tr:last-child td {
  border-bottom: none;
}

.page-home .home-compare__table tbody tr:hover td {
  background: rgba(201, 162, 74, .07);
}

/* ---------- 05 更新记录 ---------- */
.page-home .home-latest {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  padding: clamp(20px, 2.8vw, 30px);
  margin-bottom: clamp(24px, 3.4vw, 36px);
  box-shadow: var(--shadow);
}

.page-home .home-latest__issue {
  font-size: 11.5px;
  letter-spacing: .2em;
  color: var(--data-teal);
  margin: 0 0 10px;
}

.page-home .home-latest__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 2.4vw, 26px);
  line-height: 1.35;
  margin: 0 0 12px;
  color: var(--paper);
}

.page-home .home-latest__text {
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(245, 241, 230, .8);
  margin: 0 0 16px;
}

.page-home .home-latest__link {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.page-home .home-latest__link:hover,
.page-home .home-latest__link:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--gold-bright);
}

.page-home .home-issues__label {
  color: var(--mute);
  font-size: 11.5px;
  margin: 0 0 12px;
}

.page-home .home-issues {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0 0 10px;
  margin: 0;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-home .home-issues__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 118px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--ink-2);
  padding: 14px 16px;
  transition: border-color .2s ease, transform .2s ease;
}

.page-home .home-issues__item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.page-home .home-issues__item span {
  display: block;
  font-size: 14.5px;
  color: var(--paper);
  margin-bottom: 6px;
}

.page-home .home-issues__item small {
  font-size: 12px;
  color: var(--mute);
}

.page-home .home-issues::-webkit-scrollbar {
  height: 4px;
}

.page-home .home-issues::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}

/* ---------- 06 联系 ---------- */
.page-home .home-contact {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-contact__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--ink-2);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}

.page-home .home-contact__card:hover,
.page-home .home-contact__card:focus-visible {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.page-home .home-contact__card--static:hover {
  transform: none;
  border-color: var(--line-soft);
}

.page-home .home-contact__label {
  color: var(--gold);
  font-size: 11.5px;
}

.page-home .home-contact__value {
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--paper);
  word-break: break-all;
}

.page-home .home-contact__hint {
  font-size: 12.5px;
  color: var(--mute);
  text-decoration: none;
}

.page-home .home-contact__hint--link {
  color: var(--gold-bright);
  border-bottom: 1px solid var(--line);
  align-self: flex-start;
  padding-bottom: 1px;
}

.page-home .home-contact__hint--link:hover {
  color: var(--paper);
  border-bottom-color: var(--gold-bright);
}

/* ---------- 焦点可见 ---------- */
.page-home a:focus-visible,
.page-home button:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 平板以上 ---------- */
@media (min-width: 700px) {
  .page-home .home-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

  .page-home .home-contact__card--static {
    grid-column: 1 / -1;
  }
}

/* ---------- 桌面：7/5 非对称 ---------- */
@media (min-width: 960px) {
  .page-home .home-stage {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: clamp(32px, 4vw, 64px);
  }

  .page-home .home-rail {
    position: sticky;
    top: 100px;
  }

  .page-home .home-entries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .page-home .home-entry--offset {
    margin-top: -36px;
  }

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

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

  .page-home .home-contact__card--static {
    grid-column: auto;
  }

  .page-home .home-section__lead {
    max-width: 52em;
  }
}

@media (min-width: 1200px) {
  .page-home .home-section {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: clamp(16px, 2vw, 32px);
  }

  .page-home .home-section__head {
    grid-column: 1 / -1;
  }

  .page-home .home-section__num {
    position: sticky;
    top: 108px;
    align-self: start;
  }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .home-pulse__line {
    animation: none;
    stroke-dashoffset: 0;
  }

  .page-home .home-entry,
  .page-home .home-filters__item,
  .page-home .home-issues__item,
  .page-home .home-contact__card,
  .page-home .home-rail__links a {
    transition: color .18s ease, border-color .18s ease;
  }

  .page-home .home-entry:hover,
  .page-home .home-filters__item:hover,
  .page-home .home-issues__item:hover,
  .page-home .home-contact__card:hover {
    transform: none;
  }
}
