.page-home {
  --home-gap: 24px;
  background: var(--mist-50);
  color: var(--black-900);
}

.page-home img {
  max-width: 100%;
  height: auto;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  padding-block: clamp(24px, 5vw, 44px) clamp(20px, 4vw, 36px);
}

.page-home .home-hero__grid {
  display: grid;
  gap: var(--home-gap);
  align-items: start;
}

.page-home .home-hero__main {
  min-width: 0;
}

.page-home .home-eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-500);
}

.page-home .home-hero__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}

.page-home .home-hero__lead {
  margin: 16px 0 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink-700);
}

/* 状态卡 */
.page-home .home-status {
  position: relative;
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 90% at 100% 0%, #123A5C 0%, #0B2340 62%);
  color: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.page-home .home-status::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral-500), var(--sand-300));
}

.page-home .home-status__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-interface);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.page-home .home-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--palm-500);
  box-shadow: 0 0 0 4px rgba(47, 143, 107, 0.2);
}

.page-home .home-status__state {
  font-weight: 600;
  color: var(--white);
}

.page-home .home-status__meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.66);
}

.page-home .home-status__figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.page-home .home-figure__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(26px, 7vw, 38px);
  line-height: 1;
  color: var(--white);
}

.page-home .home-figure__cap {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .home-status__shot {
  display: block;
  width: 100%;
  margin-top: 20px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

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

.page-home .home-action {
  position: relative;
  text-decoration: none;
}

.page-home .home-action::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 9px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease);
}

.page-home .home-action:hover::after,
.page-home .home-action:focus-visible::after {
  transform: scaleX(1);
}

.page-home .home-action--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.page-home .home-action--ghost:hover,
.page-home .home-action--ghost:focus-visible {
  border-color: var(--coral-500);
  color: var(--white);
}

.page-home .home-action--quiet {
  color: rgba(255, 255, 255, 0.82);
}

.page-home .home-action--quiet:hover,
.page-home .home-action--quiet:focus-visible {
  color: var(--white);
}

/* 使用记录栏 */
.page-home .home-log {
  min-width: 0;
}

.page-home .home-log__panel {
  background: var(--white);
  border: var(--hair);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-island);
  overflow: hidden;
}

.page-home .home-log__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  background: var(--white);
  border-bottom: 1px solid var(--haze-200);
  transition: background-color 0.18s var(--ease);
}

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

.page-home .home-log__bar:hover {
  background: var(--mist-50);
}

.page-home .home-log__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral-500);
  flex: 0 0 auto;
}

.page-home .home-log__title {
  font-family: var(--font-interface);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-900);
}

.page-home .home-log__count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-700);
}

.page-home .home-log__bar::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-right: 1.5px solid var(--ink-700);
  border-bottom: 1.5px solid var(--ink-700);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
}

.page-home .home-log__panel[open] .home-log__bar::after {
  transform: rotate(-135deg);
}

.page-home .home-log__inner {
  padding: 16px 18px 18px;
}

.page-home .home-log__lead {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-700);
}

.page-home .home-log__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .home-log__item {
  padding-left: 14px;
  border-left: 2px solid var(--sand-300);
}

.page-home .home-log__k {
  display: block;
  font-family: var(--font-interface);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
}

.page-home .home-log__v {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.68;
  color: var(--ink-700);
}

.page-home .home-log__shot {
  display: block;
  width: 100%;
  margin-top: 16px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: linear-gradient(170deg, var(--mist-50), var(--sand-300));
}

.page-home .home-log__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--coral-500);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s var(--ease);
}

.page-home .home-log__link:hover,
.page-home .home-log__link:focus-visible {
  border-bottom-color: var(--coral-500);
}

/* ---------- 通用章节头 ---------- */
.page-home .home-section-head {
  max-width: 720px;
}

.page-home .home-section-head h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 4.4vw, 38px);
  line-height: 1.26;
  color: var(--ink-900);
}

.page-home .home-section-head p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink-700);
}

/* ---------- 费用与权益 ---------- */
.page-home .home-fees,
.page-home .home-migrate,
.page-home .home-trust {
  padding-block: clamp(40px, 8vw, 72px);
}

.page-home .home-tiers {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.page-home .home-tier {
  padding: 20px;
  border: var(--hair);
  border-top: 3px solid var(--haze-200);
  border-radius: var(--radius-md);
  background: var(--white);
}

.page-home .home-tier:nth-child(2) {
  border-top-color: var(--coral-500);
}

.page-home .home-tier:nth-child(3) {
  border-top-color: var(--palm-500);
}

.page-home .home-tier__name {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-family: var(--font-interface);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
}

.page-home .home-tier__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-700);
}

.page-home .home-tier__desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-700);
}

.page-home .home-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border: var(--hair);
  border-radius: var(--radius-md);
  background: var(--white);
}

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

.page-home .home-table__caption {
  padding: 14px 16px 0;
  text-align: left;
  font-family: var(--font-interface);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-700);
}

.page-home .home-table th,
.page-home .home-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--sand-300);
  vertical-align: top;
}

.page-home .home-table thead th {
  font-family: var(--font-interface);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-900);
  background: var(--mist-50);
}

.page-home .home-table tbody th {
  font-family: var(--font-interface);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
  white-space: nowrap;
}

.page-home .home-table tbody td {
  color: var(--ink-700);
  line-height: 1.6;
}

.page-home .home-table tbody tr {
  transition: background-color 0.18s var(--ease);
}

.page-home .home-table tbody tr:hover {
  background: var(--coral-100);
}

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

.page-home .home-fees__foot {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-700);
}

.page-home .home-fees__foot a {
  color: var(--coral-500);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 107, 78, 0.42);
  transition: border-color 0.18s var(--ease);
}

.page-home .home-fees__foot a:hover,
.page-home .home-fees__foot a:focus-visible {
  border-bottom-color: var(--coral-500);
}

/* ---------- 换设备迁移 ---------- */
.page-home .home-steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-home .home-step {
  position: relative;
  padding: 18px 0;
  border-top: 1px solid var(--haze-200);
}

.page-home .home-step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(28px, 6vw, 38px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-700);
}

.page-home .home-step h3 {
  margin: 10px 0 0;
  font-family: var(--font-interface);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
}

.page-home .home-step p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-700);
}

.page-home .home-migrate__figure {
  margin: 28px 0 0;
}

.page-home .home-migrate__figure img {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: linear-gradient(160deg, var(--mist-50), var(--sand-300));
}

.page-home .home-migrate__figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.68;
  color: var(--ink-700);
}

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

/* ---------- 更新记录 ---------- */
.page-home .home-updates {
  position: relative;
  overflow: hidden;
  padding-block: clamp(44px, 9vw, 80px);
  background: var(--ink-900);
  color: var(--white);
}

.page-home .home-updates__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
  pointer-events: none;
}

.page-home .home-updates__inner {
  position: relative;
  z-index: 1;
}

.page-home .home-updates .home-eyebrow {
  color: var(--sand-300);
}

.page-home .home-updates .home-section-head h2 {
  color: var(--white);
}

.page-home .home-updates .home-section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.page-home .home-updates__list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.page-home .home-updates__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 6px 14px;
  padding: 16px 12px 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.page-home .home-updates__idx {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--sand-300);
}

.page-home .home-updates__tag {
  justify-self: start;
  align-self: center;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
  font-family: var(--font-interface);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.86);
  white-space: nowrap;
}

.page-home .home-updates__item p {
  grid-column: 2;
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.86);
}

.page-home .home-updates__item--key {
  background: linear-gradient(90deg, rgba(242, 107, 78, 0.18), rgba(242, 107, 78, 0) 72%);
  border-top-color: rgba(242, 107, 78, 0.55);
}

.page-home .home-updates__item--key .home-updates__tag {
  background: var(--coral-500);
  border-color: var(--coral-500);
  color: var(--white);
}

.page-home .home-updates__item--key p {
  color: var(--white);
}

.page-home .home-updates__more {
  margin: 26px 0 0;
}

/* ---------- 联系与信任 ---------- */
.page-home .home-trust__grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

.page-home .home-trust__copy h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 4.4vw, 36px);
  line-height: 1.26;
  color: var(--ink-900);
}

.page-home .home-trust__body {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-700);
}

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

.page-home .home-facts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-facts li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--haze-200);
}

.page-home .home-facts li:first-child {
  border-top: 1px solid var(--haze-200);
}

.page-home .home-facts__num {
  flex: 0 0 auto;
  min-width: 84px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--ink-900);
}

.page-home .home-facts__txt {
  font-size: 14px;
  line-height: 1.66;
  color: var(--ink-700);
}

/* ---------- 平板与桌面 ---------- */
@media (min-width: 720px) {
  .page-home .home-tiers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .home-updates__item {
    grid-template-columns: 56px 168px minmax(0, 1fr);
    align-items: baseline;
    padding-right: 0;
  }

  .page-home .home-updates__item p {
    grid-column: 3;
  }
}

@media (min-width: 900px) {
  .page-home .home-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
  }

  .page-home .home-step {
    padding: 18px 0 0;
    border-top: 2px solid var(--sand-300);
  }

  .page-home .home-step::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 34px;
    height: 2px;
    background: var(--palm-500);
  }

  .page-home .home-trust__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
  }
}

@media (min-width: 1080px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 68fr) minmax(0, 24fr);
    gap: 32px;
  }

  .page-home .home-log {
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }

  .page-home .home-hero__lead {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-action::after,
  .page-home .home-log__bar::after,
  .page-home .home-log__link,
  .page-home .home-table tbody tr,
  .page-home .home-log__bar {
    transition: none;
  }
}
