:root {
  --swex-gate-pink: #f72782;
  --swex-gate-ink: #17151a;
  --swex-gate-muted: #7c7780;
}

.swex-external-gate { display: none; }

html.swex-external-context,
html.swex-external-context body {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #fff;
  opacity: 1 !important;
  filter: none !important;
}

html.swex-external-context body > *:not(#swex-external-gate):not(script) {
  display: none !important;
}

html.swex-external-context .swex-external-gate {
  box-sizing: border-box;
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  min-height: 100dvh;
  padding: max(34px, env(safe-area-inset-top)) 26px max(28px, env(safe-area-inset-bottom));
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--swex-gate-ink);
  background:
    radial-gradient(circle at 50% 24%, rgba(251, 168, 197, .22), transparent 31%),
    linear-gradient(180deg, #fff 0%, #fff 72%, #fff8fb 100%);
  font-family: "Avenir Next", "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  text-align: center;
  isolation: isolate;
  visibility: visible !important;
  opacity: 1;
  filter: none !important;
}

.swex-external-gate::before {
  content: "";
  position: absolute;
  width: min(72vw, 420px);
  aspect-ratio: 1;
  top: 5%;
  left: 50%;
  z-index: -1;
  border: 1px solid rgba(247, 39, 130, .07);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 26px rgba(251, 168, 197, .035), 0 0 0 64px rgba(251, 168, 197, .025);
}

.swex-external-orbit {
  position: relative;
  width: 116px;
  height: 116px;
  margin-bottom: 34px;
  display: grid;
  place-items: center;
}

.swex-external-orbit img {
  position: relative;
  z-index: 2;
  display: block;
  width: 84px;
  height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(207, 15, 100, .18));
}

.swex-external-halo {
  position: absolute;
  inset: 4px;
  border-radius: 38px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(247, 39, 130, .1);
  box-shadow: 0 22px 55px rgba(31, 19, 25, .08), inset 0 0 34px rgba(251, 168, 197, .12);
  transform: rotate(8deg);
}

.swex-external-copy {
  width: min(calc(100% - 52px), 440px);
  min-width: 0;
}

.swex-external-eyebrow {
  margin: 0 0 13px;
  color: var(--swex-gate-pink);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .18em;
}

.swex-external-copy h1 {
  margin: 0;
  font-size: clamp(34px, 9vw, 54px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 760;
}

.swex-external-copy > p:not(.swex-external-eyebrow) {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 22px auto 0;
  color: var(--swex-gate-muted);
  font-size: 15px;
  line-height: 1.52;
  overflow-wrap: anywhere;
}

.swex-external-copy a {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-height: 58px;
  margin-top: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 19px;
  color: #fff;
  background: var(--swex-gate-pink);
  box-shadow: 0 16px 32px rgba(247, 39, 130, .22);
  font-size: 16px;
  font-weight: 720;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.swex-external-copy a:hover {
  background: #ef1974;
  box-shadow: 0 18px 38px rgba(247, 39, 130, .28);
  transform: translateY(-1px);
}

.swex-external-copy a:active { transform: scale(.985); }

.swex-external-copy small {
  display: block;
  margin-top: 14px;
  color: #aaa4ac;
  font-size: 12px;
}

.swex-external-wordmark {
  position: absolute;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  color: #cfbdc4;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .46em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

@media (max-height: 640px) {
  .swex-external-orbit { width: 88px; height: 88px; margin-bottom: 22px; }
  .swex-external-orbit img { width: 66px; height: 66px; }
  .swex-external-copy > p:not(.swex-external-eyebrow) { margin-top: 16px; }
  .swex-external-copy a { margin-top: 21px; min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .swex-external-copy a { transition: none; }
}
