:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171717;
  background: #fff;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

main {
  width: 100%;
  max-width: 400px;
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(26px, 6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

input,
button {
  display: block;
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
}

input {
  padding: 12px 14px;
  border: 1px solid #c9c9c9;
  color: #171717;
  background: #fff;
}

input::placeholder {
  color: #707070;
}

button {
  margin-top: 12px;
  padding: 12px 18px;
  border: 1px solid #171717;
  color: #fff;
  background: #171717;
  cursor: pointer;
  font-weight: 500;
}

button:hover:not(:disabled) {
  background: #333;
}

button:disabled {
  opacity: 0.6;
  cursor: wait;
}

input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.supporting-text {
  margin: 16px 0 0;
  color: #595959;
  font-size: 14px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

#status {
  min-height: 1.5em;
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

#status[data-kind="error"] {
  color: #b42318;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
