:root {
  color-scheme: light;
  --bg: #f1f2f4; --surface: #ffffff; --surface-2: #e9ebee; --border: #d9dce1;
  --text: #15171a; --text-2: #4a4f56; --muted: #737981;
  --accent: #3a8000; --on-accent: #ffffff; --accent-soft: #e8f6d6;
  --critical: #d93f3f; --critical-bg: #fde8e8;
  --hero: #0e0f11; --hero-text: #eef0f2; --neon: #b6ff2e;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0e0f11; --surface: #16181b; --surface-2: #1e2124; --border: #2a2e33;
    --text: #eef0f2; --text-2: #b6bcc3; --muted: #868c94;
    --accent: #b6ff2e; --on-accent: #0b0d08; --accent-soft: #1d2614;
    --critical: #ff6b6b; --critical-bg: #3a1d1f; --hero: #08090a;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e0f11; --surface: #16181b; --surface-2: #1e2124; --border: #2a2e33;
  --text: #eef0f2; --text-2: #b6bcc3; --muted: #868c94;
  --accent: #b6ff2e; --on-accent: #0b0d08; --accent-soft: #1d2614;
  --critical: #ff6b6b; --critical-bg: #3a1d1f; --hero: #08090a;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--text); font: 15px/1.5 "Be Vietnam Pro", system-ui, sans-serif; }
.wrap { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }

.hero { position: relative; overflow: hidden; background: var(--hero); color: var(--hero-text); display: flex; align-items: center; padding: 48px; }
.hero::before { content: ""; position: absolute; inset: -40%; background:
  radial-gradient(closest-side, rgba(182, 255, 46, .18), transparent 70%) 20% 30% / 60% 60% no-repeat,
  radial-gradient(closest-side, rgba(92, 200, 255, .10), transparent 70%) 80% 80% / 55% 55% no-repeat;
  animation: drift 18s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(circle at 30% 40%, #000, transparent 75%); }
@keyframes drift { to { transform: translate(6%, -4%) rotate(6deg); } }
.hero-in { position: relative; z-index: 1; max-width: 460px; margin: 0 auto; }
.hero-logo { filter: drop-shadow(0 0 22px rgba(182, 255, 46, .35)); }
.hero h2 { font: 700 38px/1.15 "Lexend", sans-serif; margin: 20px 0 28px; letter-spacing: -.01em; }
.hero h2 span { color: var(--neon); }
.feats { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feats li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.03); backdrop-filter: blur(4px); }
.feats i { font-size: 26px; color: var(--neon); flex: none; }
.feats b { display: block; font-weight: 600; }
.feats small { color: #a1a7ae; font-size: 13px; }
.foot { margin-top: 28px; color: #6d737a; font-size: 12.5px; }

.panel { display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 32px 28px 24px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 40px rgba(0,0,0,.06); animation: rise .5s cubic-bezier(.2,.8,.2,1); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.mob-logo { display: none; margin-bottom: 8px; }
h1 { font: 700 26px/1.2 "Lexend", sans-serif; margin: 0; }
.sub { color: var(--muted); margin: 6px 0 22px; font-size: 14px; }
label { display: block; font-weight: 600; font-size: 13.5px; margin: 14px 0 6px; color: var(--text-2); }
.field { position: relative; display: flex; align-items: center; }
.field > i { position: absolute; left: 12px; font-size: 18px; color: var(--muted); pointer-events: none; }
.field input { width: 100%; height: 46px; padding: 0 44px 0 40px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font: inherit; outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); background: var(--surface); }
.eye { position: absolute; right: 6px; width: 34px; height: 34px; border: 0; background: none; color: var(--muted); border-radius: 8px; cursor: pointer; font-size: 18px; display: grid; place-items: center; }
.eye:hover { color: var(--text); background: var(--surface-2); }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text-2); margin-top: 16px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--accent); }
.err { background: var(--critical-bg); color: var(--critical); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; margin: 16px 0 0; }
.btn { margin-top: 20px; width: 100%; height: 48px; border: 0; border-radius: 12px; background: var(--accent); color: var(--on-accent); font: 600 15.5px "Lexend", sans-serif; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: transform .15s, box-shadow .2s, opacity .2s; }
.btn:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), 0 8px 24px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn i { font-size: 18px; transition: transform .2s; }
.btn:hover i { transform: translateX(3px); }
.note { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 12.5px; margin: 16px 0 0; }
.note i { color: var(--accent); font-size: 16px; }
.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }

@media (max-width: 860px) {
  .wrap { grid-template-columns: 1fr; }
  .hero { display: none; }
  .mob-logo { display: block; }
  .panel { min-height: 100vh; }
  .card { padding: 26px 20px 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; } }
