/* One-screen beta invitation, with the site's approved ink buttons and warm light. */
.beta-page{position:relative;isolation:isolate;min-height:100vh;min-height:100svh;display:grid;place-items:center;padding:24px max(24px,env(safe-area-inset-right)) 24px max(24px,env(safe-area-inset-left));background:var(--night)}
.beta-backdrop{position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#10110f8c,#10110fd9 55%,#10110f 100%),url('/assets/zarechnaya-1800.webp') 62% 42%/cover no-repeat}
.beta-card{width:100%;max-width:440px;padding:20px 0;animation:beta-arrive .75s cubic-bezier(.16,1,.3,1) both}
.beta-brand{margin-bottom:28px}.beta-brand img{width:32px;height:32px}.beta-brand span{font-size:28px}
.beta-title{font:700 clamp(64px,8vw,84px)/1.02 Amatic,sans-serif;letter-spacing:.012em;color:var(--ink);margin:0}
.beta-intro{font-size:15px;line-height:1.7;color:#bfc3b4;margin-top:12px;margin-bottom:28px}
.beta-page .contact-choice{margin-bottom:22px}.beta-page .contact-label{margin-bottom:10px}.beta-page .contact-input{font-size:18px;min-height:60px;padding:14px 17px}
.beta-page .consent-row{margin-top:20px;max-width:37ch}
.beta-submit{margin-top:24px}.beta-error{font-size:14px;line-height:1.7;color:#edc3ae;margin-top:16px;max-width:40ch}
.beta-card[data-view=result]{display:flex;flex-direction:column}
.beta-result{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:4px 0 20px;animation:beta-arrive .65s cubic-bezier(.16,1,.3,1) both}
.beta-page [hidden],.beta-form-view[hidden],.beta-result[hidden],.beta-error[hidden],.beta-back[hidden]{display:none!important}
.beta-result-icon{width:64px;height:64px;flex:none;color:#ffdb91;filter:drop-shadow(0 0 10px #ffb54770) drop-shadow(0 0 28px #ff962845);margin-bottom:24px;overflow:visible}
.result-check{display:none}.result-envelope{display:none}
.beta-result[data-kind=accepted] .result-check{display:block}
.beta-result[data-kind=pending] .result-envelope{display:block}
.beta-result[data-kind=accepted] .result-check path{stroke-dasharray:1;stroke-dashoffset:0;animation:beta-check .8s cubic-bezier(.4,0,.2,1) both}
.beta-message-title{font:700 clamp(62px,9vw,82px)/1.04 Amatic,sans-serif;letter-spacing:.012em;color:#ffe4a0;text-shadow:0 0 20px #ffb54745,0 0 56px #ff96282e;outline:none}
.beta-message-copy{font-size:15px;line-height:1.8;color:#c3c8b8;margin-top:22px;max-width:35ch}
.beta-back{border:0;background:none;padding:8px 0;border-bottom:1px solid #a28f64;font:400 13px/1.4 Arial,sans-serif;color:#ded5bb;margin-top:26px;min-height:44px}
.beta-home{display:inline-flex;align-items:center;min-height:44px;margin-top:18px;font-size:13px;color:#a6ad99;text-decoration:underline;text-underline-offset:4px}
@keyframes beta-arrive{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes beta-check{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@media(max-width:700px){.beta-page{padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(20px,env(safe-area-inset-bottom))}.beta-card{padding-block:12px}.beta-brand{margin-bottom:24px}.beta-intro{margin-bottom:24px;font-size:14px}.beta-message-copy{font-size:14px}.beta-backdrop{background-position:center,62% center}}
@media(prefers-reduced-motion:reduce){.beta-card,.beta-result,.result-check path{animation:none!important}}

/* Success mark is a single clean stroke, independent of ink-panel styling. */
.beta-page .beta-result-icon .result-check path{stroke-linecap:round;stroke-linejoin:round}
