.planora-launch {
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 22px;
    overflow: hidden;
    isolation: isolate;
    color: #f7fbf8;
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 212, 52, .18), transparent 25%),
        radial-gradient(circle at 18% 15%, rgba(8, 127, 91, .34), transparent 32%),
        linear-gradient(145deg, #071b12 0%, #0b3523 55%, #064e2e 100%);
    opacity: 1;
    visibility: visible;
    transition: opacity 360ms cubic-bezier(.16, 1, .3, 1), transform 360ms cubic-bezier(.16, 1, .3, 1), visibility 0s linear 360ms;
    animation: planora-launch-failsafe 420ms cubic-bezier(.16, 1, .3, 1) 3s forwards;
}

.planora-launch::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -20%;
    pointer-events: none;
    opacity: .2;
    background-image: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle, #000 0%, transparent 65%);
    transform: perspective(700px) rotateX(58deg) translateY(18%);
}

.planora-launch.is-leaving {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.015);
    animation: none;
}

html.planora-launch-seen .planora-launch {
    display: none;
}

.planora-launch__signal {
    position: relative;
    display: grid;
    width: 168px;
    height: 168px;
    place-items: center;
}

.planora-launch__halo,
.planora-launch__ring {
    position: absolute;
    border-radius: 50%;
}

.planora-launch__halo {
    inset: -22px;
    background: radial-gradient(circle, rgba(255, 224, 113, .42), rgba(255, 212, 52, .09) 42%, transparent 70%);
    opacity: 0;
    transform: scale(.72);
    animation: planora-launch-light 720ms cubic-bezier(.16, 1, .3, 1) 300ms forwards;
}

.planora-launch__ring {
    border: 1px solid rgba(255, 234, 157, .28);
    opacity: 0;
    animation: planora-launch-ring 900ms cubic-bezier(.16, 1, .3, 1) 420ms forwards;
}

.planora-launch__ring--outer { inset: 0; }
.planora-launch__ring--inner { inset: 18px; animation-delay: 500ms; }

.planora-launch__mark {
    position: relative;
    display: grid;
    width: 104px;
    height: 104px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(234, 244, 236, .94));
    box-shadow: 0 26px 70px rgba(1, 13, 8, .38), inset 0 1px rgba(255, 255, 255, .9);
    opacity: 0;
    transform: translateY(12px) scale(.82);
    animation: planora-launch-mark 620ms cubic-bezier(.16, 1, .3, 1) 300ms forwards;
}

.planora-launch__mark img {
    display: block;
    width: 84px;
    height: 84px;
    object-fit: contain;
}

.planora-launch__cord {
    position: absolute;
    top: -62px;
    right: 18px;
    width: 2px;
    height: 88px;
    border-radius: 999px;
    background: linear-gradient(#f7e7a7, #d8b745);
    box-shadow: 0 0 12px rgba(255, 212, 52, .28);
    transform: translateY(-28px);
    animation: planora-launch-pull 560ms cubic-bezier(.16, 1, .3, 1) 80ms forwards;
}

.planora-launch__cord span {
    position: absolute;
    left: 50%;
    bottom: -16px;
    width: 13px;
    height: 24px;
    border: 2px solid #f7e7a7;
    border-radius: 999px;
    background: #0b3523;
    transform: translateX(-50%);
}

.planora-launch__copy {
    display: grid;
    justify-items: center;
    gap: 5px;
    opacity: 0;
    transform: translateY(10px);
    animation: planora-launch-copy 540ms cubic-bezier(.16, 1, .3, 1) 640ms forwards;
}

.planora-launch__copy strong {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: .12em;
}

.planora-launch__copy span {
    color: #ffe481;
    font-family: "Inter", sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

@keyframes planora-launch-pull {
    0% { transform: translateY(-28px); }
    64% { transform: translateY(14px); }
    100% { transform: translateY(0); }
}

@keyframes planora-launch-light {
    from { opacity: 0; transform: scale(.72); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes planora-launch-ring {
    from { opacity: 0; transform: scale(.7); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes planora-launch-mark {
    from { opacity: 0; transform: translateY(12px) scale(.82); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes planora-launch-copy {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes planora-launch-failsafe {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}

@media (max-width: 520px) {
    .planora-launch__signal { width: 144px; height: 144px; }
    .planora-launch__mark { width: 92px; height: 92px; border-radius: 26px; }
    .planora-launch__mark img { width: 74px; height: 74px; }
}

@media (prefers-reduced-motion: reduce) {
    .planora-launch,
    .planora-launch * {
        animation: none !important;
        transition-duration: .01ms !important;
    }

    .planora-launch__halo,
    .planora-launch__ring,
    .planora-launch__mark,
    .planora-launch__copy {
        opacity: 1;
        transform: none;
    }

    .planora-launch__cord { transform: translateY(0); }
}
