.page-home {
  --home-line: rgba(180, 255, 58, 0.055);
  --home-lift: rgba(180, 255, 58, 0.12);
  --home-paper-line: rgba(16, 22, 20, 0.16);
  position: relative;
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding: clamp(20px, 4vw, 44px) 0 clamp(36px, 7vw, 84px);
  background-image:
    repeating-linear-gradient(90deg, var(--home-line) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(180deg, var(--home-line) 0 1px, transparent 1px 84px);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 78% at 76% 16%, var(--home-lift), transparent 64%);
  pointer-events: none;
}

.page-home .hero-grid {
  position: relative;
  z-index: 1;
  align-items: end;
  row-gap: clamp(24px, 4vw, 48px);
}

.page-home .hero-lead {
  position: relative;
  padding-left: clamp(14px, 2vw, 26px);
}

.page-home .hero-lead::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--lime) 0 10px, transparent 10px 24px);
  opacity: 0.55;
}

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

.page-home .hero-round-num {
  font-family: var(--font-num);
  font-size: clamp(78px, 16vw, 168px);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.03em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.page-home .hero-round-unit {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 26px);
  color: var(--muted);
}

.page-home .hero-title {
  margin: 8px 0 14px;
  text-wrap: balance;
}

.page-home .hero-lede {
  max-width: 34ch;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-home .hero-visual {
  position: relative;
}

.page-home .hero-frame {
  margin: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--hair);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-hair);
}

.page-home .hero-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.page-home .focus-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  border-top: 1px solid var(--hair);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  background: rgba(10, 14, 13, 0.78);
  backdrop-filter: blur(10px);
}

.page-home .focus-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--hair);
}

.page-home .focus-item:last-child {
  border-bottom: 0;
}

.page-home .focus-time {
  font-family: var(--font-num);
  font-size: var(--s20);
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.page-home .focus-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.page-home .focus-body strong {
  font-size: var(--s14);
  color: var(--ink);
}

.page-home .focus-body span {
  font-size: var(--s12);
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- 数据条 ---------- */
.page-home .facts {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background: linear-gradient(180deg, rgba(24, 34, 32, 0.92), rgba(10, 14, 13, 0.92));
}

.page-home .facts .wrap {
  padding-top: clamp(26px, 4vw, 44px);
  padding-bottom: clamp(26px, 4vw, 44px);
}

.page-home .facts-lead {
  max-width: 54ch;
  margin: 0 0 clamp(20px, 3vw, 32px);
  color: var(--muted);
  font-size: var(--s16);
  line-height: 1.75;
}

.page-home .facts-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: var(--radius-slab);
  overflow: hidden;
}

.page-home .facts-row .stat {
  background: var(--night);
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .facts-row .stat-num {
  font-family: var(--font-num);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.page-home .facts-row .stat-num em {
  font-style: normal;
  font-size: 0.5em;
  margin-left: 2px;
  color: var(--muted);
}

.page-home .facts-row .stat-label {
  font-size: var(--s12);
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- 公告切换 ---------- */
.page-home .switch-grid {
  align-items: start;
  row-gap: clamp(26px, 4vw, 40px);
}

.page-home .switch-frame {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--home-paper-line);
}

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

.page-home .switch-frame figcaption {
  padding: 12px 14px;
  font-size: var(--s12);
  letter-spacing: 0.04em;
  color: var(--paper-muted);
  border-top: 1px solid var(--home-paper-line);
}

.page-home .switch-copy .display-2 {
  color: var(--paper-ink);
  margin: 8px 0 14px;
}

.page-home .switch-copy .eyebrow {
  color: var(--paper-muted);
}

.page-home .switch-copy .body-copy {
  color: #2C3733;
  max-width: 60ch;
}

.page-home .tab-list {
  display: flex;
  gap: 8px;
  margin: clamp(20px, 3vw, 30px) 0 16px;
}

.page-home .tab-btn {
  appearance: none;
  font-family: var(--font-body);
  font-size: var(--s14);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 9px 20px;
  border-radius: var(--radius-capsule);
  border: 1px solid var(--home-paper-line);
  background: transparent;
  color: var(--paper-ink);
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.page-home .tab-btn[aria-selected="true"] {
  background: var(--paper-ink);
  border-color: var(--paper-ink);
  color: var(--paper);
}

.page-home .tab-btn:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
}

.page-home .tab-panel + .tab-panel {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--home-paper-line);
}

.page-home .tab-panel-lead {
  margin: 0 0 16px;
  font-size: var(--s14);
  color: var(--paper-muted);
}

.page-home .pathway {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .pathway-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 3px;
  padding: 0 0 20px 28px;
}

.page-home .pathway-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 4px rgba(255, 90, 43, 0.16);
}

.page-home .pathway-step::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 22px;
  bottom: 4px;
  width: 1px;
  background: var(--home-paper-line);
}

.page-home .pathway-step:last-child {
  padding-bottom: 0;
}

.page-home .pathway-step:last-child::after {
  display: none;
}

.page-home .pathway-num {
  grid-column: 1 / -1;
  font-family: var(--font-num);
  font-size: var(--s12);
  letter-spacing: 0.16em;
  color: var(--paper-muted);
}

.page-home .pathway-step-title {
  grid-column: 1 / -1;
  font-size: var(--s16);
  color: var(--paper-ink);
}

.page-home .pathway-step-note {
  grid-column: 1 / -1;
  font-size: var(--s14);
  line-height: 1.7;
  color: var(--paper-muted);
}

/* ---------- 本地专栏 ---------- */
.page-home .section-head {
  max-width: 64ch;
  margin-bottom: clamp(24px, 4vw, 46px);
}

.page-home .section-head .display-2 {
  margin: 8px 0 14px;
}

.page-home .section-head .body-copy {
  color: var(--muted);
}

.page-home .local-grid {
  row-gap: 16px;
}

.page-home .region-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px 24px;
  border: 1px solid var(--hair);
  border-radius: var(--radius-slab);
  background: var(--panel);
}

.page-home .region-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--s20);
  font-weight: 600;
  color: var(--ink);
}

.page-home .region-stat {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: var(--s12);
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .region-stat .num {
  font-family: var(--font-num);
  font-size: var(--s34);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

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

.page-home .region-chips li {
  font-size: var(--s12);
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border: 1px solid var(--hair);
  border-radius: var(--radius-capsule);
  color: var(--muted);
}

.page-home .region-note {
  margin: 0;
  font-size: var(--s14);
  line-height: 1.7;
  color: var(--muted);
}

.page-home .local-banner {
  margin: clamp(26px, 4vw, 44px) 0 0;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--hair);
}

.page-home .local-banner img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

/* ---------- 专家专栏 ---------- */
.page-home .columns {
  position: relative;
  overflow: hidden;
}

.page-home .columns-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.07;
  filter: grayscale(1) contrast(1.2);
  pointer-events: none;
}

.page-home .columns .wrap {
  position: relative;
  z-index: 1;
}

.page-home .columns-head .body-copy {
  color: var(--muted);
}

.page-home .columns-grid {
  row-gap: 16px;
}

.page-home .columns-grid .slab {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .columns-grid .slab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-home .columns-grid .slab-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--s20);
  line-height: 1.5;
  color: var(--ink);
}

.page-home .columns-grid .slab-body {
  margin: 0;
  font-size: var(--s14);
  line-height: 1.75;
  color: var(--muted);
}

.page-home .columns-grid .slab-foot {
  margin-top: auto;
}

/* ---------- 跨设备 ---------- */
.page-home .sync-grid {
  align-items: start;
  row-gap: clamp(26px, 4vw, 40px);
}

.page-home .sync-grid .display-2 {
  margin: 8px 0 14px;
}

.page-home .sync-grid .body-copy {
  color: var(--muted);
}

.page-home .sync-steps {
  display: grid;
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: var(--radius-slab);
  overflow: hidden;
}

.page-home .sync-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 18px 20px;
  background: var(--panel);
}

.page-home .sync-step-num {
  font-family: var(--font-num);
  font-size: var(--s26);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.page-home .sync-step-body strong {
  display: block;
  margin-bottom: 6px;
  font-size: var(--s16);
  color: var(--ink);
}

.page-home .sync-step-body p {
  margin: 0;
  font-size: var(--s14);
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 常见疑问 ---------- */
.page-home .faq .section-head {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-home .faq-list {
  display: grid;
  gap: 10px;
}

.page-home .faq-item {
  border: 1px solid var(--hair);
  border-radius: var(--radius-slab);
  background: var(--panel);
  padding: 4px 18px 4px;
  transition: border-color 200ms var(--ease);
}

.page-home .faq-item[open] {
  border-color: rgba(180, 255, 58, 0.42);
}

.page-home .faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 26px 16px 0;
  position: relative;
  font-size: var(--s16);
  font-weight: 500;
  color: var(--ink);
}

.page-home .faq-item summary::-webkit-details-marker {
  display: none;
}

.page-home .faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--lime);
  border-bottom: 1.5px solid var(--lime);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 220ms var(--ease);
}

.page-home .faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.page-home .faq-item p {
  margin: 0 0 16px;
  font-size: var(--s14);
  line-height: 1.78;
  color: var(--muted);
}

.page-home .faq-more {
  margin: clamp(20px, 3vw, 30px) 0 0;
}

/* ---------- 结尾 ---------- */
.page-home .cta-band {
  border-top: 1px solid var(--hair);
  background:
    radial-gradient(90% 140% at 12% 0%, rgba(180, 255, 58, 0.10), transparent 58%),
    linear-gradient(180deg, rgba(24, 34, 32, 0.6), rgba(10, 14, 13, 0.9));
}

.page-home .cta-inner {
  padding-top: clamp(34px, 6vw, 66px);
  padding-bottom: clamp(34px, 6vw, 66px);
  max-width: 72ch;
}

.page-home .cta-inner .display-3 {
  margin: 0 0 14px;
}

.page-home .cta-inner .body-copy {
  color: var(--muted);
  max-width: 58ch;
}

.page-home .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

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

@media (min-width: 981px) {
  .page-home .facts-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .page-home .hero-visual {
    margin-top: 4px;
  }

  .page-home .sync-grid .col-5,
  .page-home .sync-grid .col-7 {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .page-home .hero {
    background-image:
      repeating-linear-gradient(90deg, var(--home-line) 0 1px, transparent 1px 56px),
      repeating-linear-gradient(180deg, var(--home-line) 0 1px, transparent 1px 56px);
  }

  .page-home .hero-lead {
    padding-left: 14px;
  }

  .page-home .hero-frame {
    aspect-ratio: 4 / 3;
  }

  .page-home .focus-rail {
    position: static;
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding: 0 0 6px;
    border-top: 0;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .page-home .focus-item {
    flex: 0 0 84%;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 8px 12px;
    padding: 14px 16px;
    border: 1px solid var(--hair);
    border-radius: var(--radius-slab);
    background: var(--panel);
    scroll-snap-align: start;
  }

  .page-home .focus-item:last-child {
    border-bottom: 1px solid var(--hair);
  }

  .page-home .focus-item .pill {
    grid-column: 1 / -1;
    justify-self: start;
  }

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

  .page-home .local-banner {
    aspect-ratio: 4 / 3;
  }

  .page-home .cta-actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .faq-item summary::after,
  .page-home .tab-btn {
    transition: none;
  }
}
