/* Waiting list page: Route_3/PSD/MS_Computer_Waitlist.psd (1920 x 1080). Its background is the PSD's "Fond" group exported
   as one image (assets/waitlist/fond.jpg); the block, the field and the button use the PSD's sizes and positions. The frame
   and the header are the site's (site.css). Same unit as the site: desktop 1rem = 100 px of the 1920 x 1080 frame, phone
   1rem = 100 px of a 390 px wide screen. */

.wl-page .stage { background: #000 url("../assets/waitlist/fond.jpg") center / cover no-repeat; touch-action: manipulation; }

/* the block (PSD sizes): eyebrow, title, then the field and the button; no subtitle (client, 12/11/2026). The whole block is
   centred in the frame, a touch above the middle. */
.wl { position: absolute; z-index: 2; left: 50%; top: calc(50% - .12rem); width: 10rem; margin-left: -5rem; text-align: center; transform: translateY(-50%); }
.wl > * { animation: wl-in 1s cubic-bezier(.22, .8, .2, 1) both; }
.wl > :nth-child(2) { animation-delay: .08s; } .wl > :nth-child(3) { animation-delay: .16s; } .wl > :nth-child(4) { animation-delay: .24s; }
@keyframes wl-in { from { opacity: 0; transform: translate3d(0, .16rem, 0); } }
.wl-eyebrow { font: 500 .182rem/.26rem var(--sans); letter-spacing: .24em;   /* 30 % larger than the PSD's 14 px */
    text-transform: uppercase; color: #A68BFF; }
.wl-title { margin-top: .224rem; font: 400 .65rem/.78rem var(--sans); letter-spacing: -.05em; color: var(--lilac); }
.wl-brand { font-weight: 700; }                /* "ms.computer", in bold, as everywhere on the site */
.wl-form { position: relative; display: flex; flex-direction: column; align-items: center; gap: .4rem; margin-top: .48rem; }
.wl-form[hidden] { display: none; }
.wl-form input { box-sizing: border-box; width: 4.06rem; height: .6rem; padding: 0 .27rem; border: .01rem solid rgba(216, 200, 226, .3); border-radius: .3rem; background: rgba(0, 0, 0, .85);
    color: #fff; font: 500 .19rem var(--sans); letter-spacing: -.01em; outline: 0; transition: border-color .3s ease; }
.wl-form input::placeholder { color: #8E8598; }
.wl-form input:focus { border-color: rgba(216, 200, 226, .8); }
.wl-form input.bad { border-color: #A67DB6; }
.wl-form button { width: 1.73rem; height: .61rem; border-radius: .305rem; color: #fff; font: 500 .19rem var(--sans); letter-spacing: -.01em; transition: filter .3s ease;
    background: linear-gradient(90deg, transparent 30%, rgba(19, 0, 51, .62)), linear-gradient(180deg, #4E0067, #87519B); }   /* the site's dark violet button */
.wl-form button { cursor: pointer; }
.wl-form button:hover { filter: brightness(1.15); }
.wl-form button:disabled { cursor: wait; opacity: .65; filter: none; }
.wl-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wl-status { position: absolute; top: 100%; left: 50%; width: 4.8rem; margin: .18rem 0 0 -2.4rem; font: 400 .17rem/.24rem var(--sans); color: var(--lilac); }
.wl-status.error { color: #F5BBD0; }
.wl-check { width: 300px; align-self: center; line-height: 0; }
.wl-check[hidden] { display: none; }
.wl-done { margin-top: .48rem; font: 500 .22rem/.6rem var(--sans); color: var(--lilac); animation: wl-in .8s cubic-bezier(.22, .8, .2, 1) both; }

@media (prefers-reduced-motion: reduce) { .wl > *, .wl-done { animation: none; } }

/* ---------------------------------------- phone: the same block, scaled to the screen, the background centred */
@media (max-aspect-ratio: 1/1) {
    .wl { top: 50%; width: 3.3rem; margin-left: -1.65rem; transform: translateY(-52%); }
    .wl-eyebrow { font-size: .117rem; line-height: .18rem; }
    .wl-br { display: none; }                      /* the title wraps by itself: "Get early access to / ms.computer inference" */
    .wl-title { margin-top: .08rem; font-size: .28rem; line-height: .36rem; text-wrap: balance; }
    .wl-form { align-items: stretch; gap: .12rem; margin-top: .26rem; }
    .wl-form input { width: 100%; height: .42rem; border-radius: .21rem; padding: 0 .18rem; font-size: 16px; }
    .wl-form button { width: auto; align-self: center; height: .42rem; padding: 0 .3rem; border-radius: .21rem; font-size: 16px; }
    .wl-status { left: 0; width: 100%; margin: .14rem 0 0; font-size: .13rem; line-height: .2rem; }
    .wl-done { margin-top: .26rem; font-size: .13rem; line-height: .2rem; }
}
