/* ============================================================
   site.css: extensions on top of Template 02 (swiss-index).
   style.css stays verbatim. This file adds the blocks the template
   does not cover (FAQ, markdown tables, blockquote verdicts, score
   matrix) and two contrast fixes for small accent text.
   ============================================================ */

:root {
  --accent-text: #b83800;
}

/* Small accent text needs 4.5:1 on white; #ff4d00 only reaches ~3.3:1 */
.topnav a[aria-current='page'] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.verdict-block .v-label { color: var(--accent-text); }

/* Scope callout under the hero */
.callout { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 18px 22px; margin: 28px 0; }
.callout p { margin-bottom: 0; color: var(--ink); }
.callout .c-label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-text); margin-bottom: 8px; font-weight: 600; }

/* Markdown content inside .prose */
.prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 0.9rem; margin: 24px 0; font-variant-numeric: tabular-nums; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; min-width: 120px; }
.prose th { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; background: #f5f5f5; }
.prose td:first-child { font-family: var(--font-mono); font-size: 0.8rem; }
.prose h2 { font-size: 1.7rem; text-transform: uppercase; margin: 44px 0 14px; border-bottom: 2px solid var(--line); padding-bottom: 8px; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 10px; line-height: 1.2; }
.prose ul, .prose ol { margin: 0 0 16px 22px; color: #222; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }
.prose blockquote { border: 2px solid var(--line); padding: 20px 22px; margin: 28px 0; }
.prose blockquote p { margin-bottom: 8px; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line-soft); margin: 36px 0; }
.prose code { font-family: var(--font-mono); font-size: 0.86em; background: #f2f2f2; padding: 1px 5px; }

/* Article hero: long titles should not run at the home-page scale */
.hero.article h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); text-transform: none; letter-spacing: -0.03em; line-height: 1.06; }
.hero.article h1::after { content: none; }

/* FAQ (home and posts). Text mirrors the FAQPage JSON-LD exactly. */
.faq-block { margin-top: 40px; }
.faq-item { border-top: 1px solid var(--line-soft); padding: 18px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line-soft); }
.faq-item h3 { font-size: 1.12rem; margin: 0 0 8px; }
.faq-item p { color: #222; margin-bottom: 0; }

/* Score matrix (methodology) */
.score-matrix th, .score-matrix td { text-align: right; font-size: 0.82rem; padding: 8px 10px; }
.score-matrix th:first-child, .score-matrix td:first-child { text-align: left; }

/* Index rows keep the score visible on small screens */
@media (max-width: 860px) {
  .index-row .col-score, .index-row .col-link { display: block; grid-column: 2; text-align: left; }
  .index-row .col-score .num::after { margin: 6px 0 0 0; }
  .index-row .col-link { margin-top: 4px; }
}

/* Template rule [class*="tag"] would make the tag list nowrap and overflow on phones */
.idx-tags { white-space: normal; }
.idx-tags li { white-space: normal; }

/* Blog index and home lists: meta lines */
.post-meta { font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); margin-top: 8px; }

/* Reading measure: body text 60 to 75 characters per line */
.prose p, .prose li, .narrow p, .narrow li, .callout p, .notice p, .faq-item p, .hero .lede, .hero.article .lede {
  max-width: 34rem;
}

/* Long-form narrow sections */
.narrow { max-width: 760px; }

/* Home definition paragraph reads as a lede, not a caption */
.hero .lede.definition { color: var(--ink); font-size: 1.12rem; }
.hero .lede.definition strong { color: var(--ink); }

/* Notice block (remove.bg, rembg) */
.notice { border: 2px solid var(--line); padding: 22px 24px; margin: 32px 0; }
.notice .n-label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-text); font-weight: 600; margin-bottom: 8px; }
.notice p { margin-bottom: 10px; color: #222; }
.notice p:last-child { margin-bottom: 0; }

/* 404 */
.empty-links { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 18px; font-family: var(--font-mono); text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.06em; }
