:root { color-scheme: light dark; }

html[data-theme="light"] body { background-color: #fffff8; color: #111; }
html[data-theme="dark"] body { background-color: #151515; color: #ddd; }

.site-header { padding-top: 1.5rem; }
.site-nav {
  width: 55%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem 1.2rem;
  font-size: 1.08rem;
  line-height: 1.4;
}
.site-nav a { text-decoration: none; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .2em; }
.nav-end { display: inline-flex; align-items: center; gap: .65rem; white-space: nowrap; }
.theme-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.theme-toggle:hover { opacity: .65; }

.manifesto > h1:first-child { margin-top: 0; }
.heading-anchor {
  margin-left: .3em;
  font-size: .28em;
  vertical-align: .28em;
  font-style: normal;
  text-decoration: none;
  opacity: .3;
}
.heading-anchor:hover,
.heading-anchor:focus-visible { opacity: 1; }

.site-footer { width: 55%; padding: 0 0 3rem; font-size: 1rem; }
.subtitle { max-width: 55%; }
.meta { font-size: 1.05rem; }
.muted { color: #666; }
html[data-theme="dark"] .muted { color: #aaa; }

.signature-header { width: 55%; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.signature-count { font-size: 1rem; opacity: .7; white-space: nowrap; }
.signature-list { width: 50%; }
.signature-list .detail { display: block; font-size: 1rem; opacity: .7; }
.empty { opacity: .7; }
.load-more { font: inherit; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; padding: 0; cursor: pointer; }

@media (max-width: 760px) {
  .site-header { padding-top: 1rem; }
  .site-nav,
  .site-footer,
  .subtitle,
  .signature-header { width: 100%; }
  .signature-list { width: 90%; }
  .site-nav { gap: .45rem 1rem; font-size: 1rem; }
  article { padding-top: 2.5rem; padding-bottom: 3rem; }
  h1 { font-size: 2.65rem; }
  h2 { font-size: 1.9rem; }
}
