:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #302636;
  background: #f7f5f2;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}
main {
  width: min(100%, 360px);
}
h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 36px;
  margin: 0 0 32px;
}
label {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
}
input,
button {
  font: inherit;
  width: 100%;
  border-radius: 8px;
  padding: 13px;
}
input {
  color: inherit;
  border: 1px solid #dbd4dc;
  background: white;
}
button {
  margin-top: 20px;
  border: 0;
  color: white;
  background: #523157;
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
input:focus-visible,
button:focus-visible {
  outline: 3px solid #a062af;
  outline-offset: 3px;
}
[role="alert"] {
  color: #9c3048;
  font-size: 14px;
}
