.page-home {
  --home-rule: rgba(59, 135, 191, 0.3);
  --home-glass: rgba(12, 37, 66, 0.66);
  --home-shadow: 0 30px 70px -50px rgba(0, 0, 0, 0.95);
  display: block;
  overflow-x: clip;
}

/* ---------- 通用章节标题 ---------- */
.page-home .home-section-title {
  margin: 14px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4.4vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.page-home .home-section-title--ink {
  color: var(--ink);
}

.page-home .home-section-lead {
  margin: 16px 0 0;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(232, 238, 245, 0.78);
}

.page-home .home-section-lead--ink {
  color: #3A4753;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + 34px) 0 56px;
  background:
    radial-gradient(110% 80% at 84% -12%, rgba(59, 135, 191, 0.34) 0%, rgba(6, 24, 46, 0) 62%),
    radial-gradient(80% 60% at 2% 6%, rgba(75, 224, 208, 0.1) 0%, rgba(6, 24, 46, 0) 58%),
    var(--deep-900);
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(59, 135, 191, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 135, 191, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(92% 72% at 62% 8%, #000 0%, transparent 78%);
  mask-image: radial-gradient(92% 72% at 62% 8%, #000 0%, transparent 78%);
  pointer-events: none;
}

.page-home .home-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.page-home .home-hero__index {
  color: var(--neon);
  letter-spacing: 0.16em;
}

.page-home .home-hero__title {
  margin: 16px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 7.2vw, 3.15rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: #FFFFFF;
}

.page-home .home-hero__lead {
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: rgba(232, 238, 245, 0.82);
}

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

.page-home .home-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--home-rule);
  border-radius: 999px;
  background: rgba(19, 57, 95, 0.45);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #C3D4E4;
  white-space: nowrap;
}

.page-home .home-chip--v4 {
  border-color: rgba(255, 106, 26, 0.55);
  background: var(--race-soft);
  color: #FFD5BB;
}

.page-home .home-chip--live {
  border-color: rgba(75, 224, 208, 0.45);
  background: var(--neon-soft);
  color: var(--neon);
}

.page-home .home-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  animation: home-pulse 2.4s var(--ease) infinite;
}

@keyframes home-pulse {
  0% { box-shadow: 0 0 0 0 rgba(75, 224, 208, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(75, 224, 208, 0); }
  100% { box-shadow: 0 0 0 0 rgba(75, 224, 208, 0); }
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}

.page-home .home-hero__media {
  margin: 0;
  border: 1px solid var(--home-rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--deep-800);
  box-shadow: var(--home-shadow);
}

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

/* ---------- 三条路线卡 ---------- */
.page-home .home-routes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 36px 0 0;
}

.page-home .home-route {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 22px;
  border: 1px solid var(--home-rule);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(19, 57, 95, 0.72), rgba(12, 37, 66, 0.48));
  color: inherit;
  text-decoration: none;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}

.page-home .home-route:hover,
.page-home .home-route:focus-visible {
  border-color: rgba(255, 106, 26, 0.6);
  background: linear-gradient(160deg, rgba(30, 90, 138, 0.62), rgba(12, 37, 66, 0.66));
}

.page-home .home-route__no {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--race);
}

.page-home .home-route__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  color: #FFFFFF;
}

.page-home .home-route__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(232, 238, 245, 0.74);
}

.page-home .home-route__go {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--sea-500);
}

/* ---------- 比分跑马灯 ---------- */
.page-home .home-ticker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 40px 0 0;
  padding: 14px 0;
  border-top: 1px solid var(--home-rule);
  border-bottom: 1px solid var(--home-rule);
  overflow: hidden;
}

.page-home .home-ticker__tag {
  flex: none;
  color: var(--neon);
  letter-spacing: 0.2em;
}

.page-home .home-ticker__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.page-home .home-ticker__track {
  display: flex;
  width: max-content;
  animation: home-marquee 36s linear infinite;
}

.page-home .home-ticker:hover .home-ticker__track,
.page-home .home-ticker:focus-within .home-ticker__track {
  animation-play-state: paused;
}

@keyframes home-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.page-home .home-ticker__group {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: none;
  margin: 0;
  padding: 0 40px 0 0;
  list-style: none;
}

.page-home .home-ticker__item {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: rgba(232, 238, 245, 0.72);
  white-space: nowrap;
}

/* ---------- 刷新节奏 ---------- */
.page-home .home-rhythm__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  margin: 30px 0 0;
}

.page-home .home-rhythm__meter {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--home-rule);
  border-radius: var(--radius-md);
  background: var(--home-glass);
}

.page-home .home-rhythm__meter-label {
  flex: none;
  color: var(--neon);
  letter-spacing: 0.2em;
}

.page-home .home-rhythm__meter-note {
  flex: none;
  color: var(--graphite);
  letter-spacing: 0.16em;
}

.page-home .home-rhythm__meter-track {
  position: relative;
  flex: 1 1 auto;
  min-width: 60px;
  height: 6px;
  border-radius: 999px;
  background: rgba(30, 90, 138, 0.35);
  overflow: hidden;
}

.page-home .home-rhythm__meter-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(59, 135, 191, 0.25), var(--sea-500) 55%, var(--neon));
  transform-origin: left center;
  animation: home-meter 30s linear infinite;
}

@keyframes home-meter {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

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

.page-home .home-rhythm__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(30, 90, 138, 0.28);
}

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

.page-home .home-rhythm__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--sea-500);
}

.page-home .home-rhythm__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
  color: #FFFFFF;
}

.page-home .home-rhythm__item p {
  margin: 8px 0 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(232, 238, 245, 0.74);
}

.page-home .home-rhythm__cta {
  margin: 30px 0 0;
}

/* ---------- 分区索引 ---------- */
.page-home .home-zones__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  margin: 30px 0 0;
}

.page-home .home-zones__figure {
  margin: 0;
  border: 1px solid var(--home-rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--deep-800);
}

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

.page-home .home-zones__figure figcaption {
  padding: 14px 18px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--graphite);
  border-top: 1px solid rgba(30, 90, 138, 0.3);
}

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

.page-home .home-zone {
  padding: 24px 22px;
  border: 1px solid var(--home-rule);
  border-radius: var(--radius-md);
  background: var(--home-glass);
}

.page-home .home-zone__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}

.page-home .home-zone__count {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--race);
}

.page-home .home-zone__unit {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--graphite);
}

.page-home .home-zone__text {
  margin: 16px 0 0;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: rgba(232, 238, 245, 0.78);
}

.page-home .home-zone__meta {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px dashed rgba(30, 90, 138, 0.45);
}

.page-home .home-zone__meta li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #A9BCCE;
}

.page-home .home-zone__link {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.875rem;
  color: var(--sea-500);
  text-decoration: none;
}

.page-home .home-zone__link:hover,
.page-home .home-zone__link:focus-visible {
  color: var(--neon);
  text-decoration: underline;
}

/* ---------- 固定访问三步 ---------- */
.page-home .home-anchor__index {
  color: var(--race);
}

.page-home .home-anchor__steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-step {
  padding: 26px 22px 24px;
  border-top: 3px solid var(--race);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 40px -36px rgba(20, 32, 43, 0.5);
}

.page-home .home-step__no {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--race);
}

.page-home .home-step__title {
  margin: 10px 0 0;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

.page-home .home-step__text {
  margin: 10px 0 0;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: #3A4753;
}

.page-home .home-anchor__figure {
  margin: 34px 0 0;
  border: 1px solid rgba(20, 32, 43, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #E7E1D6;
}

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

.page-home .home-anchor__figure figcaption {
  padding: 14px 18px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #56626E;
  border-top: 1px solid rgba(20, 32, 43, 0.1);
}

/* ---------- 访问排查 ---------- */
.page-home .home-help__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin: 30px 0 0;
}

.page-home .home-help__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px;
  border: 1px solid var(--home-rule);
  border-radius: var(--radius-md);
  background: var(--home-glass);
  color: inherit;
  text-decoration: none;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}

.page-home .home-help__card:hover,
.page-home .home-help__card:focus-visible {
  border-color: rgba(255, 106, 26, 0.55);
  background: rgba(19, 57, 95, 0.75);
}

.page-home .home-help__tag {
  color: var(--race);
  letter-spacing: 0.16em;
}

.page-home .home-help__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.45;
  color: #FFFFFF;
}

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

.page-home .home-help__symptoms li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(232, 238, 245, 0.75);
}

.page-home .home-help__symptoms li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--neon);
  opacity: 0.8;
}

.page-home .home-help__go {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--sea-500);
}

.page-home .home-help__steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: helpstep;
}

.page-home .home-help__steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(30, 90, 138, 0.4);
  border-radius: var(--radius-sm);
  background: rgba(6, 24, 46, 0.5);
  font-size: 0.9375rem;
  color: rgba(232, 238, 245, 0.86);
}

.page-home .home-help__num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--neon);
}

.page-home .home-help__note {
  margin: 24px 0 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(232, 238, 245, 0.72);
}

.page-home .home-help__note a {
  color: var(--sea-500);
}

.page-home .home-help__note a:hover,
.page-home .home-help__note a:focus-visible {
  color: var(--neon);
}

/* ---------- 内容动态 ---------- */
.page-home .home-notes__list {
  display: grid;
  margin: 28px 0 0;
  border-top: 1px solid var(--home-rule);
}

.page-home .home-note {
  display: grid;
  gap: 8px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--home-rule);
  color: inherit;
  text-decoration: none;
  transition: background 180ms var(--ease);
}

.page-home .home-note:hover,
.page-home .home-note:focus-visible {
  background: rgba(30, 90, 138, 0.22);
}

.page-home .home-note__tag {
  color: var(--race);
  letter-spacing: 0.14em;
}

.page-home .home-note__body {
  display: block;
  min-width: 0;
}

.page-home .home-note__title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
  color: #FFFFFF;
}

.page-home .home-note__text {
  display: block;
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(232, 238, 245, 0.74);
}

.page-home .home-note__go {
  align-self: end;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--sea-500);
}

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

.page-home .home-notes__figure {
  margin: 38px 0 0;
  border: 1px solid var(--home-rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--deep-800);
}

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

/* ---------- 旧版本对照锚点 ---------- */
.page-home .home-legacy {
  background: linear-gradient(180deg, var(--deep-900) 0%, var(--deep-800) 100%);
}

.page-home .home-legacy__box {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px 24px;
  border: 1px solid rgba(255, 106, 26, 0.32);
  border-left: 3px solid var(--race);
  border-radius: var(--radius-md);
  background: rgba(19, 57, 95, 0.42);
}

.page-home .home-legacy__box .mono-index {
  color: var(--race);
  letter-spacing: 0.16em;
}

.page-home .home-legacy__box h2 {
  margin: 12px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3.8vw, 1.625rem);
  font-weight: 800;
  line-height: 1.35;
  color: #FFFFFF;
}

.page-home .home-legacy__box p {
  margin: 12px 0 0;
  max-width: 62ch;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: rgba(232, 238, 245, 0.76);
}

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

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

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

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

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

  .page-home .home-help__steps li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero {
    padding: calc(var(--header-h) + 48px) 0 64px;
  }

  .page-home .home-hero__layout {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 52px;
  }

  .page-home .home-rhythm__body {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 46px;
    align-items: start;
  }

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

  .page-home .home-note {
    grid-template-columns: 150px minmax(0, 1fr) 72px;
    align-items: baseline;
    gap: 24px;
  }

  .page-home .home-note__go {
    text-align: right;
  }

  .page-home .home-legacy__box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 36px 34px;
  }

  .page-home .home-legacy__box .btn {
    flex: none;
    align-self: center;
  }
}

@media (min-width: 1000px) {
  .page-home .home-zones__grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 44px;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-chip__dot {
    animation: none;
  }

  .page-home .home-ticker__track {
    animation: none;
  }

  .page-home .home-rhythm__meter-fill {
    animation: none;
    transform: scaleX(1);
  }

  .page-home .home-route,
  .page-home .home-help__card,
  .page-home .home-note {
    transition: none;
  }
}
