:root {
  --code-bg: #eaf0fc;
  --code-fg: #1c3461;
}

body {
  margin: 0;
  background: #fff;
  color: #111;
  font-family: "Google Sans Flex", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

h1 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 2rem;
}

p {
  margin: 0 0 1.5rem;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

.meta {
  color: #666;
  font-size: 0.95rem;
  margin: -1.25rem 0 3rem;
}

h2 {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 3rem 0 1rem;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

ul,
ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}

li {
  margin: 0 0 0.6rem;
}

code {
  font-family: "Google Sans Code", ui-monospace, monospace;
  font-size: 0.85em;
  background: var(--code-bg);
  color: var(--code-fg);
  padding: 0.1em 0.35em;
}

pre {
  font-family: "Google Sans Code", ui-monospace, monospace;
  background: var(--code-bg);
  color: var(--code-fg);
  padding: 1.25rem 1.5rem;
  margin: 0 0 1.5rem;
  overflow-x: auto;
  line-height: 1.55;
}

pre code {
  background: none;
  padding: 0;
  font-size: 0.85rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.75rem 0.75rem 0;
  border-bottom: 1px solid #e6e6e2;
}

th {
  font-weight: 600;
  border-bottom-color: #111;
}

td:first-child {
  white-space: nowrap;
  padding-right: 1.25rem;
}

td:first-child code {
  font-size: 0.8rem;
}

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

.post-list li {
  margin: 0 0 1.75rem;
}

.post-list a {
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.post-list a:hover {
  text-decoration: underline;
}

.post-list .meta {
  margin: 0.25rem 0 0;
}
