/* ===== Shared styles for Finamp blog pages (blog.html, post.html) ===== */
:root{--grad-a:#6e5bff;--grad-b:#dd9dfb;--indigo-rgb:70,50,220;
  --bg:#f7f7f8; --surface:#ffffff; --ink:#000; --muted:rgba(60,60,67,.64);
  --line:#d4d4d5; --dark-2:#35353b; --indigo:#4632dc; --link:#39f;
  --elev-2:rgba(60,60,67,.1);
  --radius-lg:32px; --maxw:1200px; --pad:clamp(20px,5vw,82px);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:17px;line-height:1.55;
  font-feature-settings:"ss01","cv08","cv10","calt";-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4,p{margin:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;left:12px;top:-48px;z-index:1000;background:var(--ink);color:#fff;padding:10px 16px;border-radius:8px;font:600 14px/1 'Inter',sans-serif;text-decoration:none;transition:top .15s}
.skip:focus{top:12px}
/* HTML sitemap page */
.sitemap{display:grid;gap:clamp(30px,4vw,48px);margin-top:clamp(28px,4vw,44px);max-width:1120px}
.sm-group h2{font-size:clamp(19px,2.2vw,24px);font-weight:600;letter-spacing:-.01em;margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.sm-group ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.sm-group.sm-wide ul.sm-cols{gap:9px 32px}
@media(min-width:640px){.sm-group.sm-wide ul.sm-cols{grid-template-columns:repeat(2,1fr)}}
@media(min-width:980px){.sm-group.sm-wide ul.sm-cols{grid-template-columns:repeat(3,1fr)}}
.sitemap a{color:var(--ink);text-decoration:none;font-size:15px;line-height:1.4}
.sitemap a:hover{color:var(--indigo);text-decoration:underline}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.container{max-width:var(--maxw);margin-inline:auto;padding-inline:var(--pad)}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;font-size:17px;line-height:1;
  padding:15px 30px;border-radius:28px;border:1px solid transparent;cursor:pointer;white-space:nowrap;
  transition:transform .08s ease,opacity .15s ease,background .15s ease}
.btn:active{transform:translateY(1px)}
.btn-dark{background:var(--ink);color:#fff}
.btn-dark:hover{opacity:.88}
.btn-light{background:#fff;color:var(--ink)}
.btn-light:hover{opacity:.9}
.btn-ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}
.btn-ghost:hover{background:rgba(0,0,0,.04)}
.btn-sm{padding:11px 22px;font-size:16px;border-radius:22px}

/* ---------- Header (shared with home) ---------- */
.site-header{position:sticky;top:0;z-index:50;background:rgba(247,247,248,.82);backdrop-filter:saturate(180%) blur(14px);border-bottom:1px solid rgba(0,0,0,.06)}
.nav{display:flex;align-items:center;gap:20px;height:72px}
.brand{display:flex;align-items:center;flex:0 0 auto}
/* logo SVG uses preserveAspectRatio="none" (viewBox 130x48) — pin the box ratio so it can't stretch */
.brand img{height:34px;width:auto;aspect-ratio:130/48}
.nav-links{display:flex;align-items:center;gap:6px;margin-inline:auto}
.nav-links a{font-weight:600;font-size:16px;color:var(--ink);padding:8px 16px;border-radius:999px;transition:background .15s ease,color .15s ease}
.nav-links a:hover{background:rgba(0,0,0,.06)}
.nav-links a:active{background:var(--ink);color:#fff}
.nav-links a[aria-current="page"]{background:var(--ink);color:#fff}
.nav-links a[aria-current="page"]:hover{background:var(--ink)}
.nav-cta{display:flex;align-items:center;gap:10px}
.nav-toggle{display:none;background:none;border:0;padding:8px;cursor:pointer}
.nav-toggle span{display:block;width:22px;height:2px;background:#000;margin:5px 0;transition:.2s}

/* ---------- Subscribe band ---------- */
.subscribe{position:relative;overflow:hidden;background:linear-gradient(180deg,#000,#2e2e34);color:#fff;text-align:center;
  padding-block:clamp(48px,7vw,64px)}
.subscribe::before,.subscribe::after{content:"";position:absolute;border-radius:50%;filter:blur(60px);opacity:.5;pointer-events:none}
.subscribe::before{width:340px;height:340px;left:-60px;top:-120px;background:radial-gradient(circle,var(--grad-a),transparent 70%)}
.subscribe::after{width:360px;height:360px;right:-80px;bottom:-160px;background:radial-gradient(circle,#1ed8a0,var(--grad-b) 60%,transparent 75%)}
.subscribe .container{position:relative;z-index:1}
.subscribe h2{font-size:clamp(32px,5vw,46px);font-weight:600;letter-spacing:-.02em}
.subscribe p{margin:14px auto 0;max-width:544px;font-size:clamp(18px,2.4vw,25px);font-weight:500;line-height:1.36;color:rgba(255,255,255,.92)}
.sub-form{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:30px}
.sub-form input{width:360px;max-width:100%;border:0;border-radius:26px;padding:13px 24px;font:400 17px/1.4 'Inter',sans-serif;background:#fff;color:#111}
.sub-form input::placeholder{color:var(--muted)}
.sub-form .sub-btn{border:0;border-radius:26px;padding:13px 26px;font:600 17px/1 'Inter',sans-serif;color:#fff;cursor:pointer;
  background:linear-gradient(-90deg,var(--grad-a) 0%,var(--grad-b) 100%)}
.sub-form .sub-btn:hover{opacity:.92}

/* ---------- Footer (rich) ---------- */
.footer2{background:var(--dark-2);color:#fff}
.footer2 .container{padding-block:clamp(40px,6vw,56px)}
.footer2-top{display:grid;grid-template-columns:1fr;gap:36px}
.footer2-brand img{height:28px;margin-bottom:20px;filter:brightness(0) invert(1)}
.footer2-brand p{font-size:clamp(20px,2.4vw,25px);font-weight:500;line-height:1.36;max-width:320px;margin-bottom:24px}
.footer2-cols{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.footer2-cols h3{font-size:17px;font-weight:600;margin-bottom:16px}
.footer2-cols ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.footer2-cols a{font-size:15px;color:rgba(235,235,245,.64)}
.footer2-cols a:hover{color:#fff}
.footer2-div{height:1px;background:rgba(255,255,255,.16);margin:36px 0 24px}
.footer2-bottom{display:flex;flex-wrap:wrap;gap:16px 24px;align-items:center;justify-content:space-between}
.footer2-copy{font-size:15px;color:rgba(235,235,245,.8)}
.footer2-legal{display:flex;gap:24px;flex-wrap:wrap}
.footer2-legal a{font-size:15px;color:rgba(235,235,245,.64);text-decoration:underline}
.footer2-legal a:hover{color:#fff}
.socials{display:flex;gap:6px;align-items:center}
.socials a{display:inline-flex;align-items:center;justify-content:center;color:#fff;transition:opacity .15s ease}
.socials a:hover{opacity:.75}
.socials img{width:24px;height:24px;display:block}

/* ---------- Mobile nav ---------- */
@media (max-width:860px){
  .nav-links,.nav-cta .btn{display:none}
  .nav-toggle{display:block;margin-left:auto}
  .brand img{height:28px}
  .nav[data-open="true"] .nav-links{display:flex;position:absolute;left:0;right:0;top:72px;flex-direction:column;gap:0;
    background:var(--bg);border-bottom:1px solid rgba(0,0,0,.08);padding:8px var(--pad) 16px}
  .nav[data-open="true"] .nav-links a{padding:14px 0;border-radius:0;width:100%;border-bottom:1px solid rgba(0,0,0,.06)}
  .nav[data-open="true"] .nav-links a[aria-current="page"]{background:transparent;color:var(--indigo)}
}

/* ================= BLOG LISTING ================= */
.blog-top{background:linear-gradient(180deg,#fff 0%,var(--bg) 100%);padding-top:28px}
.breadcrumb{display:flex;align-items:center;gap:8px;font-weight:600;font-size:17px}
.breadcrumb a{color:var(--ink)}
.breadcrumb .sep{color:var(--muted)}
.breadcrumb .cur{color:var(--muted)}
.blog-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px}
.topics{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:17px;cursor:pointer}
.topics .chev{font-size:12px;color:rgba(0,0,0,.6)}

.featured{display:grid;grid-template-columns:1fr;gap:28px;align-items:start;padding-block:clamp(28px,4vw,40px)}
.featured-media{border-radius:0;overflow:hidden;background:var(--indigo);aspect-ratio:628/520}
.featured-media img{width:100%;height:100%;object-fit:cover}
.featured h1{font-size:clamp(30px,4.6vw,46px);line-height:1.15;font-weight:600;letter-spacing:-.02em}
.featured .author{margin-top:18px;font-weight:600;font-size:19px}
.meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;color:var(--muted);font-size:15px}
.meta .dot{width:3px;height:3px;border-radius:50%;background:var(--muted)}
.featured .excerpt{margin-top:18px;font-size:19px;line-height:1.5;max-width:620px}
.featured .btn{margin-top:26px}

.section-label{font-weight:600;font-size:19px;margin:clamp(24px,4vw,40px) 0 20px}
.toplinks{display:grid;grid-template-columns:1fr;gap:16px 24px}
.toplinks a{font-size:18px;line-height:1.5;color:var(--ink)}
.toplinks a:hover{color:var(--indigo)}

.post-grid{display:grid;grid-template-columns:1fr;gap:clamp(28px,4vw,40px) 24px;padding-block:clamp(32px,5vw,48px)}
.post-card{display:flex;flex-direction:column;gap:0}
.post-card .thumb{border-radius:0;overflow:hidden;aspect-ratio:412/340;background:#e9e9ef}
.post-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.post-card:hover .thumb img{transform:scale(1.04)}
.post-card h3{font-size:clamp(21px,2.4vw,25px);line-height:1.36;font-weight:500;letter-spacing:-.01em;margin-top:20px}
.post-card:hover h3{color:var(--indigo)}
.post-card .byline{color:var(--muted);font-size:15px;margin-top:20px}
.post-card .meta{margin-top:0}

.pagination{display:flex;gap:12px;justify-content:center;align-items:center;padding-block:clamp(8px,3vw,24px) clamp(40px,6vw,64px)}
.pagination a{min-width:44px;height:44px;display:grid;place-items:center;border-radius:33px;font-weight:600;font-size:19px;color:var(--muted)}
.pagination a:hover{background:rgba(0,0,0,.05);color:var(--ink)}
.pagination a[aria-current="page"]{background:var(--ink);color:#fff}

/* ================= POST / ARTICLE ================= */
.article{padding-top:24px}
.article .container{max-width:1080px}
.article-hero{border-radius:0;overflow:hidden;margin-top:0;background:var(--indigo);aspect-ratio:16/10}
/* On wide screens show the featured image at its full natural ratio (3:2 = zero crop) */
@media (min-width:900px){.article-hero{aspect-ratio:3/2}}
/* Header (Figma 292-11575): hero -> byline(author left | meta right) -> centered title -> body */
.article-head{display:flex;flex-direction:column;margin:clamp(20px,3vw,28px) 0 0}
.article-head h1{font-size:clamp(30px,4.6vw,46px);line-height:1.15;font-weight:600;letter-spacing:-.02em;text-align:center;max-width:760px;width:100%;margin:clamp(22px,3vw,30px) auto 0}
.byline{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;margin-top:clamp(16px,2.2vw,22px)}
.byline .meta{margin-top:0;color:var(--ink);justify-content:flex-start}
.author-row{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin-top:0}
.author-row .avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--grad-a),var(--grad-b));display:grid;place-items:center;color:#fff;font-weight:700}
.author-row .who{text-align:left;line-height:1.2}
.author-row .who b{font-weight:600;font-size:16px}
.author-row .who span{display:block;font-size:15px;color:var(--muted)}

.prose{max-width:720px;margin:0 auto;font-size:19px;line-height:1.63}
.prose > * + *{margin-top:22px}
.prose h2{font-size:clamp(26px,3.4vw,35px);line-height:1.2;font-weight:600;letter-spacing:-.01em;margin-top:48px}
.prose h3{font-size:clamp(21px,2.4vw,25px);line-height:1.3;font-weight:600;margin-top:36px}
.prose p{color:#111}
.prose a{color:var(--link);text-decoration:underline;text-underline-offset:2px}
/* "Book a Call" links -> Figma button (292-11682); override .prose a underline/indigo */
.prose a.btn{color:#fff;text-decoration:none}
.prose a.btn:hover{color:#fff}
.prose .cta-inline{margin:clamp(26px,4vw,38px) 0;text-align:center}
/* Book-a-call button, exact Figma 292-11682 spec: 19px SemiBold, 14/32 padding, r28, 56px tall */
.prose a.btn.article-cta{font-size:19px;line-height:28px;font-weight:600;padding:14px 32px;border-radius:28px;vertical-align:baseline}
/* Source citations -> superscript ref markers + a "Sources" list at the end */
.prose sup.cite{font-size:.68em;line-height:0;font-weight:600}
.prose sup.cite a{color:var(--link);text-decoration:none}
.prose sup.cite a:hover{text-decoration:underline}
.prose .sources{margin-top:clamp(40px,6vw,60px);padding-top:24px;border-top:1px solid var(--line)}
.prose .sources h2{font-size:clamp(19px,2.4vw,24px);line-height:1.2;font-weight:600;margin:0 0 6px}
.prose .src-list{list-style:none;margin:0;padding:0}
.prose .src{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:12px;align-items:start;padding:16px 0;border-top:1px solid var(--line)}
.prose .src-num{width:26px;height:26px;border-radius:50%;background:#fff;border:1px solid var(--line);display:grid;place-items:center;font-size:13px;font-weight:600;color:var(--muted);margin-top:2px}
.prose .src-av{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;font-size:12px;font-weight:700;letter-spacing:.02em;background:hsl(var(--h,230) 62% 94%);color:hsl(var(--h,230) 48% 40%);margin-top:2px}
.prose .src-main{min-width:0}
.prose .src-head{margin:0;font-size:17px;line-height:1.42}
.prose .src-org{font-weight:700;color:#000}
.prose .src-title{color:#111}
.prose .src-blurb{margin:5px 0 0;font-size:14.5px;line-height:1.5;color:var(--muted)}
.prose .src-link{display:inline-flex;align-items:center;gap:5px;margin-top:9px;font-size:13px;color:var(--link);text-decoration:none;word-break:break-all;line-height:1.4}
.prose .src-link .src-url{text-decoration:none}
.prose .src-link:hover .src-url{text-decoration:underline;text-underline-offset:2px}
.prose .src-link .src-arrow{flex:0 0 auto}
.prose .src-flag{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.03em;padding:2px 7px;border-radius:5px;vertical-align:middle;white-space:nowrap}
.prose .src-flag.pdf{background:rgba(var(--indigo-rgb),.1);color:var(--indigo)}
.prose .src-flag.warn{background:rgba(176,110,0,.14);color:#8a5300}

/* ---------- Table of contents (responsive: desktop sidebar / smaller-screen popover) ---------- */
.prose h2,.prose h3{scroll-margin-top:90px}
.article-body{display:block;margin-top:clamp(34px,4vw,46px)}
.toc-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:8px}
.toc-title{font:700 17px/1.3 'Inter',sans-serif;color:#000}
.toc-x{background:none;border:0;font-size:19px;line-height:1;color:var(--muted);cursor:pointer;padding:0 2px}
.toc-list{list-style:none;margin:0;padding:0}
.toc-list li{border-bottom:1px solid rgba(28,28,30,.14)}
.toc-list li:last-child{border-bottom:0}
.toc-list a{display:block;padding:9px 0;font-size:15px;line-height:1.34;color:var(--muted);text-decoration:none;transition:color .12s}
.toc-list a:hover{color:var(--ink)}
.toc-list a.active{color:#000;font-weight:600}

/* Desktop: sticky left "On this page" sidebar (Figma 2904-4039) */
@media (min-width:1200px){
  /* widen the article container so the 244px TOC + gap + 720px reading column actually fit
     (the 1080px cap was squeezing prose to ~600px once the sidebar appeared) */
  .article .container{max-width:1184px}
  /* keep the hero + title + byline at their established width; only the reading band widens */
  .article-head{max-width:920px;margin-inline:auto}
  .article-body{display:grid;grid-template-columns:244px minmax(0,720px);gap:clamp(40px,4vw,52px);justify-content:center;align-items:start}
  .article-body .prose{margin-top:0}
  .toc{position:sticky;top:88px;align-self:start;max-height:calc(100vh - 116px);overflow:auto}
  .toc-x{display:none}
  .toc-fab,.toc-scrim{display:none}
}

/* Smaller screens: floating "Contents" button + popover (Figma 292-13103 / 292-9967) */
@media (max-width:1199px){
  .article-body .prose{max-width:720px;margin-inline:auto}
  .toc{position:fixed;z-index:130;left:50%;bottom:86px;width:min(420px,92vw);max-height:66vh;overflow:auto;
    background:#fff;border-radius:24px;box-shadow:0 8px 30px rgba(0,0,0,.18);padding:20px 22px;
    opacity:0;visibility:hidden;transform:translate(-50%,14px);transition:opacity .2s,transform .2s,visibility .2s}
  .toc[data-open]{opacity:1;visibility:visible;transform:translate(-50%,0)}
  .toc-fab{position:fixed;z-index:130;left:50%;bottom:22px;transform:translateX(-50%);display:inline-flex;align-items:center;gap:8px;
    padding:13px 26px 13px 22px;border:0;border-radius:33px;background:rgba(255,255,255,.72);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);
    box-shadow:0 4px 16px rgba(0,0,0,.16);font:600 17px/1 'Inter',sans-serif;color:#000;cursor:pointer}
  .toc-fab svg{flex:0 0 auto}
  .toc-fab:active{transform:translateX(-50%) translateY(1px)}
  .toc-scrim{position:fixed;inset:0;z-index:129;background:rgba(20,18,28,.12)}
  .toc-scrim[hidden]{display:none}
}

/* ---------- Topic tags (Figma 292-11929) ---------- */
.prose .topics-tags{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin-top:clamp(30px,5vw,44px);font:600 19px/1.35 'Inter',sans-serif}
.prose .topics-tags .tt-label{color:var(--muted)}
.prose .topics-tags .tt-label::after{content:":"}
.prose .topics-tags .tt-tag{color:#000;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}
.prose .topics-tags .tt-tag:hover{color:var(--link);text-decoration-style:solid}

/* ---------- Author + editor at the foot (Figma 2904-1590) ---------- */
.prose .byline-foot{margin-top:clamp(36px,5vw,52px);padding-top:clamp(26px,4vw,38px);border-top:1px solid var(--line);
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,4vw,40px)}
.prose .bf-person{display:flex;flex-direction:column;align-items:center;text-align:center}
.prose .bf-role{margin:0 0 14px;font-size:15px;color:var(--muted)}
.prose .bf-avatar{width:88px;height:88px;border-radius:50%;overflow:hidden;background:#e9e9ef;display:grid;place-items:center;flex:0 0 auto}
.prose .bf-avatar img{width:100%;height:100%;object-fit:cover}
.prose .bf-avatar.initials{background:linear-gradient(135deg,var(--grad-a),var(--grad-b));color:#fff;font:700 30px/1 'Inter',sans-serif}
.prose .bf-name{margin:16px 0 0;font-size:19px;font-weight:700;color:#000;text-decoration:none}
.prose .bf-name:hover{color:var(--link)}
.prose .bf-title{margin:6px 0 0;font-size:15px;line-height:1.4;color:var(--muted);max-width:34ch}
.prose .bf-socials{display:flex;gap:8px;margin-top:14px}
.prose .bf-socials a{width:30px;height:30px;border-radius:50%;background:rgba(20,18,28,.06);display:grid;place-items:center;color:var(--ink);transition:background .12s}
.prose .bf-socials a:hover{background:rgba(20,18,28,.12)}
.prose .bf-socials svg{width:16px;height:16px}

/* ---------- Topic (tag) page head ---------- */
.tag-head{padding:clamp(20px,4vw,36px) 0 clamp(8px,2vw,16px)}
.tag-eyebrow{font:700 12px/1 'Inter',sans-serif;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin:0 0 10px}
.tag-head h1{font-size:clamp(32px,5vw,52px);line-height:1.1;font-weight:600;letter-spacing:-.02em}
.tag-count{margin-top:10px;color:var(--muted);font-size:17px}
:target{scroll-margin-top:90px}
.prose ul{margin:0;padding-left:0;list-style:none;display:grid;gap:8px}
.prose ul li{position:relative;padding-left:32px}
.prose ul li::before{content:"";position:absolute;left:10px;top:.6em;width:8px;height:8px;border-radius:50%;background:#000}
.pullquote{background:var(--elev-2);border-radius:var(--radius-lg);padding:clamp(24px,3.5vw,32px);margin:40px 0;
  font-size:clamp(19px,2.4vw,23px);line-height:1.4;font-weight:500}
.post-cta{position:relative;overflow:hidden;background:linear-gradient(180deg,#131317 0%,#1b1b22 100%);color:#fff;border-radius:var(--radius-lg);padding:clamp(46px,7vw,74px) clamp(24px,5vw,48px);margin:56px 0 0;text-align:center;--fx-x:50%;--fx-y:63%}
.post-cta .cta-lines{position:absolute;left:var(--fx-x);top:var(--fx-y);width:min(1100px,148%);aspect-ratio:2569.1/1460.9;transform:translate(-46.1%,-35.1%);z-index:0;pointer-events:none;background:url("assets/ad0b79522e238999a96eebd999cfb7566f6182a9.svg") 0 0/100% 100% no-repeat}
.post-cta .cta-glow{position:absolute;left:var(--fx-x);top:var(--fx-y);width:clamp(300px,56%,540px);height:clamp(150px,58%,230px);transform:translate(-50%,-50%);z-index:0;pointer-events:none;filter:blur(12px);background:radial-gradient(ellipse at center,rgba(16,16,20,.9) 0%,rgba(16,16,20,.5) 44%,rgba(16,16,20,0) 74%)}
.post-cta h3{position:relative;z-index:1;font-size:clamp(24px,3.6vw,35px);font-weight:600;letter-spacing:-.01em;line-height:1.15;max-width:18ch;margin-inline:auto;color:#fff}
.post-cta .cta-btn{position:relative;z-index:1;display:inline-block;margin-top:clamp(24px,3vw,34px);border-radius:36px;padding:15px 32px;font:600 18px/1 'Inter',sans-serif;color:#fff;text-decoration:none;background:linear-gradient(-90deg,#e64f89,var(--grad-a));box-shadow:0 10px 40px -10px rgba(120,92,255,.55),0 0 0 6px rgba(130,100,255,.08)}
.post-cta .cta-btn:hover{opacity:.92}

.related{padding-block:clamp(40px,6vw,72px)}
.related h2{font-size:clamp(26px,3.4vw,35px);font-weight:600;letter-spacing:-.01em;margin-bottom:28px}

/* ---------- Responsive ---------- */
@media (min-width:600px){
  .toplinks{grid-template-columns:repeat(2,1fr)}
  .post-grid{grid-template-columns:repeat(2,1fr)}
  .footer2-cols{grid-template-columns:repeat(4,1fr)}
}
@media (min-width:900px){
  .featured{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:48px}
  .toplinks{grid-template-columns:repeat(4,1fr)}
  .post-grid{grid-template-columns:repeat(3,1fr)}
  .footer2-top{grid-template-columns:minmax(0,1.3fr) minmax(0,2fr);align-items:start}
}
@media (max-width:560px){
  .sub-form input{width:100%}
  .sub-form .sub-btn{width:100%}
}

/* ---------- Topic gradient covers (generated post pages) ---------- */
.cover{position:relative;overflow:hidden;display:grid;place-items:center;background:#4632dc;border-radius:0}
.cover::before{content:"";position:absolute;inset:0;background:
  radial-gradient(130% 130% at 100% 0,rgba(255,255,255,.30),transparent 55%),
  radial-gradient(120% 120% at 0 100%,rgba(0,0,0,.20),transparent 55%)}
.cover .kicker{position:relative;z-index:1;font:600 clamp(13px,1.5vw,15px)/1 'Inter',sans-serif;letter-spacing:.08em;
  text-transform:uppercase;color:#fff;border:1.5px solid rgba(255,255,255,.55);padding:10px 20px;border-radius:999px}
.post-card .thumb.cover .kicker{font-size:13px;padding:8px 16px}
.article-hero.cover .kicker{padding:12px 24px;font-size:15px}

/* ---------- Pagination (JS-driven pages) ---------- */
.post-card[hidden]{display:none}

.prose hr{border:0;border-top:1px solid var(--line);margin:36px 0}
/* Article tables (rebuilt from CMS export) */
.prose .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:14px}
.prose table.post-table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.45;min-width:540px}
.prose table.post-table th,.prose table.post-table td{text-align:left;vertical-align:top;padding:14px 18px;border-bottom:1px solid var(--line)}
.prose table.post-table thead th{background:#f6f6f8;font-weight:600;color:#111;font-size:14px}
.prose table.post-table tbody tr:last-child td{border-bottom:0}
.prose table.post-table tbody tr:nth-child(even){background:rgba(20,20,30,.022)}
.prose table.post-table td:first-child{font-weight:600;color:#111}
.prose table.post-table a{color:var(--indigo);text-decoration:underline}
.prose code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em;background:rgba(20,20,30,.06);border:1px solid var(--line);border-radius:5px;padding:1px 6px}
.prose ol{margin:0;padding-left:24px;display:grid;gap:12px}
.prose ol li{padding-left:6px}
/* Question / pull-quote callout (Figma 292-12369): indigo-tint box, left accent, quote icon */
.prose blockquote{position:relative;margin:0;background:rgba(var(--indigo-rgb),.1);border-left:4px solid rgba(var(--indigo-rgb),.32);border-radius:16px;padding:16px 18px 16px 56px;color:#111;font-style:normal;font-size:19px;line-height:1.47}
.prose blockquote::before{content:"";position:absolute;left:18px;top:18px;width:22px;height:22px;background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%234632dc'><path d='M0 216C0 149.7 53.7 96 120 96h8c17.7 0 32 14.3 32 32s-14.3 32-32 32h-8c-30.9 0-56 25.1-56 56v8h64c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V216zm256 0c0-66.3 53.7-120 120-120h8c17.7 0 32 14.3 32 32s-14.3 32-32 32h-8c-30.9 0-56 25.1-56 56v8h64c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64h-64c-35.3 0-64-28.7-64-64V216z'/></svg>") no-repeat center/contain}

/* ---------- Reader-navigation callouts (Figma 292-8796 definition, 292-8830 key insight) ---------- */
.prose .callout{position:relative;margin:26px 0;border-radius:16px;padding:16px 18px 16px 56px;font-size:19px;line-height:1.47;color:#111}
.prose .callout > .callout-ico{position:absolute;left:17px;top:16px;width:23px;height:23px;color:var(--indigo)}
.prose .callout > .callout-ico svg{width:100%;height:100%;display:block}
.prose .callout .callout-label{display:block;font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;margin:2px 0 6px;color:var(--indigo)}
.prose .callout p{margin:0}
.prose .callout p + p{margin-top:12px}
/* Definition — indigo-tint card with left accent (the quote-callout family) */
.prose .callout.def{background:rgba(var(--indigo-rgb),.1);border-left:4px solid rgba(var(--indigo-rgb),.32)}
/* Key insight — neutral elevated card, indigo info marker */
.prose aside.callout.insight{background:rgba(60,60,67,.1)}
.prose aside.callout.insight .callout-label{color:rgba(60,60,67,.7)}

/* ---------- Imported posts: photographic hero, real author/editor avatars, in-body images ---------- */
.article-hero{position:relative}
.article-hero > img{width:100%;height:100%;object-fit:cover}
.article-hero .hero-kicker{position:absolute;left:clamp(16px,2vw,24px);top:clamp(16px,2vw,24px);z-index:1;
  font:600 clamp(13px,1.5vw,15px)/1 'Inter',sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#fff;
  background:rgba(20,18,28,.42);border:1.5px solid rgba(255,255,255,.6);padding:10px 20px;border-radius:999px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
/* author + editor byline (two people, avatar images) */
.author-row{flex-wrap:wrap;gap:clamp(14px,2vw,26px)}
.author-row .chip{display:flex;align-items:center;gap:12px;color:inherit}
.author-row a.chip{cursor:pointer}
.author-row a.chip:hover .who b{color:var(--indigo)}
.author-row .avatar{overflow:hidden;flex:0 0 auto;font-size:15px}
.author-row .avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
/* in-body images / figures */
.prose figure{margin:0}
.prose > img,.prose figure img{width:100%;border-radius:0;margin-block:6px}
.prose figcaption{margin-top:10px;font-size:15px;color:var(--muted);text-align:center}
/* ---------- Article header: mobile layout (Figma 292-12087) ---------- */
/* Full-bleed hero, then author -> meta -> title (byline flattens via display:contents), left-aligned. */
@media (max-width:599px){
  .article-head{margin-top:0}
  .article-hero{margin-inline:calc(-1 * var(--pad));margin-top:14px}
  .byline{display:contents}
  .author-row{margin-top:clamp(16px,4vw,20px)}
  .byline .meta{margin-top:10px}
  .article-head h1{text-align:left;max-width:none;width:100%;margin:16px 0 0}
}

/* photographic card thumbnails (blog grid + related), keeping the topic pill overlay */
.post-card .thumb{position:relative}
.post-card .thumb .thumb-kicker{position:absolute;left:14px;top:14px;z-index:1;
  font:600 13px/1 'Inter',sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#fff;
  background:rgba(20,18,28,.42);border:1.5px solid rgba(255,255,255,.6);padding:7px 13px;border-radius:999px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}

/* ================= AUTHOR / REVIEWER (person) PAGE ================= */
.person{padding-top:24px}
.person .container{max-width:1080px}
.person-profile{display:flex;gap:clamp(18px,3vw,32px);align-items:flex-start;flex-wrap:wrap;
  padding:clamp(24px,4vw,44px) 0 clamp(8px,2vw,16px);border-bottom:1px solid var(--line);margin-bottom:clamp(8px,2vw,16px)}
.person-avatar{flex:0 0 auto;width:clamp(96px,12vw,132px);height:clamp(96px,12vw,132px);border-radius:50%;
  overflow:hidden;background:#e9e9ef;display:grid;place-items:center}
.person-avatar img{width:100%;height:100%;object-fit:cover}
.person-avatar.initials{background:linear-gradient(135deg,var(--grad-a),var(--grad-b));color:#fff;
  font:700 clamp(30px,5vw,46px)/1 'Inter',sans-serif;letter-spacing:.02em}
.person-info{flex:1 1 340px;min-width:0}
.person-info h1{font-size:clamp(30px,4.6vw,46px);line-height:1.1;font-weight:600;letter-spacing:-.02em}
.person-role{margin-top:8px;font-size:clamp(16px,2vw,19px);color:var(--muted);font-weight:500}
.person-bio{margin-top:14px;font-size:clamp(16px,1.9vw,18px);line-height:1.6;max-width:760px;color:#111}
.person-bio + .person-bio{margin-top:12px}
.person-socials{margin-top:18px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.person-socials a{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 16px;
  border:1px solid var(--line);border-radius:999px;color:var(--ink);font-weight:600;font-size:15px;transition:background .15s ease}
.person-socials a:hover{background:rgba(0,0,0,.05)}
.person-articles h2{font-size:clamp(24px,3.4vw,32px);font-weight:600;letter-spacing:-.01em;margin:clamp(24px,4vw,40px) 0 4px}

/* ---------- Article infographic: comparison matrix (Figma-language, on-brand) ---------- */
.prose .infographic{margin:clamp(34px,5vw,46px) 0;color:#111}
.prose .infographic .ig-eyebrow{margin:0 0 8px;font:700 12px/1 'Inter',sans-serif;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.prose .infographic .ig-title{margin:0;font-size:clamp(21px,2.6vw,26px);line-height:1.22;font-weight:600;letter-spacing:-.01em;color:#000}
.prose .infographic .ig-intro{margin:10px 0 0;font-size:16px;line-height:1.55;color:#333}
.prose .infographic .ig-intro strong{font-weight:600;color:#000}
/* spectrum spine */
.prose .ig-spectrum{margin:22px 0 20px}
.prose .ig-spec-labels{position:relative;height:20px}
.prose .ig-spec-labels span{position:absolute;transform:translateX(-50%);font:600 13px/1 'Inter',sans-serif;color:#000;white-space:nowrap}
.prose .ig-track{position:relative;height:6px;border-radius:999px;background:linear-gradient(90deg,var(--grad-a),var(--grad-b))}
.prose .ig-track i{position:absolute;top:50%;transform:translate(-50%,-50%);width:13px;height:13px;border-radius:50%;background:#fff;border:3px solid var(--indigo);box-shadow:0 1px 4px rgba(var(--indigo-rgb),.35)}
.prose .ig-ends{display:flex;justify-content:space-between;gap:12px;margin-top:9px;font-size:12.5px;color:var(--muted)}
.prose .ig-ends span:last-child{text-align:right}
/* matrix */
.prose .ig-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.prose .ig-table{width:100%;border-collapse:collapse;font-size:14.5px;line-height:1.4;min-width:600px}
.prose .ig-table th,.prose .ig-table td{text-align:left;vertical-align:top;padding:13px 15px;border-bottom:1px solid var(--line)}
.prose .ig-table tbody tr:last-child th,.prose .ig-table tbody tr:last-child td{border-bottom:0}
.prose .ig-table tbody tr:nth-child(even) th,.prose .ig-table tbody tr:nth-child(even) td{background:rgba(20,20,30,.022)}
.prose .ig-table td{color:#333}
.prose .ig-table td strong{color:#000;font-weight:600}
.prose .ig-note{display:block;margin-top:3px;font-size:12px;line-height:1.35;color:var(--muted)}
/* sticky row-label column */
.prose .ig-table th[scope="row"],.prose .ig-table .ig-corner{position:sticky;left:0;z-index:2;font-weight:600;color:#000;white-space:normal;min-width:120px;box-shadow:1px 0 0 var(--line)}
.prose .ig-table th[scope="row"]{background:var(--surface)}
.prose .ig-table tbody tr:nth-child(even) th[scope="row"]{background:#f3f3f5}
/* route header cells */
.prose .ig-table thead th{background:#f6f6f8;vertical-align:bottom;border-bottom:1px solid var(--line)}
.prose .ig-table .ig-corner{background:#f6f6f8;vertical-align:bottom}
.prose .ig-hint{font:600 11px/1 'Inter',sans-serif;color:var(--muted);white-space:nowrap}
@media (min-width:601px){.prose .ig-hint{display:none}}
.prose .ig-rt-name{display:block;font-size:17px;font-weight:700;color:#000;letter-spacing:-.01em}
.prose .ig-rt-sub{display:block;margin-top:1px;font-size:12px;color:var(--muted)}
/* meters */
.prose .ig-meters{display:grid;gap:5px;margin-top:11px}
.prose .ig-meter{display:grid;grid-template-columns:58px 1fr;align-items:center;gap:8px}
.prose .ig-meter b{font:600 11px/1 'Inter',sans-serif;color:var(--muted)}
.prose .ig-bar{display:block;height:6px;border-radius:999px;background:rgba(20,20,30,.09);overflow:hidden}
.prose .ig-bar u{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--grad-a),var(--grad-b))}
/* boolean badges */
.prose .ig-b{display:inline-flex;align-items:center;gap:5px;font-weight:600;white-space:nowrap}
.prose .ig-b svg{flex:0 0 auto}
.prose .ig-b.yes{color:var(--indigo)}
.prose .ig-b.no{color:var(--muted)}
.prose .ig-b.via{padding:2px 9px;border-radius:999px;background:rgba(var(--indigo-rgb),.09);color:var(--indigo);font-weight:600}
/* best-fit row highlight (specificity beats the even-row zebra) */
.prose .ig-table tbody tr.ig-bestfit th[scope="row"],.prose .ig-table tbody tr.ig-bestfit td{background:rgba(var(--indigo-rgb),.08);border-top:1px solid rgba(var(--indigo-rgb),.22)}
.prose .ig-table tbody tr.ig-bestfit th[scope="row"]{color:var(--indigo)}
.prose .infographic .ig-foot{margin:11px 2px 0;font-size:12.5px;line-height:1.5;color:var(--muted)}
.prose .infographic .ig-foot sup,.prose .ig-table sup{color:var(--indigo)}

/* ---------- Article infographic: phased timeline (.timeline) ---------- */
.prose .infographic.timeline .tl-track{
  position:relative;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-top:22px;
}
.prose .infographic.timeline .tl-line{
  position:absolute;
  top:9px;
  left:calc((100% - 32px)/6);
  right:calc((100% - 32px)/6);
  height:2px;
  background:var(--line);
  z-index:0;
}
.prose .infographic.timeline .tl-phase{
  position:relative;
  z-index:1;
  padding-top:30px;
}
.prose .infographic.timeline .tl-dot{
  position:absolute;
  top:2px;
  left:50%;
  transform:translateX(-50%);
  width:16px;
  height:16px;
  border-radius:50%;
  background:var(--surface);
  border:2px solid currentColor;
  box-shadow:0 0 0 4px var(--surface);
}
.prose .infographic.timeline .p0{ color:hsl(248 45% 45%); }
.prose .infographic.timeline .p1{ color:hsl(265 45% 45%); }
.prose .infographic.timeline .p2{ color:hsl(282 45% 46%); }
.prose .infographic.timeline .p2 .tl-dot{
  background:linear-gradient(135deg,var(--grad-a),var(--grad-b));
  border-color:transparent;
}

.prose .infographic.timeline .tl-card{
  display:flex;
  flex-direction:column;
  height:100%;
  padding:15px 14px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:15px;
}
.prose .infographic.timeline .tl-card--live{
  background:rgba(var(--indigo-rgb),.1);
  border-color:rgba(var(--indigo-rgb),.22);
}

.prose .infographic.timeline .tl-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:9px;
}
.prose .infographic.timeline .tl-badge{
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.03em;
  padding:3px 9px;
  border-radius:999px;
  white-space:nowrap;
}
.prose .infographic.timeline .p0 .tl-badge{ background:hsl(248 60% 94%); color:hsl(248 45% 40%); }
.prose .infographic.timeline .p1 .tl-badge{ background:hsl(265 60% 94%); color:hsl(265 45% 40%); }
.prose .infographic.timeline .p2 .tl-badge{ background:hsl(282 60% 93%); color:hsl(282 45% 40%); }
.prose .infographic.timeline .tl-time{
  font-size:12.5px;
  font-weight:600;
  color:var(--muted);
  white-space:nowrap;
}

.prose .infographic.timeline .tl-name{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 3px;
  font-size:16px;
  font-weight:650;
  color:var(--ink);
  line-height:1.25;
}
.prose .infographic.timeline .tl-ico{
  flex:0 0 auto;
  width:20px;
  height:20px;
}
.prose .infographic.timeline .tl-tag{
  margin:0 0 12px;
  font-size:12.5px;
  color:var(--muted);
}

.prose .infographic.timeline .tl-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.prose .infographic.timeline .tl-list li{
  position:relative;
  padding-left:18px;
  font-size:14.5px;
  line-height:1.4;
  color:var(--ink);
}
.prose .infographic.timeline .tl-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:7px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:currentColor;
}

@media (max-width:600px){
  .prose .infographic.timeline .tl-track{
    grid-template-columns:1fr;
    gap:0;
    margin-top:16px;
  }
  .prose .infographic.timeline .tl-line{
    top:10px;
    bottom:10px;
    left:9px;
    right:auto;
    width:2px;
    height:auto;
  }
  .prose .infographic.timeline .tl-phase{
    padding-top:0;
    padding-left:30px;
    padding-bottom:16px;
  }
  .prose .infographic.timeline .tl-phase:last-child{ padding-bottom:0; }
  .prose .infographic.timeline .tl-dot{
    top:8px;
    left:9px;
    transform:translateX(-50%);
  }
}

/* ---------- Article infographic: ranked scorecard (Figma-language, on-brand) ---------- */
/* header stat */
.prose .infographic.scorecard .ig-sc-stat{display:flex;align-items:center;gap:14px;margin:20px 0 4px;padding:15px 16px;border:1px solid var(--line);border-radius:16px;background:rgba(var(--indigo-rgb),.1)}
.prose .infographic.scorecard .ig-sc-stat-num{flex:0 0 auto;font-size:clamp(30px,5.5vw,38px);line-height:1;font-weight:700;letter-spacing:-.02em;color:var(--indigo)}
.prose .infographic.scorecard .ig-sc-stat-lbl{font-size:13.5px;line-height:1.45;color:#333}
.prose .infographic.scorecard .ig-sc-stat-lbl strong{font-weight:600;color:#000}
/* list */
.prose .infographic.scorecard .ig-sc-list{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:10px}
.prose .infographic.scorecard .ig-sc-card{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;margin:0;padding:15px 16px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.prose .infographic.scorecard .ig-sc-card::before{content:none}
/* big index */
.prose .infographic.scorecard .ig-sc-idx{font-size:26px;line-height:1;font-weight:700;letter-spacing:-.02em;color:transparent;background:linear-gradient(135deg,var(--grad-a),var(--grad-b));-webkit-background-clip:text;background-clip:text;font-variant-numeric:tabular-nums;padding-top:1px}
/* body */
.prose .infographic.scorecard .ig-sc-body{min-width:0}
.prose .infographic.scorecard .ig-sc-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}
.prose .infographic.scorecard .ig-sc-mistake{margin:0;font-size:16.5px;line-height:1.28;font-weight:600;letter-spacing:-.01em;color:#000}
.prose .infographic.scorecard .ig-sc-why{margin:6px 0 0;font-size:14.5px;line-height:1.5;color:#333}
/* fix line */
.prose .infographic.scorecard .ig-sc-fix{display:flex;align-items:flex-start;gap:8px;margin:11px 0 0;padding-top:10px;border-top:1px solid var(--line);font-size:14.5px;line-height:1.5;color:#333}
.prose .infographic.scorecard .ig-sc-fix svg{flex:0 0 auto;margin-top:3px;color:var(--indigo)}
.prose .infographic.scorecard .ig-sc-fix strong{font-weight:600;color:var(--indigo)}
/* severity chip */
.prose .infographic.scorecard .ig-sc-chip{flex:0 0 auto;padding:3px 10px;border-radius:999px;font:600 11px/1.3 'Inter',sans-serif;letter-spacing:.02em;white-space:nowrap}
.prose .infographic.scorecard .ig-sc-chip.sev-3{background:hsl(255 60% 94%);color:hsl(255 45% 40%)}
.prose .infographic.scorecard .ig-sc-chip.sev-2{background:hsl(285 60% 94%);color:hsl(285 45% 40%)}
/* mobile */
@media (max-width:600px){
  .prose .infographic.scorecard .ig-sc-stat{flex-direction:column;align-items:flex-start;gap:6px}
  .prose .infographic.scorecard .ig-sc-card{grid-template-columns:auto 1fr;gap:11px;padding:14px}
  .prose .infographic.scorecard .ig-sc-idx{font-size:22px}
  .prose .infographic.scorecard .ig-sc-mistake{font-size:15.5px}
  .prose .infographic.scorecard .ig-sc-head{gap:6px}
}

/* ---------- Article infographic: layered stack (.stack) ---------- */
.prose .infographic.stack .stack-body{margin-top:18px}
.prose .infographic.stack .layer{border-radius:14px;padding:15px 16px}
.prose .infographic.stack .layer-top{border:1px solid rgba(var(--indigo-rgb),.28);background:linear-gradient(135deg,rgba(110,91,255,.12),rgba(221,157,251,.14))}
.prose .infographic.stack .layer-bottom{border:1px solid var(--line);background:var(--surface)}
.prose .infographic.stack .layer-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 10px}
.prose .infographic.stack .layer-name{font-size:15px;font-weight:700;margin:0;letter-spacing:-.01em}
.prose .infographic.stack .layer-tag{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;padding:3px 9px;border-radius:999px;white-space:nowrap}
.prose .infographic.stack .tag-owned{background:rgba(var(--indigo-rgb),.1);color:var(--indigo)}
.prose .infographic.stack .tag-swap{background:hsl(0 0% 96%);color:var(--muted);border:1px dashed var(--line)}
.prose .infographic.stack .layer-sub{font-size:13px;color:var(--muted);margin:5px 0 0;line-height:1.4;width:100%}
.prose .infographic.stack .layer-tag svg{width:12px;height:12px;flex:none}
.prose .infographic.stack .top-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 0;padding:0}
.prose .infographic.stack .top-grid li{list-style:none;margin:0}
.prose .infographic.stack .top-item{display:flex;align-items:center;gap:9px;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:14.5px;line-height:1.25;height:100%;box-sizing:border-box}
.prose .infographic.stack .top-item svg{width:17px;height:17px;flex:none;color:var(--indigo)}
.prose .infographic.stack .top-grid .span-2{grid-column:1 / -1}
.prose .infographic.stack .seam{display:flex;align-items:center;gap:12px;padding:11px 4px}
.prose .infographic.stack .seam-line{height:1px;flex:1;background:var(--line)}
.prose .infographic.stack .seam-label{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);white-space:nowrap;text-align:center}
.prose .infographic.stack .seam-label svg{width:14px;height:14px;flex:none;color:var(--indigo)}
.prose .infographic.stack .chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.prose .infographic.stack .chip{display:inline-flex;align-items:center;gap:7px;border:1px dashed rgba(60,60,67,.35);border-radius:11px;padding:8px 11px;font-size:14px;line-height:1.2;background:var(--surface);color:var(--ink)}
.prose .infographic.stack .chip svg{width:14px;height:14px;flex:none;color:var(--muted)}
@media (max-width:600px){
  .prose .infographic.stack .top-grid{grid-template-columns:1fr}
  .prose .infographic.stack .top-grid .span-2{grid-column:auto}
  .prose .infographic.stack .seam{gap:8px}
  .prose .infographic.stack .seam-label{white-space:normal}
}

/* ---------- Article infographic: coverage matrix (.matrix) ---------- */
.prose .infographic.matrix .mtx-legend{
  list-style:none;margin:0 0 14px;padding:0;
  display:flex;flex-wrap:wrap;gap:8px 14px;
}
.prose .infographic.matrix .mtx-key{
  display:inline-flex;align-items:center;gap:6px;
  font-size:13px;font-weight:600;color:var(--ink);
}
.prose .infographic.matrix .mtx-key .mtx-glyph{
  width:22px;height:22px;border-radius:6px;flex:0 0 auto;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid transparent;
}
.prose .infographic.matrix .mtx-glyph svg{width:15px;height:15px;display:block}

/* state tints */
.prose .infographic.matrix .mtx-full{--mtx-bg:rgba(var(--indigo-rgb),.1);--mtx-fg:var(--indigo)}
.prose .infographic.matrix .mtx-lim{--mtx-bg:hsl(35 60% 94%);--mtx-fg:hsl(35 48% 37%)}
.prose .infographic.matrix .mtx-view{--mtx-bg:hsl(205 55% 95%);--mtx-fg:hsl(205 42% 40%)}
.prose .infographic.matrix .mtx-appr{--mtx-bg:hsl(275 55% 95%);--mtx-fg:hsl(275 44% 46%)}
.prose .infographic.matrix .mtx-none{--mtx-bg:transparent;--mtx-fg:var(--muted)}

.prose .infographic.matrix .mtx-key .mtx-glyph{background:var(--mtx-bg);color:var(--mtx-fg)}
.prose .infographic.matrix .mtx-key.mtx-none .mtx-glyph{
  border-color:var(--line);font-size:14px;line-height:1;font-weight:700;
}

.prose .infographic.matrix .mtx-scroll{
  overflow-x:auto;-webkit-overflow-scrolling:touch;
  border:1px solid var(--line);border-radius:14px;background:var(--surface);
}
.prose .infographic.matrix .mtx-scroll:focus-visible{
  outline:2px solid var(--indigo);outline-offset:2px;
}

.prose .infographic.matrix .mtx-table{
  border-collapse:separate;border-spacing:0;width:100%;
  min-width:520px;font-size:14px;
}
.prose .infographic.matrix .mtx-table th,
.prose .infographic.matrix .mtx-table td{
  border-bottom:1px solid var(--line);border-right:1px solid var(--line);
  padding:0;text-align:center;vertical-align:middle;
}
.prose .infographic.matrix .mtx-table tr:last-child th,
.prose .infographic.matrix .mtx-table tr:last-child td{border-bottom:0}
.prose .infographic.matrix .mtx-table th:last-child,
.prose .infographic.matrix .mtx-table td:last-child{border-right:0}

/* column headers */
.prose .infographic.matrix .mtx-table thead th{
  background:var(--surface);padding:11px 8px;line-height:1.2;
  position:sticky;top:0;z-index:2;
}
.prose .infographic.matrix .mtx-role{
  display:block;font-size:13px;font-weight:700;color:var(--ink);
}
.prose .infographic.matrix .mtx-sub{
  display:block;margin-top:2px;font-size:11px;font-weight:500;color:var(--muted);
}

/* sticky first column */
.prose .infographic.matrix .mtx-table th[scope="row"],
.prose .infographic.matrix .mtx-corner{
  position:sticky;left:0;z-index:3;background:var(--surface);
  text-align:left;font-weight:600;color:var(--ink);
  padding:12px 14px;line-height:1.25;min-width:150px;
  box-shadow:1px 0 0 var(--line);
}
.prose .infographic.matrix .mtx-corner{z-index:4;font-size:12px;color:var(--muted);font-weight:600}

/* data cells */
.prose .infographic.matrix .mtx-table tbody td{background:var(--mtx-bg);min-width:74px}
.prose .infographic.matrix .mtx-table tbody td .mtx-glyph{
  display:inline-flex;align-items:center;justify-content:center;
  width:100%;min-height:44px;color:var(--mtx-fg);
}
.prose .infographic.matrix .mtx-table tbody td svg{width:17px;height:17px;display:block}
.prose .infographic.matrix .mtx-none .mtx-glyph{font-size:15px;font-weight:700}

.prose .infographic.matrix .mtx-sr{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

@media (max-width:600px){
  .prose .infographic.matrix .mtx-table th[scope="row"],
  .prose .infographic.matrix .mtx-corner{min-width:132px;padding:11px 12px;font-size:13px}
  .prose .infographic.matrix .mtx-table tbody td{min-width:64px}
  .prose .infographic.matrix .mtx-legend{gap:7px 12px}
}

/* ---------- Article infographic: decision flow (.flow) — decision-graph ---------- */
.prose .infographic.flow .flow-layout{display:grid;grid-template-columns:1fr 172px;gap:20px;align-items:start}
.prose .infographic.flow .flow-spine{min-width:0}

/* decision nodes */
.prose .infographic.flow .dg-node{border-radius:14px;padding:15px 17px}
.prose .infographic.flow .dg-tag{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:3px 10px 3px 8px;border-radius:999px;margin-bottom:10px}
.prose .infographic.flow .dg-tag svg{width:12px;height:12px;display:block}
.prose .infographic.flow .dg-q{margin:0;font-size:16px;font-weight:600;line-height:1.4}
.prose .infographic.flow .dg-q strong{font-weight:700}
.prose .infographic.flow .dg-key{margin:10px 0 0;font-size:13.5px;line-height:1.45;padding-top:10px;border-top:1px solid rgba(255,255,255,.28)}
.prose .infographic.flow .dg-decision{position:relative;margin-bottom:24px}
.prose .infographic.flow .dg-decision--primary{background:linear-gradient(135deg,var(--grad-a),var(--grad-b))}
.prose .infographic.flow .dg-decision--primary .dg-q,
.prose .infographic.flow .dg-decision--primary .dg-q strong,
.prose .infographic.flow .dg-decision--primary .dg-key,
.prose .infographic.flow .dg-decision--primary .dg-key strong{color:#fff}
.prose .infographic.flow .dg-decision--primary .dg-tag{background:rgba(255,255,255,.24);color:#fff}
.prose .infographic.flow .dg-decision--tint{background:rgba(var(--indigo-rgb),.10);border:1px solid rgba(var(--indigo-rgb),.22)}
.prose .infographic.flow .dg-decision--tint .dg-tag{background:var(--indigo);color:#fff}
.prose .infographic.flow .dg-decision--tint .dg-q{color:var(--ink)}
.prose .infographic.flow .dg-decision--tint .dg-key{color:var(--ink);border-top-color:var(--line)}
.prose .infographic.flow .dg-decision--tint .dg-key strong{color:var(--indigo)}

/* diverging split: parent stem -> horizontal bus -> labelled drops */
.prose .infographic.flow .dg-decision::after{content:"";position:absolute;left:50%;top:calc(100% + 7px);width:2px;height:17px;background:rgba(var(--indigo-rgb),.30);transform:translateX(-50%)}
.prose .infographic.flow .dg-split{display:flex;gap:16px;position:relative;align-items:stretch}
.prose .infographic.flow .dg-branch{flex:1 1 0;min-width:0;position:relative;padding-top:40px;display:flex;flex-direction:column;align-items:stretch}
/* horizontal bus drawn as two half-segments anchored to each branch's inner edge — they meet at the gap midpoint (= split centre, under the decision stem) regardless of the column gap */
.prose .infographic.flow .dg-branch::after{content:"";position:absolute;top:0;height:2px;background:rgba(var(--indigo-rgb),.30)}
.prose .infographic.flow .dg-branch:first-child::after{left:50%;right:-8px}
.prose .infographic.flow .dg-branch:last-child::after{left:-8px;right:50%}
/* vertical drop from the bus into the edge label (which sits over it) */
.prose .infographic.flow .dg-branch::before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:2px;height:18px;background:rgba(var(--indigo-rgb),.30)}
.prose .infographic.flow .dg-edge{position:absolute;top:16px;left:50%;transform:translateX(-50%);z-index:2;white-space:nowrap;font-size:12.5px;font-weight:600;padding:5px 13px;border-radius:999px;background:#fff;border:1px solid var(--line);color:var(--muted)}
.prose .infographic.flow .dg-edge--hot{background:var(--indigo);border-color:var(--indigo);color:#fff}
/* directed edge into the outcome card — same indigo arrow as the "if value is stored" bridge, floated clear of both blocks */
.prose .infographic.flow .dg-arrow{display:flex;justify-content:center;color:var(--indigo);margin:6px 0 10px}
.prose .infographic.flow .dg-arrow svg{width:20px;height:20px;display:block}

/* outcome cards (equal height within a split) */
.prose .infographic.flow .dg-outcome{flex:1 1 auto;border-radius:14px;padding:14px 15px;border:1px solid var(--line);background:#fff;display:flex;flex-direction:column}
.prose .infographic.flow .dg-outcome--light{background:#fbfbfc}
.prose .infographic.flow .dg-outcome--hot{background:rgba(var(--indigo-rgb),.10);border-color:rgba(var(--indigo-rgb),.28)}
.prose .infographic.flow .dg-h{margin:0 0 5px;font-size:14.5px;font-weight:700;line-height:1.3;color:var(--ink)}
.prose .infographic.flow .dg-outcome--hot .dg-h{color:var(--indigo)}
.prose .infographic.flow .dg-b{margin:0;font-size:13.5px;line-height:1.45;color:var(--muted)}
.prose .infographic.flow .dg-endcap{margin-top:auto;align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding-top:10px;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.prose .infographic.flow .dg-endcap::before{content:"";width:9px;height:9px;border-radius:2px;border:2px solid var(--muted)}

/* vertical bridges between stacked blocks */
/* the "if value is stored" continuation belongs to the SVF (right) branch only — align it under that column, not the centre */
.prose .infographic.flow .dg-bridge{display:flex;flex-direction:column;align-items:center;gap:5px;width:calc((100% - 16px)/2);margin:20px 0 14px calc((100% + 16px)/2);color:var(--muted)}
.prose .infographic.flow .dg-bridge svg{width:24px;height:24px;color:var(--indigo)}
.prose .infographic.flow .dg-bridge-label{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.prose .infographic.flow .dg-stemdown{display:flex;justify-content:center;margin:16px 0;color:var(--indigo)}
.prose .infographic.flow .dg-stemdown svg{width:24px;height:24px}

/* obligations block */
.prose .infographic.flow .flow-obligations{border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:#fff}
.prose .infographic.flow .obl-h{margin:0 0 10px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--indigo)}
.prose .infographic.flow .obl-list{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.prose .infographic.flow .obl-list li{display:grid;grid-template-columns:130px 1fr;gap:12px;font-size:13.5px;line-height:1.4;padding-bottom:9px;border-bottom:1px solid var(--line)}
.prose .infographic.flow .obl-list li:last-child{border-bottom:0;padding-bottom:0}
.prose .infographic.flow .obl-k{color:var(--muted);font-weight:600}
.prose .infographic.flow .obl-v{color:var(--ink)}
.prose .infographic.flow .obl-v strong{color:var(--indigo)}

/* threshold side-rail */
.prose .infographic.flow .flow-rail{position:sticky;top:16px;border:1px solid var(--line);border-radius:14px;padding:14px;background:#fbfbfc;display:flex;flex-direction:column;gap:10px}
.prose .infographic.flow .rail-h{margin:0 0 2px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.prose .infographic.flow .rail-chip{border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#fff}
.prose .infographic.flow .rail-num{display:block;font-size:20px;font-weight:800;line-height:1.1;color:var(--indigo);letter-spacing:-.01em}
.prose .infographic.flow .rail-cap{display:block;margin-top:3px;font-size:12px;line-height:1.35;color:var(--muted)}

/* mobile */
@media (max-width:600px){
  .prose .infographic.flow .flow-layout{grid-template-columns:1fr;gap:16px}
  .prose .infographic.flow .flow-rail{position:static;flex-direction:row;flex-wrap:wrap;order:2}
  .prose .infographic.flow .rail-h{flex:1 0 100%}
  .prose .infographic.flow .rail-chip{flex:1 1 90px;min-width:90px}
  .prose .infographic.flow .dg-split{flex-direction:column;gap:0}
  .prose .infographic.flow .dg-branch::after{display:none}
  .prose .infographic.flow .dg-bridge{width:auto;margin:16px 0 12px}
  .prose .infographic.flow .dg-branch{padding-top:36px}
  .prose .infographic.flow .dg-branch::before{height:36px}
  .prose .infographic.flow .dg-edge{top:12px}
  .prose .infographic.flow .dg-outcome{flex:0 0 auto}
  .prose .infographic.flow .obl-list li{grid-template-columns:1fr;gap:2px}
  .prose .infographic.flow .obl-k{font-size:12px}
}

/* ---------- Article infographic: readiness checklist (.check) ---------- */
.prose .infographic.check .ig-check-gauge{
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  background:rgba(var(--indigo-rgb),.1);
  margin:18px 0 14px;
}
.prose .infographic.check .gauge-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.prose .infographic.check .gauge-q{
  font-weight:600;
  font-size:15.5px;
  color:var(--ink);
}
.prose .infographic.check .gauge-pct{
  font-weight:700;
  font-size:34px;
  line-height:1;
  color:var(--indigo);
  font-variant-numeric:tabular-nums;
}
.prose .infographic.check .gauge-pct small{
  font-size:18px;
  font-weight:600;
  margin-left:1px;
}
.prose .infographic.check .gauge-meter{
  height:10px;
  border-radius:999px;
  background:rgba(60,60,67,.14);
  overflow:hidden;
  margin:12px 0 10px;
}
.prose .infographic.check .gauge-fill{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,var(--grad-a),var(--grad-b));
}
.prose .infographic.check .gauge-verdict{
  margin:0;
  font-size:14px;
  color:var(--muted);
}
.prose .infographic.check .gauge-legend{
  list-style:none;
  margin:12px 0 0;
  padding:0;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  font-size:13px;
  font-weight:500;
  color:var(--ink);
}
.prose .infographic.check .gauge-legend li{
  display:flex;
  align-items:center;
  gap:7px;
  margin:0;
}
.prose .infographic.check .gauge-legend .dot{
  width:10px;height:10px;border-radius:50%;flex:0 0 auto;
}
.prose .infographic.check .gauge-legend .is-have .dot{background:hsl(145 45% 40%);}
.prose .infographic.check .gauge-legend .is-partial .dot{background:hsl(38 60% 45%);}
.prose .infographic.check .gauge-legend .is-missing .dot{background:hsl(5 60% 52%);}

.prose .infographic.check .ig-check-board{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.prose .infographic.check .ig-group{
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--surface);
  overflow:hidden;
}
.prose .infographic.check .group-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  background:rgba(var(--indigo-rgb),.04);
}
.prose .infographic.check .group-name{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
  font-size:15px;
  color:var(--ink);
}
.prose .infographic.check .group-idx{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;height:22px;
  flex:0 0 auto;
  border-radius:7px;
  background:linear-gradient(135deg,var(--grad-a),var(--grad-b));
  color:#fff;
  font-size:12.5px;
  font-weight:700;
}
.prose .infographic.check .group-tally{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:12.5px;
  font-weight:600;
  color:var(--muted);
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.prose .infographic.check .mini-meter{
  width:52px;height:6px;
  border-radius:999px;
  background:rgba(60,60,67,.14);
  overflow:hidden;
  flex:0 0 auto;
}
.prose .infographic.check .mini-meter span{
  display:block;height:100%;
  background:linear-gradient(90deg,var(--grad-a),var(--grad-b));
}

.prose .infographic.check .group-rows{
  list-style:none;
  margin:0;
  padding:0;
}
.prose .infographic.check .ig-check-row{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:12px 14px;
  margin:0;
  border-top:1px solid var(--line);
}
.prose .infographic.check .group-rows li:first-child{border-top:0;}
.prose .infographic.check .mk-wrap{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:24px;height:24px;
  flex:0 0 auto;
  border-radius:50%;
  margin-top:1px;
}
.prose .infographic.check .mk{width:15px;height:15px;display:block;}
.prose .infographic.check .row-label{
  flex:1 1 auto;
  min-width:0;
  font-size:14.5px;
  font-weight:500;
  color:var(--ink);
  line-height:1.35;
}
.prose .infographic.check .row-sub{
  display:block;
  margin-top:2px;
  font-size:12.5px;
  font-weight:400;
  color:var(--muted);
  line-height:1.35;
}
.prose .infographic.check .state-pill{
  flex:0 0 auto;
  align-self:center;
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.02em;
  padding:3px 9px;
  border-radius:999px;
  white-space:nowrap;
}

.prose .infographic.check .is-have .mk-wrap{background:hsl(145 60% 94%);color:hsl(145 45% 34%);}
.prose .infographic.check .is-have .state-pill{background:hsl(145 60% 94%);color:hsl(145 45% 34%);}
.prose .infographic.check .is-partial .mk-wrap{background:hsl(38 70% 92%);color:hsl(38 55% 36%);}
.prose .infographic.check .is-partial .state-pill{background:hsl(38 70% 92%);color:hsl(38 55% 36%);}
.prose .infographic.check .is-missing .mk-wrap{background:hsl(5 70% 94%);color:hsl(5 55% 44%);}
.prose .infographic.check .is-missing .state-pill{background:hsl(5 70% 94%);color:hsl(5 55% 44%);}

@media (max-width:600px){
  .prose .infographic.check .ig-check-row{flex-wrap:wrap;gap:10px;}
  .prose .infographic.check .row-label{flex:1 1 auto;order:2;}
  .prose .infographic.check .mk-wrap{order:1;}
  .prose .infographic.check .state-pill{order:3;margin-left:36px;align-self:flex-start;}
  .prose .infographic.check .gauge-pct{font-size:30px;}
}

/* ---------- Article infographic: process flow (.steps) ---------- */
.prose .infographic.steps .st-track{list-style:none;margin:18px 0 0;padding:0;display:flex;align-items:stretch;gap:0}
.prose .infographic.steps .ig-node{flex:1 1 0;min-width:0;border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:13px 11px;display:flex;flex-direction:column;gap:7px;align-items:flex-start}
.prose .infographic.steps .ig-badge{width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12.5px;font-weight:700;color:#fff;background:var(--indigo)}
.prose .infographic.steps .ig-node--final{border-color:transparent;background:linear-gradient(135deg,rgba(110,91,255,.13),rgba(221,157,251,.16));box-shadow:inset 0 0 0 1px rgba(var(--indigo-rgb),.30)}
.prose .infographic.steps .ig-node--final .ig-badge{background:linear-gradient(135deg,var(--grad-a),var(--grad-b))}
.prose .infographic.steps .ig-name{font-size:14.5px;font-weight:650;line-height:1.15}
.prose .infographic.steps .ig-sub{font-size:12px;color:var(--muted);line-height:1.3}
.prose .infographic.steps .ig-arrow{flex:0 0 24px;display:flex;align-items:center;justify-content:center;color:var(--muted)}
.prose .infographic.steps .ig-arrow svg{width:18px;height:18px;display:block}
.prose .infographic.steps .ig-phase{display:flex;justify-content:space-between;font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin:9px 4px 0}
.prose .infographic.steps .ig-phase span:last-child{color:var(--indigo);font-weight:600}
.prose .infographic.steps .ig-branch{margin-top:14px;border:1px dashed var(--line);border-radius:14px;padding:13px 13px 14px}
.prose .infographic.steps .ig-branch-head{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;color:var(--muted);margin:0 0 11px}
.prose .infographic.steps .ig-branch-head svg{width:17px;height:17px;flex:0 0 auto;color:var(--indigo)}
.prose .infographic.steps .ig-branch-head strong{color:var(--ink);font-weight:700}
.prose .infographic.steps .ig-outcomes{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.prose .infographic.steps .ig-outcome{border-radius:14px;padding:11px 13px;display:flex;flex-direction:column;gap:4px}
.prose .infographic.steps .ig-outcome .ig-name{display:flex;align-items:center;gap:7px}
.prose .infographic.steps .ig-outcome .ig-name svg{width:15px;height:15px;flex:0 0 auto}
.prose .infographic.steps .ig-out--returned{background:hsl(40 60% 94%);color:hsl(40 45% 34%)}
.prose .infographic.steps .ig-out--failed{background:hsl(5 60% 94%);color:hsl(5 45% 40%)}
.prose .infographic.steps .ig-outcome .ig-sub{color:inherit;opacity:.82}
.prose .infographic.steps .ig-legend{margin-top:14px;border:1px solid var(--line);border-radius:14px;padding:13px 15px}
.prose .infographic.steps .ig-legend-title{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font-weight:600;margin:0 0 11px}
.prose .infographic.steps .ig-balances{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.prose .infographic.steps .ig-bal{display:flex;gap:9px;align-items:flex-start}
.prose .infographic.steps .ig-dot{width:11px;height:11px;border-radius:50%;margin-top:4px;flex:0 0 auto}
.prose .infographic.steps .ig-bal-name{font-size:14px;font-weight:650;line-height:1.2}
.prose .infographic.steps .ig-bal-sub{font-size:12px;color:var(--muted);line-height:1.3;display:block;margin-top:1px}
.prose .infographic.steps .ig-dot--available{background:hsl(145 45% 40%)}
.prose .infographic.steps .ig-dot--pending{background:hsl(40 45% 40%)}
.prose .infographic.steps .ig-dot--reserved{background:var(--indigo)}
.prose .infographic.steps .ig-takeaway{margin-top:14px;background:rgba(var(--indigo-rgb),.1);border-radius:14px;padding:13px 15px;display:flex;gap:11px;align-items:center;font-size:14.5px;line-height:1.4;color:var(--ink)}
.prose .infographic.steps .ig-takeaway svg{width:19px;height:19px;flex:0 0 auto;color:var(--indigo)}
.prose .infographic.steps .ig-takeaway b{color:var(--indigo);font-weight:600}
@media (max-width:600px){
  .prose .infographic.steps .st-track{flex-direction:column;align-items:stretch}
  .prose .infographic.steps .ig-node{flex-direction:row;align-items:center;gap:12px}
  .prose .infographic.steps .ig-node .ig-name{flex:1}
  .prose .infographic.steps .ig-arrow{flex-basis:auto;padding:3px 0}
  .prose .infographic.steps .ig-arrow svg{transform:rotate(90deg)}
  .prose .infographic.steps .ig-outcomes,
  .prose .infographic.steps .ig-balances{grid-template-columns:1fr}
}

/* ---------- "Where Finamp fits" end-of-article CTA (Figma 292-8799) ---------- */
.prose .wff{margin:clamp(40px,5vw,52px) 0;background:rgba(var(--indigo-rgb),.1);border-left:4px solid rgba(var(--indigo-rgb),.32);border-radius:24px;padding:26px 24px 24px 30px;display:flex;flex-direction:column;gap:22px}
.prose .wff-h{margin:0;font-size:clamp(26px,3.4vw,35px);line-height:1.22;font-weight:600;letter-spacing:-.01em;color:var(--indigo)}
.prose .wff-body{font-size:19px;line-height:1.47;color:#111}
.prose .wff-body p{margin:0}
.prose .wff-body strong{font-weight:600;color:#000}
.prose .wff-body ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.prose .wff-body p + p,.prose .wff-body p + ul,.prose .wff-body ul + p{margin-top:14px}
.prose .wff-body li{position:relative;padding-left:26px;line-height:1.45}
.prose .wff-body li::before{content:"";position:absolute;left:6px;top:.62em;width:8px;height:8px;border-radius:50%;background:var(--indigo)}
.prose .wff-cta{display:flex;flex-direction:column;align-items:center;gap:11px;margin-top:2px}
.prose a.wff-btn{display:inline-flex;align-items:center;justify-content:center;font-size:19px;font-weight:600;color:#fff;background:#000;border-radius:999px;padding:14px 32px;text-decoration:none;transition:opacity .15s}
.prose a.wff-btn:hover{opacity:.88}
.prose .wff-call{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:14px;font-weight:600;color:var(--indigo)}
.prose .wff-call svg{width:18px;height:18px;flex:0 0 auto}
