* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fafafa;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

a {
  color: #1565c0;
}

header nav {
  margin: 1rem 0 2rem;
}

header nav a {
  margin-right: 1.25rem;
  text-decoration: none;
  font-weight: 500;
}

header nav a:hover {
  text-decoration: underline;
}

h1 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
}

.meta {
  color: #555;
  font-size: 0.95rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
  color: #666;
}

label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 500;
}

input,
textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.5rem 0.65rem;
  font: inherit;
  border: 1px solid #ccc;
  border-radius: 4px;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

button[type="submit"] {
  padding: 0.6rem 1.25rem;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: #1565c0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: #0d47a1;
}

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#form-status {
  margin-top: 1rem;
  min-height: 1.25rem;
}

#form-status.error {
  color: #c62828;
}

#form-status.success {
  color: #2e7d32;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
