:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #1e293b;
    --muted: #64748b;
    --accent: #2563eb;
    --border: #e2e8f0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    margin-bottom: 40px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    text-decoration: none;
}

nav a {
    color: var(--muted);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.2s;
}

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

main {
    background: var(--surface);
    padding: 35px;
    border-radius: 8px;
    border: 1px solid var(--border);
    min-height: 400px;
}

h1 { font-size: 1.8rem; margin-bottom: 15px; }
h2 { font-size: 1.3rem; margin: 25px 0 10px; }
p { margin-bottom: 15px; }

.article-card {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.article-card:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.meta {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 8px;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
}

footer {
    text-align: center;
    padding: 30px 0;
    color: var(--muted);
    font-size: 0.9rem;
}
