main {
  background: #16000a;
}

.newsletter-page {
  position: relative;
  padding: 150px 0 142px;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 28%, rgba(119, 24, 71, 0.52), transparent 38%),
    linear-gradient(112deg, #000 0%, #130007 34%, #4b0827 100%);
}

.newsletter-shell {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.newsletter-frame-card {
  position: relative;
  width: min(100%, 760px);
  min-height: 900px;
  overflow: hidden;
  border-radius: 8px;
  background: #f4f4f4;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.newsletter-frame {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 900px;
  border: 0;
  background: #f4f4f4;
}

.newsletter-page--unsubscribe {
  display: grid;
  align-items: center;
}

.newsletter-frame-card--unsubscribe {
  width: min(100%, 800px);
  min-height: 500px;
}

.newsletter-frame--unsubscribe {
  min-height: 500px;
}

.newsletter-page--unsubscribe-confirm {
  min-height: 560px;
}

.newsletter-frame-card--unsubscribe-confirm {
  width: min(100%, 800px);
  min-height: 260px;
}

.newsletter-frame--unsubscribe-confirm {
  min-height: 260px;
}

.newsletter-loading,
.newsletter-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  padding: 40px;
  text-align: center;
}

.newsletter-loading {
  color: var(--color-plum);
  font-size: 15px;
  font-weight: 600;
}

.newsletter-fallback {
  z-index: 2;
  align-content: center;
  gap: 18px;
  background: #f4f4f4;
  color: var(--color-ink);
}

.newsletter-fallback[hidden],
.newsletter-loading[hidden] {
  display: none;
}

.newsletter-fallback h1 {
  margin: 0;
  color: var(--color-plum);
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
}

.newsletter-fallback p {
  max-width: 560px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 760px), (max-width: 1180px) and (orientation: portrait) {
  .newsletter-page {
    min-height: auto;
    padding: 80px 0 96px;
  }

  .newsletter-frame-card,
  .newsletter-frame {
    min-height: 780px;
  }

  .newsletter-page--unsubscribe {
    padding: 80px 0 88px;
  }

  .newsletter-frame-card--unsubscribe,
  .newsletter-frame--unsubscribe {
    min-height: 500px;
  }

  .newsletter-page--unsubscribe-confirm {
    min-height: 420px;
  }

  .newsletter-frame-card--unsubscribe-confirm,
  .newsletter-frame--unsubscribe-confirm {
    min-height: 260px;
  }
}
