/* notes.sigy.me — minimal hugo-style notes */
:root {
  --fg: #1a1a1a;
  --fg-muted: #666;
  --bg: #fafafa;
  --accent: #b8341e;
  --border: #e5e5e5;
  --code-bg: #f0efeb;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Charter", "Iowan Old Style", "Source Serif Pro", Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}
header.site {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
}
header.site h1 {
  font-size: 1.5rem;
  margin: 0 0 .3rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
header.site h1 a {
  color: var(--fg);
  text-decoration: none;
}
header.site p.tagline {
  margin: 0;
  color: var(--fg-muted);
  font-size: .95rem;
  font-style: italic;
}
nav.top {
  margin-top: .8rem;
  font-size: .9rem;
}
nav.top a {
  color: var(--fg-muted);
  text-decoration: none;
  margin-right: 1rem;
}
nav.top a:hover { color: var(--accent); }

article.post-list { margin-bottom: 2rem; }
article.post-list h2 {
  font-size: 1.15rem;
  margin: 0 0 .25rem;
  font-weight: 500;
}
article.post-list h2 a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
article.post-list h2 a:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}
article.post-list time {
  display: block;
  color: var(--fg-muted);
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
  margin-bottom: .35rem;
}
article.post-list p.excerpt {
  margin: .3rem 0 0;
  color: #4a4a4a;
  font-size: .95rem;
}

article.post h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 .3rem;
  letter-spacing: -.01em;
}
article.post .meta {
  color: var(--fg-muted);
  font-size: .85rem;
  margin-bottom: 2rem;
  font-variant-numeric: tabular-nums;
}
article.post h2 {
  font-size: 1.2rem;
  margin: 2rem 0 .6rem;
  font-weight: 600;
}
article.post p { margin: 0 0 1.1rem; }
article.post code {
  background: var(--code-bg);
  padding: .12em .35em;
  border-radius: 3px;
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: .88em;
}
article.post pre {
  background: var(--code-bg);
  padding: 1rem 1.2rem;
  border-radius: 4px;
  overflow-x: auto;
  font-size: .85rem;
  line-height: 1.5;
}
article.post pre code {
  background: transparent;
  padding: 0;
  font-size: inherit;
}
article.post ul { margin: 0 0 1.1rem; padding-left: 1.4rem; }
article.post li { margin-bottom: .3rem; }
article.post blockquote {
  border-left: 3px solid var(--border);
  margin: 0 0 1.1rem;
  padding: .2rem 0 .2rem 1.2rem;
  color: var(--fg-muted);
  font-style: italic;
}
article.post a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.back {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: .9rem;
  color: var(--fg-muted);
  text-decoration: none;
}
.back:hover { color: var(--accent); }

footer.site {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: .85rem;
  text-align: left;
}
