/* Particles of Mind: one quiet stylesheet for every page. System fonts only, so the site loads nothing from third parties. */
:root {
  --bg: #f6f4ef; --fg: #1d1b22; --muted: #615d68; --line: #dcd7cc; --accent: #2b4a80; --card: #ffffff;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121117; --fg: #ece8df; --muted: #a7a2ad; --line: #2c2a33; --accent: #8fb0e6; --card: #1a1920; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--sans); }
.wrap { max-width: 44rem; margin: 0 auto; padding: 3rem max(1.25rem, env(safe-area-inset-left)) 4rem max(1.25rem, env(safe-area-inset-right)); }
header.site { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
header.site a.mark { font: 600 1.05rem var(--serif); color: var(--fg); text-decoration: none; letter-spacing: 0.01em; }
header.site nav { display: flex; gap: 1.1rem; font-size: 0.92rem; }
a { color: var(--accent); text-underline-offset: 0.15em; }
h1 { font: 600 2.2rem/1.15 var(--serif); margin: 0 0 0.6rem; text-wrap: balance; }
h2 { font: 600 1.3rem/1.3 var(--serif); margin: 2.4rem 0 0.6rem; }
p, ul { margin: 0 0 1rem; max-width: 65ch; }
ul { padding-left: 1.2rem; }
li { margin-bottom: 0.4rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.meta { color: var(--muted); font-size: 0.92rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1.2rem 1.3rem; margin: 1.5rem 0; }
.card h2 { margin-top: 0; }
code, .mail { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.95em; }
footer { margin-top: 4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }

.table { overflow-x: auto; margin: 0 0 1rem; }
table { border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; vertical-align: top; padding: 0.45rem 0.6rem; border-bottom: 1px solid rgba(127,127,127,0.3); }
