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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 650px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

header {
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

nav {
    display: flex;
    gap: 1.5rem;
    align-items: baseline;
}

.site-title {
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    color: #000;
}

nav a {
    color: #666;
    text-decoration: none;
}

nav a:hover {
    color: #000;
}

main {
    margin-bottom: 4rem;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
}

h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem;
}

time {
    color: #999;
    font-size: 0.9rem;
}

article header {
    margin-bottom: 2rem;
    border-bottom: none;
}

article header time {
    display: block;
    margin-top: 0.5rem;
}

.content {
    margin-top: 2rem;
}

.content p {
    margin-bottom: 1rem;
}

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

.content code {
    background: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
}

.content pre code {
    background: none;
    padding: 0;
}

.post-list {
    list-style: none;
}

.post-list li {
    margin-bottom: 0.8rem;
    display: flex;
    gap: 1rem;
    align-items: baseline;
}

.post-list time {
    flex-shrink: 0;
    min-width: 6rem;
}

.post-list a {
    color: #000;
    text-decoration: none;
}

.post-list a:hover {
    text-decoration: underline;
}

.view-all {
    display: inline-block;
    margin-top: 1rem;
    color: #666;
    text-decoration: none;
}

.view-all:hover {
    color: #000;
}

footer {
    padding-top: 2rem;
    border-top: 1px solid #eee;
    color: #999;
    font-size: 0.9rem;
}
