:root {
  --bg: #f7f7f5;
  --fg: #111;
  --muted: #666;
  --card: #fff;
  --border: #e5e5e0;
  --link-bg: #fff;
  --link-hover: #f0f0eb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e10;
    --fg: #f5f5f5;
    --muted: #999;
    --card: #18181b;
    --border: #2a2a2e;
    --link-bg: #1f1f23;
    --link-hover: #2a2a2e;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.card {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

.avatar {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--border);
  display: block;
  margin: 0 auto 1.25rem;
}

.name {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  letter-spacing: -0.01em;
}

.tagline {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 1rem;
}

.bio {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.bio li {
  margin: 0.15rem 0;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.25rem;
  background: var(--link-bg);
  color: var(--fg);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 500;
  transition: background 0.15s ease, transform 0.15s ease;
}

.link:hover {
  background: var(--link-hover);
  transform: translateY(-1px);
}

.link svg { flex-shrink: 0; }

.link small {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
  margin-left: 0.25rem;
}
