:root {
  --navy: #070b18; --ink: #0b1224; --body: #44506a; --muted: #6b7690; --line: #e6e9f2;
  --bg: #ffffff; --bg-soft: #f5f7fb; --green: #10b981; --green-d: #059669; --green-soft: #e8faf3;
  --gold: #fbbf24; --err: #dc2626; --err-soft: #fef2f2; --ease: cubic-bezier(.2,.8,.2,1);
  --shadow: 0 1px 2px rgba(11,18,36,.04), 0 8px 24px rgba(11,18,36,.06);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg-soft);
  line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
svg { display: block; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px;
  border-radius: 12px; border: 0; font-weight: 700; font-size: 1rem; transition: transform .2s var(--ease), background .2s, box-shadow .2s; white-space: nowrap; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 24px -6px rgba(16,185,129,.55); }
.btn-primary:hover { background: var(--green-d); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-sm { height: 40px; padding: 0 16px; font-size: .9rem; border-radius: 10px; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.alert { display: none; padding: 12px 14px; border-radius: 12px; background: var(--err-soft); color: var(--err); font-weight: 600; font-size: .9rem; }
.alert.on { display: block; }
.alert.info { background: var(--green-soft); color: var(--green-d); }
.otp-boxes { display: flex; justify-content: center; gap: 10px; }
.otp-boxes input { width: 52px; height: 62px; border: 1.5px solid var(--line); border-radius: 14px; text-align: center; font: inherit; font-size: 1.6rem;
  font-weight: 800; color: var(--ink); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s, transform .15s; }
.otp-boxes input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(16,185,129,.14); }
.otp-boxes input.filled { border-color: var(--green); background: var(--green-soft); }
.otp-boxes.bad input { border-color: var(--err); animation: shake .35s; }
@media (max-width: 400px) { .otp-boxes { gap: 6px; } .otp-boxes input { width: 44px; height: 56px; font-size: 1.4rem; } }
.link { background: none; border: 0; padding: 0; color: var(--green-d); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.link:disabled { color: var(--muted); text-decoration: none; cursor: default; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
