:root {
  color-scheme: light dark;
  --bg: #fafafa;
  --surface: #ffffff;
  --fg: #18181b;
  --muted: #71717a;
  --border: #e4e4e7;
  --border-hover: #a1a1aa;
  --accent: #2563eb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --surface: #161920;
    --fg: #f4f4f5;
    --muted: #a1a1aa;
    --border: #27272a;
    --border-hover: #52525b;
    --accent: #60a5fa;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.hero {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
}

h1 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.2;
}

.subtitle,
.muted {
  color: var(--muted);
  margin: 0.25rem 0 0;
}

h2 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.project-list {
  display: grid;
  gap: 0.75rem;
}

.project-card {
  display: block;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.project-card:hover {
  border-color: var(--border-hover);
  text-decoration: none;
}

.project-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.project-title {
  font-weight: 600;
  color: var(--fg);
}

.project-url {
  font-size: 0.85rem;
  color: var(--muted);
}

.project-desc {
  margin: 0.35rem 0 0;
  font-size: 0.925rem;
  color: var(--muted);
}

.footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}
