@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,600;1,400&family=Inter:wght@400;500&display=swap');

:root {
  --text: #1a1a1a;
  --background: #fefefe;
  --accent: #2563eb;
  --muted: #6b7280;
  --border: #e5e7eb;
  --code-bg: #f9fafb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e5e5e5;
    --background: #0a0a0a;
    --accent: #60a5fa;
    --muted: #9ca3af;
    --border: #262626;
    --code-bg: #171717;
  }
}

body {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.75;
  background: var(--background);
  color: var(--text);
}

.strip {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.strip a {
  color: var(--accent);
  text-decoration: none;
}

.strip a:hover {
  text-decoration: underline;
}

.masthead {
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border);
}

.blog-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.blog-title a {
  text-decoration: none;
  color: var(--text);
}

.tagline {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.5rem;
}

.avatar {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
}

main {
  padding-top: 2.5rem;
}

.about {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.about p:first-child {
  font-size: 1.25rem;
  line-height: 1.6;
}

.posts h2 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.post-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.post-link {
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  flex: 1;
}

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

.post-list time {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}

article h1 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

article h2 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2.5rem;
}

article h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  margin-top: 2rem;
}

.post-header time {
  font-family: 'Inter', system-ui, sans-serif;
  display: block;
  margin-bottom: 2rem;
  color: var(--muted);
}

.post-body {
  margin-top: 2rem;
}

a {
  color: var(--accent);
}

blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--muted);
}

pre {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  padding: 1rem;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

code {
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 0.9em;
  background: var(--code-bg);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
}

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

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

.notice {
  color: var(--muted);
  font-style: italic;
  margin-top: 2rem;
  padding: 1rem;
  background: var(--code-bg);
  border-left: 3px solid var(--accent);
}

.receipt {
  font-family: 'Inter', system-ui, sans-serif;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.colophon {
  font-family: 'Inter', system-ui, sans-serif;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
  color: var(--muted);
}
