:root { --ink: #0f172a; --muted: #475569; --line: #e2e8f0; --accent: #0142FB; --bg: #ffffff; }
@media (prefers-color-scheme: dark) { :root { --ink: #e2e8f0; --muted: #94a3b8; --line: #334155; --accent: #6b8cff; --bg: #0f172a; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
header { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 24px; }
header strong { font-size: 20px; }
nav a { color: var(--accent); margin-inline-end: 14px; text-decoration: none; }
nav a:hover { text-decoration: underline; }
h1 { font-size: 26px; margin: 8px 0 4px; }
h2 { font-size: 19px; margin-top: 28px; }
.meta { color: var(--muted); font-size: 14px; }
section + section { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 8px; }
a { color: var(--accent); }
ul { padding-inline-start: 22px; }
header img.logo { height: 34px; display: block; }
header .spacer { flex: 1; }
.switch { font: inherit; font-size: 14px; border: 1px solid var(--line); background: none; color: var(--ink); border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.switch:hover { border-color: var(--accent); color: var(--accent); }
html[data-lang="he"] [data-only="en"], html:not([data-lang="he"]) [data-only="he"] { display: none !important; }
section + section { border-top: 0; margin-top: 0; padding-top: 0; }
