body {
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1rem;
  color: #222;
}

h1 {
  margin-bottom: 0.25rem;
}

.beta {
  margin: 1rem 0;
}
.beta-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid currentColor;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  color: inherit;
}
.beta-link:hover {
  background: rgba(127, 127, 127, 0.12);
}

nav {
  margin: 1.5rem 0;
}

nav a {
  margin-right: 1rem;
}

section {
  margin-top: 2.5rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

input,
textarea {
  font: inherit;
  padding: 0.4rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  font: inherit;
  padding: 0.4rem 1rem;
  width: fit-content;
  cursor: pointer;
}

/* Honeypot field — hidden from real users, off-screen (not display:none, which
   some bots skip). */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.result {
  margin: 0;
}
.result.ok {
  color: green;
}
.result.err {
  color: #c00;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #111;
    color: #ddd;
  }
  a {
    color: #6cf;
  }
  input,
  textarea {
    background: #1c1c1c;
    color: #ddd;
    border-color: #444;
  }
}
