.reception-welcome,
.thank-you-screen,
.record-search-overlay {
    background: radial-gradient(circle at 50% 44%, rgba(255, 255, 255, .84) 0%, rgba(248, 250, 255, .76) 62%, rgba(237, 243, 251, .72) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.reception-welcome {
    position: fixed;
    inset: 0;
    z-index: 10030;
    display: grid;
    place-items: center;
    color: #001e50;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
    animation: reception-welcome-dismiss 2s both;
}

.reception-welcome-words {
    position: relative;
    width: 100%;
    height: 1.3em;
    font-size: clamp(4rem, 18vw, 11rem);
    font-weight: 650;
    letter-spacing: -.075em;
    line-height: 1.3;
    text-align: center;
}

.reception-welcome-words span {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: reception-welcome-word .75s ease-in-out both;
}

.reception-welcome-words span:nth-child(2) { animation-delay: .6s; }
.reception-welcome-words span:nth-child(3) { animation-delay: 1.2s; }

.reception-welcome-brand {
    position: absolute;
    bottom: max(32px, env(safe-area-inset-bottom));
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .22em;
}

.stage.active.thank-you-screen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    width: 100%;
    max-width: none;
    display: grid;
    place-items: center;
    overflow-y: auto;
    padding: 48px 22px 92px;
    color: #001e50;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
    text-align: center;
    animation: none;
}

.thank-you-content {
    width: min(720px, 100%);
}

.thank-you-kicker {
    display: block;
    margin-bottom: 16px;
    color: #0068d7;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.thank-you-screen .thank-you-title {
    margin: 0;
    color: #001e50;
    letter-spacing: normal;
    line-height: 1;
}

.thank-you-title span,
.thank-you-title small {
    display: block;
}

.thank-you-title span {
    font-size: clamp(4.5rem, 13vw, 10rem);
    font-weight: 650;
    letter-spacing: -.075em;
}

.thank-you-title small {
    margin-top: 16px;
    font-size: clamp(1.25rem, 2.6vw, 1.75rem);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.3;
}

.thank-you-reference {
    display: inline-block;
    margin-top: 28px;
    padding: 10px 17px;
    border: 1px solid rgba(0, 30, 80, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .52);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
}

.thank-you-message {
    max-width: 560px;
    margin: 22px auto 0;
    color: #52677e;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.55;
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.thank-you-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.thank-you-brand {
    position: absolute;
    bottom: max(32px, env(safe-area-inset-bottom));
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .22em;
}

@media (max-height: 650px) {
    .thank-you-screen {
        place-items: start center;
        padding-bottom: 32px;
    }

    .thank-you-brand {
        position: static;
        margin-top: 48px;
    }
}

@keyframes reception-welcome-word {
    0% { opacity: 0; transform: translateY(18px) scale(.96); }
    18%, 72% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-14px) scale(1.02); }
}

@keyframes reception-welcome-dismiss {
    0%, 94% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
    .reception-welcome { display: none; animation: none; }
    .reception-welcome-words span { animation: none; }
}
