.page-home {
  --hm-line: rgba(111, 231, 255, 0.16);
  --hm-card: rgba(14, 39, 64, 0.94);
  --hm-ink-soft: rgba(244, 246, 248, 0.78);
  background: var(--mist-100);
  color: var(--black);
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 56px;
  background:
    radial-gradient(120% 90% at 82% -12%, rgba(22, 58, 90, 0.95) 0%, rgba(7, 26, 43, 0) 60%),
    var(--ink-900);
  color: var(--mist-100);
}

.page-home .hm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, var(--hm-line) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, var(--hm-line) 0 1px, transparent 1px 88px);
  opacity: 0.55;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 84%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 84%);
}

.page-home .hm-hero__inner,
.page-home .hm-hero > .sk-container {
  position: relative;
  z-index: 1;
}

.page-home .hm-hero__eyebrow {
  color: var(--cyan);
  letter-spacing: 0.14em;
}

.page-home .hm-hero__title {
  margin: 14px 0 0;
  max-width: 20ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.page-home .hm-hero__lede {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: 1rem;
  line-height: var(--lh-sm);
  color: var(--hm-ink-soft);
}

.page-home .hm-hero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--gray);
}

.page-home .hm-hero__note::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(25, 195, 125, 0.16);
}

/* ---------- 双入口舞台 ---------- */
.page-home .hm-stage {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.page-home .hm-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .hm-entry {
  display: block;
  padding: 22px 22px 24px;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-m);
  background: linear-gradient(158deg, rgba(22, 58, 90, 0.82), var(--hm-card));
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .hm-entry:hover {
  transform: translateY(-2px);
}

.page-home .hm-entry__no {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  color: var(--gray);
  text-transform: uppercase;
}

.page-home .hm-entry__title {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.6vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--mist-100);
}

.page-home .hm-entry__desc {
  display: block;
  margin-top: 8px;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  color: var(--hm-ink-soft);
}

.page-home .hm-entry__cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--signal);
}

.page-home #entry-tablet:checked ~ .hm-entry--tablet,
.page-home #entry-web:checked ~ .hm-entry--web {
  border-color: var(--signal);
  box-shadow: 0 0 0 1px var(--signal), var(--shadow-2);
}

.page-home #entry-tablet:checked ~ .hm-entry--tablet .hm-entry__cue,
.page-home #entry-web:checked ~ .hm-entry--web .hm-entry__cue {
  color: var(--green);
}

.page-home #entry-tablet:focus-visible ~ .hm-entry--tablet,
.page-home #entry-web:focus-visible ~ .hm-entry--web {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-home .hm-scale {
  display: none;
}

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

.page-home .hm-preview {
  display: none;
  padding: 18px 20px;
  border-left: 2px solid var(--green);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  background: rgba(25, 195, 125, 0.08);
}

.page-home #entry-tablet:checked ~ .hm-previews .hm-preview--tablet,
.page-home #entry-web:checked ~ .hm-previews .hm-preview--web {
  display: block;
}

.page-home .hm-preview__text {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  color: var(--hm-ink-soft);
}

.page-home .hm-preview__link {
  display: inline-block;
  margin-top: 12px;
  font-size: var(--fs-sm);
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .hm-preview__link:hover {
  color: var(--white);
}

.page-home .hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-home .hm-hero__figure {
  margin: 34px 0 0;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.page-home .hm-hero__figure .sk-figure__cap {
  color: var(--gray);
  background: transparent;
}

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

/* ---------- 索引 ---------- */
.page-home .hm-h2 {
  margin: 12px 0 0;
  max-width: 26ch;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.8vw, 2.125rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.page-home .hm-h2--onDark {
  color: var(--mist-100);
}

.page-home .hm-lede {
  margin: 14px 0 0;
  max-width: 68ch;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  color: var(--gray-deep);
}

.page-home .hm-index__grid {
  display: grid;
  gap: 1px;
  margin-top: 26px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-m);
  background: var(--hairline);
  overflow: hidden;
}

.page-home .hm-index__item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "no arrow"
    "label label"
    "desc desc";
  gap: 6px 12px;
  padding: 22px 20px;
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  transition: background var(--dur) var(--ease);
}

.page-home .hm-index__item:hover {
  background: var(--mist-200);
}

.page-home .hm-index__no {
  grid-area: no;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--signal-deep);
}

.page-home .hm-index__arrow {
  grid-area: arrow;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--green);
}

.page-home .hm-index__label {
  grid-area: label;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
}

.page-home .hm-index__desc {
  grid-area: desc;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  color: var(--gray-deep);
}

/* ---------- 费用 ---------- */
.page-home .hm-fees {
  background: var(--mist-100);
}

.page-home .hm-fees__grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.page-home .hm-table {
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-m);
  background: var(--white);
  overflow: hidden;
}

.page-home .hm-table__scroll {
  overflow-x: auto;
}

.page-home .hm-table table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.page-home .hm-table__caption {
  padding: 14px 16px 10px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--gray-deep);
}

.page-home .hm-table thead th {
  padding: 11px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  background: var(--ink-800);
  color: var(--mist-100);
}

.page-home .hm-table tbody th,
.page-home .hm-table tbody td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--hairline);
  font-weight: 400;
}

.page-home .hm-table tbody th {
  font-weight: 600;
  color: var(--ink-900);
}

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

.page-home .hm-table tbody tr:nth-child(even) {
  background: var(--mist-100);
}

.page-home .hm-price {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink-900);
  white-space: nowrap;
}

.page-home .hm-unit {
  font-size: var(--fs-xs);
  color: var(--gray-deep);
  white-space: nowrap;
}

.page-home .hm-fees__side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-home .hm-facts {
  padding: 22px 20px;
  border-radius: var(--radius-m);
  background: linear-gradient(160deg, var(--ink-700), var(--ink-900));
  color: var(--mist-100);
}

.page-home .hm-facts__title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  color: var(--cyan);
}

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

.page-home .hm-facts__list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline-dark);
}

.page-home .hm-facts__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .hm-facts__num {
  flex: 0 0 auto;
  min-width: 62px;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cyan);
}

.page-home .hm-facts__label {
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--hm-ink-soft);
}

.page-home .hm-fees__cta {
  width: 100%;
  justify-content: center;
}

.page-home .hm-fees__figure {
  margin: 30px 0 0;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--white);
}

/* ---------- 旧版与收藏 ---------- */
.page-home .hm-legacy {
  background:
    linear-gradient(180deg, var(--ink-800), var(--ink-900));
  color: var(--mist-100);
}

.page-home .hm-legacy .sk-eyebrow {
  color: var(--cyan);
}

.page-home .hm-legacy__grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.page-home .hm-path {
  padding: 24px 22px 26px;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-m);
  background: linear-gradient(165deg, rgba(22, 58, 90, 0.6), rgba(14, 39, 64, 0.94));
}

.page-home .hm-path__no {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  color: var(--signal);
}

.page-home .hm-path__title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mist-100);
}

.page-home .hm-path__steps {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-home .hm-path__steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  color: var(--hm-ink-soft);
}

.page-home .hm-path__idx {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(25, 195, 125, 0.5);
  border-radius: 50%;
  background: rgba(25, 195, 125, 0.16);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  line-height: 1;
}

.page-home .hm-path__meta {
  margin: 18px 0 20px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--gray);
}

.page-home .hm-legacy__figure {
  max-width: 420px;
  margin: 28px auto 0;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.page-home .hm-legacy__figure .sk-figure__cap {
  color: var(--gray);
  background: transparent;
}

/* ---------- 支持与联系 ---------- */
.page-home .hm-support {
  background: var(--white);
  border-top: 1px solid var(--hairline);
}

.page-home .hm-support__grid {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

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

.page-home .hm-contact {
  padding: 22px 20px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-m);
  background: var(--mist-100);
}

.page-home .hm-contact__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  color: var(--link);
}

.page-home .hm-contact__list {
  margin: 0;
  display: grid;
  gap: 12px;
}

.page-home .hm-contact__row {
  display: grid;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--hairline-strong);
}

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

.page-home .hm-contact__row dt {
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--gray-deep);
}

.page-home .hm-contact__row dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--ink-900);
  word-break: break-word;
}

.page-home .hm-contact__note {
  margin: 16px 0 0;
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--gray-deep);
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .page-home .hm-hero {
    padding: 56px 0 64px;
  }

  .page-home .hm-index__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .hm-index__item {
    grid-template-areas:
      "no arrow"
      "label label"
      "desc desc";
    padding: 26px 24px;
  }

  .page-home .hm-legacy__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .page-home .hm-stage {
    grid-template-columns: 1.15fr 46px 1fr;
    align-items: stretch;
    gap: 0 18px;
  }

  .page-home .hm-scale {
    display: block;
    position: relative;
    background-image: repeating-linear-gradient(
      180deg,
      var(--hairline-dark) 0 1px,
      transparent 1px 18px
    );
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  }

  .page-home .hm-scale::before {
    content: "";
    position: absolute;
    top: 14%;
    bottom: 14%;
    left: 50%;
    width: 1px;
    background: rgba(111, 231, 255, 0.4);
  }

  .page-home .hm-previews {
    grid-column: 1 / -1;
    margin-top: 4px;
  }

  .page-home .hm-fees__grid {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }

  .page-home .hm-support__grid {
    grid-template-columns: 5fr 7fr;
    align-items: start;
    gap: 32px;
  }

  .page-home .hm-fees__figure {
    margin-top: 34px;
  }
}
