.page-home {
  --home-pad-x: clamp(20px, 4vw, 48px);
  --home-chapter-y: clamp(56px, 8vw, 120px);
  color: var(--vt-text);
  font-family: var(--vt-font-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 框景首屏 ---------- */
.page-home .home-hero {
  padding: clamp(20px, 4vw, 56px) var(--home-pad-x) clamp(40px, 6vw, 80px);
}

.page-home .home-hero__frame {
  position: relative;
  max-width: var(--vt-max);
  margin: 0 auto;
  border: 1px solid var(--vt-strong);
  background:
    linear-gradient(180deg, rgba(28, 39, 56, 0.55) 0%, rgba(5, 7, 12, 0) 55%),
    var(--vt-raised);
  padding: clamp(32px, 5vw, 64px) clamp(22px, 4vw, 56px) clamp(48px, 5vw, 72px);
  overflow: hidden;
}

.page-home .home-hero__scale {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--vt-strong) 0 1px,
    transparent 1px 22px
  );
  opacity: 0.55;
  pointer-events: none;
}

.page-home .home-hero__corner {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 1px solid var(--vt-confirmed);
  z-index: 2;
}

.page-home .home-hero__corner--tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.page-home .home-hero__corner--tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.page-home .home-hero__corner--bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.page-home .home-hero__corner--br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-home .home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 6px 12px;
  border: 1px solid var(--vt-grid);
  font-family: var(--vt-font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--vt-muted);
  text-transform: uppercase;
}

.page-home .home-hero__title {
  margin: 0 0 24px;
  font-family: var(--vt-font-display);
  font-size: clamp(32px, 5.8vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--vt-text);
}

.page-home .home-hero__lede {
  max-width: 36em;
  margin: 0 0 30px;
  font-size: clamp(15.5px, 1.15vw, 17px);
  line-height: 1.85;
  color: var(--vt-text);
  opacity: 0.88;
}

.page-home .home-hero__status {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13px;
  color: var(--vt-muted);
}

.page-home .home-hero__status li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-home .home-hero__status li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vt-confirmed);
  box-shadow: 0 0 8px rgba(59, 224, 210, 0.6);
}

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

.page-home .home-hero__media {
  margin: 0;
  position: relative;
  border: 1px solid var(--vt-grid);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

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

.page-home .home-hero__meta {
  display: none;
  position: absolute;
  right: 18px;
  bottom: 16px;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: rgba(5, 7, 12, 0.72);
  border: 1px solid var(--vt-grid);
  font-family: var(--vt-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--vt-muted);
  z-index: 3;
}

.page-home .home-hero__meta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vt-confirmed);
  box-shadow: 0 0 10px rgba(59, 224, 210, 0.8);
  animation: page-home-pulse 2.6s ease-in-out infinite;
}

@keyframes page-home-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (min-width: 980px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    align-items: stretch;
  }
  .page-home .home-hero__media {
    aspect-ratio: auto;
    min-height: 380px;
  }
}

@media (min-width: 760px) {
  .page-home .home-hero__meta { display: inline-flex; }
}

/* ---------- 章节骨架 ---------- */
.page-home .home-chapter {
  position: relative;
  padding: var(--home-chapter-y) var(--home-pad-x);
  scroll-margin-top: 96px;
}

.page-home .home-chapter + .home-chapter {
  border-top: 1px solid var(--vt-grid);
}

.page-home .home-chapter__head {
  display: grid;
  gap: 14px;
  margin-bottom: 44px;
}

.page-home .home-chapter__num {
  display: inline-block;
  width: max-content;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--vt-confirmed-dim);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--vt-confirmed);
}

.page-home .home-chapter__title {
  margin: 0;
  font-family: var(--vt-font-display);
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--vt-text);
}

.page-home .home-chapter__lede {
  max-width: 46em;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--vt-muted);
}

.page-home .home-chapter__footnote {
  margin: 40px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--vt-grid);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--vt-muted);
}

.page-home .home-chapter__head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.page-home .home-chapter__head--center .home-chapter__lede {
  text-align: center;
}

@media (min-width: 900px) {
  .page-home .home-chapter__head:not(.home-chapter__head--center) {
    grid-template-columns: 84px minmax(0, 1fr);
    column-gap: 0;
    row-gap: 18px;
    align-items: start;
  }
  .page-home .home-chapter__head:not(.home-chapter__head--center) .home-chapter__num {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin-top: 8px;
  }
  .page-home .home-chapter__head:not(.home-chapter__head--center) .home-chapter__title {
    grid-column: 2;
    grid-row: 1;
  }
  .page-home .home-chapter__head:not(.home-chapter__head--center) .home-chapter__lede {
    grid-column: 2;
    grid-row: 2;
  }
}

/* ---------- 01 数字锚点 ---------- */
.page-home .home-anchors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px 32px;
}

.page-home .home-anchor__num {
  display: inline-block;
  padding-right: 6px;
  font-family: var(--vt-font-mono);
  font-size: clamp(44px, 5.6vw, 64px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--vt-confirmed);
  background: linear-gradient(180deg, transparent 0 62%, rgba(59, 224, 210, 0.16) 62% 100%);
}

.page-home .home-anchor__unit {
  display: inline-block;
  margin-left: 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--vt-muted);
}

.page-home .home-anchor__note {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--vt-muted);
}

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

@media (min-width: 1040px) {
  .page-home .home-anchors {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 8px;
  }
  .page-home .home-anchor {
    padding: 6px 28px;
    border-left: 1px solid var(--vt-grid);
  }
  .page-home .home-anchor:first-child {
    border-left: 0;
    padding-left: 0;
  }
}

@media (hover: hover) and (min-width: 1040px) {
  .page-home .home-anchor__note {
    opacity: 0.62;
    transition: opacity 0.26s ease;
  }
  .page-home .home-anchor:hover .home-anchor__note {
    opacity: 1;
  }
}

/* ---------- 通用链接 ---------- */
.page-home .home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vt-confirmed);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid var(--vt-confirmed-dim);
  padding-bottom: 3px;
  transition: border-color 0.2s ease;
}

.page-home .home-link:hover {
  border-color: var(--vt-confirmed);
}

/* ---------- 02 多链自持 ---------- */
.page-home .home-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}

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

.page-home .home-split__copy .home-chapter__title {
  margin-bottom: 24px;
}

.page-home .home-split__copy p {
  max-width: 38em;
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--vt-text);
  opacity: 0.88;
}

.page-home .home-split__media {
  margin: 0;
  align-self: start;
}

.page-home .home-split__media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--vt-grid);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .home-split__media figcaption {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--vt-muted);
}

@media (min-width: 920px) {
  .page-home .home-split {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 64px;
    align-items: start;
  }
}

/* ---------- 03 安全中心 ---------- */
.page-home .home-widefig {
  margin: 48px 0;
}

.page-home .home-widefig img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--vt-grid);
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-home .home-widefig figcaption {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--vt-muted);
  text-align: center;
}

.page-home .home-security__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin: 0;
}

.page-home .home-security__fact h3 {
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--vt-grid);
  font-family: var(--vt-font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--vt-text);
}

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

@media (min-width: 780px) {
  .page-home .home-security__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }
}

/* ---------- 04 手续费 ---------- */
.page-home .home-fee {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin: 0 0 48px;
}

.page-home .home-fee__state {
  padding: 28px 24px;
  border: 1px solid var(--vt-grid);
  background: var(--vt-raised);
}

.page-home .home-fee__state--pending {
  border-color: rgba(255, 174, 71, 0.42);
  background:
    linear-gradient(180deg, rgba(166, 96, 27, 0.16) 0%, rgba(11, 18, 32, 0) 70%),
    var(--vt-raised);
}

.page-home .home-fee__state--confirmed {
  border-color: rgba(59, 224, 210, 0.42);
  background:
    linear-gradient(180deg, rgba(20, 134, 127, 0.16) 0%, rgba(11, 18, 32, 0) 70%),
    var(--vt-raised);
}

.page-home .home-fee__pill {
  display: inline-block;
  margin-bottom: 18px;
  padding: 4px 11px;
  border: 1px solid currentColor;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.page-home .home-fee__state--pending .home-fee__pill { color: var(--vt-pending); }
.page-home .home-fee__state--confirmed .home-fee__pill { color: var(--vt-confirmed); }

.page-home .home-fee__state h3 {
  margin: 0 0 12px;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--vt-text);
}

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

.page-home .home-fee__kv {
  border-top: 1px solid var(--vt-grid);
}

@media (min-width: 820px) {
  .page-home .home-fee {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

/* ---------- 05 版本时间线 ---------- */
.page-home .home-timeline {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 0;
}

.page-home .home-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--vt-grid);
}

.page-home .home-timeline__item {
  position: relative;
  padding: 0 0 36px 36px;
}

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

.page-home .home-timeline__mark {
  position: absolute;
  left: 0;
  top: 5px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--vt-base);
  border: 1px solid var(--vt-strong);
  box-sizing: border-box;
}

.page-home .home-timeline__item--live .home-timeline__mark {
  background: var(--vt-confirmed);
  border-color: var(--vt-confirmed);
  box-shadow: 0 0 0 4px rgba(59, 224, 210, 0.16);
}

.page-home .home-timeline__ver {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--vt-confirmed);
}

.page-home .home-timeline__body h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--vt-text);
}

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

/* ---------- 06 本地服务 ---------- */
.page-home .home-local {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

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

.page-home .home-local__media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--vt-grid);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

.page-home .home-local__copy .home-chapter__title {
  margin-bottom: 22px;
}

.page-home .home-local__copy p {
  max-width: 42em;
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--vt-text);
  opacity: 0.88;
}

.page-home .home-local__paths {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--vt-grid);
}

.page-home .home-path {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-areas:
    "idx label"
    ". desc";
  row-gap: 3px;
  align-items: center;
  column-gap: 12px;
  padding: 15px 8px;
  border-bottom: 1px solid var(--vt-grid);
  text-decoration: none;
  color: var(--vt-text);
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.page-home .home-path:hover {
  background: rgba(59, 224, 210, 0.05);
  padding-left: 16px;
}

.page-home .home-path__idx {
  grid-area: idx;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--vt-confirmed);
}

.page-home .home-path__label {
  grid-area: label;
  font-size: 15px;
  font-weight: 600;
}

.page-home .home-path__desc {
  grid-area: desc;
  font-size: 12.5px;
  color: var(--vt-muted);
}

@media (min-width: 600px) {
  .page-home .home-path {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    grid-template-areas: "idx label desc";
    column-gap: 16px;
  }
  .page-home .home-path__desc {
    white-space: nowrap;
  }
}

@media (min-width: 920px) {
  .page-home .home-local {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
  }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__meta-dot {
    animation: none;
  }
  .page-home .home-path,
  .page-home .home-anchor__note,
  .page-home .home-link {
    transition: none;
  }
}
</main>
