/* JAQA static pages (about, faq, sources, privacy, 3d-globe, 404). System fonts only. */
:root { --bg: #05080f; --panel: #0a1320; --line: #1e3a52; --text: #c9d6e8; --head: #eaf2ff; --muted: #8fa3ba; --accent: #22d3ee; --link: #67e8f9; }
@media (prefers-color-scheme: light) {
  :root { --bg: #f6f8fb; --panel: #ffffff; --line: #d5deea; --text: #1f2a37; --head: #0b1f3a; --muted: #52606d; --accent: #0e7490; --link: #0e7490; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--link); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.site-skip { position: absolute; left: -9999px; top: 8px; background: var(--panel); color: var(--head); padding: 8px 12px; border-radius: 4px; }
.site-skip:focus { left: 8px; z-index: 10; }
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--panel); }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--head); text-decoration: none; font: 800 18px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.2em; }
.site-head ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.site-head nav a { text-decoration: none; font-size: 15px; display: inline-block; padding: 6px 0; }
.site-head nav a[aria-current="page"] { color: var(--head); border-bottom: 2px solid var(--accent); }
.site-main { max-width: 900px; margin: 0 auto; padding: 32px 20px 48px; }
h1 { color: var(--head); font-size: clamp(28px, 5vw, 40px); line-height: 1.2; margin: 0 0 12px; }
h2 { color: var(--head); font-size: 21px; line-height: 1.3; margin: 32px 0 10px; }
.site-lead { font-size: 18px; color: var(--muted); margin: 0 0 20px; }
.site-list { padding-left: 22px; display: grid; gap: 8px; }
.site-cols { columns: 2 260px; display: block; }
.site-cols li { margin-bottom: 6px; break-inside: avoid; }
.site-faq { border-top: 1px solid var(--line); }
.site-faq h2 { font-size: 19px; }
.site-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
.site-table { border-collapse: collapse; width: 100%; min-width: 520px; background: var(--panel); font-size: 15px; }
.site-table th, .site-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.site-table th { color: var(--head); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.site-license { border-top: 1px solid var(--line); padding: 8px 0; }
.site-license summary { cursor: pointer; padding: 4px 0; overflow-wrap: anywhere; }
.site-license pre, .site-pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow-y: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 12px; font-size: 12.5px; line-height: 1.45; }
.site-cta { display: inline-block; padding: 12px 20px; border-radius: 6px; background: #0e7490; color: #fff; text-decoration: none; font-weight: 700; border: 1px solid var(--accent); }
.site-cta:hover { background: #0c5f75; }
.site-foot { border-top: 1px solid var(--line); padding: 24px 20px 40px; max-width: 900px; margin: 0 auto; font-size: 14px; color: var(--muted); }
strong { color: var(--head); }
@media (max-width: 600px) {
  .site-head { padding: 10px 16px; }
  .site-main { padding: 24px 16px 40px; }
  .site-foot { padding: 20px 16px 32px; }
}
