:root {
  color-scheme: light;
  --bg: #e9ecef;
  --fg: #1a1a1a;
  --muted: #666666;
  --accent: #0a84ff;
  --header-bg: #dbeafe;
  --footer-bg: #dfe3e6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.65;
  background: var(--bg);
  color: var(--fg);
}

.container {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid color-mix(in srgb, var(--fg) 15%, transparent);
  margin-bottom: 2rem;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

h1, h2, h3 {
  line-height: 1.2;
}

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

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

.post-list li {
  margin-bottom: 1.2rem;
}

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

.post-list a.inactive {
  color: #8a8a8a;
}

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

.post-thumbnail {
  display: block;
  max-width: 100%;
  margin: 1rem 0;
}

.post-thumbnail-small {
  width: 6rem;
  height: 4rem;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--fg) 18%, transparent);
  margin: 0 0 0.35rem;
}

.post-thumbnail-figure {
  margin: 1rem 0;
}

.post-thumbnail-figure .post-thumbnail {
  margin: 0 0 0.25rem;
}

.thumbnail-caption {
  margin: 0;
  color: #8a8a8a;
  font-style: italic;
  font-size: 0.875rem;
}

.note {
  border-left: 4px solid var(--accent);
  padding: 0.25rem 0 0.25rem 0.8rem;
  margin: 1rem 0;
}

.profile-pic {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--fg) 18%, transparent);
  margin: 0 0 1rem;
}

.site-footer {
  margin-top: 3rem;
  padding: 1rem 0;
  background: var(--footer-bg);
  color: var(--muted);
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

main a {
  color: var(--accent);
}

