:root {
  --text: #1a1a1a;
  --text-secondary: #555;
  --bg: #fff;
  --border: #e5e5e5;
  --accent: #111;
  --link: #0055d4;
  --link-hover: #003d99;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e5e5e5;
    --text-secondary: #999;
    --bg: #111;
    --border: #2a2a2a;
    --accent: #fff;
    --link: #6cb4ff;
    --link-hover: #9dceff;
  }
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  -webkit-font-smoothing: antialiased;
}

header {
  margin-bottom: 4rem;
}

.site-name {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

nav {
  margin-top: 0.5rem;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  margin-right: 1rem;
}

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

h2 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

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

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

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

.notice {
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--text-secondary);
  margin-bottom: 2.5rem;
  font-size: 0.875rem;
}

.notice p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.intro {
  margin-bottom: 4rem;
}

.intro p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text);
}

.posts {
  list-style: none;
}

.posts li {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.posts li:last-child {
  border-bottom: 1px solid var(--border);
}

.post-title {
  font-weight: 500;
  color: var(--text);
}

.post-title:hover {
  color: var(--link);
}

.post-date {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

article h1 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

article .post-meta {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

article p {
  color: var(--text);
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
