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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
}

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

/* Header */
.site-header {
    padding: 24px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.logo {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
}

nav a {
    color: #1a1a1a;
    text-decoration: none;
    margin-left: 32px;
}

nav a:hover {
    color: #666;
}

/* Blog Index */
.blog-index h1 {
    font-size: 48px;
    margin: 80px 0 40px;
    text-align: center;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    padding: 40px 0;
}

.post-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.post-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card-content {
    padding: 24px;
}

.persona-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 12px;
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.post-card h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

.post-card h2 a {
    color: #1a1a1a;
    text-decoration: none;
}

.post-card h2 a:hover {
    color: #666;
}

.post-card p {
    color: #666;
    margin-bottom: 16px;
}

.post-card-meta {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: #999;
}

/* Blog Post */
.blog-post {
    padding: 40px 0 80px;
}

.blog-post .container {
    max-width: 720px;
}

.post-header {
    padding: 40px 0;
}

.post-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
    color: #666;
}

.post-header h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.author {
    color: #666;
}

.author-link {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.author-link:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

.featured-image {
    margin: 32px 0;
}

.featured-image img {
    width: 100%;
    border-radius: 8px;
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 28px;
    margin: 40px 0 16px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content strong {
    font-weight: 600;
}

.post-cta {
    margin: 60px 0;
    padding: 40px;
    background: #f8f8f8;
    border-radius: 8px;
    text-align: center;
}

.post-cta h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.post-cta p {
    color: #666;
    margin-bottom: 24px;
}

.waitlist-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.waitlist-form input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
}

.waitlist-form button {
    padding: 12px 24px;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.waitlist-form button:hover {
    background: #2a2a2a;
}

.post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.post-tags .tag {
    padding: 6px 12px;
    background: #f0f0f0;
    border-radius: 12px;
    font-size: 14px;
    text-decoration: none;
    color: #666;
}

.post-tags .tag:hover {
    background: #e0e0e0;
}

/* Footer */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    color: #666;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 60px 0 40px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.pagination-prev,
.pagination-next {
    padding: 12px 24px;
    background: #f0f0f0;
    border-radius: 8px;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
}

.pagination-prev:hover,
.pagination-next:hover {
    background: #e0e0e0;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination-numbers a {
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #666;
}

.pagination-numbers a:hover {
    background: #f0f0f0;
}

.pagination-numbers a.active {
    background: #1a1a1a;
    color: white;
}

/* Mobile */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-header h1 {
        font-size: 32px;
    }
    
    .waitlist-form {
        flex-direction: column;
    }

    .pagination {
        flex-direction: column;
        gap: 20px;
    }
    
    .pagination-numbers {
        order: -1;
    }
}