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

html, body {
  height: 100%;
  width: 100%;
}

body {
  background-color: #0b0c0e; /* Elegant deep slate black */
  color: #a1a1aa; /* Soft gray for comfortable reading */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

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

h1 {
  color: #f3f4f6; /* Crisp white for heading */
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 2.2rem; /* Clean vertical spacer */
}

.bio {
  font-size: 0.95rem;
  margin-bottom: 2.8rem; /* Clean vertical spacer before directory */
  color: #a1a1aa;
}

.links {
  font-size: 0.9rem;
  line-height: 2.5; /* Beautifully spaces out the lines naturally */
}

.label {
  display: inline-block;
  width: 85px; /* Aligns all link values perfectly on a horizontal axis */
  color: #52525b; /* Muted gray for labels */
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

a {
  color: #e4e4e7; /* Balanced off-white for links */
  text-decoration: none;
  border-bottom: 1px solid rgba(228, 228, 231, 0.15); /* Minimal underline */
  transition: all 0.15s ease-out;
}

a:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.7); /* Smooth hover highlight */
}

@media (max-width: 480px) {
  body {
    padding: 1.5rem 1.25rem;
    justify-content: flex-start;
  }
  
  main {
    margin-top: 15vh; /* Spaces layout downwards beautifully on mobile viewports */
  }
  
  .label {
    width: auto;
    display: block; /* Stacks nicely on very narrow screens */
    margin-bottom: 0.1rem;
    line-height: 1.2;
  }
  
  .links {
    line-height: 2.2;
  }
}
