/* Sign-in page extras on top of ds.css. Labels sit 10px above controls (ds .lbl);
   groups are 24px apart (--sp-5). */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);min-height:100dvh}   /* form a third, visual two thirds */
.left{display:flex;flex-direction:column;padding:clamp(20px,4vw,40px);min-width:0}
.brandrow{color:var(--ink);min-height:44px;align-self:flex-start}
.pill-beta{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:999px;background:var(--signal-dim);color:var(--signal-text);font-size:.8125rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin-bottom:14px}
.formwrap{margin:0;width:100%;max-width:400px;padding:clamp(72px,18vh,200px) 0 32px}   /* a fixed top, not centred: every step's heading sits on the same line and content grows downwards (26 Oct) */
.step{position:relative}
.step>.pill-beta{position:absolute;left:0;bottom:calc(100% + 12px)}   /* above the heading line, so it never moves the heading */
.left .sitefoot{margin-top:auto}
.step>h1{margin-bottom:10px}   /* the face and size are ds.css .t-page */
.step>h1:focus{outline:none}   /* focused by script on each step change, not by the user */
.lede{margin-bottom:var(--sp-5);overflow-wrap:anywhere}
.step[hidden],[hidden]{display:none!important}
.field[aria-invalid=true]{border-color:var(--danger-line)}
.err{color:var(--danger);font-size:.875rem;line-height:1.4;margin-top:8px}
.err:empty{display:none}
.help{margin-top:8px}
form .btn-block{margin-top:var(--sp-5)}
.sso{display:grid;gap:12px;margin-bottom:var(--sp-5)}
.sso-btn{gap:12px;font-weight:600}
.sso-btn svg{width:20px;height:20px}
.sso-google{background:#131314;border-color:#8E918F;color:#E3E3E3}
.sso-google:hover{background:#1f1f21;border-color:#E3E3E3;box-shadow:none}
.sso-discord{background:#5865F2;color:#fff}
.sso-discord:hover{background:#4752C4;box-shadow:none}
.or{display:flex;align-items:center;gap:12px;color:var(--ink-faint);font-size:.8125rem;margin-top:12px}
.or::before,.or::after{content:"";flex:1;height:1px;background:var(--border)}
.row-links{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:12px}
.btn-link:disabled{color:var(--ink-faint);cursor:not-allowed;text-decoration:none}
fieldset.attest{border:0;padding:0;margin:0}
.attest-check{align-items:flex-start;font-weight:500;color:var(--ink);line-height:1.5;padding:12px 0}
.emails{margin-top:14px}
.emails .opt{font-weight:400;color:var(--ink-dim)}
.emails .fine a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.attest-check input{margin-top:3px;flex:none;width:20px;height:20px}
.attest-check a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
#notice{margin-bottom:var(--sp-5)}   /* the look is ds.css .notice / .notice.bad */
.what{margin-top:var(--sp-5);display:inline-flex;align-items:center;min-height:44px;color:var(--ink-dim);font-size:.9rem}
#stepDone .btn-link,#stepAttest>.btn-link{margin-top:8px}
.right{position:relative;overflow:hidden;background:var(--well);isolation:isolate}
/* No divider line: the form column casts the slightest shadow onto the moving panel, for depth. */
.left{position:relative;z-index:1;box-shadow:3px 0 11px rgba(0,0,0,.38),1px 0 3px rgba(0,0,0,.22)}
/* Panel background (bg.js): a graded liquid-colour loop (media/glu-bg.mp4, Pexels 8333185 in the glu palette). The poster still
   shows at once and stays on its own under reduced motion; the clip fades in once it plays. Grain is laid on in CSS (no bytes). */
.right .bgp{position:absolute;inset:0;z-index:-1;background:#0D0F14 url(media/glu-bg.jpg) center/cover no-repeat}
.right video.liquid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1;opacity:0;transition:opacity .8s ease;pointer-events:none}
.right video.liquid.on{opacity:1}
.right .lgrain{position:absolute;inset:-50%;z-index:0;pointer-events:none;opacity:.09;mix-blend-mode:overlay;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");animation:grain 1s steps(6) infinite}
@keyframes grain{0%{transform:translate(0,0)}20%{transform:translate(-3%,2%)}40%{transform:translate(2%,-3%)}60%{transform:translate(-2%,-1%)}80%{transform:translate(3%,3%)}100%{transform:translate(0,0)}}
.right::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(13,15,20,.55),rgba(13,15,20,0) 22%),radial-gradient(ellipse at 50% 50%,rgba(13,15,20,0) 55%,rgba(13,15,20,.6))}
@media (prefers-reduced-motion:reduce){.right .lgrain{animation:none}}
@media (max-width:860px){.split{grid-template-columns:1fr}.right{display:none}.formwrap{padding:24px 0}
  /* a shorter footer on phones (Sasha, 29 Oct): no gap above it, smaller links, a tighter bottom edge */
  .left{padding-bottom:8px}.left .sitefoot.is-slim{padding-top:0}.left .sitefoot .sf-nav a{min-height:36px;font-size:.8125rem}
  /* phones: the form sits centred between the wordmark and the footer (Sasha, 29 Oct) */
  .formwrap{margin-block:auto}.left .sitefoot{margin-top:0}}

