/* ============================================================
   site.css — Art Bench extensions on top of Template 11
   (plasma-core). Keeps template style.css verbatim; adds styling
   for MDX-rendered content and a few site-specific blocks.
   ============================================================ */

/* MDX body content: tables inherit the scorecard look */
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 24px 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  background: var(--panel);
}
.prose th {
  background: var(--panel-2);
  color: var(--violet);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.prose td:first-child {
  color: var(--muted);
}
.prose table strong {
  color: var(--violet);
}
@media (max-width: 640px) {
  .prose table {
    display: block;
    overflow-x: auto;
  }
  .prose table tbody {
    display: table;
    width: 100%;
    min-width: 480px;
  }
}

/* MDX body: headings, lists, strong, blockquote-as-verdict */
.prose h3 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}
.prose ul,
.prose ol {
  margin: 0 0 16px 22px;
  color: #d8cdea;
}
.prose li {
  margin-bottom: 6px;
}
.prose li::marker {
  color: var(--magenta);
}
.prose strong {
  color: var(--ink);
}
.prose blockquote {
  border: 1px solid var(--line-bright);
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.1), transparent 60%);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 26px 0;
  color: var(--ink);
}
.prose blockquote p {
  margin-bottom: 8px;
}
.prose blockquote p:last-child {
  margin-bottom: 0;
}
.prose blockquote strong {
  color: var(--violet);
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 36px 0;
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--violet);
}
.prose pre {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
  overflow-x: auto;
  font-size: 0.85rem;
}
.prose pre code {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}
.prose img {
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
}

/* Formula / weight codeblock (homepage + methodology) */
.codeblock {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.9;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
  overflow-x: auto;
  color: #d8cdea;
}
.codeblock .k {
  color: var(--violet);
  font-weight: 600;
}
.codeblock .note {
  color: var(--magenta);
}

/* FAQ blocks (homepage + post pages) */
.faq-block {
  margin-top: 36px;
}
.faq-item {
  margin-bottom: 18px;
}
.faq-item h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.faq-item p {
  color: #d8cdea;
  margin-bottom: 0;
}

/* Disambiguation callout spacing on the homepage */
.disambig {
  padding-top: 36px;
  padding-bottom: 0;
}

/* Stacked hero-meta rows (status row + weights row) */
.hero-meta + .hero-meta {
  margin-top: 10px;
}

/* Ranking cell titles link to the tool's official site */
.c-body h3 a {
  color: var(--ink);
}
.c-body h3 a:hover {
  color: var(--magenta);
}
