@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

:root {
  --bg: #0e1014;
  --panel: #151920;
  --border: #232936;
  --text: #f2f4f8;
  --muted: #8b94a7;
  --blue: #2b6fe3;
  --blue-hover: #2361c9;
  --bad: #e0574f;
  --bad-pale: rgba(224, 87, 79, 0.12);
  --radius: 14px;
}

html, body {
  min-height: 100%;
}

body {
  background: var(--bg) radial-gradient(circle at 50% 0%, rgba(43, 111, 227, 0.14) 0%, rgba(14, 16, 20, 0) 55%);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px 28px;
  text-align: center;
}

.logo {
  height: 34px;
  margin-bottom: 22px;
}

h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.lead {
  color: var(--muted);
  margin-bottom: 22px;
}

.msg {
  background: var(--bad-pale);
  border: 1px solid rgba(224, 87, 79, 0.35);
  color: #ffb3ad;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 18px;
  font-size: 14px;
  text-align: left;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--blue-hover);
}

.hint {
  color: var(--muted);
  font-size: 13px;
  margin-top: 18px;
}

footer {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 18px;
}
