.page-home {
  --home-fog-rule: rgba(11, 27, 51, 0.12);
  --home-jade-deep: #2f6d66;
  color: var(--ink-text);
  overflow-x: clip;
}

.page-home .section {
  padding: clamp(56px, 8vw, 108px) 0;
}

.page-home .eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  font-weight: 600;
}

.page-home .section-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink-text);
}

.page-home .is-filtered-out {
  display: none;
}

/* ---------- 首屏 ---------- */

.hero-home {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink-void);
  color: var(--fog);
  padding: clamp(104px, 14vw, 168px) 0 clamp(48px, 7vw, 88px);
}

.hero-home__glow {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% 42%;
  opacity: 0.42;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    104deg,
    rgba(11, 27, 51, 0.97) 0%,
    rgba(11, 27, 51, 0.92) 38%,
    rgba(11, 27, 51, 0.6) 70%,
    rgba(7, 18, 35, 0.94) 100%
  );
}

.hero-home__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-home__pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: home-pulse 3s var(--ease) infinite;
}

.hero-home__pulse--gold {
  animation-delay: 0.9s;
}

@keyframes home-pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.25); }
}

.hero-home__inner {
  position: relative;
  display: grid;
  gap: clamp(34px, 5vw, 60px);
  align-items: end;
}

.hero-home__copy {
  min-width: 0;
}

.hero-home__eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--gold-soft);
}

.hero-home__title {
  margin: 0 0 22px;
  font-family: var(--font-sans);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--fog);
}

.hero-home__lead {
  max-width: 48ch;
  margin: 0 0 28px;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.85;
  color: var(--on-dark);
}

.hero-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-home__paths {
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-gold);
  display: grid;
  gap: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--on-dark-dim);
}

.hero-home__paths li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  min-width: 0;
}

.hero-home__path-key {
  flex: 0 0 auto;
  padding: 2px 10px;
  border: 1px solid var(--line-gold-strong);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.hero-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-l);
  background: linear-gradient(158deg, rgba(22, 41, 74, 0.94), rgba(7, 18, 35, 0.96));
  box-shadow: var(--shadow-panel);
}

.hero-panel__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line-gold);
}

.hero-panel__lights {
  display: inline-flex;
  gap: 6px;
  flex: 0 0 auto;
}

.hero-panel__lights i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245, 242, 236, 0.22);
}

.hero-panel__lights i:first-child {
  background: var(--cinnabar-soft);
}

.hero-panel__lights i:nth-child(2) {
  background: var(--gold);
}

.hero-panel__title {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--on-dark);
}

.hero-panel__shot {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 16px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-gold);
}

.page-home .inline-search__label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
}

.page-home .inline-search__field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line-gold-strong);
  border-radius: var(--radius-s);
  background: rgba(245, 242, 236, 0.05);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.page-home .inline-search__field:focus-within {
  border-color: var(--cinnabar-soft);
  box-shadow: 0 0 0 3px rgba(198, 58, 46, 0.3);
}

.page-home .inline-search__icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.page-home .inline-search__field input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--fog);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
}

.page-home .inline-search__field input::placeholder {
  color: rgba(245, 242, 236, 0.42);
}

.page-home .inline-search__status {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--on-dark-dim);
  min-height: 1.4em;
}

/* ---------- 三步动线 ---------- */

.home-steps {
  background: var(--fog);
  color: var(--ink-text);
}

.home-steps__lead {
  max-width: 56ch;
  margin: 14px 0 0;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-muted);
}

.step-flow {
  list-style: none;
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 0;
  display: grid;
}

.step-flow__item {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 34px;
}

.step-flow__item:last-child {
  padding-bottom: 0;
}

.step-flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 58px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(198, 58, 46, 0.42), rgba(198, 58, 46, 0.05));
}

.step-flow__num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(198, 58, 46, 0.4);
  border-radius: 50%;
  background: #fff;
  color: var(--cinnabar);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 8px 20px -14px rgba(11, 27, 51, 0.6);
}

.step-flow__body {
  min-width: 0;
}

.step-flow__title {
  margin: 10px 0 8px;
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
  font-weight: 700;
  line-height: 1.32;
  color: var(--ink-text);
}

.step-flow__text {
  margin: 0 0 10px;
  font-size: 0.97rem;
  line-height: 1.85;
  color: var(--ink-muted);
}

.step-flow__result {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(63, 143, 134, 0.12);
  color: var(--home-jade-deep);
  font-size: 13px;
  line-height: 1.5;
}

.step-flow__result::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jade);
}

.home-steps__media {
  margin: clamp(36px, 5vw, 56px) 0 0;
  border: 1px solid var(--fog-line);
  border-radius: var(--radius-m);
  background: #fff;
  overflow: hidden;
}

.home-steps__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.home-steps__media figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--fog-line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* ---------- 四类更新 ---------- */

.home-bulletin {
  background:
    radial-gradient(120% 80% at 88% 0%, rgba(22, 41, 74, 0.92), transparent 62%),
    linear-gradient(180deg, var(--ink-void), var(--ink-night));
  color: var(--fog);
}

.home-bulletin .eyebrow {
  color: var(--gold-soft);
}

.home-bulletin .section-title {
  color: var(--fog);
}

.home-bulletin__head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.home-bulletin__intro {
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--on-dark);
}

.bulletin-strips {
  display: grid;
  gap: 18px;
}

.bulletin-strip {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: clamp(20px, 2.6vw, 30px);
  padding-left: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-m);
  background: rgba(22, 41, 74, 0.5);
  overflow: hidden;
}

.bulletin-strip::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), rgba(216, 168, 90, 0));
}

.bulletin-strip--release::before {
  background: linear-gradient(180deg, var(--cinnabar), rgba(198, 58, 46, 0));
}

.bulletin-strip--service::before {
  background: linear-gradient(180deg, var(--jade), rgba(63, 143, 134, 0));
}

.bulletin-strip--notice::before {
  background: linear-gradient(180deg, var(--cinnabar-soft), rgba(228, 105, 92, 0));
}

.bulletin-strip__head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bulletin-strip__num {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--gold-soft);
}

.bulletin-strip__title {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--fog);
}

.page-home .tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.page-home .tag--cinnabar {
  color: var(--cinnabar-soft);
}

.page-home .tag--jade {
  color: var(--jade);
}

.page-home .tag--gold {
  color: var(--gold);
}

.bulletin-strip__desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--on-dark);
}

.bulletin-strip__latest {
  margin: auto 0 0;
  padding: 12px 14px;
  border-left: 2px solid var(--line-gold-strong);
  border-radius: var(--radius-s);
  background: rgba(245, 242, 236, 0.05);
  font-size: 13px;
  line-height: 1.7;
  color: var(--on-dark-dim);
}

.bulletin-strip__latest span {
  margin-right: 8px;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
}

/* ---------- 订阅与收藏 ---------- */

.home-subscribe {
  background: var(--fog);
  color: var(--ink-text);
}

.home-subscribe__head {
  margin-bottom: clamp(26px, 3.5vw, 40px);
}

.home-subscribe__pair {
  display: grid;
  gap: 20px;
}

.board {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
  border-radius: var(--radius-l);
}

.board--dark {
  border: 1px solid var(--line-gold);
  background: linear-gradient(158deg, var(--ink-panel), var(--ink-void));
  color: var(--fog);
  box-shadow: var(--shadow-panel);
}

.board--light {
  border: 1px solid var(--fog-line);
  background: #fff;
  box-shadow: 0 22px 44px -38px rgba(11, 27, 51, 0.7);
}

.board__kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 600;
}

.board--dark .board__kicker {
  color: var(--gold-soft);
}

.board--light .board__kicker {
  color: var(--cinnabar);
}

.board__title {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.3;
}

.board__text {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.85;
}

.board--dark .board__text {
  color: var(--on-dark);
}

.board--light .board__text {
  color: var(--ink-muted);
}

.board__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.board__list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.94rem;
  line-height: 1.8;
}

.board__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.board--light .board__list li::before {
  background: var(--cinnabar);
}

.board--dark .board__list li {
  color: var(--on-dark);
}

.board--light .board__list li {
  color: var(--ink-muted);
}

.board__list strong {
  font-weight: 700;
}

.board--dark .board__list strong {
  color: var(--fog);
}

.board--light .board__list strong {
  color: var(--ink-text);
}

.board__link {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms var(--ease);
}

.board--dark .board__link {
  color: var(--gold-soft);
}

.board--light .board__link {
  color: var(--cinnabar);
}

.board__link:hover {
  color: var(--cinnabar-soft);
}

/* ---------- 服务支持 ---------- */

.home-support {
  background: var(--ink-night);
  color: var(--fog);
}

.home-support .eyebrow {
  color: var(--gold-soft);
}

.home-support .section-title {
  color: var(--fog);
}

.home-support__visual {
  margin: 0 0 clamp(28px, 4vw, 44px);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.home-support__visual img {
  display: block;
  width: 100%;
  height: clamp(150px, 24vw, 300px);
  object-fit: cover;
}

.home-support__body {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.home-support__copy {
  min-width: 0;
}

.home-support__text {
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--on-dark);
}

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

.home-support__points li {
  position: relative;
  padding-left: 18px;
  border-left: 1px solid var(--line-gold-strong);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--on-dark);
}

.home-support__points span {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
  color: var(--fog);
}

.home-support__contact {
  margin: 24px 0 20px;
  font-size: 0.95rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--gold-soft);
  word-break: break-word;
}

.home-support__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.home-support__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-m);
  background: var(--line-gold);
  overflow: hidden;
}

.home-support__stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--ink-night);
}

.home-support__stat-value {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  color: var(--gold-soft);
}

.home-support__stat-label {
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--on-dark-dim);
}

/* ---------- 按钮兜底 ---------- */

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}

.page-home .btn--primary {
  background: var(--cinnabar);
  color: #fff;
}

.page-home .btn--primary:hover {
  background: var(--cinnabar-soft);
}

.page-home .btn--ghost {
  background: transparent;
  border-color: var(--line-gold-strong);
  color: var(--fog);
}

.page-home .btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.page-home .btn:focus-visible,
.page-home .board__link:focus-visible {
  outline: 2px solid var(--cinnabar);
  outline-offset: 3px;
}

.page-home input:focus-visible {
  outline: 2px solid var(--cinnabar);
  outline-offset: 2px;
}

/* ---------- 响应式 ---------- */

@media (min-width: 768px) {
  .hero-home__paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
  }

  .bulletin-strips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (min-width: 900px) {
  .home-bulletin__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 40px;
  }

  .home-support__body {
    grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
    align-items: start;
  }

  .home-support__stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-home__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(40px, 5vw, 72px);
  }

  .bulletin-strips {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
  }

  .bulletin-strip--release { grid-column: span 7; }
  .bulletin-strip--service { grid-column: span 5; }
  .bulletin-strip--archive { grid-column: span 5; }
  .bulletin-strip--notice  { grid-column: span 7; }

  .home-subscribe__pair {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: stretch;
  }
}

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

  .page-home .btn,
  .page-home .board__link {
    transition-duration: 120ms;
  }
}
