:root {
  color-scheme: light;
}

body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 16px;
  background: #fff;
  color: #000;
  font: 16px/21px "Times New Roman", Times, serif;
}

h1 {
  margin: 0;
  font: inherit;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

#email {
  min-height: 21px;
  margin-bottom: 21px;
}

main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

form {
  width: 240px;
  max-width: 100%;
}

input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid #000;
  border-radius: 0;
  outline: 0;
  background: none;
  color: inherit;
  font: inherit;
}

input::placeholder {
  color: #999;
  opacity: 1;
}

/* Safari lightens fully opaque selection colors, so this stays just under 1. */
::selection {
  background: rgba(92, 15, 29, 0.99);
  color: #dc3538;
}

#form-message {
  color: #f00;
}

#form-message:not(:empty) {
  margin-top: 8px;
}

.offscreen {
  position: absolute;
  left: -9999px;
}
