body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: system-ui, -apple-system, sans-serif;
  background: #f4f1ea;
  color: #1f2a2e;
}

main {
  max-width: 32rem;
  padding: 2rem 1rem;
  text-align: center;
}

h1 {
  font-size: 3rem;
  margin: 0 0 0.5rem;
}

p {
  font-size: 1.15rem;
  line-height: 1.5;
}

form {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
  text-align: left;
}

h2 {
  margin: 0;
  text-align: center;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

input,
textarea {
  font: inherit;
  padding: 0.6rem 0.75rem;
  border: 1px solid #b9b2a3;
  border-radius: 8px;
  background: #fffdf8;
  color: inherit;
}

button {
  font: inherit;
  font-weight: 600;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 8px;
  background: #2f6f5e;
  color: #fff;
  cursor: pointer;
}

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

#status {
  min-height: 1.5em;
  margin: 0;
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #16201f;
    color: #eef2ef;
  }

  input,
  textarea {
    background: #1f2b2a;
    border-color: #3d4d4a;
  }

  button {
    background: #4f9e86;
  }
}
