/* ============================================================
   Global Copilot - Insights hub (/insights) in the current site design.
   Layers on /site/site.css (tokens, header, footer, .art-head, .prose,
   .bgrid/.bc cards). Only the hub's own blocks are styled here.
   ============================================================ */

.ins-hub-head.art-head{max-width:1260px;padding-block:56px 32px}
.ins-hub-head .art-sub{max-width:60ch}
.ins-bio{margin:0;max-width:62ch;font-size:16px;line-height:1.65;color:var(--text)}
.ins-index{padding-block:8px 72px}
.ins-empty{font-size:15px;color:var(--muted);padding:40px 0;margin:0}

/* a piece: one reading column, left-aligned with the head (.art-head is 900px wide) */
.ins-art-body{max-width:900px;padding-block:8px 24px}
.ins-art-body>*{max-width:720px}
.ins-avs{display:flex;flex:none}
.ins-avs img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid var(--bg)}
.ins-avs img+img{margin-left:-12px}
.byline b a{color:inherit;text-decoration:none}
.byline b a:hover{color:var(--brand)}
.bc-foot{flex-wrap:wrap}

.ins-draft{margin:0 0 28px;padding:12px 16px;border-radius:12px;background:var(--amber-weak);color:var(--amber);border:1px solid color-mix(in oklab,var(--amber) 35%,transparent);font-size:13.5px;line-height:1.55}
.ins-draft strong{color:inherit}
.ins-draft code{font-family:var(--mono);font-size:12px}

/* type lead blocks: teardown facts, podcast episode, comparison table */
.ins-lead{display:grid;gap:14px;margin:0 0 32px;padding:18px 22px;border-radius:16px;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow)}
.ins-lead dl{display:grid;gap:14px;margin:0}
.ins-lead dt,.ins-table caption,.ins-table thead th{font-family:var(--mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:500}
.ins-lead dt{margin-bottom:4px}
.ins-lead dd{margin:0;font-size:15.5px;line-height:1.6;color:var(--ink)}
.ins-audio{width:100%}
.ins-table-wrap{overflow-x:auto;margin:0 0 32px;border-radius:16px;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow)}
.ins-table{width:100%;border-collapse:collapse;font-size:14.5px;line-height:1.5}
.ins-table caption{caption-side:top;text-align:left;padding:14px 16px 0}
.ins-table thead th{text-align:left;padding:12px 16px;border-bottom:1px solid var(--line)}
.ins-table tbody th{text-align:left;font-weight:600;color:var(--ink);padding:12px 16px;vertical-align:top;border-top:1px solid var(--line-2)}
.ins-table td{padding:12px 16px;vertical-align:top;border-top:1px solid var(--line-2);color:var(--text)}

/* FAQ + sources */
.ins-faq,.ins-sources{margin-top:48px}
.ins-faq h2,.ins-sources h2{font-size:clamp(22px,2.4vw,26px);line-height:1.2;letter-spacing:-.025em;font-weight:650;margin:0 0 16px}
.ins-faq dl{display:flex;flex-direction:column;gap:10px;margin:0}
.ins-faq-item{display:grid;gap:6px;padding:16px 20px;border-radius:14px;border:1px solid var(--line);background:var(--surface)}
.ins-faq-item dt{font-size:15.5px;font-weight:600;color:var(--ink);line-height:1.45}
.ins-faq-item dd{margin:0;font-size:15px;line-height:1.65;color:var(--text)}
.ins-sources ol{margin:0;padding-left:1.3em}
.ins-sources li{font-size:14.5px;line-height:1.6;color:var(--muted);margin:6px 0}
.ins-sources a{color:var(--text);text-underline-offset:3px;text-decoration-color:var(--line)}
.ins-sources a:hover{color:var(--brand)}

/* conversion card (InsightsCta), in the article CTA style */
.ins-cta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:2.4em;padding:22px;border-radius:18px;background:linear-gradient(var(--gloco-tint),var(--gloco-tint)) padding-box,linear-gradient(135deg,var(--flow-a),var(--flow-c)) border-box;border:1.5px solid transparent}
.ins-cta-text{flex:1 1 280px}
.ins-cta-title{font-size:17px;font-weight:650;color:var(--ink);letter-spacing:-.01em}
.ins-cta p{margin:4px 0 0;font-size:14px;line-height:1.55;color:var(--text)}
.ins-cta .ins-cta-note{margin-top:8px;font-size:12.5px;color:var(--amber)}
.prose>.ins-cta{margin-block:2em}
.prose .ins-cta a.btn{color:var(--btn-ink);text-decoration:none}

.ins-piece .art-tags{margin-top:2.4em}

/* Visuals in runtime pieces (src/components/insights/figure.tsx): images, illustrations, charts drawn from a spec, videos. */
.ins-hero{max-width:900px;margin-bottom:8px}
.ins-hero>*{max-width:720px}
.ins-hero .ins-fig{margin:0}
.ins-fig img{background:var(--surface-2)}
.ins-fig figcaption{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline}
.ins-fig-label{font-family:var(--mono);font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--brand)}
.ins-fig-credit{color:var(--muted);font-size:12px}
.ins-chart{padding:18px 18px 12px;border-radius:14px;border:1px solid var(--line);background:var(--surface)}
.ins-chart svg{display:block;width:100%;height:auto;overflow:visible}
.ins-chart-title{font-size:15px;font-weight:650;color:var(--ink);letter-spacing:-.01em;margin-bottom:8px}
.ins-chart-grid{stroke:var(--line-2);stroke-width:1}
.ins-chart-zero{stroke:var(--line);stroke-width:1.5}
.ins-chart-tick{fill:var(--muted);font-size:11.5px;font-family:var(--mono)}
.ins-chart-axis{fill:var(--muted);font-size:12px}
.ins-chart-val{fill:var(--ink);font-size:11.5px;font-weight:600;font-family:var(--mono)}
.ins-chart-on{fill:#fff}
.ins-chart .c0{fill:var(--brand);stroke:var(--brand)}
.ins-chart .c1{fill:var(--teal);stroke:var(--teal)}
.ins-chart .c2{fill:var(--purple);stroke:var(--purple)}
.ins-chart .c3{fill:var(--orange);stroke:var(--orange)}
.ins-chart .c4{fill:var(--green);stroke:var(--green)}
.ins-chart .c5{fill:var(--amber);stroke:var(--amber)}
.ins-chart rect[class]{stroke:none}
.ins-chart path[class]{stroke:var(--surface);stroke-width:2}
.ins-chart-line{fill:none!important;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.ins-chart-area{stroke:none!important;fill-opacity:.14}
.ins-chart-legend{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12.5px;color:var(--text)}
.ins-chart-legend li{display:inline-flex;align-items:center;gap:6px;margin:0}
.ins-chart-legend i{width:10px;height:10px;border-radius:3px;display:inline-block}
.ins-chart-legend .c0{background:var(--brand)}.ins-chart-legend .c1{background:var(--teal)}.ins-chart-legend .c2{background:var(--purple)}
.ins-chart-legend .c3{background:var(--orange)}.ins-chart-legend .c4{background:var(--green)}.ins-chart-legend .c5{background:var(--amber)}
