:root {
  color-scheme: light;
  font: 16px system-ui, sans-serif;
  color: #192137;
  background: #f4f6fa;
  --blue: #3b52d2;
  --line: #dce3ee;
}
* { box-sizing: border-box; }
body {
  min-height: 100dvh;
  margin: 0;
  padding: 24px 13px;
  display: grid;
  place-items: center;
}
.login {
  width: min(100%, 430px);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: clamp(20px, 6vw, 32px);
  background: white;
  box-shadow: 0 8px 32px #1921370f;
}
.brand { margin: 0 0 18px; color: var(--blue); font-size: .88rem; font-weight: 720; }
h1 { margin: 0; font-size: clamp(1.65rem, 6vw, 2rem); letter-spacing: -.04em; }
.intro { margin: 8px 0 20px; color: #57657f; font-size: .9rem; line-height: 1.5; }
.notice { border-radius: 7px; padding: 9px 11px; background: #eef0ff; font-size: .88rem; line-height: 1.5; }
form, .providers { display: grid; gap: 9px; }
.providers + form { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
label { font-size: .88rem; font-weight: 650; }
input, button, .oauth {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: white;
  color: inherit;
}
button, .oauth { font-size: .9rem; font-weight: 650; cursor: pointer; }
.oauth { display: grid; place-items: center; text-decoration: none; color: inherit; }
button:hover, .oauth:hover { background: #f4f6ff; border-color: #aebbf5; }
button.primary { background: var(--blue); color: white; border-color: var(--blue); }
button.primary:hover { background: #2c40bc; }
form a { color: var(--blue); font-size: .88rem; }
:focus-visible { outline: 2px solid #5c70eb; outline-offset: 2px; }
