* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f4f5fa;
  color: #20283a;
  font: 16px/1.5 system-ui, sans-serif;
}
.card {
  width: min(100%, 420px);
  padding: clamp(24px, 6vw, 40px);
  background: #fff;
  border: 1px solid #dfe3ed;
  border-radius: 18px;
  box-shadow: 0 16px 45px #20283a12;
}
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #20283a; color: white; font-weight: 750; }
.brand small { display: block; font-size: 10px; letter-spacing: .12em; color: #526078; }
h1 { margin: 0; font-size: 30px; letter-spacing: -.03em; }
.intro { color: #526078; margin: 6px 0 24px; }
form { display: grid; gap: 8px; }
label { font-size: 14px; font-weight: 650; }
input, button { min-height: 46px; border-radius: 8px; font: inherit; }
input { width: 100%; border: 1px solid #aab3c5; padding: 8px 12px; margin-bottom: 10px; }
button { background: #4945c4; color: white; border: 0; font-weight: 650; cursor: pointer; }
button:hover { background: #3936a6; }
:focus-visible { outline: 3px solid #625de0; outline-offset: 3px; }
.error { padding: 10px 12px; color: #8c2530; background: #fff1f2; border: 1px solid #efbdc3; border-radius: 8px; }
