/* Beta registration is isolated from the scroll-scrubbed film so it floats
   above the CRT, hands, and navigation without inheriting their transforms. */
.beta-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(92vw, 580px);
  max-height: 92vh;
  max-height: 92svh;
  margin: 0;
  padding: 0;
  transform: translate(-50%, -50%);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 24px;
  background: #0a0a0c;
  color: #f5f5f7;
  box-shadow: 0 32px 100px rgba(0, 0, 0, .78), 0 0 0 1px rgba(255, 34, 51, .12);
  z-index: 1000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.beta-dialog:not([open]) { display: none; }
.beta-dialog::backdrop { background: rgba(0, 0, 0, .76); backdrop-filter: blur(14px); }
.beta-shell { position: relative; padding: clamp(26px, 5vw, 48px); }

.beta-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: #f5f5f7;
  font: 300 26px/1 Arial, sans-serif;
  cursor: pointer;
}
.beta-close:hover, .beta-close:focus { border-color: #ff2233; background: rgba(255, 34, 51, .12); outline: none; }

.beta-kicker {
  margin: 0 0 12px;
  color: #ff2233;
  font: 700 11px/1.2 ui-monospace, Menlo, monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.beta-dialog h2 {
  max-width: 500px;
  margin: 0;
  color: #f5f5f7;
  font: 400 clamp(36px, 8vw, 58px)/.94 "Anton", Impact, sans-serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.beta-intro, .beta-success > p:not(.beta-kicker) {
  max-width: 48ch;
  margin: 18px 0 0;
  color: rgba(245, 245, 247, .64);
  font-size: 15px;
  line-height: 1.6;
}
.beta-form { display: grid; gap: 16px; margin-top: 28px; }
.beta-field { display: grid; gap: 8px; }
.beta-field label {
  color: rgba(245, 245, 247, .78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.beta-field label span { color: rgba(245, 245, 247, .36); font-weight: 600; }
.beta-field input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 12px;
  background: #141417;
  color: #f5f5f7;
  padding: 0 15px;
  font: 500 16px/1.2 inherit;
  color-scheme: dark;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.beta-field input::placeholder { color: rgba(245, 245, 247, .28); }
.beta-field input:focus { border-color: #ff2233; box-shadow: 0 0 0 3px rgba(255, 34, 51, .15); outline: none; }
.beta-field input[aria-invalid="true"] { border-color: #ff5a67; }
.beta-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.beta-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: rgba(245, 245, 247, .55);
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}
.beta-consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.beta-consent a { color: #f5f5f7; text-underline-offset: 3px; }
.beta-consent a:hover, .beta-consent a:focus { color: #ff2233; }

.beta-status { min-height: 18px; margin: -3px 0 -3px; color: #ff7a85; font-size: 13px; line-height: 1.4; }
.beta-submit, .beta-done {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  border: 0;
  border-radius: 12px;
  background: #ff2233;
  color: #050506;
  padding: 0 18px;
  font: 800 14px/1 inherit;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}
.beta-submit:hover, .beta-submit:focus, .beta-done:hover, .beta-done:focus { background: #ff4351; outline: none; transform: translateY(-1px); }
.beta-submit:disabled { cursor: wait; opacity: .6; transform: none; }
.beta-fine { margin: -5px 0 0; color: rgba(245, 245, 247, .3); font-size: 11px; text-align: center; }

.beta-success { padding: 22px 0 8px; text-align: left; }
.beta-success-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: #ff2233;
  color: #050506;
  font-size: 28px;
  font-weight: 900;
}
.beta-done { justify-content: center; width: 100%; margin-top: 30px; }
html.beta-open, html.beta-open body { overflow: hidden; }

@media (max-width: 520px) {
  .beta-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); max-height: calc(100svh - 20px); border-radius: 18px; }
  .beta-shell { padding: 34px 20px 24px; }
  .beta-dialog h2 { padding-right: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .beta-submit, .beta-done, .beta-field input { transition: none; }
}
