.home-secondary-stack {
  display: grid;
  gap: 0;
}

@supports (content-visibility: auto) {
  .home-secondary-stack > * {
    content-visibility: auto;
    contain-intrinsic-size: 760px;
  }
}

.home-lazy-shell {
  width: min(1240px, calc(100% - 24px));
  margin: 0 auto 36px;
  min-height: 240px;
}

.home-lazy-shell__placeholder,
.home-lazy-shell__error {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(23, 37, 84, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 186, 74, 0.18), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fffaf2 100%);
  box-shadow: 0 22px 48px -32px rgba(15, 23, 42, 0.28);
}

.home-lazy-shell__copy {
  display: grid;
  gap: 8px;
}

.home-lazy-shell__copy h2,
.home-lazy-shell__error h2 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.2;
}

.home-lazy-shell__copy p,
.home-lazy-shell__error p {
  margin: 0;
  max-width: 60ch;
  color: #667085;
  font-size: 0.98rem;
  line-height: 1.6;
}

.home-lazy-shell__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 149, 0, 0.12);
  color: #b45309;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-lazy-shell__skeleton {
  display: grid;
  gap: 12px;
}

.home-lazy-shell__skeleton span {
  display: block;
  height: 84px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(226, 232, 240, 0.82) 0%, rgba(255, 255, 255, 0.92) 50%, rgba(226, 232, 240, 0.82) 100%);
  background-size: 200% 100%;
  animation: homeLazyPulse 1.6s linear infinite;
}

.home-lazy-shell__error {
  background:
    radial-gradient(circle at top right, rgba(239, 68, 68, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
}

.home-lazy-shell__retry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(249, 115, 22, 0.24);
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
}

.home-lazy-shell.is-loading .home-lazy-shell__placeholder {
  opacity: 0.96;
}

@keyframes homeLazyPulse {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (max-width: 768px) {
  .home-lazy-shell {
    width: min(100%, calc(100% - 18px));
    margin-bottom: 24px;
    min-height: 210px;
  }

  .home-lazy-shell__placeholder,
  .home-lazy-shell__error {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .home-lazy-shell__skeleton span {
    height: 68px;
  }
}
