:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #eef3f8;
  color: #162033;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(47, 128, 237, .20), transparent 38%),
    linear-gradient(145deg, #f8fbff, #e7eef7);
}

main {
  width: min(100%, 420px);
  padding: 36px;
  border: 1px solid rgba(22, 32, 51, .10);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 70px rgba(45, 65, 95, .16);
}

.mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 24px;
  background: #1677ff;
  color: #fff;
  font-weight: 800;
  letter-spacing: -.04em;
}

h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -.03em;
}

.lead {
  margin: 10px 0 26px;
  color: #61708a;
  line-height: 1.65;
}

label {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #c7d2e2;
  border-radius: 10px;
  background: #fff;
  color: inherit;
  font: inherit;
}

input:focus {
  outline: 3px solid rgba(22, 119, 255, .18);
  border-color: #1677ff;
}

button {
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  border: 0;
  border-radius: 10px;
  background: #1677ff;
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

button:hover {
  background: #0b63d7;
}

button:disabled {
  opacity: .62;
  cursor: wait;
}

#message {
  min-height: 22px;
  margin: 14px 0 0;
  color: #c62d36;
  font-size: 14px;
  line-height: 1.55;
}

.hint {
  margin: 22px 0 0;
  color: #77859a;
  font-size: 12px;
  line-height: 1.6;
}
