html:has(#rdvSplash:not(.is-off)),
html:has(#rdvSplash:not(.is-off)) body {
  overflow: hidden;
}

.rdv-boot {
  --rdv-boot-accent: #0d9488;
  --rdv-boot-accent-strong: #0f766e;
  --rdv-boot-bg: #f1f5f9;
  --rdv-boot-text: #0f172a;
  --rdv-boot-muted: #64748b;
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem 1.25rem;
  font-family: Poppins, system-ui, sans-serif;
  text-align: center;
  color: var(--rdv-boot-text);
  background:
    radial-gradient(ellipse 90% 70% at 50% -5%, color-mix(in srgb, var(--rdv-boot-accent) 28%, transparent), transparent 58%),
    radial-gradient(ellipse 55% 45% at 100% 100%, color-mix(in srgb, var(--rdv-boot-accent-strong) 16%, transparent), transparent 55%),
    var(--rdv-boot-bg);
}

html[data-theme="dark"] .rdv-boot {
  --rdv-boot-accent: #2dd4bf;
  --rdv-boot-accent-strong: #14b8a6;
  --rdv-boot-bg: #111827;
  --rdv-boot-text: #f8fafc;
  --rdv-boot-muted: #94a3b8;
}

.rdv-boot__glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(56px);
  pointer-events: none;
  opacity: 0.55;
  animation: rdv-boot-glow 7s ease-in-out infinite;
}
.rdv-boot__glow--a { top: 12%; left: 8%; width: 10rem; height: 10rem; background: color-mix(in srgb, var(--rdv-boot-accent) 50%, transparent); }
.rdv-boot__glow--b { right: 4%; bottom: 14%; width: 13rem; height: 13rem; background: color-mix(in srgb, var(--rdv-boot-accent-strong) 35%, transparent); animation-delay: -3.2s; }

.rdv-boot__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(rgba(15, 23, 42, 0.08) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
}

.rdv-boot__stage { position: relative; z-index: 1; display: flex; width: min(100%, 20rem); flex-direction: column; align-items: center; }
.rdv-boot__mark { margin-bottom: 1.35rem; animation: rdv-boot-mark-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.rdv-boot__icon-wrap { position: relative; display: grid; place-items: center; }
.rdv-boot__icon-wrap::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--rdv-boot-accent) 40%, transparent);
  animation: rdv-boot-ring 2.4s ease-out 0.55s infinite;
  pointer-events: none;
}
.rdv-boot__logo {
  display: block;
  width: 88px;
  height: 88px;
  overflow: visible;
  filter: drop-shadow(0 10px 22px color-mix(in srgb, var(--rdv-boot-accent) 40%, transparent));
  animation: rdv-boot-icon-breathe 3.2s ease-in-out 1.45s infinite;
}
.rdv-boot__disc { transform-origin: 24px 24px; animation: rdv-boot-disc 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
.rdv-boot__page,
.rdv-boot__pins,
.rdv-boot__head,
.rdv-boot__grid,
.rdv-boot__tick { stroke-dasharray: 1; stroke-dashoffset: 1; }
.rdv-boot__page { animation: rdv-boot-draw 0.42s ease 0.2s forwards; }
.rdv-boot__pins { animation: rdv-boot-draw 0.28s ease 0.55s forwards; }
.rdv-boot__head { animation: rdv-boot-draw 0.22s ease 0.72s forwards; }
.rdv-boot__grid { animation: rdv-boot-draw 0.32s ease 0.88s forwards; }
.rdv-boot__seal {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  animation: rdv-boot-badge 0.4s cubic-bezier(0.22, 1, 0.36, 1) 1.05s forwards;
}
.rdv-boot__tick { animation: rdv-boot-draw 0.28s ease 1.28s forwards; }
.rdv-boot__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rdv-boot-muted);
  animation: rdv-boot-text-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}
.rdv-boot__title {
  margin: 0.15rem 0 0;
  font-size: clamp(2.15rem, 8vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  animation: rdv-boot-text-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
.rdv-boot__label {
  margin: 1.15rem 0 0;
  min-height: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--rdv-boot-muted);
  animation: rdv-boot-text-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}
.rdv-boot__bar {
  margin-top: 1.35rem;
  width: 9.5rem;
  height: 3px;
  overflow: hidden;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--rdv-boot-accent) 18%, transparent);
  animation: rdv-boot-text-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}
.rdv-boot__bar-fill {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--rdv-boot-accent) 45%, white), var(--rdv-boot-accent), var(--rdv-boot-accent-strong));
  animation: rdv-boot-bar 1.65s cubic-bezier(0.4, 0, 0.2, 1) 0.35s both;
}
#rdvSplash.is-off { animation: rdv-boot-out 0.42s cubic-bezier(0.4, 0, 0.2, 1) forwards; pointer-events: none; }
html[data-rdv-public="1"] #rdvSplash { animation: rdv-boot-out 0.42s cubic-bezier(0.4, 0, 0.2, 1) 1.9s forwards; pointer-events: none; }

@keyframes rdv-boot-glow { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(14px, -12px) scale(1.08); } }
@keyframes rdv-boot-mark-in { from { opacity: 0; transform: translateY(18px) scale(0.82); } to { opacity: 1; transform: none; } }
@keyframes rdv-boot-disc { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: scale(1); } }
@keyframes rdv-boot-draw { to { stroke-dashoffset: 0; } }
@keyframes rdv-boot-badge { 0% { transform: scale(0); } 70% { transform: scale(1.14); } 100% { transform: scale(1); } }
@keyframes rdv-boot-ring { 0% { transform: scale(0.92); opacity: 0.65; } 100% { transform: scale(1.22); opacity: 0; } }
@keyframes rdv-boot-icon-breathe { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(1.03); } }
@keyframes rdv-boot-text-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes rdv-boot-bar { 0% { transform: translateX(-120%); } 100% { transform: translateX(280%); } }
@keyframes rdv-boot-out { to { opacity: 0; visibility: hidden; transform: scale(1.03); filter: blur(4px); } }

@media (prefers-reduced-motion: reduce) {
  .rdv-boot, .rdv-boot__glow, .rdv-boot__mark, .rdv-boot__logo, .rdv-boot__icon-wrap::after,
  .rdv-boot__disc, .rdv-boot__page, .rdv-boot__pins, .rdv-boot__head, .rdv-boot__grid, .rdv-boot__seal, .rdv-boot__tick,
  .rdv-boot__eyebrow, .rdv-boot__title, .rdv-boot__label, .rdv-boot__bar, .rdv-boot__bar-fill,
  #rdvSplash.is-off,
  html[data-rdv-public="1"] #rdvSplash { animation: none !important; }
  #rdvSplash.is-off,
  html[data-rdv-public="1"] #rdvSplash { opacity: 0; visibility: hidden; pointer-events: none; }
  .rdv-boot__page, .rdv-boot__pins, .rdv-boot__head, .rdv-boot__grid, .rdv-boot__tick { stroke-dashoffset: 0; }
  .rdv-boot__seal { transform: none; }
}
