/* Download and setup page. */
:root { color-scheme: light; --paper: #fffdf7; --text: #22221f; --muted: #62615a; --line: #d9d5c8; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.55 system-ui, sans-serif; }
main { width: min(100% - 2.5rem, 720px); margin: 1.5rem auto 2rem; }
a { color: #71302b; text-underline-offset: .18em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #71302b; outline-offset: 4px; }
.skip-link { position: absolute; top: -5rem; left: 1rem; padding: .5rem 1rem; background: var(--text); color: white; }
.skip-link:focus { top: .5rem; }
.back { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; }
header { margin: 1rem 0 1.4rem; }
.title { display: flex; align-items: center; gap: .7rem; }
.title img { flex: 0 0 40px; }
h1 { margin: 0; font-size: clamp(1.65rem, 5vw, 2rem); line-height: 1.2; letter-spacing: -.025em; }
h2 { margin: 0 0 .65rem; font-size: 1.15rem; }
p { margin: .75rem 0; }
.downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.download-link { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: .65rem .5rem; border: 1px solid var(--text); border-radius: 3px; color: var(--text); font-weight: 650; text-align: center; text-decoration: none; line-height: 1.3; }
.download-link.primary { background: #ffd43b; }
.download-link:hover { background: #ffedab; }
.downloads p { font-size: .8rem; color: var(--muted); margin: .5rem 0 0; }
.downloads p a { display: inline-flex; align-items: center; min-height: 44px; }
.requirements { font-size: .9rem; color: var(--muted); margin: .65rem 0 1.5rem; }
section { margin: 1.5rem 0; scroll-margin-top: 1rem; }
ol { padding-left: 1.3rem; margin: .5rem 0; }
li + li { margin-top: .55rem; }
figure { margin: 0; }
.screens { display: flex; gap: .75rem; overflow-x: auto; padding: 4px 4px .5rem; }
.screens a { flex: 0 0 144px; }
.screens img { display: block; width: 144px; height: auto; image-rendering: pixelated; }
figcaption { font-size: .8rem; color: var(--muted); }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: .8rem 0; min-height: 48px; font-weight: 600; }
details p { font-size: .95rem; margin: 0 0 1rem; }
details ul { padding-left: 1.3rem; margin: 0 0 1rem; font-size: .95rem; }
.capabilities { margin: 0 0 1rem; font-size: .95rem; }
.capabilities dt { font-weight: 650; margin-top: .7rem; }
.capabilities dd { margin: .15rem 0 0; }
code { font-size: .9em; overflow-wrap: anywhere; }
footer { margin-top: 1.5rem; font-size: .85rem; color: var(--muted); }
@media (max-width: 420px) { .download-link { font-size: .86rem; } }
