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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0f0f0f;
  color: #e0e0e0;
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid #333;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

h1 { font-size: 1.8rem; letter-spacing: 2px; }
h2 { margin: 1.5rem 0 0.8rem; font-size: 1.2rem; color: #a0a0ff; }

nav a {
  color: #a0a0ff;
  text-decoration: none;
  margin-left: 1.2rem;
  font-size: 0.95rem;
}
nav a:hover { text-decoration: underline; }

label { display: block; margin-top: 1rem; font-size: 0.9rem; color: #aaa; }

input[type="text"], select, textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  margin-top: 0.3rem;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  color: #e0e0e0;
  font-size: 0.95rem;
}
textarea { resize: vertical; font-family: inherit; }

button {
  margin-top: 1.2rem;
  padding: 0.7rem 1.6rem;
  background: #a0a0ff;
  color: #0f0f0f;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
}
button:hover { background: #c0c0ff; }

.hint { font-size: 0.8rem; color: #666; margin-top: 0.3rem; }
.hint a { color: #a0a0ff; }

.project-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
}
.project-card h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.project-card .meta { font-size: 0.78rem; color: #666; }
.project-card .preview { font-size: 0.88rem; color: #bbb; margin-top: 0.4rem; }
