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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  border-bottom: 1px solid #ddd;
  padding: 16px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
}

header nav a {
  font-weight: 400;
  margin-left: 20px;
}

header a:hover { color: #0066cc; }

main { padding: 40px 0; }

footer {
  border-top: 1px solid #ddd;
  padding: 20px 0;
  color: #888;
  font-size: 0.9em;
}

h1 { margin-bottom: 0.3em; }
h2, h3, h4 { margin: 1.2em 0 0.5em; }
p { margin-bottom: 1em; }
ul, ol { margin: 0 0 1em 1.5em; }
li { margin-bottom: 0.3em; }

a { color: #0066cc; }
a:hover { color: #004499; }

img { max-width: 100%; height: auto; }

pre {
  background: #f5f5f5;
  padding: 16px;
  overflow-x: auto;
  border-radius: 4px;
  margin-bottom: 1em;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
}

p code, li code {
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 3px;
}

.post-date {
  color: #888;
  font-size: 0.9em;
}

.post-list { list-style: none; margin-left: 0; }
.post-list li { margin-bottom: 1.2em; }
.post-list .post-date { display: block; }
.post-list a { font-size: 1.15em; }

.tool-desc {
  display: block;
  color: #666;
  font-size: 0.9em;
}

.about-photo {
  max-width: 300px;
  border-radius: 8px;
  margin-bottom: 1em;
}
