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

:root {
  --bg: #fafafa;
  --fg: #1a1a1a;
  --fg-muted: #555;
  --fg-body: #333;
  --fg-subtle: #444;
  --fg-date: #777;
  --border: #ccc;
  --border-hover: #999;
  --hover-bg: #f0f0f0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --fg: #e5e5e5;
    --fg-muted: #aaa;
    --fg-body: #ccc;
    --fg-subtle: #bbb;
    --fg-date: #888;
    --border: #444;
    --border-hover: #777;
    --hover-bg: #1e1e1e;
  }
}

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

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.subtitle {
  color: var(--fg-muted);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.links {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 0.5rem;
}

.blurb {
  font-size: 1rem;
  color: var(--fg-body);
  margin-bottom: 2rem;
}

.links a {
  color: var(--fg-muted);
  font-size: 1.25rem;
  text-decoration: none;
  transition: color 0.15s;
}

.links a:hover {
  color: var(--fg);
}

/* Sections */

.section {
  margin-top: 3rem;
}

.section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Timeline */

.timeline {
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.5rem;
  bottom: 0.35rem;
  width: 2px;
  background: var(--fg);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -24px;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  background: var(--fg);
  border-radius: 50%;
  z-index: 1;
}

.timeline-content {
  padding-left: 0.25rem;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-date {
  font-size: 0.85rem;
  color: var(--fg-date);
  white-space: nowrap;
}

.timeline-sub {
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

a {
  color: var(--fg-muted);
  transition: color 0.15s;
}

a:hover {
  color: var(--fg);
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--fg-subtle);
  line-height: 1.5;
}
