:root {
  --bg: #0f1316;
  --fg: #e6edf3;
  --muted: #9aa4ad;
  --accent: #7ee787;
  --rule: rgba(255, 255, 255, 0.12);
  --max: 740px;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.65;
}

main {
  max-width: var(--max);
  margin: 48px auto;
  padding: 0 20px;
}

h1,
h2,
h3 {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.2px;
  margin: 0 0 0.6rem 0;
}

.meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--muted);
  margin-top: 1rem;
}

.meta--compact {
  margin-top: 0.3rem;
}

.k {
  color: var(--muted);
}
.v {
  color: var(--fg);
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.links a {
  margin-right: 1rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2rem 0;
}

.back {
  color: var(--muted);
  text-decoration: none;
}
.back:hover {
  text-decoration: underline;
}

.lead {
  color: var(--muted);
  margin: 0.5rem 0 0 0;
}

.content {
  max-width: 70ch;
}

.muted {
  color: var(--muted);
}

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

.list li {
  padding: 0.4rem 0;
}

.date {
  display: inline-block;
  min-width: 7.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--muted);
}

.links a {
  margin-right: 1.2rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.v[data-status="active"] {
  color: var(--accent);
}
.v[data-status="archived"] {
  color: var(--muted);
}

.pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.pill {
  margin-left: 0.6rem;
  padding: 0.08rem 0.55rem;
  border: 1px solid rgba(230, 237, 243, 0.16);
  background: rgba(230, 237, 243, 0.06);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}

.pill a {
  color: inherit;
  text-decoration: none;
}

.pill a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.project {
  margin: 1.5rem 0;
}

.project-title {
  margin: 0 0 0.4rem 0;
}

.project-meta {
  margin: 0 0 0.9rem 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.95rem;
}

.project-body > :first-child {
  margin-top: 0;
}

.project-sep {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 1.25rem 0;
}

.status-active {
  color: var(--accent); /* green */
}

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