:root {
  --bg: #fff;
  --text: #111;
  --text-muted: #666;
  --border: #e0e0e0;
  --link: #111;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111;
    --text: #e0e0e0;
    --text-muted: #888;
    --border: #333;
    --link: #e0e0e0;
  }
}

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

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

header {
  margin-bottom: 3rem;
}

header h1 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

header p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

nav {
  margin-top: 1rem;
}

nav a {
  margin-right: 1.5rem;
  font-size: 0.875rem;
}

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

a:hover {
  text-decoration: underline;
}

section {
  margin-bottom: 3rem;
}

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

.project {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.app-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

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

.project-info p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.project-info a {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-right: 1rem;
}

.post {
  margin-bottom: 1.5rem;
}

.post a {
  font-weight: 500;
}

.post time {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

article {
  line-height: 1.7;
}

article h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

article time {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 2rem;
}

article p {
  margin-bottom: 1.5rem;
}

article code {
  font-family: "SF Mono", SFMono-Regular, ui-monospace, Menlo, Monaco, Consolas, monospace;
  background: var(--border);
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
  font-size: 0.875em;
}

article pre {
  background: var(--border);
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

article pre code {
  background: none;
  padding: 0;
}
