/* Same look as link.northwire.app. */
:root { color-scheme: light dark; --bg: #fff; --text: #222; --muted: #666; --border: #ddd; --link: #5943a1; --soft: #f6f6f6; --review: #8a5a00; }
@media (prefers-color-scheme: dark) { :root { --bg: #1b1b1b; --text: #e5e5e5; --muted: #aaa; --border: #3b3b3b; --link: #b4a3e6; --soft: #232323; --review: #e0b062; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 system-ui, sans-serif; }
.wrap { max-width: 800px; margin: auto; padding: 0 24px; }
a { color: var(--link); }
button, select { font: inherit; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
code { font: 12px ui-monospace, monospace; background: var(--soft); padding: 1px 5px; border-radius: 3px; }

.site-nav { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.site-nav > div { display: flex; gap: 20px; }
.wordmark { color: var(--text); font-weight: 600; text-decoration: none; }

header { padding: 36px 0 28px; }
.identity { display: flex; align-items: center; gap: 12px; }
.identity img { width: 44px; height: 44px; image-rendering: pixelated; border-radius: 4px; }
h1 { margin: 0; font-size: 36px; line-height: 1.2; }
header > p { margin: 14px 0 20px; color: var(--muted); max-width: 60ch; }
.btn { display: inline-block; padding: 7px 13px; background: var(--text); color: var(--bg); border: 1px solid var(--text); border-radius: 3px; text-decoration: none; font-size: 13px; }
.btn:hover { text-decoration: underline; }
.btn.secondary { background: var(--bg); color: var(--text); border-color: var(--border); }
.buttons { display: flex; gap: 10px; flex-wrap: wrap; }
header .version { margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.status { font-size: 12px; margin: 4px 0 0; color: var(--muted); }
.status.review { color: var(--review); }
.hero { border: 1px solid var(--border); border-radius: 3px; margin-bottom: 36px; }

h2 { font-size: 22px; font-weight: 600; margin: 0 0 20px; }
h3 { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
section { padding: 28px 0; border-top: 1px solid var(--border); scroll-margin-top: 20px; }
section > p { margin: 0 0 14px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.feature-list { columns: 2; column-gap: 36px; margin: 0; padding-left: 20px; font-size: 13px; }
.feature-list li { break-inside: avoid; margin-bottom: 7px; }
.detail-list { margin: 0; padding-left: 20px; font-size: 14px; }
.detail-list li { margin-bottom: 9px; }

.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.shots img { border: 1px solid var(--border); border-radius: 3px; }
.shots p { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.shots.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.shots.two p b { color: var(--text); font-weight: 600; }

table { border-collapse: collapse; width: 100%; font-size: 13px; margin: 0 0 12px; }
th, td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--border); }
th { font-weight: 600; }
td.n, th.n { text-align: right; }

/* Mod list on the home page. */
.mod { padding: 28px 0; border-top: 1px solid var(--border); }
.mod .identity img { width: 32px; height: 32px; }
.mod h2 { margin: 0; font-size: 22px; }
.mod p { margin: 10px 0 12px; font-size: 14px; }
.mod .facts { font-size: 12px; color: var(--muted); margin: 0 0 14px; }

/* Downloads, as on Link. */
.release-toolbar { display: flex; flex-wrap: wrap; gap: 16px 24px; margin: 0 0 12px; }
.release-toolbar label { display: flex; align-items: center; gap: 10px; font-size: 13px; }
select { padding: 5px 8px; border: 1px solid var(--border); border-radius: 3px; background: var(--bg); color: var(--text); font-size: 13px; }
.release-status { color: var(--muted); font-size: 12px; margin: 0; }
.release-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0 12px; border-bottom: 1px solid var(--border); }
.release-heading h3 { font-size: 18px; margin: 0; }
.release-date { font-size: 12px; color: var(--muted); margin: 3px 0 0; }
.release-badge { font-size: 11px; color: var(--muted); }
.download-option { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.download-option h4 { font-size: 13px; font-weight: 500; margin: 0; }
.download-option p { margin: 0; color: var(--muted); font-size: 11px; grid-column: 1; }
.download-option .btn { grid-column: 2; grid-row: 1 / 4; align-self: center; }
.download-file { grid-column: 1; font: 10px ui-monospace, monospace; color: var(--muted); overflow-wrap: anywhere; }
.release-notes { padding: 20px 0 0; }
.release-notes h4 { font-size: 14px; font-weight: 600; margin: 0 0 10px; }
.release-notes ul { margin: 0; padding-left: 20px; }
.release-notes li { font-size: 13px; margin: 6px 0; }
.install-help { font-size: 12px; color: var(--muted); margin-top: 24px; }

.faq-section details { border-bottom: 1px solid var(--border); }
.faq-section summary { cursor: pointer; padding: 13px 0; font-size: 14px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after { content: "+"; color: var(--muted); font-size: 17px; line-height: 1; }
.faq-section details[open] summary::after { content: "\2013"; }
.faq-section details p { margin: 0 0 15px; color: var(--muted); font-size: 13px; }

footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border); padding: 20px 0 32px; font-size: 12px; color: var(--muted); }

@media (max-width: 640px) {
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .feature-list { columns: 1; }
  .release-toolbar { flex-direction: column; }
  .release-toolbar label { justify-content: space-between; }
  select { max-width: 200px; }
  .site-nav > div { gap: 14px; }
}
