:root {
  --bg: #ffffff;
  --page: #f7f8fc;
  --ink: #12131a;
  --muted: #666a78;
  --line: #e4e6ee;
  --field: #f3f4f9;
  --lime: #e4f13b;
  --mint: #7ef0c1;
  --blue: #1877f2;
  --violet: #8b5cf6;
  --accent: var(--lime);
  --bad: #c8453a;
  --bad-bg: #fdecea;
  --card: rgba(255, 255, 255, 0.78);
  --card-line: rgba(255, 255, 255, 0.9);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #0e0f14;
  --page: #0a0b10;
  --ink: #f3f3f7;
  --muted: #a4a7b4;
  --line: #292a33;
  --field: #181921;
  --bad: #ff8a7d;
  --bad-bg: rgba(255, 138, 125, 0.12);
  --card: rgba(22, 23, 30, 0.72);
  --card-line: rgba(255, 255, 255, 0.08);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  margin: 0;
}
body {
  font-family: 'Red Hat Display', system-ui, sans-serif;
  background: var(--page);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
[hidden] {
  display: none !important;
}

.login {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  min-height: 100vh;
}

/* =============== Brand side =============== */
.hero {
  position: relative;
  overflow: hidden;
  background: #080910;
  color: #fff;
  padding: 44px 52px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
}
.aurora {
  position: absolute;
  inset: -60px;
  z-index: -3;
  transform: translate3d(calc(var(--mx, 0) * -26px), calc(var(--my, 0) * -20px), 0);
  transition: transform 0.5s var(--ease);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: drift 20s ease-in-out infinite alternate;
}
.b1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, #e4f13b, transparent 68%);
  left: -170px;
  top: -150px;
  opacity: 0.55;
}
.b2 {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, #2b7cff, transparent 66%);
  right: -230px;
  top: 22%;
  opacity: 0.7;
  animation-duration: 24s;
  animation-delay: -7s;
}
.b3 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #8b5cf6, transparent 66%);
  left: 8%;
  bottom: -230px;
  opacity: 0.6;
  animation-duration: 28s;
  animation-delay: -13s;
}
.b4 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #31e0b0, transparent 66%);
  left: 42%;
  top: 6%;
  opacity: 0.32;
  animation-duration: 32s;
  animation-delay: -4s;
}
.sheen {
  position: absolute;
  inset: -40%;
  z-index: -2;
  background: conic-gradient(
    from 0deg at 62% 42%,
    transparent 0 20%,
    rgba(43, 124, 255, 0.22) 30%,
    transparent 42% 62%,
    rgba(228, 241, 59, 0.18) 74%,
    transparent 86%
  );
  filter: blur(46px);
  animation: spin 38s linear infinite;
}
.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 40% 40%, #000 25%, transparent 75%);
}
.stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.stars i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  animation: twinkle var(--t, 5s) ease-in-out var(--d, 0s) infinite;
}
.flash {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(circle at 50% 55%, rgba(228, 241, 59, 0.55), transparent 60%);
  opacity: 0;
  transform: scale(0.4);
}
body.success .flash {
  animation: flash 1.1s var(--ease) forwards;
}

.hero-top,
.mobile-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-tile {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -8px rgba(228, 241, 59, 0.7);
  flex: none;
  animation: logoGlow 4s ease-in-out infinite;
}
.logo-tile img {
  width: 24px;
  height: auto;
}
.wordmark {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 19px;
}

.hero-copy {
  max-width: 540px;
  margin: auto 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 22px;
  animation: rise 0.8s var(--ease) both;
}
.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  animation: ping 2.2s infinite;
}
.hero h2 {
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.028em;
}
.hero h2 .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em) rotate(2deg);
  filter: blur(8px);
  animation: wordIn 0.9s var(--ease) calc(var(--i) * 0.11s + 0.25s) forwards;
}
.hero h2 em {
  font-style: normal;
}
.hero h2 em .w {
  background: linear-gradient(100deg, #e4f13b 0%, #7ef0c1 35%, #6fb3ff 65%, #e4f13b 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation:
    wordIn 0.9s var(--ease) calc(var(--i) * 0.11s + 0.25s) forwards,
    shine 7s linear 1.4s infinite;
}
.lede {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.74);
  max-width: 450px;
  animation: rise 0.9s var(--ease) 0.85s both;
}

.glass-stack {
  position: relative;
  height: 218px;
  transform: translate3d(calc(var(--mx, 0) * 16px), calc(var(--my, 0) * 11px), 0);
  transition: transform 0.45s var(--ease);
}
.glass {
  position: absolute;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow:
    0 28px 60px -26px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  animation:
    floaty 7s ease-in-out infinite,
    rise 0.9s var(--ease) both;
  overflow: hidden;
}
.glass::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  transform: translateX(-130%);
  animation: sweep 7s ease-in-out infinite;
}
.glass-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4d94ff;
  box-shadow: 0 0 10px #4d94ff;
}
.dot.green {
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
}
.g1 {
  left: 0;
  bottom: 0;
  width: 214px;
  height: 154px;
  animation-delay: 0s, 1.1s;
}
.g2 {
  left: 238px;
  top: 0;
  width: 282px;
  animation-delay: -2.5s, 1.25s;
}
.g2::after {
  animation-delay: 1.5s;
}
.g3 {
  left: 266px;
  bottom: 4px;
  width: 254px;
  height: 88px;
  padding: 10px 14px;
  animation-delay: -4.5s, 1.4s;
}
.g3::after {
  animation-delay: 3s;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 74px;
}
.bars i {
  flex: 1;
  height: var(--h);
  border-radius: 7px;
  background: linear-gradient(180deg, #e4f13b, #4d94ff);
  transform-origin: bottom;
  animation:
    grow 1.1s var(--ease) 1.2s both,
    breathe 4.5s ease-in-out calc(2.4s + var(--d)) infinite;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 8px;
  opacity: 0;
  transform: translateX(-10px);
  animation: checkIn 0.6s var(--ease) calc(1.6s + var(--c) * 0.35s) forwards;
}
.tick {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.22);
  color: #4ade80;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  flex: none;
  animation: tickPop 0.5s var(--ease) calc(1.9s + var(--c) * 0.35s) both;
}
.g3 svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.spark {
  fill: none;
  stroke: url(#lg);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2s var(--ease) 1.4s forwards;
  filter: drop-shadow(0 0 8px rgba(228, 241, 59, 0.55));
}
.runner {
  fill: #fff;
  filter: drop-shadow(0 0 8px #e4f13b);
}

.marquee {
  margin-top: 28px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  animation: rise 0.9s var(--ease) 1.2s both;
}
.track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: scroll 38s linear infinite;
}
.track span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  white-space: nowrap;
}
.track i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 10px var(--c);
}

/* =============== Form side =============== */
.panel {
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px 28px;
  overflow: hidden;
  background: var(--page);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  animation: drift 22s ease-in-out infinite alternate;
}
.g-a {
  width: 460px;
  height: 460px;
  right: -140px;
  top: -120px;
  background: radial-gradient(circle, rgba(228, 241, 59, 0.55), transparent 68%);
}
.g-b {
  width: 520px;
  height: 520px;
  left: -200px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(24, 119, 242, 0.26), transparent 68%);
  animation-delay: -9s;
}
:root[data-theme='dark'] .g-a {
  background: radial-gradient(circle, rgba(228, 241, 59, 0.2), transparent 68%);
}
:root[data-theme='dark'] .g-b {
  background: radial-gradient(circle, rgba(24, 119, 242, 0.3), transparent 68%);
}

.panel-inner {
  position: relative;
  width: 100%;
  max-width: 456px;
}
.card {
  background: var(--card);
  backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid var(--card-line);
  border-radius: 30px;
  padding: 40px 38px 36px;
  box-shadow:
    0 40px 90px -40px rgba(20, 24, 60, 0.35),
    0 2px 0 rgba(255, 255, 255, 0.6) inset;
  animation: cardIn 0.9s var(--ease) both;
  position: relative;
}
.card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 31px;
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    rgba(228, 241, 59, 0.75),
    rgba(126, 240, 193, 0.55) 45%,
    rgba(77, 148, 255, 0.55) 75%,
    rgba(139, 92, 246, 0.5)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
}
.mobile-brand {
  display: none;
  margin-bottom: 30px;
}
.mobile-brand .logo-tile {
  border: 1px solid var(--line);
  box-shadow: none;
  animation: none;
}
.mobile-brand .wordmark {
  color: var(--ink);
}

.step {
  animation: slideIn 0.6s var(--ease) both;
}
.step.shake {
  animation: shake 0.45s;
}
.step > * {
  animation: rise 0.6s var(--ease) both;
}
.step > *:nth-child(1) {
  animation-delay: 0.05s;
}
.step > *:nth-child(2) {
  animation-delay: 0.12s;
}
.step > *:nth-child(3) {
  animation-delay: 0.19s;
}
.step > *:nth-child(4) {
  animation-delay: 0.26s;
}
.step > *:nth-child(5) {
  animation-delay: 0.33s;
}
.step > *:nth-child(6) {
  animation-delay: 0.4s;
}
.step > *:nth-child(7) {
  animation-delay: 0.47s;
}
.step header {
  margin-bottom: 28px;
}
.step h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.022em;
}
.step header p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.step header strong {
  color: var(--ink);
  font-weight: 700;
}

.field {
  position: relative;
  margin-bottom: 16px;
}
.field::before {
  content: '';
  position: absolute;
  inset: -2.5px;
  border-radius: 19px;
  background: linear-gradient(120deg, var(--lime), var(--mint), #4d94ff, var(--violet), var(--lime));
  background-size: 300% 300%;
  opacity: 0;
  transition: opacity 0.25s;
  animation: hue 5s linear infinite;
}
.field:focus-within::before {
  opacity: 1;
}
.field input {
  position: relative;
  width: 100%;
  height: 58px;
  padding: 22px 52px 6px 18px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--field);
  border: 1.5px solid transparent;
  border-radius: 16px;
  outline: none;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.field input:focus {
  background: var(--bg);
  box-shadow: 0 10px 24px -14px rgba(24, 119, 242, 0.5);
}
.field label {
  position: absolute;
  z-index: 1;
  left: 18px;
  top: 19px;
  font-size: 16px;
  color: var(--muted);
  pointer-events: none;
  transition:
    transform 0.2s var(--ease),
    font-size 0.2s var(--ease),
    color 0.2s;
  transform-origin: left top;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  transform: translateY(-11px);
  font-size: 12px;
  font-weight: 700;
}
.field input:focus + label {
  color: var(--blue);
}
.field input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 60px var(--field) inset;
  -webkit-text-fill-color: var(--ink);
}
.eye {
  position: absolute;
  z-index: 2;
  right: 8px;
  top: 8px;
  width: 42px;
  height: 42px;
  border: 0;
  background: none;
  color: var(--muted);
  border-radius: 12px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    color 0.2s,
    background 0.2s,
    transform 0.2s var(--ease);
}
.eye:hover {
  color: var(--ink);
  background: var(--line);
  transform: scale(1.06);
}
.eye svg {
  width: 20px;
  height: 20px;
}
.eye.on {
  color: var(--blue);
}
.hint {
  font-size: 13px;
  color: #b7791f;
  margin: -4px 0 12px 4px;
  font-weight: 600;
}

.error {
  background: var(--bad-bg);
  color: var(--bad);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  animation: rise 0.35s var(--ease) both;
}

.primary {
  position: relative;
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #12131a 0%, #262a3a 100%);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  box-shadow: 0 16px 30px -14px rgba(24, 40, 120, 0.55);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    opacity 0.2s;
}
:root[data-theme='dark'] .primary {
  background: linear-gradient(135deg, #e4f13b 0%, #7ef0c1 100%);
  color: #12131a;
  box-shadow: 0 16px 34px -14px rgba(126, 240, 193, 0.55);
}
.primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.primary:hover:not(:disabled)::before {
  transform: translateX(120%);
}
.primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 24px 38px -14px rgba(24, 40, 120, 0.6);
}
.primary:active:not(:disabled) {
  transform: translateY(0) scale(0.985);
}
.primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.primary .label,
.primary .arrow {
  position: relative;
}
.primary .arrow {
  width: 20px;
  height: 20px;
  color: var(--lime);
  transition: transform 0.25s var(--ease);
}
:root[data-theme='dark'] .primary .arrow {
  color: #12131a;
}
.primary:hover:not(:disabled) .arrow {
  transform: translateX(5px);
}
.primary .spinner {
  display: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.28);
  border-top-color: var(--lime);
  animation: spin 0.7s linear infinite;
}
.primary.loading .spinner {
  display: block;
}
.primary.loading .arrow {
  display: none;
}
.primary.loading {
  pointer-events: none;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(228, 241, 59, 0.5);
  transform: scale(0);
  animation: ripple 0.65s ease-out forwards;
  pointer-events: none;
}

.secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}
.secure svg {
  width: 15px;
  height: 15px;
  color: #2fbf7a;
}

/* Code step */
.shield {
  width: 66px;
  height: 66px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--lime), var(--mint));
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  animation:
    pop 0.6s var(--ease) both,
    shieldGlow 3s ease-in-out 1s infinite;
}
.shield svg {
  width: 32px;
  height: 32px;
  color: #12131a;
}
.code {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.code input {
  width: 100%;
  min-width: 0;
  height: 66px;
  text-align: center;
  font: inherit;
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  background: var(--field);
  border: 1.5px solid transparent;
  border-radius: 16px;
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s var(--ease);
  caret-color: var(--blue);
  animation: boxIn 0.5s var(--ease) both;
}
.code input:nth-child(2) {
  animation-delay: 0.05s;
}
.code input:nth-child(3) {
  animation-delay: 0.1s;
}
.code input:nth-child(4) {
  animation-delay: 0.15s;
}
.code input:nth-child(5) {
  animation-delay: 0.2s;
}
.code input:nth-child(6) {
  animation-delay: 0.25s;
}
.code input:focus {
  background: var(--bg);
  border-color: var(--blue);
  box-shadow:
    0 0 0 5px rgba(24, 119, 242, 0.16),
    0 12px 24px -12px rgba(24, 119, 242, 0.5);
  transform: translateY(-3px);
}
.code input.filled {
  border-color: var(--ink);
  background: var(--bg);
  animation: pop 0.25s var(--ease);
}
.code.bad input {
  border-color: var(--bad);
}
.timer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.timer-bar {
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: var(--line);
  overflow: hidden;
}
.timer-bar i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  transform-origin: left;
  transition: transform 1s linear;
}
.timer.low .timer-bar i {
  background: var(--bad);
}
.timer.low span {
  color: var(--bad);
}
.links {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
}
.link {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  padding: 6px 2px;
  transition:
    color 0.2s,
    transform 0.2s var(--ease);
}
.link:hover:not(:disabled) {
  color: var(--ink);
  transform: translateY(-1px);
}
.link:disabled {
  opacity: 0.45;
  cursor: default;
}

/* Done */
.done {
  text-align: center;
  padding: 8px 0 4px;
}
.done h1 {
  margin-top: 26px;
}
.done p {
  margin-top: 8px;
  color: var(--muted);
}
.done-ring {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), var(--mint));
  display: grid;
  place-items: center;
  animation: pop 0.6s var(--ease) both;
}
.done-ring::before,
.done-ring::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--lime);
  animation: ring 1.6s ease-out infinite;
}
.done-ring::after {
  animation-delay: 0.5s;
}
.done-ring svg {
  width: 42px;
  height: 42px;
  color: #12131a;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: draw30 0.5s var(--ease) 0.25s forwards;
}

.foot {
  margin-top: 26px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  animation: rise 0.8s var(--ease) 0.6s both;
}

/* =============== Keyframes =============== */
@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(70px, -50px) scale(1.18);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(28px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes wordIn {
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
@keyframes shine {
  to {
    background-position: -220% 0;
  }
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-11px);
  }
}
@keyframes sweep {
  0%,
  55% {
    transform: translateX(-130%);
  }
  80%,
  100% {
    transform: translateX(130%);
  }
}
@keyframes grow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}
@keyframes breathe {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.82);
  }
}
@keyframes checkIn {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes tickPop {
  0% {
    transform: scale(0);
  }
  70% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes draw30 {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}
@keyframes twinkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.4);
  }
  50% {
    opacity: 0.9;
    transform: scale(1);
  }
}
@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(228, 241, 59, 0.7);
  }
  70%,
  100% {
    box-shadow: 0 0 0 12px rgba(228, 241, 59, 0);
  }
}
@keyframes logoGlow {
  0%,
  100% {
    box-shadow: 0 10px 30px -8px rgba(228, 241, 59, 0.55);
  }
  50% {
    box-shadow: 0 10px 40px -4px rgba(126, 240, 193, 0.8);
  }
}
@keyframes hue {
  to {
    background-position: 300% 0;
  }
}
@keyframes borderMove {
  to {
    background-position: 200% 200%;
  }
}
@keyframes pop {
  0% {
    transform: scale(0.82);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes boxIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes shieldGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(228, 241, 59, 0.5);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(228, 241, 59, 0);
  }
}
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-9px);
  }
  40% {
    transform: translateX(8px);
  }
  60% {
    transform: translateX(-6px);
  }
  80% {
    transform: translateX(4px);
  }
}
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
@keyframes ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}
@keyframes flash {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero h2 .w,
  .check-row {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .track {
    animation: none;
  }
}

@media (max-width: 960px) {
  .login {
    grid-template-columns: 1fr;
  }
  .hero {
    display: none;
  }
  .mobile-brand {
    display: flex;
  }
  .panel {
    padding: 28px 18px 40px;
    align-items: start;
    padding-top: 9vh;
  }
  .card {
    padding: 30px 22px 28px;
    border-radius: 26px;
  }
}
@media (max-width: 420px) {
  .code {
    gap: 6px;
  }
  .code input {
    height: 56px;
    font-size: 24px;
    border-radius: 13px;
  }
  .step h1 {
    font-size: 29px;
  }
}

/* Auto-filled fields: float the label so it never sits on top of the filled-in text */
.field.filled label {
  transform: translateY(-11px);
  font-size: 12px;
  font-weight: 700;
}
.field input:-webkit-autofill + label {
  transform: translateY(-11px);
  font-size: 12px;
  font-weight: 700;
}
.field input:autofill + label {
  transform: translateY(-11px);
  font-size: 12px;
  font-weight: 700;
}
