* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #111;
  color: #e0e0e0;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 3rem 1rem;
}

.container {
  max-width: 520px;
  width: 100%;
}

h1 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #fff;
}

.subtitle {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #aaa;
  margin-bottom: 0.3rem;
  margin-top: 1.2rem;
}

label:first-of-type {
  margin-top: 0;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 4px;
  color: #e0e0e0;
  padding: 0.55rem 0.7rem;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #555;
}

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

.contact-note {
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.3rem;
}

.terms {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.terms label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #ccc;
  margin: 0;
  cursor: pointer;
}

.terms input[type="checkbox"] {
  margin-top: 0.15rem;
  accent-color: #fff;
  flex-shrink: 0;
}

button[type="submit"] {
  margin-top: 1.5rem;
  width: 100%;
  padding: 0.6rem;
  background: #fff;
  color: #111;
  border: none;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s;
}

button[type="submit"]:hover {
  opacity: 0.85;
}

button[type="submit"]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.message {
  margin-top: 1rem;
  font-size: 0.8rem;
  padding: 0.6rem 0.7rem;
  border-radius: 4px;
  display: none;
}

.message.success {
  display: block;
  background: #1a2e1a;
  color: #6fbf6f;
  border: 1px solid #2a3f2a;
}

.message.error {
  display: block;
  background: #2e1a1a;
  color: #bf6f6f;
  border: 1px solid #3f2a2a;
}
