/* Home page additions on top of the wiki's own stylesheet (wiki.css, copied
   unchanged from the wiki). No sidebar here: one centered column. */
main { max-width: 1000px; margin: 0 auto; }

.site-nav { display: flex; gap: 1.1rem; margin-right: 0.4rem; }
.site-nav a { color: #fff; text-decoration: none; font-weight: 700; }
.site-nav a:hover { color: #fff; text-decoration: underline; }

.lede { font-size: 1.15rem; max-width: 62ch; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0.5rem; }
.button {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 2px solid var(--border);
  border-bottom-width: 4px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.button:hover { border-color: var(--accent); color: var(--text); }
[data-theme="dark"] main .button { color: var(--text); }
[data-theme="dark"] main .button.primary { color: #fff; }
.button.primary { background: var(--accent-dark); border-color: rgba(0, 0, 0, 0.25); color: #fff; }
.button.primary:hover { background: var(--accent); color: #fff; }

.card .links { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; }
.card:target { border-color: var(--accent); }

@media (max-width: 640px) {
  .site-nav { gap: 0.8rem; font-size: 0.95rem; }
  .site-title span { display: none; }
}
