.page-home {
  --home-gap: clamp(14px, 2vw, 26px);
  --home-band: clamp(56px, 8vw, 118px);
  --home-pad: clamp(20px, 3vw, 36px);
  display: block;
}

/* ---------- 顶部上下文 ---------- */
.page-home .home-top {
  padding-top: clamp(18px, 2.6vw, 32px);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  padding-block: clamp(22px, 3.6vw, 46px) var(--home-band);
}

.page-home .home-hero__grid {
  display: grid;
  gap: clamp(22px, 3.4vw, 44px);
}

.page-home .home-hero__copy {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
}

.page-home .home-hero__vertical {
  display: none;
  margin: 0;
  align-self: stretch;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
  padding-top: 4px;
}

.page-home .home-hero__body {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vw, 24px);
  flex: 1;
  min-width: 0;
}

.page-home .home-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0;
  padding: 8px 15px;
  clip-path: var(--notch-sm);
  background: rgba(12, 36, 31, 0.7);
  border: 1px solid rgba(34, 227, 196, 0.34);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}

.page-home .home-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(226, 59, 59, 0.16);
}

.page-home .home-hero h1 {
  margin: 0;
  font-size: clamp(40px, 8.4vw, 92px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.018em;
  color: var(--text);
}

.page-home .home-hero h1 em {
  display: block;
  font-style: normal;
  color: var(--cyan);
}

.page-home .home-hero__lede {
  margin: 0;
  max-width: 30em;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.75;
  color: var(--text);
}

.page-home .home-hero__hint {
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .home-hero__actions {
  align-self: flex-start;
}

.page-home .home-hero__stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  clip-path: var(--notch);
  min-height: 360px;
  background: var(--ink-800);
}

.page-home .home-hero__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(0.8) contrast(1.06);
}

.page-home .home-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 82% at 80% 10%, rgba(34, 227, 196, 0.3), transparent 58%),
    radial-gradient(95% 70% at 8% 94%, rgba(226, 59, 59, 0.22), transparent 64%),
    linear-gradient(172deg, rgba(6, 21, 18, 0.1) 0%, rgba(6, 21, 18, 0.9) 80%);
}

.page-home .home-hero__tracks {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    118deg,
    transparent 0 34px,
    rgba(124, 247, 227, 0.07) 34px 36px
  );
  mix-blend-mode: screen;
}

.page-home .home-hero__feed {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr;
  background: linear-gradient(180deg, rgba(6, 21, 18, 0.4), rgba(6, 21, 18, 0.96));
  border-top: 1px solid var(--line);
}

.page-home .home-hero__cell {
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid rgba(30, 74, 61, 0.7);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

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

.page-home .home-hero__cell b {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--cyan);
}

/* ---------- 五个入口 ---------- */
.page-home .home-hub {
  position: relative;
  isolation: isolate;
  padding-block: var(--home-band);
  overflow: hidden;
}

.page-home .home-hub__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-home .home-hub__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
}

.page-home .home-hub__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--ink-900) 0%,
    rgba(6, 21, 18, 0.55) 42%,
    var(--ink-900) 100%
  );
}

.page-home .home-hub__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  margin-top: clamp(28px, 4vw, 48px);
}

.page-home .home-hub__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 176px;
  padding: clamp(24px, 3vw, 34px);
  clip-path: var(--notch);
  background: linear-gradient(152deg, var(--ink-800), var(--ink-900));
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: background 320ms var(--ease), transform 320ms var(--ease),
    border-color 320ms var(--ease);
}

.page-home .home-hub__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 3px;
  background: var(--cyan);
}

.page-home .home-hub__card:nth-child(2)::before { background: var(--cyan-soft); }
.page-home .home-hub__card:nth-child(3)::before { background: var(--red); }
.page-home .home-hub__card:nth-child(4)::before { background: var(--gold); }
.page-home .home-hub__card:nth-child(5)::before { background: var(--line); }

.page-home .home-hub__card:hover,
.page-home .home-hub__card:focus-visible {
  background: linear-gradient(152deg, var(--ink-700), var(--ink-800));
  border-color: rgba(34, 227, 196, 0.5);
  transform: translateY(-4px);
}

.page-home .home-hub__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.page-home .home-hub__name {
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.28;
}

.page-home .home-hub__desc {
  flex: 1;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .home-hub__meta {
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--cyan-soft);
}

/* ---------- 更新节奏 ---------- */
.page-home .home-flow {
  padding-block: var(--home-band);
}

.page-home .home-flow__track {
  display: flex;
  gap: var(--home-gap);
  margin: clamp(26px, 3.6vw, 44px) 0 0;
  padding: 0 0 14px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.page-home .home-flow__node {
  position: relative;
  flex: 0 0 min(78vw, 320px);
  scroll-snap-align: start;
  padding: clamp(22px, 2.6vw, 30px) clamp(18px, 2.4vw, 28px);
  clip-path: var(--notch);
  background: var(--ink-800);
  border-top: 2px solid var(--cyan);
}

.page-home .home-flow__node--live {
  background: linear-gradient(160deg, var(--ink-700), var(--ink-800));
  border-top-color: var(--red);
}

.page-home .home-flow__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.page-home .home-flow__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 227, 196, 0.14);
}

.page-home .home-flow__node--live .home-flow__dot {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(226, 59, 59, 0.16);
}

.page-home .home-flow__when {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .home-flow__title {
  margin: 0 0 10px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.32;
  color: var(--text);
}

.page-home .home-flow__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .home-flow__shot {
  margin: clamp(26px, 4vw, 48px) 0 0;
}

/* ---------- 三步注册 ---------- */
.page-home .home-start {
  padding-block: var(--home-band);
  background: linear-gradient(180deg, var(--ink-900), var(--ink-800) 55%, var(--ink-900));
}

.page-home .home-start__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  margin: clamp(28px, 4vw, 46px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: home-step;
}

.page-home .home-start__step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 3vw, 32px);
  clip-path: var(--notch);
  background: rgba(12, 36, 31, 0.72);
  border: 1px solid var(--line);
}

.page-home .home-start__num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  letter-spacing: -0.02em;
}

.page-home .home-start__name {
  margin: 0;
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 700;
  line-height: 1.34;
  color: var(--text);
}

.page-home .home-start__text {
  margin: 0;
  flex: 1;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .home-start__more {
  margin-top: 4px;
}

.page-home .home-start__foot {
  margin: clamp(26px, 3.4vw, 40px) 0 0;
}

/* ---------- 广东本地 ---------- */
.page-home .home-gd {
  padding-block: var(--home-band);
}

.page-home .home-gd__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.4vw, 44px);
  padding: clamp(26px, 3.6vw, 48px);
  clip-path: var(--notch);
  background: linear-gradient(148deg, var(--ink-800), var(--ink-900));
  border: 1px solid var(--line);
}

.page-home .home-gd__copy h2 {
  margin: 10px 0 14px;
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-home .home-gd__copy > p {
  margin: 0 0 20px;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}

.page-home .home-gd__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.page-home .home-gd__list li {
  padding: 7px 14px;
  clip-path: var(--notch-sm);
  background: rgba(18, 51, 41, 0.9);
  border: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cyan-soft);
}

.page-home .home-gd__aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: clamp(20px, 2.6vw, 30px);
  background: rgba(6, 21, 18, 0.72);
  border-left: 3px solid var(--gold);
}

.page-home .home-gd__num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(52px, 9vw, 88px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold);
}

.page-home .home-gd__label {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.page-home .home-gd__note {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 内容规模 ---------- */
.page-home .home-scale {
  position: relative;
  isolation: isolate;
  padding-block: var(--home-band);
  overflow: hidden;
}

.page-home .home-scale__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-home .home-scale__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-home .home-scale__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 20% 100%, rgba(34, 227, 196, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(6, 21, 18, 0.9), rgba(6, 21, 18, 0.78));
}

.page-home .home-scale__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-scale__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(20px, 3vw, 32px) clamp(16px, 2.4vw, 28px);
  background: rgba(6, 21, 18, 0.86);
}

.page-home .home-scale__stat .stat__num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 5vw, 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.page-home .home-scale__stat .stat__label {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .home-scale__foot {
  margin: clamp(26px, 3.4vw, 40px) 0 0;
}

/* ---------- 收尾入口 ---------- */
.page-home .home-next {
  padding-block: 0 var(--home-band);
}

.page-home .home-next__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(26px, 3.6vw, 44px);
  clip-path: var(--notch);
  background: linear-gradient(120deg, var(--ink-800), var(--ink-900));
  border: 1px solid var(--line);
}

.page-home .home-next__copy h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text);
}

.page-home .home-next__copy p {
  margin: 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.76;
  color: var(--muted);
}

.page-home .home-next__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
}

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

  .page-home .home-hero__cell {
    border-top: 0;
    border-left: 1px solid rgba(30, 74, 61, 0.7);
  }

  .page-home .home-hero__cell:first-child {
    border-left: 0;
  }
}

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

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

  .page-home .home-gd__panel {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr);
    align-items: stretch;
  }

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

  .page-home .home-next__panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero__copy {
    flex-direction: row;
  }

  .page-home .home-hero__vertical {
    display: block;
  }

  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: stretch;
    gap: clamp(34px, 5vw, 76px);
  }

  .page-home .home-hero__stage {
    min-height: 560px;
  }

  .page-home .home-flow__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .page-home .home-flow__node {
    flex: none;
  }
}

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

  .page-home .home-hub__card--lead {
    grid-column: span 2;
  }

  .page-home .home-hub__card--lead .home-hub__name {
    font-size: clamp(26px, 2.6vw, 34px);
  }

  .page-home .home-hub__card--lead .home-hub__desc {
    max-width: 34em;
    font-size: 15.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hub__card,
  .page-home .home-hub__card:hover,
  .page-home .home-hub__card:focus-visible {
    transition: none;
    transform: none;
  }
}
