body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 560px;
  margin: 40px auto;
  padding: 0 20px;
  color: #1a1a1a;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.5rem;
}

body.home,
body.signup,
body.signup-success {
  max-width: none;
  margin: 0;
  padding: 40px 20px;
  min-height: 100vh;
  box-sizing: border-box;
  background-image: url('/images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

body.home h1,
body.home h2,
body.home p {
  margin-left: 20px;
}

body.home a {
  color: inherit;
  text-decoration: none;
}

body.signup,
body.signup-success {
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.25)), url('/images/background.jpg');
}

nav {
  margin-bottom: 24px;
  font-size: 0.9rem;
}

nav a {
  margin-right: 16px;
  color: #2b6cb0;
  text-decoration: none;
}

label {
  display: block;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.9rem;
}

form {
  background: #f0f0f0;
  padding: 20px;
  border-radius: 6px;
  margin: 16px auto 0;
  max-width: 520px;
  text-align: left;
  color: #1a1a1a;
  text-shadow: none;
}

input, textarea {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: inherit;
  background: #f5f9fd;
}

textarea {
  min-height: 200px;
  resize: vertical;
}

input:focus, textarea:focus {
  background: #fff;
  border-color: #2b6cb0;
  outline: none;
}

button {
  margin-top: 20px;
  padding: 10px 18px;
  font-size: 1rem;
  background: #2b6cb0;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: #2c5282;
}

.error {
  color: #c53030;
  margin-top: 12px;
}

.hint {
  color: #666;
  font-size: 0.85rem;
  margin-top: 4px;
}
