:root {
    --staccato-text: #1f2328;
    --staccato-muted: #57606a;
    --staccato-border: #d8dee4;
    --staccato-bg: #ffffff;
    --staccato-header-bg: #f6f8fa;
    --staccato-link: #0969da;
    --staccato-max-width: 720px;
}

* {
    box-sizing: border-box;
}

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

a {
    color: var(--staccato-link);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-container {
    max-width: var(--staccato-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-header {
    border-bottom: 1px solid var(--staccato-border);
    background: var(--staccato-header-bg);
    padding: 1.25rem 0;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--staccato-text);
}

.site-main {
    padding: 2.5rem 0;
    min-height: 60vh;
}

.site-footer {
    border-top: 1px solid var(--staccato-border);
    color: var(--staccato-muted);
    font-size: 0.875rem;
    padding: 1.5rem 0;
}

.page-title {
    margin-bottom: 0.25rem;
    font-size: 2rem;
}

.page-meta,
.article-meta {
    color: var(--staccato-muted);
    font-size: 0.875rem;
    margin: 0 0 0.5rem;
}

.prose {
    margin-top: 1.5rem;
}

.prose h2,
.prose h3 {
    margin-top: 2rem;
}

.prose pre {
    background: var(--staccato-header-bg);
    border: 1px solid var(--staccato-border);
    border-radius: 6px;
    padding: 1rem;
    overflow-x: auto;
}

.prose code {
    background: var(--staccato-header-bg);
    border-radius: 4px;
    padding: 0.125rem 0.375rem;
}

.prose pre code {
    background: none;
    padding: 0;
}

.prose table {
    border-collapse: collapse;
    margin: 1rem 0;
    width: 100%;
}

.prose table caption {
    caption-side: top;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.prose th,
.prose td {
    border: 1px solid var(--staccato-border);
    padding: 0.5rem 0.75rem;
}

.prose th {
    font-weight: 600;
    text-align: left;
}

.prose tr:nth-child(2n) {
    background: var(--staccato-header-bg);
}

.prose tr:nth-child(2n) th,
.prose tr:nth-child(2n) td {
    background: none;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.article-card {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--staccato-border);
}

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

.article-title {
    margin: 0 0 0.25rem;
    font-size: 1.375rem;
}

.article-title a {
    color: var(--staccato-text);
}

.article-excerpt {
    color: var(--staccato-text);
    margin: 0.5rem 0;
}

.article-link {
    font-size: 0.9375rem;
    font-weight: 600;
}

.empty-state {
    color: var(--staccato-muted);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--staccato-border);
    font-size: 0.9375rem;
}

.pagination-status {
    color: var(--staccato-muted);
}

.not-found h1 {
    font-size: 2rem;
}
