:root {
  --accent: #b388ff;
  --bg-soft: #fde7f3;
  --text-main: #111;
  --text-muted: #666;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text-main);
  background: #fff;
  line-height: 1.7;
}

.topbar {
  max-width: 1100px;
  margin: 1.5rem auto 4rem;
  padding: 1rem 2rem;
  background: var(--bg-soft);
  border-radius: 999px;

  display: flex;
  align-items: center;
  gap: 2rem;
}

.profile {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 100px;
}

.avatar {
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.brand {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.1rem;
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--accent);
}

.container {
  max-width: 820px;
  margin: auto;
  padding: 0 1.5rem 4rem;
}

.post {
  margin-top: 3rem;
}

.post-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.post-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.post h2 {
  margin-top: 3rem;
  font-size: 1.5rem;
}

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

pre {
  background: #f6f6f6;
  padding: 1rem 1.2rem;
  overflow-x: auto;
  border-radius: 10px;
  font-size: 0.9rem;
}

code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9em;
}

p code {
  background: #f0f0f0;
  padding: 0.15rem 0.35rem;
  border-radius: 5px;
}

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