.page-home {
  --hm-edge: rgba(34, 243, 228, 0.55);
  --hm-cell: rgba(20, 26, 69, 0.62);
  background: var(--ink-800);
  color: var(--ice);
  font-family: var(--font-sans);
  padding-bottom: 0;
}

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

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 88px) 0 0;
  background:
    radial-gradient(120% 88% at 10% 0%, rgba(34, 243, 228, 0.13), transparent 58%),
    radial-gradient(92% 82% at 94% 16%, rgba(108, 76, 255, 0.22), transparent 62%),
    var(--ink-800);
  border-bottom: 1px solid var(--line);
}

.page-home .hm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(152, 163, 198, 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(152, 163, 198, 0.10) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(78% 68% at 48% 22%, #000 18%, transparent 84%);
  mask-image: radial-gradient(78% 68% at 48% 22%, #000 18%, transparent 84%);
  pointer-events: none;
}

.page-home .hm-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.page-home .hm-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--mist);
  border: 1px solid var(--line-strong);
  padding: 7px 14px;
  background: rgba(6, 8, 24, 0.5);
}

.page-home .hm-kicker__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(61, 220, 151, 0.8);
  flex: none;
}

.page-home .hm-hero__title {
  margin: 0 0 22px;
  font-size: clamp(40px, 8.6vw, 96px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--ice);
}

.page-home .hm-hero__title em {
  display: block;
  font-style: normal;
  color: var(--cyan);
  text-shadow: 0 0 22px rgba(34, 243, 228, 0.42);
}

.page-home .hm-hero__lede {
  margin: 0;
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.85;
  color: var(--mist);
}

.page-home .hm-hero__acts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.page-home .hm-act {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px 20px 20px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(20, 26, 69, 0.94), rgba(10, 14, 42, 0.94));
  color: var(--ice);
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.page-home .hm-act::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s ease;
}

.page-home .hm-act--magenta::after {
  background: var(--magenta);
}

.page-home .hm-act:hover,
.page-home .hm-act:focus-visible {
  transform: translateY(-4px);
  border-color: var(--hm-edge);
}

.page-home .hm-act--magenta:hover,
.page-home .hm-act--magenta:focus-visible {
  border-color: rgba(255, 46, 136, 0.62);
}

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

.page-home .hm-act__k {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--amber);
}

.page-home .hm-act__t {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.005em;
}

.page-home .hm-act__d {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .hm-hero__visual {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-strong);
  background: var(--ink-700);
  box-shadow: var(--shadow-card);
}

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

.page-home .hm-hero__cap {
  display: block;
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mist);
  border-top: 1px solid var(--line);
  background: rgba(6, 8, 24, 0.7);
}

.page-home .hm-hero__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(38px, 5.5vw, 68px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.page-home .hm-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 16px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 8, 24, 0.4);
}

.page-home .hm-stat__num {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-home .hm-stat__num--amber {
  color: var(--amber);
}

.page-home .hm-stat__num em {
  font-style: normal;
  font-size: 0.5em;
  margin-left: 3px;
  color: var(--mist);
}

.page-home .hm-stat__label {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

/* ---------- 主体两栏骨架 ---------- */
.page-home .hm-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

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

/* ---------- 章节通用 ---------- */
.page-home .hm-sec {
  padding: clamp(52px, 7vw, 88px) 0;
  border-top: 1px solid var(--line);
}

.page-home .hm-sec:first-child {
  border-top: 0;
}

.page-home .hm-sechead {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(26px, 3.6vw, 44px);
}

.page-home .hm-sechead__num {
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--violet);
}

.page-home .hm-sechead__title {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ice);
}

.page-home .hm-sechead__note {
  margin: 0;
  max-width: 64ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--mist);
}

.page-home .hm-textlink {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 243, 228, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .hm-textlink:hover,
.page-home .hm-textlink:focus-visible {
  color: var(--ice);
  border-color: var(--amber);
}

/* ---------- 图片容器 ---------- */
.page-home .hm-fig {
  margin: 0;
  border: 1px solid var(--line-strong);
  background: var(--ink-700);
  box-shadow: var(--shadow-card);
}

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

.page-home .hm-fig__cap {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--mist);
  border-top: 1px solid var(--line);
  background: rgba(6, 8, 24, 0.6);
}

/* ---------- 01 日期区间 ---------- */
.page-home .hm-range__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 48px);
  align-items: start;
}

.page-home .hm-fig--offset {
  border-left: 3px solid var(--amber);
}

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

.page-home .hm-step {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--hm-cell);
}

.page-home .hm-step__k {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--amber);
  padding-top: 3px;
}

.page-home .hm-step__t {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ice);
}

.page-home .hm-step__p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .hm-slider {
  margin-top: 22px;
  padding: 22px 20px 20px;
  border: 1px solid var(--line-strong);
  background: var(--ink-900);
}

.page-home .hm-slider__track {
  position: relative;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 176, 32, 0.26);
}

.page-home .hm-slider__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16%;
  right: 26%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--amber), #ffd166);
  box-shadow: 0 0 14px rgba(255, 176, 32, 0.5);
}

.page-home .hm-slider__knob {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
  transform: translate(-50%, -50%);
}

.page-home .hm-slider__knob--a { left: 16%; }
.page-home .hm-slider__knob--b { left: 74%; }

.page-home .hm-slider__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-home .hm-slider__out {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
}

.page-home .hm-slider__count {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-home .hm-slider__txt {
  font-size: 14px;
  color: var(--mist);
}

/* ---------- 02 栏目名对照表 ---------- */
.page-home .hm-table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  background: rgba(10, 14, 42, 0.72);
  -webkit-overflow-scrolling: touch;
}

.page-home .hm-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
}

.page-home .hm-table caption {
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--mist);
  border-bottom: 1px solid var(--line);
}

.page-home .hm-table th,
.page-home .hm-table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.65;
}

.page-home .hm-table thead th {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cyan);
  white-space: nowrap;
  background: rgba(34, 243, 228, 0.07);
}

.page-home .hm-table tbody tr:nth-child(even) {
  background: rgba(20, 26, 69, 0.5);
}

.page-home .hm-table tbody tr:hover {
  background: rgba(108, 76, 255, 0.16);
}

.page-home .hm-table tbody th {
  font-weight: 700;
  color: var(--ice);
  white-space: nowrap;
  border-left: 2px solid var(--violet);
}

.page-home .hm-table tbody td {
  color: var(--mist);
}

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

.page-home .hm-after-table {
  margin: 22px 0 0;
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}

/* ---------- 03 大屏约看 ---------- */
.page-home .hm-big__flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.page-home .hm-flowcard {
  position: relative;
  padding: 20px 20px 22px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--violet);
  background: linear-gradient(180deg, rgba(20, 26, 69, 0.85), rgba(10, 14, 42, 0.7));
  box-shadow: var(--shadow-card);
}

.page-home .hm-flowcard__num {
  display: block;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--violet);
  margin-bottom: 10px;
}

.page-home .hm-flowcard__t {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ice);
}

.page-home .hm-flowcard__p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .hm-big__lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3.2vw, 40px);
  align-items: start;
}

.page-home .hm-layouts {
  border: 1px solid var(--line-strong);
  padding: 20px 20px 22px;
  background: var(--hm-cell);
}

.page-home .hm-layouts__t {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ice);
}

.page-home .hm-layouts__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .hm-layouts__item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

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

.page-home .hm-layouts__k {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--magenta);
  padding-top: 2px;
}

.page-home .hm-layouts__note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 04 版本时间轴 ---------- */
.page-home .hm-tl__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.6vw, 48px);
  align-items: start;
}

.page-home .hm-tl {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-home .hm-tl__item {
  position: relative;
  padding: 0 0 26px 26px;
  border-left: 1px solid var(--line-strong);
}

.page-home .hm-tl__item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.page-home .hm-tl__item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 12px rgba(108, 76, 255, 0.75);
}

.page-home .hm-tl__item--now::before {
  background: var(--amber);
  box-shadow: 0 0 14px rgba(255, 176, 32, 0.8);
}

.page-home .hm-tl__year {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ice);
  margin-bottom: 6px;
}

.page-home .hm-tl__item--now .hm-tl__year {
  color: var(--amber);
}

.page-home .hm-tl__txt {
  margin: 0;
  max-width: 30ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .hm-fig--tl {
  border-right: 3px solid var(--magenta);
}

/* ---------- 05 长期理由 ---------- */
.page-home .hm-why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .hm-whycard {
  padding: 20px 20px 22px;
  border: 1px solid var(--line);
  background: var(--hm-cell);
  box-shadow: inset 0 1px 0 rgba(237, 242, 255, 0.05);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.page-home .hm-whycard:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 243, 228, 0.42);
}

.page-home .hm-whycard__k {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  border: 1px solid rgba(34, 243, 228, 0.4);
}

.page-home .hm-whycard:nth-child(2) .hm-whycard__k {
  color: var(--amber);
  border-color: rgba(255, 176, 32, 0.42);
}

.page-home .hm-whycard:nth-child(3) .hm-whycard__k {
  color: var(--magenta);
  border-color: rgba(255, 46, 136, 0.42);
}

.page-home .hm-whycard__p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .hm-cta {
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(90% 140% at 0% 0%, rgba(108, 76, 255, 0.22), transparent 62%),
    linear-gradient(180deg, rgba(20, 26, 69, 0.9), rgba(6, 8, 24, 0.9));
  display: grid;
  gap: 20px;
}

.page-home .hm-cta__lead {
  margin: 0;
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ice);
}

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

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .page-home .hm-hero__acts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

@media (min-width: 900px) {
  .page-home .hm-hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .hm-hero__visual {
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  }

  .page-home .hm-range__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .page-home .hm-big__lower {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .hm-tl__wrap {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .hm-tl {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-home .hm-tl__item {
    padding: 30px 16px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-strong);
  }

  .page-home .hm-tl__item:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
  }

  .page-home .hm-tl__item::before {
    left: 0;
    top: -6px;
  }
}

@media (min-width: 1080px) {
  .page-home .hm-shell {
    grid-template-columns: minmax(0, 1fr) 188px;
    gap: clamp(28px, 3vw, 52px);
    align-items: start;
  }

  .page-home .hm-rail {
    display: block;
    position: sticky;
    top: 152px;
    padding-top: clamp(52px, 7vw, 88px);
  }

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

@media (min-width: 1280px) {
  .page-home .hm-range__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-act,
  .page-home .hm-whycard {
    transition: none;
  }

  .page-home .hm-hero__visual {
    transform: none;
  }
}
