@font-face { font-family: 'Manrope'; font-weight: 400; src: url('fonts/manrope-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 600; src: url('fonts/manrope-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 700; src: url('fonts/manrope-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 400; src: url('fonts/manrope-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-024F; }
@font-face { font-family: 'Manrope'; font-weight: 600; src: url('fonts/manrope-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-024F; }

:root {
  --bg: #0f1526; --card: #161e33; --raised: #1d2741; --line: rgba(148,168,214,.13); --line-2: rgba(148,168,214,.24);
  --text: #e7ebf3; --muted: #8b96ad; --faint: #5d6880; --accent: #d4b072; --accent-ink: #1b1508; --accent-soft: rgba(212,176,114,.13);
  --danger: #e8707a; --ok: #6cc79a; --warn: #e3b55c;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body { font: 400 15px/1.6 'Manrope', 'Segoe UI', system-ui, sans-serif; color: var(--text); -webkit-font-smoothing: antialiased;
  background: radial-gradient(640px 360px at 50% 0%, rgba(148,168,214,.08), transparent 70%), var(--bg); }
main { min-height: 100vh; display: grid; place-items: center; padding: 40px 16px; }
.card { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 16px; }
.mark { width: 68px; height: 68px; margin: 0 auto 4px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: radial-gradient(circle at 50% 35%, var(--raised), var(--bg)); box-shadow: 0 0 0 6px var(--accent-soft); }
.mark svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.brand { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--muted); }
h1 { font-size: 22px; font-weight: 700; text-align: center; letter-spacing: -.01em; line-height: 1.3; }
.lede { color: var(--muted); text-align: center; font-size: 14px; margin-top: -6px; }
.lede b { color: var(--text); font-weight: 600; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
input[type=email], input[type=password] { height: 44px; padding: 0 14px; border-radius: 9px; background: var(--raised); border: 1px solid var(--line);
  color: var(--text); font: inherit; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--text); font-size: 14px; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
button { height: 46px; border-radius: 9px; border: 0; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 700; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.meter { height: 3px; border-radius: 3px; background: var(--raised); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; transition: width .25s, background .25s; }
.warn { padding: 14px 16px; border-left: 3px solid var(--warn); background: rgba(227,181,92,.08); border-radius: 0 9px 9px 0; font-size: 14px; }
.warn b { display: block; margin-bottom: 4px; }
.msg { font-size: 14px; text-align: center; }
.msg.error { color: var(--danger); }
.msg.ok { color: var(--ok); }
.done { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-align: center; font-size: 14.5px; }
.done b { display: block; font-size: 16px; margin-bottom: 6px; }
.small { font-size: 13px; color: var(--muted); text-align: center; }
a { color: var(--accent); font-weight: 600; text-decoration: none; }
a:hover { text-decoration: underline; }
.hidden { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.strength { font-size: 12.5px; color: var(--muted); margin-top: -10px; min-height: 18px; }
