/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #333;
  background: #fafafa;
  max-width: 100vw;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
  font-weight: 400;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1em;
}

/* Header */
header {
  padding: 3rem 2rem 2rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

nav {
  margin-top: 1.5rem;
}

nav a {
  display: inline-block;
  margin: 0 1rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.2s;
}

nav a:hover {
  background: #f0f0f0;
}

/* Main content */
main {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

section {
  margin-bottom: 4rem;
}

/* Footer */
footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid #eee;
  color: #666;
  font-size: 0.9rem;
}

/* Profile links (for your list) */
.profile-links {
  list-style: none;
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.profile-links a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  transition: all 0.2s;
}

.profile-links a:hover {
  background: #0066cc;
  color: white;
  border-color: #0066cc;
}

/* Mobile-first responsive */
@media (max-width: 768px) {
  html { font-size: 15px; }
  
  header { padding: 2rem 1rem 1.5rem; }
  main { padding: 2rem 1rem; }
  
  nav a { 
    display: block; 
    margin: 0.5rem 0; 
  }
  
  .profile-links { gap: 1rem; }
}

@media (min-width: 1024px) {
  main { padding: 4rem 3rem; }
}

