(defcomp
  ()
  (~docs/page
    :title "Philosophy"
    (div
      (~tw :tokens "space-y-4")
      (p
        (~tw :tokens "text-lg text-stone-600 mb-4")
        "The deeper ideas behind SX — manifestos, self-reference, and the philosophical traditions that shaped the language.")
      (div
        (~tw :tokens "space-y-3")
        (map
          (fn
            (item)
            (a
              :href (get item "href")
              :sx-get (get item "href")
              :sx-target "#sx-content"
              :sx-select "#sx-content"
              :sx-swap "outerHTML"
              :sx-push-url "true"
              (~tw :tokens "block rounded border border-stone-200 p-4 hover:border-violet-300 hover:bg-violet-50 transition-colors")
              (div (~tw :tokens "font-semibold text-stone-800") (get item "label"))
              (when
                (get item "summary")
                (p (~tw :tokens "text-sm text-stone-500 mt-1") (get item "summary")))))
          philosophy-nav-items)))))
