* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: #1a1a2e; background: #fff; line-height: 1.6; }
h1, h2, h3 { font-family: 'Inter', sans-serif; font-weight: 700; }
a { color: #6D28D9; text-decoration: none; }
a:hover { text-decoration: underline; }

.top-nav { border-bottom: 1px solid #e5e5e5; background: #fff; position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; height: 64px; gap: 32px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; color: #1a1a2e; }
.nav-logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 24px; font-size: 14px; }
.nav-links a { color: #6b7280; font-weight: 500; }
.nav-links a:hover { color: #6D28D9; text-decoration: none; }

main { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hero { padding: 64px 0 32px; }
.hero h1 { font-size: 44px; font-weight: 700; color: #1a1a2e; margin-bottom: 12px; }
.hero-sub { font-size: 18px; color: #6b7280; max-width: 640px; }

.section-header { padding: 48px 0 24px; }
.section-header h1 { font-size: 36px; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; padding-bottom: 64px; }
.post-card { border: 1px solid #e5e5e5; border-radius: 12px; padding: 24px; transition: box-shadow 0.2s; }
.post-card:hover { box-shadow: 0 2px 12px rgba(109,40,217,0.08); }
.post-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 13px; }
.post-category { background: #ede9fe; color: #6D28D9; padding: 2px 10px; border-radius: 12px; font-weight: 500; font-size: 12px; }
.post-category:hover { text-decoration: none; background: #ddd6fe; }
.post-date { color: #9ca3af; }
.post-card h2 { font-size: 18px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.post-card h2 a { color: #1a1a2e; }
.post-card h2 a:hover { color: #6D28D9; }
.post-excerpt { font-size: 14px; color: #6b7280; margin-bottom: 12px; }
.post-author { font-size: 13px; color: #9ca3af; }

.article-full { max-width: 760px; margin: 0 auto; padding: 48px 0 80px; }
.article-header { margin-bottom: 32px; }
.article-header h1 { font-size: 36px; font-weight: 700; margin: 16px 0; line-height: 1.3; }
.article-meta { display: flex; gap: 16px; color: #6b7280; font-size: 14px; }
.article-body { font-size: 17px; line-height: 1.8; color: #374151; }
.article-excerpt { font-size: 19px; color: #6b7280; margin-bottom: 24px; font-style: italic; }

.error-page { text-align: center; padding: 120px 0; }
.error-page h1 { font-size: 96px; color: #e5e7eb; margin-bottom: 16px; }
.error-page p { font-size: 18px; color: #6b7280; margin-bottom: 24px; }

footer { border-top: 1px solid #e5e5e5; background: #fafafa; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 24px; font-size: 13px; color: #9ca3af; }
