/* ==========================================================================
   SEO surface — breadcrumbs, content prose, hub grids.
   Uses existing tokens only; introduces no new brand decisions.
   ========================================================================== */

/* Breadcrumbs */
.crumbs { padding-block: var(--s-4); }
.crumbs__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: var(--fs-sm);
}
.crumbs__item { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); }
.crumbs__item a { color: var(--slate-500); font-weight: 550; }
.crumbs__item a:hover { color: var(--blue-700); }
.crumbs__item [data-ico] { color: var(--slate-300); font-size: 11px; }
.crumbs__item [aria-current] { color: var(--navy-900); font-weight: 650; }

/* Long-form prose for hubs and resources */
.prose { max-width: 72ch; }
.prose h2 {
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  margin-top: var(--s-10); margin-bottom: var(--s-4); scroll-margin-top: 96px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-lg); margin-top: var(--s-6); margin-bottom: var(--s-3); }
.prose p { margin-bottom: var(--s-4); color: var(--slate-600); line-height: 1.72; font-size: var(--fs-md); }
.prose ul, .prose ol { margin: 0 0 var(--s-4); padding-left: var(--s-6); color: var(--slate-600); line-height: 1.72; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--navy-900); font-weight: 650; }
.prose a { font-weight: 550; }

/* Direct-answer block — the concise definition answer engines look for */
.answer {
  border-left: 3px solid var(--blue-600);
  background: linear-gradient(96deg, var(--blue-50), transparent 78%);
  padding: var(--s-4) var(--s-5); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--fs-lg); line-height: 1.6; color: var(--navy-900); font-weight: 550;
  max-width: 74ch;
}

/* Table of contents rail */
.toc { position: sticky; top: calc(var(--nav-h) + 20px); }
@media (max-width: 1023px) { .toc { position: static; } }
.toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.toc a {
  display: block; padding: 7px 12px; border-radius: var(--r-sm);
  font-size: var(--fs-sm); color: var(--slate-600); font-weight: 550;
  border-left: 2px solid transparent;
}
.toc a:hover { background: var(--surface-2); color: var(--navy-900); border-left-color: var(--blue-300); }

.seo-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: var(--s-10); align-items: start; }
@media (max-width: 1023px) { .seo-layout { grid-template-columns: minmax(0,1fr); gap: var(--s-6); } }

/* Hub link lists */
.linklist { display: grid; gap: 10px; }
.linklist a {
  display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px;
  border: 1px solid var(--border); border-radius: var(--r-md); background: #fff;
  box-shadow: var(--sh-xs); transition: all var(--t) var(--ease);
}
.linklist a:hover { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: var(--blue-200); }
.linklist .ll-name { display: block; font-weight: 650; color: var(--navy-900); font-size: var(--fs-base); line-height: 1.3; }
.linklist .ll-ctx  { display: block; font-size: var(--fs-xs); color: var(--text-muted); margin-top: 3px; line-height: 1.5; }

/* Group heading on the campaigns hub */
.group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

/* Availability notice for closed / paused campaigns */
.notice-closed {
  border: 1px solid var(--warn-500); background: var(--warn-50);
  border-radius: var(--r-lg); padding: var(--s-5);
}
.notice-closed .nc-title { font-weight: 700; color: var(--warn-700); font-size: var(--fs-lg); }
.notice-closed .nc-body  { color: var(--warn-700); font-size: var(--fs-base); margin-top: 6px; line-height: 1.6; }

/* FAQ list on SEO pages */
.faq-list { display: grid; gap: 2px; }
.faq-list details { border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; }
.faq-list details + details { margin-top: 10px; }
.faq-list summary {
  padding: var(--s-4) var(--s-5); cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  font-size: var(--fs-md); font-weight: 650; color: var(--navy-900);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; width: 10px; height: 10px; flex: none;
  border-right: 2px solid var(--slate-400); border-bottom: 2px solid var(--slate-400);
  transform: rotate(45deg) translateY(-2px); transition: transform var(--t) var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq-list .faq-a { padding: 0 var(--s-5) var(--s-5); color: var(--slate-600); line-height: 1.7; max-width: 72ch; }

/* Fact strip on campaign pages */
.factgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: var(--s-5); }
