Nathan Esquenazi 7f71d4b177 feat: comparison deep-dive pages + light mode code block fix
Light mode fixes:
- Code blocks always use dark background (#0d1117) in both themes.
  Previous behavior: setTheme('light') switched hljs to github.min.css
  (light theme = near-black text) but kept code-wrap background dark,
  producing invisible dark-on-dark text. Fix: always use github-dark
  hljs + keep bg dark. Result: consistent readable code in both themes.
- code-header uses fixed dark colors (no longer rgba(255,255,255,0.04)
  which was near-invisible on the dark bg it was compositing against).
- copy-btn uses fixed dark-theme colors for the same reason.

Index page updates:
- Comparison cards are now clickable links to deep-dive pages.
  Card has onclick, role=link, tabindex=0, keyboard Enter handler,
  arrow indicator (→) that animates on hover, and focus ring.
- Added compare-more pills row below the head-to-head cards linking
  to all 8 comparison pages.
- CSS for .compare-pill, .compare-more, .card-arrow added.

New pages (compare/):
- compare/openclaw.html
- compare/claude-code.html
- compare/codex.html
- compare/opencode.html
- compare/cursor.html
- compare/copilot.html
- compare/claude-ai.html
- compare/chatgpt.html

Each page has: full CSS (light+dark themes), verdict banner, feature
comparison 2-col grid, 5-section narrative with official docs links,
full comparison table, who-should-choose section, nav pills to all 8
sibling pages, and CTA strip. Content drawn from HERMES.md (with the
/loop and scheduling corrections from PR #261 applied).
2026-04-11 22:42:00 +00:00
S
Description
Languages
Python 72.3%
JavaScript 22.4%
CSS 3.2%
HTML 1.6%
Shell 0.4%
Other 0.1%