/* Guide, badges and FAQ pages. They share the tracker's shell and tokens from style.css;
   this file only styles the page text and the few components used on these pages. */
.content-page {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.7;
}
.content-page .lead {
  margin-top: 0;
  font-size: 17px;
  color: var(--muted);
}
.content-page h2 {
  margin: 40px 0 8px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.content-page p,
.content-page ul {
  margin: 10px 0;
}
.content-page a:not(.button) {
  color: var(--accent-ink);
}
.content-page .button {
  margin: 10px 0 4px;
}
.content-page .note {
  margin: 24px 0;
  padding: 12px 16px;
  border-left: 4px solid var(--amber-line);
  background: var(--amber-soft);
}
.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}
.badge-grid li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.badge-grid strong {
  display: block;
  margin-bottom: 2px;
}
.badge-grid span {
  font-size: 13.5px;
  color: var(--muted);
}
.content-page details {
  margin: 8px 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.content-page details[open] {
  border-color: var(--line-strong);
}
.content-page summary {
  cursor: pointer;
  font-weight: 600;
}
.content-page details p {
  margin: 10px 0 2px;
  color: var(--muted);
}
.content-page .related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}
.content-page .page-footnote {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}
.content-page .page-footnote p {
  margin: 6px 0;
}

/* Top bar and right rail on these pages */
.topbar-open {
  margin-left: 6px;
}
.rail-links {
  display: grid;
  gap: 2px;
  margin: 4px 0 0;
}
.rail-links a {
  display: block;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
}
.rail-links a:last-child {
  border-bottom: 0;
}
.rail-links a:hover {
  color: var(--accent-ink);
  text-decoration: underline;
}
.rail-box .button {
  margin-top: 10px;
}
@media (max-width: 700px) {
  .topbar-open span {
    display: none;
  }
}
