:root {
  --bg: #fbfaf8; --text: #1d1d1b; --muted: #6b6a66; --line: #e3e1dc;
  --accent: #2f6f8f; --box: #f1efea; --used: #2e7d4f; --researched: #8a6d1f; --planned: #5a5a9a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161615; --text: #e8e6e1; --muted: #a09d97; --line: #33322f;
    --accent: #7fb8d4; --box: #20201e; --used: #6cc18f; --researched: #d6b45c; --planned: #a3a3e0;
  }
}
* { box-sizing: border-box; }
html { font-size: 112.5%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.65;
}
.site-header, main, .site-footer { max-width: 42rem; margin: 0 auto; padding: 0 1rem; }
.site-header { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: baseline; justify-content: space-between; padding-top: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
nav a { margin-left: 1rem; color: var(--muted); text-decoration: none; }
nav a:first-child { margin-left: 0; }
nav a:hover { color: var(--accent); }
main { padding-top: 1.5rem; padding-bottom: 3rem; }
a { color: var(--accent); }
h1 { font-size: 1.8rem; line-height: 1.25; margin: .5rem 0 .25rem; }
h2 { font-size: 1.3rem; margin-top: 2rem; }
img { max-width: 100%; height: auto; border-radius: 6px; }
pre { background: var(--box); padding: .75rem 1rem; overflow-x: auto; border-radius: 6px; font-size: .85rem; }
code { font-size: .9em; }
table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
th, td { border-bottom: 1px solid var(--line); padding: .4rem .6rem; text-align: left; }
.meta, .muted, time { color: var(--muted); font-size: .9rem; }
.intro { font-size: 1.1rem; color: var(--muted); }
.post-list { list-style: none; padding: 0; }
.post-list li { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.post-list li a { font-weight: 600; text-decoration: none; }
.post-list time { display: block; }
.post-list p { margin: .25rem 0 0; }
.disclosure { font-size: .85rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: .75rem; }
.product { background: var(--box); border-radius: 8px; padding: .9rem 1.1rem; margin: 1.5rem 0; border-left: 4px solid var(--muted); }
.product-used { border-left-color: var(--used); }
.product-researched { border-left-color: var(--researched); }
.product-planned { border-left-color: var(--planned); }
.product p { margin: .25rem 0; }
.product-name { font-weight: 700; }
.product-status { font-size: .85rem; color: var(--muted); }
.product-link { font-weight: 600; }
.tags a { margin-right: .5rem; font-size: .9rem; }
.site-footer { border-top: 1px solid var(--line); padding-top: 1rem; padding-bottom: 2rem; font-size: .85rem; color: var(--muted); }
.site-footer p { margin: .3rem 0; }
