:root {
  --bg: #0b1622;
  --card: #111f31;
  --line: #23395a;
  --ink: #eef2f6;
  --ink-2: #b7c3d1;
  --ink-3: #7f91a7;
  --red: #c62828;
  --red-2: #a91f1f;
  --amber: #f0b44c;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font: 15px/1.5 var(--font); color: var(--ink); background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: 24px 16px;
  background-image:
    linear-gradient(rgba(143, 179, 217, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 179, 217, .05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.backdrop { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.glow { position: absolute; left: 50%; top: 45%; width: 520px; height: 520px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 40, 40, .28), rgba(198, 40, 40, 0) 65%); }
.diamond { position: absolute; left: 50%; top: 45%; width: 620px; height: 620px; transform: translate(-50%, -50%) rotate(45deg);
  border: 1px dashed rgba(143, 179, 217, .14); border-radius: 18px; }
.card { position: relative; z-index: 1; width: 100%; max-width: 420px; background: rgba(17, 31, 49, .94); border: 1px solid var(--line);
  border-radius: 14px; padding: 30px 32px 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); backdrop-filter: blur(6px); }
.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.brand img { border-radius: 6px; }
.brand-name { font-weight: 800; letter-spacing: .14em; font-size: 15px; line-height: 1.1; }
.brand-sub { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #8fb3d9; font-weight: 700; }
.eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #8fb3d9; font-weight: 700; margin-bottom: 6px; }
h1 { font-size: 25px; margin: 0 0 6px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 16px; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.btn { display: flex; width: 100%; align-items: center; justify-content: center; gap: 10px; height: 50px; border: 0; border-radius: 10px;
  background: var(--red); color: #fff; font: 600 16px var(--font); cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--red-2); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.secondary { background: transparent; border: 1px solid var(--line); color: var(--ink); height: 42px; font-size: 14px; }
.btn.secondary:hover { background: rgba(255, 255, 255, .05); }
.btn svg { width: 20px; height: 20px; }
.row { display: flex; gap: 8px; margin-top: 10px; }
.row .btn { flex: 1; }
.link { display: inline-block; margin-top: 16px; color: #ef6b6b; text-decoration: none; font-size: 14px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.link:hover { text-decoration: underline; }
.notice { border-radius: 8px; padding: 10px 12px; font-size: 13.5px; margin-bottom: 16px; display: flex; gap: 8px; align-items: flex-start; }
.notice.warn { background: rgba(240, 180, 76, .1); border: 1px solid rgba(240, 180, 76, .35); color: #f5d39a; }
.notice.error { background: rgba(198, 40, 40, .14); border: 1px solid rgba(239, 107, 107, .45); color: #ffc9c9; }
.notice.ok { background: rgba(62, 207, 122, .1); border: 1px solid rgba(62, 207, 122, .35); color: #b8f0cf; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
input[type=email], input[type=text] { width: 100%; height: 44px; border-radius: 8px; border: 1px solid var(--line); background: #0b1622;
  color: var(--ink); padding: 0 12px; font: 15px var(--font); margin-bottom: 14px; }
input:focus, .btn:focus-visible, .link:focus-visible { outline: 2px solid #8fb3d9; outline-offset: 2px; }
input.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
.recovery { font: 700 19px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; text-align: center; padding: 14px;
  background: #0b1622; border: 1px dashed #4b6587; border-radius: 10px; margin: 6px 0 4px; user-select: all; word-break: break-word; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 14px 0; font-weight: 400; }
.check input { margin-top: 3px; }
.foot { position: relative; z-index: 1; margin-top: 18px; font-size: 12px; color: var(--ink-3); text-align: center; }
