:root {
  color-scheme: dark;
  font-family: Inter, Manrope, ui-sans-serif, system-ui, sans-serif;
  background: #050d19;
  color: #f4f7fb;
  --ice: #91d9ff;
  --gold: #f2c785;
  --line: rgba(185, 218, 255, .24);
  --muted: #b8c7d9;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: #050d19; }
body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: radial-gradient(circle at 82% 14%, rgba(236, 178, 99, .2), transparent 25rem), radial-gradient(circle at 17% 82%, rgba(42, 122, 235, .19), transparent 26rem), linear-gradient(135deg, #071426, #050b14 58%, #11100f);
}
.shell {
  width: min(100% - 40px, 980px);
  min-height: 100vh;
  min-height: 100svh;
  margin: auto;
  padding: 20px 0;
  display: grid;
  grid-template-columns: minmax(220px, 310px) minmax(340px, 448px);
  align-items: center;
  justify-content: space-between;
  gap: clamp(36px, 7vw, 76px);
}
.brand {
  display: inline-flex;
  align-self: start;
  width: min(100%, 270px);
  color: #edf5ff;
  text-decoration: none;
  filter: drop-shadow(0 16px 32px rgba(74, 164, 255, .18));
  transition: filter .22s ease, transform .22s ease;
}
.brand:hover, .brand:focus-visible { filter: drop-shadow(0 17px 36px rgba(105, 196, 255, .33)); transform: translateY(-1px); }
.brand img { display: block; width: 100%; height: auto; }
.card {
  position: relative;
  isolation: isolate;
  justify-self: end;
  width: 100%;
  padding: clamp(26px, 3.2vw, 34px);
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(15, 34, 59, .9), rgba(6, 14, 26, .96)) padding-box, linear-gradient(135deg, rgba(203, 231, 255, .54), rgba(105, 166, 255, .16) 50%, rgba(242, 199, 133, .48)) border-box;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(20px);
}
.card::before { content: ""; position: absolute; z-index: -1; inset: -35% 42% 68% -25%; border-radius: 50%; background: rgba(114, 205, 255, .13); filter: blur(26px); }
.eyebrow { margin: 0 0 10px; color: #b5d4ff; font-size: 10px; font-weight: 750; letter-spacing: .24em; }
h1 { margin: 0; color: #fff6ea; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(38px, 4vw, 52px); font-weight: 500; letter-spacing: -.055em; line-height: .96; text-wrap: balance; }
.lead { max-width: 34rem; margin: 14px 0 20px; color: var(--muted); font-size: 15px; line-height: 1.48; }
form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
label { color: #e0e9f5; font-size: 13px; font-weight: 650; }
input:not([type='checkbox']) { width: 100%; min-height: 48px; padding: 11px 14px; color: #f7fbff; border: 1px solid rgba(188, 215, 255, .3); border-radius: 13px; background: rgba(1, 7, 18, .48); outline: none; font: inherit; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
input:not([type='checkbox']):hover { border-color: rgba(198, 227, 255, .46); background: rgba(4, 13, 28, .58); }
input:focus { border-color: var(--ice); box-shadow: 0 0 0 3px rgba(93, 179, 255, .14), 0 0 24px rgba(74, 175, 255, .08); }
.check { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; font-weight: 500; line-height: 1.35; }
.check input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: #80cfff; }
small, .hint { color: #97a8bd; font-size: 12px; line-height: 1.35; }
.error, .form-error { color: #ffc6c6; }
.form-error { margin: 0; padding: 10px 12px; border: 1px solid rgba(255, 167, 167, .25); border-radius: 11px; background: rgba(129, 31, 39, .18); font-size: 13px; }
.button, .secondary { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 48px; padding: 11px 20px; border: 1px solid rgba(170, 222, 255, .66); border-radius: 999px; background: linear-gradient(104deg, rgba(43, 93, 192, .94), rgba(62, 172, 218, .88)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 12px 28px rgba(30, 111, 206, .22); color: white; cursor: pointer; font: inherit; font-weight: 700; text-decoration: none; transition: transform .2s ease, filter .2s ease, box-shadow .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 15px 34px rgba(30,111,206,.32); }
.button span { font-size: 19px; line-height: .8; }
.secondary { background: transparent; color: #d8e7f8; border-color: rgba(205, 222, 247, .3); box-shadow: none; }
.links { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; font-size: 13px; }
.links a { color: #b8d9ff; text-underline-offset: 3px; }
.links a:hover, .links a:focus-visible { color: #fff0d6; }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 16px; list-style: none; border-radius: 14px; background: rgba(1, 7, 18, .45); color: #f9dfb8; font: 700 13px/1.2 ui-monospace, monospace; }
.status { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: #cfe5da; }
.status span { width: 9px; height: 9px; border-radius: 99px; background: #69d8af; box-shadow: 0 0 16px #69d8af; }
@media (min-width: 761px) and (max-height: 820px) {
  .auth-register .card { padding: 22px 30px; }
  .auth-register h1 { font-size: 44px; line-height: .92; }
  .auth-register .eyebrow { margin-bottom: 7px; }
  .auth-register .lead { margin: 10px 0 14px; font-size: 14px; line-height: 1.4; }
  .auth-register form { gap: 8px; }
  .auth-register .field { gap: 4px; }
  .auth-register input:not([type='checkbox']) { min-height: 43px; padding-block: 8px; }
  .auth-register .hint { margin-block: 8px; }
  .auth-register .button { min-height: 45px; }
  .auth-register .links { margin-top: 13px; }
}
@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 560px); grid-template-columns: 1fr; align-content: start; gap: 18px; padding: 14px 0 24px; }
  .brand { width: 176px; align-self: initial; }
  .card { justify-self: stretch; }
}
@media (max-width: 420px) {
  .shell { width: min(100% - 16px, 560px); }
  .brand { width: 158px; }
  .card { padding: 22px; border-radius: 21px; }
  h1 { font-size: 40px; }
  .lead { margin-bottom: 18px; }
  .links { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
