:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6b7280;
  --link: #2563eb;
  --border: #d1d5db;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 15px;
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.nav {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 2rem;
}

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

.nav-right a {
  margin-left: 1.5rem;
}

.container {
  max-width: 720px;
  padding: 2rem;
}

.intro p {
  margin: 0 0 1rem 0;
  color: var(--text);
}

.writing {
  margin-top: 3rem;
}

.writing h2 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

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

article {
  max-width: 640px;
}

article h1 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

article p {
  margin: 0 0 1.2rem 0;
  font-size: 15px;
  line-height: 1.6;
}

.post-list li {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
}

.date {
  color: var(--muted);
  min-width: 6.5rem;
}

input {
  font-family: inherit;
  font-size: inherit;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--border);
}

button {
  font-family: inherit;
  font-size: inherit;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
}

button:hover {
  background: #f9fafb;
}

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

.post-meta {
  margin-bottom: 0.5rem;
}

.post-title {
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0 0 2rem 0;
}

.post-content p {
  margin: 0 0 1.25rem 0;
}

.post-content h2 {
  font-size: 1rem;
  font-weight: 500;
  margin: 2rem 0 0.75rem 0;
}

.post-content ul {
  margin: 0 0 1.25rem 1.25rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}
