:root {
  --bg: #f9fafb;
  --text: #000000;
  --text-body: #111827;
  --text-secondary: #6b7280;
  --link: #6b7280;
  --link-hover: #000000;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}

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

.tree {
  width: 52px;
  height: auto;
  margin-bottom: 20px;
  image-rendering: pixelated;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.location {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 4px;
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 90%;
  margin-bottom: 4px;
}

.bio {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
  margin-top: 16px;
}

.bio p {
  font-size: 15px;
  font-weight: 400;
  line-height: 160%;
  color: var(--text-body);
}

.bio p + p {
  margin-top: 12px;
}

.bio a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.bio a.tjx:hover {
  color: #c84b31;
}

.bio a.spoil:hover {
  color: #2563eb;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.links a {
  font-size: 15px;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

.links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.25s ease;
}

.links a:hover {
  color: var(--text);
}

.links a:hover::after {
  width: 100%;
}

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