/* mannylew.com baseline — winnie has latitude to evolve this. Keep it fast. */
:root {
  --bg: #ffffff;
  --fg: #1a1d21;
  --muted: #6b7280;
  --accent: #c2410c;      /* warm ember — swap freely */
  --rule: #e5e7eb;
  --max: 44rem;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111417; --fg: #e7e9ec; --muted: #9aa3ad; --accent: #fb923c; --rule: #2a2f36; }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
}
main, .site-header, .site-footer { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.site-header { padding-top: 1.5rem; }
.home-link { color: var(--muted); text-decoration: none; font-weight: 600; letter-spacing: .02em; }
.home-link:hover { color: var(--accent); }
article { padding: 1.5rem 0 3rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: .5rem 0; }
h2 { margin-top: 2.2rem; }
a { color: var(--accent); }
img, video { max-width: 100%; height: auto; border-radius: 6px; }
pre { overflow-x: auto; padding: 1rem; background: rgba(127,127,127,.08); border-radius: 8px; }
code { font-size: .92em; }
blockquote { margin: 1rem 0; padding: .1rem 1rem; border-left: 3px solid var(--accent); color: var(--muted); }
table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
th, td { border: 1px solid var(--rule); padding: .45rem .7rem; text-align: left; }
.page-date { color: var(--muted); font-size: .9rem; margin-top: -0.5rem; }
.size { color: var(--muted); font-size: .85rem; }
.attachments { margin-top: 2.5rem; border-top: 1px solid var(--rule); padding-top: 1rem; }
.attachments ul, .page-index { padding-left: 1.2rem; }
.attachments li, .page-index li { margin: .35rem 0; }
.site-footer { border-top: 1px solid var(--rule); padding: 1rem 1.25rem 2rem; color: var(--muted); font-size: .9rem; }
.site-footer a { color: var(--muted); }
