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

body {
  background: #0d1117;
  color: #c9d1d9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Nav */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #21262d;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.nav-brand {
  color: #e6edf3;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #8b949e;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #58a6ff;
}

/* Main */
main {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 24px;
  flex: 1;
}

/* Hero */
.hero {
  margin-bottom: 32px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  color: #e6edf3;
  margin-bottom: 8px;
}

.tagline {
  font-size: 18px;
  color: #8b949e;
}

/* Bio */
.bio {
  margin-bottom: 48px;
  max-width: 600px;
}

.bio p {
  font-size: 16px;
  color: #c9d1d9;
}

/* Projects */
.projects h2 {
  font-size: 20px;
  font-weight: 600;
  color: #e6edf3;
  margin-bottom: 16px;
}

.project-card {
  display: block;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  padding: 20px 24px;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
  position: relative;
}

.project-card:hover {
  border-color: #58a6ff;
  transform: translateY(-2px);
}

.project-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #e6edf3;
  margin-bottom: 6px;
}

.project-card p {
  font-size: 14px;
  color: #8b949e;
}

.project-card .arrow {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: #58a6ff;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.15s;
}

.project-card:hover .arrow {
  opacity: 1;
}

/* Footer */
footer {
  border-top: 1px solid #21262d;
  padding: 24px;
  text-align: center;
}

footer p {
  font-size: 13px;
  color: #484f58;
}

/* Mobile */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 30px;
  }

  nav {
    flex-direction: column;
    gap: 12px;
  }
}
