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

:root {
    --bg: #fbf7f2;
    --text: #2d1f14;
    --text-light: #7a6b5d;
    --accent: #c67b4b;
    --accent-hover: #a8653a;
    --border: #e5d9cf;
    --card-bg: #fff;
    --max-width: 720px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 17px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    background: var(--card-bg);
}

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

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

.site-header nav a {
    margin-left: 24px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.site-header nav a.active,
.site-header nav a:hover {
    color: var(--accent);
}

/* Hero */
.hero {
    padding: 80px 0 60px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero p {
    font-size: 19px;
    color: var(--text-light);
    max-width: 600px;
}

/* Posts */
.posts-list {
    padding-bottom: 60px;
}

.posts-list h2 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.post-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 20px;
    transition: border-color 0.2s;
}

.post-card:hover {
    border-color: var(--accent);
}

.post-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.post-card h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

.post-card h3 a {
    color: var(--text);
    text-decoration: none;
}

.post-card h3 a:hover {
    color: var(--accent);
}

.post-card p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    margin-top: 12px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.read-more:hover {
    text-decoration: underline;
}

/* Content page */
.content-page {
    padding: 60px 0;
}

.content-page h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 24px;
}

.content-page h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
}

.content-page p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.content-page ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.content-page li {
    margin-bottom: 8px;
    color: var(--text-light);
}

/* Post page */
.post-page {
    padding: 60px 0;
}

.post-page .post-meta {
    margin-bottom: 16px;
}

.post-page h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
}

.post-page p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.post-page h2 {
    font-size: 26px;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 16px;
}

.post-page h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
}

.post-page ul, .post-page ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.post-page li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.post-page pre {
    background: #2d1f14;
    color: #e8ddd0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.post-page code {
    font-family: "SF Mono", "Fira Code", monospace;
}

.post-page img {
    max-width: 100%;
    border-radius: 8px;
    margin: 24px 0;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

.site-footer a {
    color: var(--accent);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 600px) {
    .hero h1 { font-size: 32px; }
    .hero { padding: 48px 0 40px; }
    .post-card h3 { font-size: 19px; }
}
