:root {
  --bg: #fff;
  --text: #111;
  --text-secondary: #444;
}

body.dark {
  --bg: #000;
  --text: #fff;
  --text-secondary: #ccc;
}

body {
  font-family: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  color: var(--text);
  background: var(--bg);
  transition: background 0.2s, color 0.2s;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--text);
}

.site-title {
  font-size: 22px;
}

nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 24px;
}

nav a:hover {
  text-decoration: underline;
}

main {
  margin-top: 40px;
}

.links {
  display: flex;
  gap: 20px;
}

main p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  border-left: 1px solid var(--text);
}

.timeline li {
  position: relative;
  padding: 0 0 48px 32px;
}

.timeline li::before {
  content: ">>";
  position: absolute;
  left: -14px;
  top: -2px;
  background: var(--bg);
  padding: 0 0px 0 0;
  font-size: 15px;
}

.timeline h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 500;
}

.timeline p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

#theme-toggle {
  font-family: inherit;
  font-size: 14px;
  background: none;
  border: 1px solid var(--text);
  color: var(--text);
  padding: 4px 10px;
  cursor: pointer;
}

#theme-toggle:hover {
  opacity: 0.7;
}

footer {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--text);
  display: flex;
  justify-content: flex-end;
}