/* Article: The sources AI trusts about your brand probably aren't yours
   Owner: article-sources-ai-trusts. Scoped to .article-sources-ai-trusts; classes use the "sat-" prefix.
   Adds: the hypothetical source-split figure, numbered steps, a table that stacks into cards on phones,
   source list details and a two-button CTA box. Everything else comes from the shared article styles. */

/* Hypothetical source split -------------------------------------------------------------------- */
.article-sources-ai-trusts .sat-split {
  margin-top: 1.6em; padding: clamp(18px, 3vw, 24px);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  box-shadow: var(--highlight), var(--shadow-sm);
}
.article-sources-ai-trusts .prose > .sat-split + * { margin-top: 1.6em; }
.sat-split-cap > span:last-child { text-wrap: balance; }
.sat-split-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.sat-split-cap .badge { flex: none; }
.sat-split-bar { display: flex; gap: 8px; margin-top: 18px; }
.sat-grp { display: flex; gap: 3px; min-width: 0; }
.sat-grp-own { flex: 2 1 0; }
.sat-grp-comp { flex: 3 1 0; }
.sat-grp-third { flex: 9 1 0; }
.sat-grp i { flex: 1 1 0; min-width: 0; height: clamp(26px, 4vw, 34px); border-radius: 5px; }
.sat-grp-own i, .sat-key-own { background: var(--accent); }
.sat-grp-comp i, .sat-key-comp { background: var(--chart-2); }
.sat-grp-third i, .sat-key-third { background: color-mix(in srgb, var(--muted) 42%, transparent); }
.sat-split-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.prose .sat-split-legend li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.sat-split-legend strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.sat-key { width: 10px; height: 10px; flex: none; border-radius: 3px; }

/* Pull quote: a little more air in this article's middle stretch */
.article-sources-ai-trusts .prose > .sat-pull { margin-block: 2em 0; }
.article-sources-ai-trusts .prose > .sat-pull + h2 { margin-top: 2em; }

/* Numbered steps -------------------------------------------------------------------------------- */
.sat-steps { counter-reset: sat-step; display: grid; gap: 18px; margin-left: 0; padding: 0; list-style: none; }
.prose .sat-steps > li { position: relative; margin: 0; padding-left: 46px; counter-increment: sat-step; }
.sat-steps > li::before {
  content: counter(sat-step); position: absolute; left: 0; top: .05em;
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-text);
  font-size: 14px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums;
}
.sat-steps > li > strong:first-child { display: block; margin-bottom: 2px; }

/* Source-action table: a table from 640px, stacked cards below ------------------------------------ */
.article-sources-ai-trusts .prose > .sat-table-wrap { margin-top: 1.8em; }
.sat-table .sat-owner { color: var(--muted); }
.sat-table td { text-wrap: pretty; }
@media (min-width: 640px) {
  .sat-table tbody th { width: 34%; }
  .sat-table .sat-owner { width: 22%; }
}
@media (max-width: 639.98px) {
  .sat-table-wrap { overflow: visible; border: 0; border-radius: 0; background: none; }
  .sat-table-wrap > .sat-table { min-width: 0; }
  .sat-table caption { position: absolute; }
  .sat-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .sat-table, .sat-table tbody, .sat-table tr, .sat-table th, .sat-table td { display: block; width: auto; }
  .sat-table tbody { display: grid; gap: 10px; }
  .sat-table tbody tr { padding: 16px 16px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--highlight), var(--shadow-sm); }
  .sat-table th, .sat-table td { padding: 0; border: 0; }
  .sat-table tbody th { font-size: 15.5px; line-height: 1.35; font-weight: 600; color: var(--ink); text-wrap: balance; }
  .sat-table td { margin-top: 6px; font-size: 15px; line-height: 1.55; }
  .sat-table .sat-owner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 13.5px; }
  .sat-table .sat-owner::before { content: "Owner"; content: "Owner" / ""; color: var(--muted); }
  .sat-table .sat-owner span { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: var(--r-pill); background: var(--card-2); border: 1px solid var(--line); color: var(--ink-2); font-weight: 500; }
}

/* Sources: numbered, publisher over title over authors and date ------------------------------------- */
.sat-sources .sat-src-list { counter-reset: sat-src; display: block; margin: 12px 0 0; padding: 0; list-style: none; color: var(--muted); }
.sat-src-list > li { counter-increment: sat-src; position: relative; display: grid; justify-items: start; gap: 4px; padding: 16px 0 16px 40px; border-top: 1px solid var(--line-soft); }
.sat-src-list > li:first-child { border-top: 0; padding-top: 8px; }
.sat-src-list > li::before { content: counter(sat-src, decimal-leading-zero); position: absolute; left: 0; top: 17px; font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.sat-src-list > li:first-child::before { top: 9px; }
.sat-src-pub { font-size: 13px; line-height: 1.5; font-weight: 500; color: var(--ink-2); }
.sources a.sat-src-title { color: var(--ink); font-size: 15.5px; font-weight: 500; line-height: 1.45; letter-spacing: -.005em; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--line-strong); text-underline-offset: .22em; overflow-wrap: anywhere; text-wrap: pretty; transition: color var(--t-fast), text-decoration-color var(--t-fast); }
.sat-src-title .icon { margin-left: 4px; vertical-align: -2px; color: var(--muted); transition: color var(--t-fast), transform var(--t-fast) var(--ease); }
@media (hover: hover) {
  .sources a.sat-src-title:hover { color: var(--accent-text); text-decoration-color: currentColor; }
  .sources a.sat-src-title:hover .icon { color: currentColor; transform: translate(1px, -1px); }
}
/* Separator dots sit in each item's negative left margin, so a dot that would start a wrapped line is clipped */
.sat-src-meta { --sep: 19px; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--sep); overflow: hidden; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.sat-src-meta > span:not(.sr-only) { display: flex; min-width: 0; margin-left: calc(-1 * var(--sep)); }
.sat-src-meta > span:not(.sr-only)::before { content: ""; flex: none; width: var(--sep); height: 4px; margin-top: calc(.75em - 2px); background: radial-gradient(circle, var(--faint) 1.6px, transparent 2px) center / 4px 4px no-repeat; }
@media (min-width: 1024px) { .sources a.sat-src-title { font-size: 16px; } }
/* A 40px hit area without changing the layout; on touch screens the whole row is the target */
.sources a.sat-src-title { padding-block: 9px; margin-block: -9px; border-radius: var(--r-xs); }
@media (pointer: coarse) { .sources a.sat-src-title::after { content: ""; position: absolute; inset: 0; } }

/* CTA box with two buttons ------------------------------------------------------------------------ */
.sat-cta p { text-wrap: balance; }
@media (min-width: 768px) { .sat-cta-actions { flex-wrap: nowrap; } }
