:root {
  --bg: #0e0f11;
  --fg: #e6e6e6;
  --muted: #8a8f98;
  --line: #23262b;
  --accent: #7dd3a0;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fbfbfa;
    --fg: #16181d;
    --muted: #6b7280;
    --line: #e4e4e2;
    --accent: #17724a;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

main {
  width: 100%;
  max-width: 34rem;
}

header { margin-bottom: 3rem; }

h1 {
  margin: 0 0 .35rem;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

.tagline {
  margin: 0;
  color: var(--muted);
}

h2 {
  margin: 0 0 1rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.projects {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.projects li { border-bottom: 1px solid var(--line); }

.projects a {
  display: grid;
  gap: .3rem;
  padding: 1.1rem .25rem;
  color: inherit;
  text-decoration: none;
}

.projects a:hover .name,
.projects a:focus-visible .name { color: var(--accent); }

.projects a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.name {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: .95rem;
  transition: color .12s ease;
}

.desc {
  color: var(--muted);
  font-size: .92rem;
}

footer {
  margin-top: 3rem;
  color: var(--muted);
  font-size: .82rem;
}

footer p { margin: 0; }
