:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #5a5a5a;
  --border: #e5e5e0;
  --accent: #2b2b2b;
  --accent-hover: #000000;
  --success: #2f6b3a;
  --error: #a12a2a;
  --pending: #5a5a5a;
  --radius: 6px;
  --max-width: 640px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

.intro h1 {
  font-size: 2.25rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.description {
  font-size: 1rem;
  margin: 0 0 3rem;
}

.contact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 3rem;
}

.contact h2 {
  font-size: 1.25rem;
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

label {
  display: block;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  resize: vertical;
  min-height: 160px;
  transition: border-color 0.15s ease;
}

textarea:focus {
  outline: none;
  border-color: var(--accent);
}

button {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  font: inherit;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s ease;
}

button:hover {
  background: var(--accent-hover);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.status {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.status.success {
  color: var(--success);
}

.status.error {
  color: var(--error);
}

.status.pending {
  color: var(--pending);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

footer p {
  margin: 0;
}

@media (max-width: 480px) {
  .container {
    padding: 2.5rem 1.25rem 2rem;
  }

  .intro h1 {
    font-size: 1.85rem;
  }

  .contact {
    padding: 1.5rem;
  }
}
