/* Minimal base styles */
:root {
  --text: #1a1a1a;
  --text-secondary: #1a1a1a;
  --bg: #fafafa;
  --border: #e5e5e5;
  --accent: #076cd1;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.site-nav {
  margin-bottom: 3rem;
  display: flex;
  gap: 1.5rem;
}

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

.site-nav a:hover { color: var(--text); }

article header { margin-bottom: 2rem; text-align: center; }
article h1 { font-size: 3rem; font-weight: bold; letter-spacing: -0.035em; margin-bottom: 0.1rem; font-family: 'Permanent Marker', cursive; }
article time { color: var(--text-secondary); font-size: 0.875rem; }
.byline { color: var(--text-secondary); font-size: 0.875rem; }

.content h1, .content h2, .content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content p { margin-bottom: 1rem; }
.content ul, .content ol { margin-bottom: 1rem; margin-left: 1.5rem; }

a {
  color: var(--accent);
  text-decoration: none;
}
/* a:visited { color: #5f56b4; } */
a:hover { text-decoration: underline; }

.embed-missing {
  background: #fff3cd;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
}

.page-listing { margin-top: 3rem; }
.page-listing h2 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text-secondary); }
.page-listing ul { list-style: none; margin-left: 0; }
.page-listing li { display: flex; justify-content: space-between; align-items: baseline; padding: 0.35rem 0; }
.page-listing time { color: var(--text-secondary); font-size: 0.8125rem; flex-shrink: 0; margin-left: 1rem; }

.site-footer {
  margin-top: 4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  text-align: center;
}
