/* ByteTrellis site: plain CSS, system fonts, no external requests. */
:root { color-scheme: light dark; --text: #1f2328; --muted: #57606a; --line: #d0d7de; --bg: #ffffff; --accent: #0b5cad; --soft: #f6f8fa; }
@media (prefers-color-scheme: dark) { :root { --text: #e6edf3; --muted: #9aa4af; --line: #30363d; --bg: #0d1117; --accent: #6cb6ff; --soft: #161b22; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", "Noto Sans Hebrew", sans-serif; }
main { max-width: 46rem; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
a { color: var(--accent); overflow-wrap: anywhere; }
.site-header, .site-footer { max-width: 46rem; margin: 0 auto; padding: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.site-header { border-bottom: 1px solid var(--line); }
.site-header nav a { margin-left: 1rem; }
.brand { font-weight: 700; text-decoration: none; color: var(--text); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
h1 { font-size: 1.8rem; line-height: 1.25; }
h2 { margin-top: 2rem; padding-top: 0.5rem; border-top: 1px solid var(--line); font-size: 1.3rem; }
code { background: var(--soft); padding: 0.1em 0.3em; border-radius: 4px; font-size: 0.92em; }
blockquote { margin: 1rem 0; padding: 0.5rem 1rem; border-left: 4px solid var(--line); background: var(--soft); }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; display: block; overflow-x: auto; }
th, td { border: 1px solid var(--line); padding: 0.4rem 0.6rem; text-align: left; vertical-align: top; }
th { background: var(--soft); }
.lead { font-size: 1.1rem; color: var(--muted); }
