:root {
  --bg: #fdfdfb;
  --fg: #1f2328;
  --muted: #5d636b;
  --line: #e3e2dc;
  --link: #1d6b52;
  --code-bg: #f2f1ec;
  --quote: #f6f5f0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --fg: #e6e4df;
    --muted: #9ba1a8;
    --line: #2c3036;
    --link: #6fcfa8;
    --code-bg: #1f2226;
    --quote: #1b1e22;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0 auto;
  max-width: 42rem;
  padding: 1.5rem 1rem 3rem;
  background: var(--bg);
  color: var(--fg);
  font: 1.0625rem/1.65 Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  overflow-wrap: break-word;
}
a { color: var(--link); text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
.topo {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  justify-content: space-between; align-items: baseline;
  margin-bottom: 2.5rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.marca { font-weight: 700; color: var(--fg); text-decoration: none; }
.topo nav a { margin-left: 1rem; color: var(--muted); }
.topo nav a:first-child { margin-left: 0; }
h1, h2, h3 { line-height: 1.25; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
h1 { font-size: 1.85rem; margin: 0 0 .4rem; }
h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; }
h3 { font-size: 1.1rem; margin: 1.8rem 0 .5rem; }
.meta, time { color: var(--muted); font-size: .9rem; font-family: system-ui, -apple-system, sans-serif; }
article header { margin-bottom: 1.8rem; }
img { display: block; max-width: 100%; height: auto; margin: 1.6rem auto; border-radius: 4px; }
blockquote {
  margin: 1.6rem 0; padding: .8rem 1.1rem;
  background: var(--quote); border-left: 3px solid var(--line);
  font-size: .95rem;
}
blockquote > :first-child { margin-top: 0; }
blockquote > :last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.3rem; }
li + li { margin-top: .3rem; }
code { font: .88em/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--code-bg); padding: .1em .3em; border-radius: 3px; }
pre { background: var(--code-bg); padding: .9rem 1rem; overflow-x: auto; border-radius: 4px; }
pre code { padding: 0; background: none; }
table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; font-size: .95rem; }
th, td { border-bottom: 1px solid var(--line); padding: .4rem .6rem; text-align: left; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.posts { list-style: none; padding: 0; margin: 0; }
.posts li { display: flex; flex-wrap: wrap; gap: .1rem 1rem; margin: 0 0 1rem; }
.posts time { flex: 0 0 11.5rem; padding-top: .15rem; white-space: nowrap; }
.posts a { flex: 1 1 16rem; }
.voltar { margin-top: 2.5rem; font-family: system-ui, -apple-system, sans-serif; }
.rodape {
  margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .9rem; font-family: system-ui, -apple-system, sans-serif;
}
