:root {
  --font-family: Georgia, 'Times New Roman', serif;
  --max-width: 640px;
  --bg: #fff;
  --text: #171717;
  --text-secondary: #525252;
  --link: #171717;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --text: #ededed;
    --text-secondary: #a3a3a3;
    --link: #ededed;
  }
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px;
}

@media (min-width: 768px) {
  body {
    padding: 80px 20px;
  }
}

.profile-photo {
  display: block;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

nav {
  margin-top: 1.5rem;
}

nav a {
  color: var(--text-secondary);
  margin-right: 1rem;
}

hr {
  border: none;
  border-top: 1px solid var(--text-secondary);
  opacity: 0.2;
  margin: 2rem 0;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.talk {
  margin-bottom: 1.5rem;
}

.talk h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.talk .meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.talk .links {
  font-size: 0.9rem;
}

.post-list {
  list-style: none;
}

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

.post-list time {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-right: 0.5rem;
}
