/* Legal pages: one readable column on paper. */
.legal { padding-block: var(--s-24) var(--s-32); }
.legal-head { display: grid; gap: var(--s-5); max-width: var(--measure); margin-bottom: var(--s-12); }
.legal-head .t-lead { color: var(--ink-2); }
.leave { margin-top: var(--s-6); max-width: 480px; }
@media (max-width: 760px) { .legal { padding-block: var(--s-16) var(--s-20); } }
.legal-head .link, .prose a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
/* Download: one centred column, white card */
.release {
  display: grid; justify-items: center; text-align: center; gap: var(--s-3);
  max-width: 480px; margin: 0 auto var(--s-16); padding: var(--s-10) var(--s-8) var(--s-8);
  border-radius: var(--r-2xl); background: var(--surface); box-shadow: var(--shadow-float);
}
.release[hidden] { display: none; }
.release-icon { width: 72px; height: 72px; margin-bottom: var(--s-2); }
.release .btn { margin: var(--s-4) 0 var(--s-1); }
.release-hash { max-width: 100%; }
.release-hash summary { cursor: pointer; list-style: none; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.release-hash summary::-webkit-details-marker { display: none; }
.release-hash[open] summary { margin-bottom: var(--s-2); }
.hash { display: block; font-family: var(--font-mono); font-size: 12px; line-height: 1.5; word-break: break-all; color: var(--ink-2); }
.release-wait { background: var(--surface); }

/* Inner pages: no bar. The brand sits centred above a centred column, like the home page. */
.site-head { display: flex; justify-content: center; padding-top: var(--s-10); }
.site-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--ink);
  font-variation-settings: "ROND" var(--rond-heading);
}
.site-brand img { width: 32px; height: 32px; }
.legal { padding-block: var(--s-16) var(--s-32); }
.legal-head { margin-inline: auto; text-align: center; justify-items: center; }
.legal-head .t-lead { text-wrap: balance; }
.legal .prose, .legal .report, .legal .release { margin-inline: auto; }
@media (max-width: 760px) { .site-head { padding-top: var(--s-6); } .legal { padding-block: var(--s-10) var(--s-20); } }
/* Ideas */
.ideas { list-style: none; margin: 0 auto var(--s-16); padding: 0; max-width: var(--measure); display: grid; }
.ideas-empty { text-align: center; padding: var(--s-8) 0; }
.idea { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-5); align-items: start; padding: var(--s-5) 0; box-shadow: inset 0 -1px 0 var(--line); }
.idea:first-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.vote {
  display: grid; justify-items: center; gap: 2px; width: 56px; padding: 8px 0 10px;
  border: 0; border-radius: var(--r-md); background: var(--paper-2); color: var(--ink-2); cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line);
}
.vote .icon { width: 16px; height: 16px; }
.vote:hover:not([disabled]) { background: var(--paper-3); color: var(--ink); }
.vote.on { background: var(--ink); color: var(--paper); box-shadow: none; }
.vote[disabled]:not(.on) { cursor: default; }
.vote-count { font-size: var(--callout-size); font-weight: 700; line-height: 1; }
.vote.shake { animation: shake 400ms; }
@keyframes shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.idea-title { font-size: var(--head-size); line-height: var(--head-lh); font-weight: 700; letter-spacing: -0.02em; }
.idea-body { margin-top: var(--s-1); color: var(--ink-2); font-size: var(--callout-size); line-height: var(--callout-lh); }
.idea-tag { display: inline-block; vertical-align: 2px; margin-left: var(--s-2); padding: 3px 8px; border-radius: var(--r-full); font-size: var(--caption-size); font-weight: 600; line-height: 1; background: var(--paper-3); color: var(--ink-2); }
.idea-tag.planned { background: var(--blue-tint); color: var(--blue); }
.idea-tag.done { background: #e3f1e3; color: var(--ok); }
.suggest { margin-inline: auto; padding-top: var(--s-10); box-shadow: inset 0 1px 0 var(--line); }
.suggest .t-title2 { margin-bottom: var(--s-2); }

/* Commands to copy (download page, Connect your agent) */
.cmd { margin-top: var(--s-4); border-radius: var(--r-md); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.cmd-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-2) var(--s-2) 0 var(--s-4); font-size: var(--small-size); font-weight: 600; color: var(--ink-2); }
.cmd-copy { border: 0; border-radius: var(--r-full); padding: 6px 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.cmd-copy:hover { background: var(--paper-3); }
.cmd pre { margin: 0; padding: var(--s-3) var(--s-4) var(--s-4); overflow-x: auto; }
.cmd code { font-family: var(--font-mono); font-size: 13px; line-height: 1.6; white-space: pre-wrap; word-break: break-all; color: var(--ink); }
.prose p code { font-family: var(--font-mono); font-size: 0.88em; padding: 1px 5px; border-radius: 5px; background: var(--paper-2); }
.cmd-more { margin-top: var(--s-4); }
.cmd-more summary { cursor: pointer; color: var(--ink-2); }
.cmd-more p { margin-top: var(--s-3); }

/* What's new (/updates) */
.changelog { margin-inline: auto; }
.changelog-item + .changelog-item { margin-top: var(--s-12); padding-top: var(--s-12); box-shadow: inset 0 1px 0 var(--line); }
.changelog-item h2 { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-3); }
.changelog-tag { display: inline-block; padding: 4px 10px; border-radius: var(--r-full); font-family: var(--font-sans, inherit); font-size: var(--caption-size); font-weight: 600; letter-spacing: 0; line-height: 1; background: var(--blue-tint); color: var(--blue); }
.prose .changelog-date { margin: var(--s-2) 0 var(--s-5); color: var(--ink-3); }
.changelog-item ul { margin: 0; display: grid; gap: var(--s-3); }
.changelog-foot { margin: var(--s-12) auto 0; }
