/* Clean academy article layout (Nov 2026, AI share-of-voice refresh).
   Opt-in: add the class "ab-article" to an article's .academy-text-block.
   Four text sizes only (30 / 20 / 17 / 14), room between sections, teal links.
   Comparison tables reuse the /compare cx-table design from compare.css and sit
   a little wider than the text column (.ab-compare). Classes are prefixed ab-
   so they never collide with the site's global classes. */

/* ---------- body */
.ab-article { font-size: 17px; }
.ab-article p { font-family: Inter, sans-serif; font-size: 17px; line-height: 1.7; letter-spacing: -.005em; color: var(--charcoal-40); margin: 0 0 20px; text-wrap: pretty; }
.ab-article strong { color: var(--charcoal-50); font-weight: 600; }
.ab-article h2 { font-family: Atak, sans-serif; font-weight: 500; font-size: 30px; line-height: 1.15; letter-spacing: -.025em; color: var(--teal-50); margin: 88px 0 20px; text-wrap: balance; }
.ab-article h3 { font-family: Atak, sans-serif; font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: -.015em; color: var(--charcoal-50); margin: 40px 0 8px; text-wrap: balance; }
.ab-article h2 + h3 { margin-top: 8px; }
.ab-article a { color: var(--teal-40); text-decoration: underline; text-decoration-color: rgba(24, 146, 154, .35); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color .2s; }
.ab-article a:hover { text-decoration-color: currentColor; }
.ab-article p.ab-note { font-size: 14px; line-height: 1.5; color: var(--charcoal-30); margin: 0; }

/* ---------- FAQ */
.ab-faq h3 { margin: 0; padding-top: 28px; border-top: 1px solid var(--light-stroke); }
.ab-faq h3:first-child { border-top: 0; padding-top: 4px; }
.ab-faq p { margin: 8px 0 28px; }

/* ---------- sources */
.ab-sources { margin-top: 88px; padding-top: 32px; border-top: 1px solid var(--light-stroke); }
.ab-article .ab-sources h2 { font-size: 20px; margin: 0 0 6px; color: var(--charcoal-50); }
.ab-article .ab-sources p { font-size: 14px; color: var(--charcoal-30); margin: 0 0 14px; }
.ab-sources ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.ab-sources li { font-family: Inter, sans-serif; font-size: 14px; line-height: 1.5; letter-spacing: 0; color: var(--charcoal-30); margin: 0 0 8px; break-inside: avoid; }

/* ---------- comparison table: a little wider than the text column */
.ab-compare { --abw: min(calc(100% + 160px), 92vw); width: var(--abw); margin: 40px 0 8px calc((100% - var(--abw)) / 2); }
.ab-compare table.cx-table.cx-many { min-width: 760px; }
.ab-compare table.cx-table.cx-many th, .ab-compare table.cx-table.cx-many td { padding: 16px 12px; }
.ab-compare table.cx-table.cx-many tbody th, .ab-compare table.cx-table.cx-many thead th:first-child { padding-left: 0; width: 12%; }
.ab-compare table.cx-table caption { font-size: 13px; }
/* Each cell: a short headline, then a detail line */
.ab-compare table.cx-table .ct-h { display: block; font-family: Atak, sans-serif; font-weight: 500; font-size: 14.5px; letter-spacing: -.02em; line-height: 1.3; color: var(--charcoal-50); margin-bottom: 6px; text-wrap: balance; }
.ab-compare table.cx-table td.cx-us .ct-h { color: var(--teal-50); }
.ab-compare table.cx-table .ct-d { display: block; font-family: Inter, sans-serif; font-size: 13px; line-height: 1.5; color: var(--charcoal-30); text-wrap: pretty; }
.ab-compare table.cx-table td.cx-us .ct-d { color: var(--charcoal-40); }
.ab-compare table.cx-table tbody th { font-family: Atak, sans-serif; font-size: 15px; letter-spacing: -.01em; }

@media (max-width: 767px) {
  .ab-article p { font-size: 16px; }
  .ab-article h2 { font-size: 26px; margin-top: 64px; }
  .ab-article h3 { font-size: 19px; margin-top: 32px; }
  .ab-sources { margin-top: 64px; }
  .ab-sources ol { columns: 1; }
  .ab-compare { --abw: calc(100vw - 32px); }
}
