:root {
    --ink: #1d2a24;
    --muted: #647067;
    --accent: #330033;
    --paper: #fbfcf9;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font: 16px/1.65 Verdama, sans-serif;
    color: var(--ink);
    background: var(--paper);
}

.wrap {
    width: min(760px, calc(100% - 2rem));
    margin: auto;
}

.site-header {
    border-bottom: 1px solid #dde5dc;
    padding: 10px;
    background: var(--accent);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    margin-left: 0;
    margin-right: auto;
    flex-wrap: wrap;
}

.site-slogan {
    margin: 0 0 0 auto;
    color: var(--paper);
    font-size: .9rem;
    line-height: 1.3;
    text-align: right;
}

.site-footer {
    padding: 10px;
    background: var(--accent);
    color: var(--paper);
}

.site-footer p {
    margin: 0;
}

.brand {
    font: 700 1.15rem system-ui, sans-serif;
    color: var(--paper);
    text-decoration: none;
}

main {
    padding: 2rem 0 4rem;
}

h1,
h2,
h3 {
    line-height: 1.15;
    font-family: system-ui, sans-serif;
}

.meta {
    color: var(--muted);
    font-size: .9rem;
}

.post-list {
    list-style: none;
    padding: 0;
}

.post-list li {
    border-bottom: 1px solid #e4e8e1;
    padding: .65rem 0;
}

.post-list time {
    display: inline-block;
    width: 10rem;
    color: var(--muted);
    font-size: .85rem;
}

.post-list a {
    color: var(--accent);
    text-decoration: none;
}

.post-list a:visited {
    color: #6f6a7d;
}

article img {
    max-width: 100%;
    height: auto;
}

footer {
    border-top: 1px solid #dde5dc;
    padding: 1.5rem 0;
    color: var(--muted);
    font-size: .85rem;
    background: var(--accent);
}

article table {
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    margin: 1rem 0;
}

article th,
article td {
    border: 1px solid #d7ded5;
    padding: .55rem .7rem;
    text-align: left;
}

article th {
    background: #edf4eb;
}

article code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .9em;
}

article pre {
    overflow-x: auto;
    padding: .8rem;
    background: #edf4eb;
    border-radius: 4px;
}

@media (max-width: 600px) {
    .post-list time {
        display: block;
        width: auto;
    }
}
