
.ps-hero { padding-bottom: clamp(28px, 4vw, 40px); }
main:has(.ps-hero) ~ .site-foot { margin-top: 0; }
.ps-install { display: grid; gap: 18px; justify-items: start; max-width: 560px; margin: 0 auto; }
.ps-install h1 { margin: 0; }
.ps-install .lede { margin: 0; }

.ps-form { display: grid; gap: 12px; width: 100%; }
.ps-email-label { font-weight: 600; font-size: 0.95rem; }
.ps-row { position: relative; display: flex; gap: 10px; flex-wrap: wrap; }
.ps-email {
    flex: 1 1 260px; min-height: 50px; padding: 0 18px;
    border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper);
    font: 1.05rem var(--font); color: var(--ink);
}
.ps-email:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-tint); }
.ps-row .btn { min-height: 50px; padding: 0 26px; font-size: 1.05rem; }
.ps-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--muted); line-height: 1.45; }
.ps-agree input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }
.ps-email[aria-invalid="true"] { border-color: #b02a37; }
.ps-agree-wrap { position: relative; }
.ps-pill {
    position: absolute; top: calc(100% + 10px); left: -2px; z-index: 2;
    padding: 6px 14px; border-radius: 999px; background: var(--ok); color: #fff;
    font-size: 0.88rem; font-weight: 700; white-space: nowrap; pointer-events: none;
    box-shadow: 0 6px 16px -6px rgba(21, 128, 61, 0.55);
}
.ps-pill::before {
    content: ""; position: absolute; top: -5px; left: 6px; width: 10px; height: 10px;
    background: var(--ok); transform: rotate(45deg); border-radius: 2px;
}
.ps-pill[hidden] { display: none; }
@media (min-width: 900px) {
    .ps-pill { top: -6px; left: auto; right: calc(100% + 16px); }
    .ps-pill::before { top: 50%; left: auto; right: -4px; margin-top: -5px; }
}
.ps-pill-email { top: auto; left: -2px; right: auto; bottom: calc(100% + 8px); }
.ps-pill-email::before { top: auto; left: 22px; bottom: -4px; }
@media (min-width: 900px) {
    .ps-pill-email { bottom: auto; top: 25px; left: auto; right: calc(100% + 16px); transform: translateY(-50%); }
    .ps-pill-email::before { bottom: auto; top: 50%; left: auto; right: -4px; margin-top: -5px; }
}
.ps-pill-go { animation: ps-pill-fade 3s ease forwards; }
@keyframes ps-pill-fade { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 520px) { .ps-row .btn { width: 100%; justify-content: center; } }

.ps-fine { display: grid; gap: 10px; max-width: 720px; margin: clamp(28px, 4vw, 40px) auto 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.ps-fine p { margin: 0; }
.ps-fine strong { color: var(--ink); }

.qd-notwin { max-width: 56ch; margin: 6px 0 0; padding: 14px 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }

.ps-install .qd-past { margin: 0; padding-left: 1.2rem; }
.ps-install .qd-past li { margin: 4px 0; }
.qr-badge { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; background: var(--mist-2); color: var(--ink); }
.qr-badge.qr-good { background: var(--ok-tint); color: var(--ok); }
.qr-badge.qr-attention { background: var(--warn-tint); color: var(--orange-ink); }
.qr-badge.qr-urgent { background: #fde8ea; color: #b02a37; }
.bi-detail { white-space: pre-wrap; }

.bi-overlay {
    position: fixed; inset: 0; z-index: 2000;
    display: flex; align-items: flex-start; justify-content: flex-end;
    padding: 6.5rem 2rem 2rem;
    background: rgba(14, 30, 51, 0.45);
}
.bi-arrow {
    position: fixed; top: .25rem; right: 6rem; width: 96px; height: 96px; color: #fff;
    animation: bi-nudge 1.1s ease-in-out infinite;
}
@keyframes bi-nudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8px, -10px); } }
.bi-card {
    position: relative; max-width: 24rem; padding: 1.5rem 1.75rem 1.25rem;
    border-radius: var(--radius-lg); background: var(--paper); color: var(--ink);
    box-shadow: 0 24px 48px -12px rgba(14, 30, 51, 0.45); text-align: left;
}
.bi-card h2 { margin: 0 0 .75rem; font-size: 1.5rem; }
.bi-card ol { margin: 0 0 .75rem; padding-left: 1.3rem; font-size: 1.05rem; line-height: 1.8; }
.bi-help { margin: 0; font-size: .88rem; color: var(--muted); }
.bi-help kbd { font: 600 .82rem var(--font); padding: 1px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--mist); }
.bi-close { position: absolute; top: .4rem; right: .6rem; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer; }
.bi-close:hover { color: var(--ink); }
.bi-stage { margin: 0 0 1rem; font-size: 1.05rem; }
.bi-bar { position: relative; height: 6px; overflow: hidden; border-radius: 3px; background: var(--mist-2); }
.bi-bar span { position: absolute; inset: 0 auto 0 0; width: 35%; border-radius: 3px; background: var(--blue); animation: bi-slide 1.2s ease-in-out infinite; }
@keyframes bi-slide { 0% { left: -35%; } 100% { left: 100%; } }
@media (prefers-reduced-motion: reduce) {
    .bi-arrow { animation: none; }
    .bi-bar span { animation: none; width: 100%; }
}
@media (max-width: 600px) { .bi-overlay { justify-content: center; padding: 5.5rem 16px 16px; } .bi-arrow { right: 1rem; } }

.wl-asking [data-wl-install] { visibility: hidden; }
[data-wl-install][hidden], [data-yfi-waitlist][hidden] { display: none !important; }
.wl { display: grid; gap: 14px; max-width: 640px; margin: 0 auto; text-align: left; }
.wl-head { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 800; letter-spacing: -0.02em; }
.wl-lede { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.5; }
.wl-form { display: grid; gap: 12px; width: 100%; }
.wl-error { margin: -4px 0 0; color: #b02a37; font-size: 0.92rem; }
.wl-fine { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.wl-done { display: grid; gap: 8px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--blue-tint); }
.wl-done:focus { outline: none; }
.wl-done-head { margin: 0; font-size: 1.3rem; font-weight: 800; }
.wl-done p { margin: 0; line-height: 1.5; }
