:root {
  --bg: #fbfaf7;
  --fg: #1d1d1f;
  --muted: #6b6b70;
  --accent: #1f5fbf;
  --rule: #e2e0da;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141416;
    --fg: #ececee;
    --muted: #9a9aa2;
    --accent: #7fb0ff;
    --rule: #2c2c30;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  max-width: 34rem;
  margin: 0 auto;
  padding: 18vh 1rem 4rem;
}

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

h1 {
  margin: 1.25rem 0 0;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

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

a { color: var(--accent); text-underline-offset: 3px; }

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 2rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.links a { font-weight: 500; text-decoration: none; }
.links a:hover { text-decoration: underline; }
