:root {
  color-scheme: light dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #fff;
  color: #212529;
}

header {
  padding: 3rem 1rem 1.5rem;
  text-align: center;
}

header h1 {
  margin: 0;
  font-family: 'Courier New', monospace;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

.tagline {
  color: #6c757d;
  margin-top: 0.5rem;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1rem 4rem;
}

.project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.project-name {
  font-family: 'Courier New', monospace;
  font-weight: 600;
  font-size: 1.05rem;
}

.status {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #e9ecef;
  color: #495057;
}

.status-live {
  background: #d4edda;
  color: #155724;
}

.status-in-progress {
  background: #fff3cd;
  color: #856404;
}

.status-experiment {
  background: #e2e3ff;
  color: #3730a3;
}

.description {
  margin: 0.6rem 0 0;
  line-height: 1.5;
  color: #343a40;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.tag {
  font-size: 0.75rem;
  color: #6c757d;
  background: #f1f3f5;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #868e96;
}

.project-link {
  font-weight: 600;
  color: #212529;
  text-decoration: underline;
}

.empty-state {
  text-align: center;
  color: #868e96;
  padding: 2rem 0;
}

footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  font-size: 0.85rem;
}

footer a {
  color: #868e96;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #0d1117;
    color: #e6edf3;
  }

  .tagline {
    color: #8b949e;
  }

  .project-card {
    border-color: #30363d;
  }

  .description {
    color: #c9d1d9;
  }

  .tag {
    background: #161b22;
    color: #8b949e;
  }

  .meta {
    color: #6e7681;
  }

  .project-link {
    color: #e6edf3;
  }
}
