/* Frame for text pages (About the data, etc). Copy _info-template.html to start a new one. */

.prose { max-width: 760px; margin: 0 auto; padding: 28px 16px 56px; }
.prose > * { max-width: 64ch; }
.back { display: inline-block; margin-bottom: 18px; font-weight: 700; font-size: 15px; text-decoration: none; }
.back:hover { text-decoration: underline; }
.prose h1 { font-size: clamp(30px, 6vw, 44px); margin: 0 0 12px; }
.prose .lede { font-size: 19px; line-height: 1.45; margin: 0 0 28px; }
.prose h2 { font-size: 21px; margin: 40px 0 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.prose p, .prose li { font-size: 16px; line-height: 1.55; }
.prose ul { padding-left: 20px; }
.prose ul > li + li { margin-top: 6px; }  /* ul only: .steps lists must not get gaps */
.prose .verify { font-size: 16px; }

/* Key: swatch + term + one-line meaning */
.key { display: grid; grid-template-columns: 22px auto 1fr; gap: 10px 10px; align-items: baseline; margin: 14px 0; }
.key dt { display: contents; }
.key dt .sw { justify-self: center; }
.key dt b { font-weight: 700; white-space: nowrap; }
.key dd { margin: 0; color: var(--muted); }
@media (max-width: 520px) {
  .key { grid-template-columns: 22px 1fr; }
  .key dd { grid-column: 2; margin-top: -6px; }
}

/* Numbers row, filled from data/meta.json by info.js */
.tally-title { margin: 22px 0 8px; font-size: 16px; font-weight: 800; }
.tally + .tally-title { margin-top: 18px; }
.tally { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 12px; border: 1.5px solid var(--fg); border-radius: var(--radius); max-width: none; }
.tally div { flex: 1 1 140px; padding: 10px 12px 8px; border-right: 1px solid var(--line); }
.tally div:last-child { border-right: 0; }
.tally span { display: block; font-size: 13px; color: var(--muted); }
.tally b { display: block; font: 700 24px/1.1 var(--mono); font-variant-numeric: tabular-nums; }
.tally .lead b { color: var(--lead); }

.colophon { max-width: 760px; margin: 0 auto; padding: 14px 16px 28px; border-top: 1px solid var(--line);
  font-size: 13px; line-height: 1.5; color: var(--muted); }
.colophon p { margin: 0 0 8px; max-width: 72ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-weight: 700; }

/* FAQ: plain disclosure rows */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 28px 12px 0; position: relative; font-weight: 700; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 11px; font: 400 22px/1 var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; }
.prose h2 + .faq { margin-top: 4px; }

/* Contact email: big, selectable, with a copy button */
.email-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 18px 0 22px; padding: 14px 16px;
  border: 1.5px solid var(--fg); border-radius: var(--radius); max-width: none; }
.email-addr { font: 700 clamp(17px, 4.5vw, 22px)/1.2 var(--mono); overflow-wrap: anywhere; user-select: all; }
.email-copy { min-height: 36px; }
