body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #0f1115;
    color: #e6e6e6;
    margin: 0;
}

.container {
    max-width: 900px;
    margin: auto;
    padding: 60px 20px;
    text-align: center;
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.subtitle {
    color: #9aa4b2;
    margin-bottom: 40px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: #1a1d24;
    padding: 25px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

.card:hover {
    background: #252933;
    transform: translateY(-3px);
}

.card h2 {
    margin-top: 0;
}

.post {
    max-width: 760px;
    margin: 30px auto 0;
    padding: 36px;
    background: #1a1d24;
    border: 1px solid #252933;
    border-radius: 12px;
    text-align: left;
}

.back {
    color: #9aa4b2;
    text-decoration: none;
}

.back:hover {
    color: #e6e6e6;
}

.post-content {
    margin-top: 20px;
    line-height: 1.75;
    font-size: 1.05rem;
    max-width: 70ch;
}

.post-content h2,
.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.post-content p,
.post-content ul,
.post-content ol,
.post-content pre,
.post-content blockquote {
    margin: 1rem 0;
}

.post-content a {
    color: #8bb6ff;
}

.post-content code {
    background: #252933;
    padding: 0.15rem 0.35rem;
    border-radius: 6px;
}

.post-content pre {
    background: #0f1115;
    padding: 14px;
    border-radius: 10px;
    overflow-x: auto;
}

.post-content blockquote {
    border-left: 3px solid #3a4150;
    padding-left: 14px;
    color: #b7c0cc;
}

.post-content img {
    max-width: 100%;
    border-radius: 8px;
}
