.page-home {
  --hm-radius: 3px;
  --hm-grid-line: rgba(243, 237, 226, 0.05);
  --hm-pad-y: 54px;
  background-color: var(--ink-950);
  background-image:
    linear-gradient(to right, var(--hm-grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hm-grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  color: var(--paper-50);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home .section {
  padding-top: var(--hm-pad-y);
  padding-bottom: var(--hm-pad-y);
}

.page-home .section__head {
  max-width: 780px;
}

.page-home .section__index {
  display: block;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--orange-500);
  margin-bottom: 10px;
}

.page-home .section__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0;
}

.page-home .section__lead {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(243, 237, 226, 0.76);
  max-width: 58ch;
}

.page-home .meter {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(243, 237, 226, 0.12);
  overflow: hidden;
}

.page-home .meter__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan-400), var(--orange-500));
}

.hm-fill--38 { width: 38%; }
.hm-fill--46 { width: 46%; }
.hm-fill--48 { width: 48%; }
.hm-fill--50 { width: 50%; }
.hm-fill--52 { width: 52%; }
.hm-fill--55 { width: 55%; }
.hm-fill--58 { width: 58%; }
.hm-fill--62 { width: 62%; }
.hm-fill--64 { width: 64%; }
.hm-fill--68 { width: 68%; }
.hm-fill--82 { width: 82%; }
.hm-fill--84 { width: 84%; }
.hm-fill--88 { width: 88%; }
.hm-fill--90 { width: 90%; }
.hm-fill--92 { width: 92%; }
.hm-fill--96 { width: 96%; }
.hm-fill--100 { width: 100%; }

/* 上下文条 */
.hm-context {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 10, 22, 0.78);
}

.hm-context__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--slate-400);
}

.hm-context__brand {
  color: var(--paper-50);
  font-weight: 500;
  letter-spacing: 0.1em;
}

.hm-context__divider {
  width: 22px;
  height: 1px;
  background: var(--cyan-400);
  opacity: 0.75;
}

.hm-context__crumb {
  color: var(--paper-100);
}

.hm-context__meta {
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* 首屏 */
.hm-hero {
  position: relative;
  padding: 44px 0 60px;
  overflow: hidden;
}

.hm-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.32) 60%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.32) 60%, rgba(0, 0, 0, 0) 100%);
}

.hm-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
}

.hm-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cyan-400);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.hm-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(255, 106, 43, 0.18);
}

.hm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(47, 227, 208, 0.16);
}

.hm-hero__title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(2.35rem, 9vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 18px 0 0;
}

.hm-hero__title-alt {
  display: block;
  font-weight: 700;
  font-size: 0.5em;
  letter-spacing: 0.02em;
  color: var(--paper-100);
  margin-top: 12px;
}

.hm-hero__desc {
  margin-top: 20px;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(243, 237, 226, 0.82);
}

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

.hm-hero__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 30px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--slate-400);
}

.hm-hero__facts .mono {
  color: var(--paper-50);
  font-size: 14px;
  margin-right: 4px;
}

/* 玻璃状态面板 */
.hm-console {
  display: grid;
  gap: 12px;
}

.hm-glass {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--hm-radius);
  background: linear-gradient(160deg, rgba(18, 32, 60, 0.74), rgba(10, 18, 38, 0.52));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hm-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 1px;
  background: var(--cyan-400);
  opacity: 0.85;
}

.hm-console__dial {
  padding: 22px 20px 18px;
}

.hm-dial {
  display: block;
  width: min(196px, 62%);
  margin: 0 auto 12px;
}

.hm-dial__arc {
  filter: drop-shadow(0 0 6px rgba(47, 227, 208, 0.5));
}

.hm-dial__num {
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 600;
  fill: var(--paper-50);
}

.hm-dial__cap {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  fill: var(--slate-400);
}

.hm-glass__label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--slate-400);
}

.hm-glass__value {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.1;
  margin-top: 6px;
  color: var(--paper-50);
}

.hm-glass__note {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(243, 237, 226, 0.7);
}

.hm-glass__meter {
  margin-top: 14px;
}

/* 横向滚动带 */
.page-home .band {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.page-home .band::-webkit-scrollbar {
  display: none;
}

.page-home .band.is-dragging {
  cursor: grabbing;
}

.page-home .band__track {
  display: flex;
  gap: 12px;
  padding: 6px 0 14px;
  scroll-snap-type: x mandatory;
}

.hm-band .band__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* 日期带 */
.hm-dates .hm-band {
  margin-top: 26px;
}

.hm-day {
  width: 208px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--hm-radius);
  background: var(--ink-700);
}

.hm-day__label {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--paper-50);
}

.hm-day__meter {
  margin: 12px 0 10px;
}

.hm-day__density {
  font-size: 12.5px;
  color: var(--cyan-400);
  letter-spacing: 0.02em;
}

.hm-day__note {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--slate-400);
}

.hm-bandframe {
  margin: 30px 0 0;
}

/* 项目卡 */
.hm-sports__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.hm-sport {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--hm-radius);
  background: var(--ink-700);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.hm-sport::after {
  content: "";
  position: absolute;
  top: -34px;
  right: -34px;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(47, 227, 208, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.hm-sport__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.05em;
  margin: 0;
}

.hm-sport__meta {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--slate-400);
}

.hm-sport__meter {
  margin-top: 16px;
  opacity: 1;
  transform-origin: left center;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

/* 两步路径 */
.hm-path__grid {
  display: grid;
  gap: 30px;
}

.hm-steps {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.hm-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line-soft);
}

.hm-step:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.hm-step__num {
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  color: var(--orange-500);
}

.hm-step__title {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hm-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(243, 237, 226, 0.78);
}

.hm-path__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 10px 16px;
  border: 1px solid rgba(47, 227, 208, 0.35);
  border-radius: 999px;
  font-size: 13px;
  color: var(--cyan-400);
}

.hm-path__figure {
  margin: 0;
}

/* 同步面板 */
.hm-sync__pair {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.hm-device {
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--hm-radius);
  background: var(--ink-700);
}

.hm-device__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.hm-device__time {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--cyan-400);
}

.hm-device__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.hm-device__list li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(243, 237, 226, 0.82);
}

.hm-device__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--violet-500);
}

.hm-sync__note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--slate-400);
}

/* 运转刻度 */
.hm-scale {
  position: relative;
  overflow: hidden;
  background: var(--ink-850);
}

.hm-scale__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.hm-scale__inner {
  position: relative;
  z-index: 1;
}

.hm-scale__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 14px;
  margin-top: 30px;
}

.page-home .stat__value {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--paper-50);
  margin: 0;
}

.page-home .stat--accent .stat__value {
  color: var(--orange-500);
}

.page-home .stat__label {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--slate-400);
}

.hm-scale__bars {
  display: grid;
  gap: 16px;
  margin-top: 36px;
  max-width: 720px;
}

.hm-bar {
  display: grid;
  gap: 8px;
}

.hm-bar__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--paper-100);
  margin: 0;
}

.hm-bar__label .mono {
  color: var(--cyan-400);
  font-size: 11.5px;
  letter-spacing: 0.1em;
}

.hm-scale__link {
  margin-top: 30px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--slate-400);
}

/* 专题带 */
.hm-topics .hm-band {
  margin-top: 24px;
}

.hm-topic {
  display: grid;
  gap: 10px;
  align-content: start;
  width: 264px;
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--hm-radius);
  background: var(--ink-700);
  color: inherit;
  text-decoration: none;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.hm-topic__no {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--orange-500);
}

.hm-topic__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.05em;
}

.hm-topic__text {
  font-size: 13px;
  line-height: 1.75;
  color: var(--slate-400);
}

/* 帮助 */
.hm-help__grid {
  display: grid;
  gap: 14px;
}

.hm-help__card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--hm-radius);
  background: var(--ink-700);
}

.hm-help__card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.03em;
  margin: 0;
  color: var(--paper-50);
}

.hm-help__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(243, 237, 226, 0.78);
}

.hm-help__card .btn {
  justify-self: start;
}

.hm-help__card--paper {
  background: var(--paper-50);
  border-color: rgba(5, 10, 22, 0.12);
}

.page-home .hm-help__card--paper h2 {
  color: var(--ink-950);
}

.page-home .hm-help__card--paper p {
  color: #2b3345;
}

.page-home .hm-help__card--paper .eyebrow {
  color: #c04a12;
}

.hm-help__phone {
  font-size: 13.5px;
  color: var(--slate-400);
}

.hm-help__foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.hm-help__foot p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--slate-400);
}

/* 响应式 */
@media (min-width: 700px) {
  .page-home {
    --hm-pad-y: 76px;
  }

  .hm-hero {
    padding: 64px 0 84px;
  }

  .hm-sports__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .hm-sync__pair,
  .hm-help__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .hm-scale__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .page-home {
    --hm-pad-y: 96px;
  }

  .hm-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
    align-items: end;
  }

  .hm-console {
    gap: 14px;
  }

  .hm-console__dial {
    grid-column: 1 / -1;
  }

  .hm-dial {
    width: min(230px, 58%);
  }

  .hm-path__grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }

  .hm-sports__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hm-topic {
    width: 300px;
  }
}

@media (hover: hover) and (min-width: 780px) {
  .hm-sport:hover,
  .hm-sport:focus-within {
    transform: translateY(-4px);
    border-color: rgba(47, 227, 208, 0.45);
  }

  .hm-sport__meter {
    opacity: 0.5;
  }

  .hm-sport:hover .hm-sport__meter,
  .hm-sport:focus-within .hm-sport__meter {
    opacity: 1;
    transform: scaleY(1.6);
  }

  .hm-topic:hover,
  .hm-topic:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(255, 106, 43, 0.5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .meter__fill,
  .hm-sport,
  .hm-topic,
  .hm-sport__meter {
    transition: none;
  }

  .hm-sport:hover,
  .hm-sport:focus-within,
  .hm-topic:hover,
  .hm-topic:focus-visible {
    transform: none;
  }

  .hm-sport:hover .hm-sport__meter,
  .hm-sport:focus-within .hm-sport__meter {
    transform: none;
  }
}
