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

:root {
  --bg: #0c0c0c;
  --text: #e8e8e8;
  --muted: #666;
  --link: #a8a8a8;
  --link-hover: #fff;
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

main {
  max-width: 420px;
  width: 100%;
}

.header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
  filter: brightness(0.95);
}

h1 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.role {
  color: #999;
  font-size: 0.875rem;
}

.bio {
  color: var(--text);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  max-width: 420px;
}

.bio p + p {
  margin-top: 0.75rem;
}

nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

a::after {
  content: " ↗";
  font-size: 0.75em;
  opacity: 0.5;
}

a {
  color: var(--link);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
}

a:hover {
  color: var(--link-hover);
}

.role a, .bio a {
  color: inherit;
  border-bottom: 1px solid var(--muted);
}

.role a:hover, .bio a:hover {
  color: var(--link-hover);
  border-color: var(--link-hover);
}

.updated {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.updated::after {
  display: none;
}

@media (max-width: 480px) {
  body {
    align-items: flex-start;
    padding: 3rem 1.5rem;
  }
}
